
Discover how java.lang.Class backs reflection, obtain class objects via Class.forName, ClassName.class, or object.getClass, and access metadata like superclass, interfaces, and name.
Explore how to use Java reflection to inspect methods. Build an entity, obtain its class, and use getMethods, getDeclaredMethods, and getMethod to call or access private methods with setAccessible.
Learn to use the reflection API to access public and private constructors, invoke them to create new instances, and inspect declared constructors of a class.
Decode class and member modifiers with the Java Modifier class using bitwise checks on the modifiers int. Use isPublic, isPrivate, and toString to read modifier names.
Explore what annotations are in Java, how they provide metadata, and why they matter for compilation; learn declared forms, usage, and the three types: marked, single-valued, and multivalued.
Begin the next phase by applying Java reflection and annotation APIs to build a mini ORM framework like Hibernate and a spring-like dependency injection system, with hands-on coding ahead.
Explore the method handle API as a faster alternative to the reflection API, using a single lookup object to optimize security checks and access class metadata efficiently.
Explore method handles and their use in obtaining executable references to class methods, constructors, and fields, with argument transformation and typed references under specific conditions, offering faster alternatives to reflection.
Check out some of our reviews to help you to make a decision
★★★★★
This is one of the best courses i came across. The tutor has explained the other side of JAVA system. Good content and highly hands on Course. Cheers.....
★★★★★
Excellent Information about Reflection and got good Understanding on Frameworks how it works
-------
About the Course :
Being a Java Developer or Using a Framework in Java ecosystems Like Spring, Hibernate, or any other we use a lot of Annotations.
As a Java Developer, we use a lot of popular IDEs like Eclipse, IntelliJ, or NetBeans.
Most of the Frameworks, Intelligent tools, and APIs use reflection and annotations behind the science to make the life of a developer easy.
In this course, we will understand reflection and annotation in java as a core concept.
After that, we will build your own Spring-like Dependency Injection and Hibernate Like ORM tools using core java Reflections and Annotations.
In this course, we will take you through two very important topics that are mostly ignored by Java programmers
One is Reflection and another is Annotations.
Reflection and Annotations are very powerful programming techniques in Java.
And you know what -
Our Famous Java IDE like Eclipse and IntelliJ uses reflections behind the scene to provide us all the intelligence.
If you have heard Spring and Hibernate.
This Most successful Dependency injection and ORM framework use annotation and reflections to provide so much of capabilities to the developers.
By using Reflection we can we can extend the code at run time.
By using annotation we can annotate the existing classes and extend their capabilities.
We will understand both of these techniques in this course.
We will also develop our Mini Hibernate Like ORM framework and Spring-like Dependency Injection framework.
Happy Learning
Basics>Strong;