Java reflection http://www.journaldev.com/1789/java-reflection-tutorial-for-classes-methods-fields-constructors-annotations-and-much-more#reflection-fields Reflection in Java Reflection for Classes Get Class Object Get Super Class Get Public Member Classes Get Declared Classes Get Declaring Class Getting Package Name Getting Class Modifiers Get Type Parameters Get Implemented Interfaces Get All Public Methods Get All Public Constructors Get All Public Fields Get All Annotations Reflection for Fields Get Public Field Field Declaring Class Get Field Type Get/Set Public Field Value Get/Set Private Field Value Reflection for Methods Get Public Method Invoking Public Method Invoking Private Methods Reflection for Constructors Get Public Constructor Instantiate Object using Constructor Reflection for Annotations