reflection and metaprogramming
code that looks at code. reflection, annotations, proxies, method handles, invokedynamic.
- 01reflectionClass, Field, Method, and why setAccessible stopped working.
- 02annotationsretention, targets, and what an annotation actually is at runtime.
- 03annotation processingcode that runs inside javac. how lombok and mapstruct work.
- 04dynamic proxiesfake objects that intercept every call. spring's favourite trick.
- 05method handles and varhandlesfast, typed references to methods and fields.
- 06invokedynamicthe bytecode that powers lambdas, string concat and records.
- 07the class-file apijava 24+generate and transform .class files with a real api.
- 08ServiceLoaderplugins without a framework.