Class, field and method managing in runtime.
All actions are through the Class class.
A Class object can be created on 3 ways.
All Class statements must be wrapped into try-catch frame.
EXAMPLE FOR CREATING CLASS OBJECT:
EXAMPLE FOR CLASS METHODS:
For accessing annotations:
getAnnotationsByType(...)
getAnnotations()
EXAMPLE FOR PASSING A CLASS AS METHOD PARAMETER:
EXAMPLE FOR CREATING A METHOD OBJECT, METHOD METHODS:
For accessing annotations:
getAnnotationsByType(...)
getAnnotations()
EXAMPLE FOR PASSING A METHOD AS METHOD PARAMETER:
EXAMPLE FOR FIELD CLASS:
For accessing annotations:
getAnnotationsByType(...)
getAnnotations()
EXAMPLE FOR CONSTRUCTOR CLASS:
For accessing annotations:
getAnnotationsByType(...)
getAnnotations()