The Reflection API (Class, Method, Field, Constructor), setAccessible() and encapsulation bypass, annotation retention policies and runtime reading, compile-time annotation processing (APT), JDK dynamic proxy (interface-only), CGLIB for concrete classes, MethodHandle as the fast modern alternative, and how JPMS restricts reflection.
// Lessons
- 01soon
The Reflection API — Class, Method, Field, Constructor
- 02soon
setAccessible() — Breaking Encapsulation (and When It's OK)
- 03soon
Annotation Processing — Retention Policies and Reading at Runtime
- 04soon
Annotation Processing at Compile Time — APT and Code Generation
- 05soon
JDK Dynamic Proxy — InvocationHandler and the Interface Requirement
- 06soon
CGLIB Proxy — Subclass-Based Proxying for Concrete Classes
- 07soon
MethodHandle — The Fast, Modern Alternative to Reflection
- 08soon
Module System and Reflection — --add-opens and Why Frameworks Need It