thepointman.dev_

Courses / Java

Reflection & Dynamic Proxies

advanced8 lessons

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

  1. 01

    The Reflection API — Class, Method, Field, Constructor

    soon
  2. 02

    setAccessible() — Breaking Encapsulation (and When It's OK)

    soon
  3. 03

    Annotation Processing — Retention Policies and Reading at Runtime

    soon
  4. 04

    Annotation Processing at Compile Time — APT and Code Generation

    soon
  5. 05

    JDK Dynamic Proxy — InvocationHandler and the Interface Requirement

    soon
  6. 06

    CGLIB Proxy — Subclass-Based Proxying for Concrete Classes

    soon
  7. 07

    MethodHandle — The Fast, Modern Alternative to Reflection

    soon
  8. 08

    Module System and Reflection — --add-opens and Why Frameworks Need It

    soon