Java: Working with Annotations Generics & Arrays Using Reflection

placeholder

Annotations on Java code allow you to associate additional metadata with classes member variables constructors and methods. These annotations can be used to perform additional checks or add functionality to your Java code. Use this course to practice using annotations with reflection. Work with both built-in and custom annotations and see how you can access the annotations applied on classes fields and methods. Learn why not all annotations can be accessed via reflection. Create your own custom annotation and experiment with various retention policies. Next examine accessing generics and arrays with reflection. When youre finished youll be able to harness the power of reflection to add new functionality to your code and work with generics and arrays.