Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Java Basics: Beyond the Fundamentals
·
Module 8
Reflection and Dynamic Proxies
Runtime Class Inspection with Reflection
Use the Reflection API to inspect the structure of classes, methods, and fields at runtime.
Dynamic Object Creation and Method Invocation with Reflection
Use the Reflection API to dynamically create object instances and invoke methods.
3
Exploring Annotations with Reflection
Discover runtime annotations on classes and methods using reflection.
4
Dynamic Proxies: Runtime Interface Implementation
Explain how dynamic proxies (java.lang.reflect.Proxy) work by generating a class at runtime that implements a given interface.
5
Dynamic Proxy Logging for Method Calls
Implement a simple logging aspect for method calls using dynamic proxies.
Building a Reflection-Based DI Container
Implement a basic dependency injection container using reflection to manage object creation and wiring.
Previous module
The Java Memory Model (JMM)
Next module
Lambdas, Streams, and Modern Features