© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
J. StevensonAndroid Software Internals Quick Referencehttps://doi.org/10.1007/978-1-4842-6914-5_10

10. Reflection and Class Loading

James Stevenson1  
(1)
London, UK
 

Reflection

Reflection is one of the many aces up the sleeve when it comes to taking apart Android applications and getting them running in a state that suits you. To put it simply reflection is an API that can be used to access, examine, and modify objects at runtime - this includes fields, methods, classes, and interfaces (as can be seen in Figure 10-1).
../images/509502_1_En_10_Chapter/509502_1_En_10_Fig1_HTML.png
Figure 10-1

Java reflection diagram

A summary ...

Get Android Software Internals Quick Reference: A Field Manual and Security Reference Guide to Java-based Android Components now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.