![java reflection javadoc java reflection javadoc](https://dev4devs.files.wordpress.com/2016/06/screen-shot-2016-06-06-at-4-58-35-pm.png)
#JAVA REFLECTION JAVADOC CODE#
The following concerns should be kept in mind when accessing code via reflection. If it is possible to perform an operation without using reflection, then it is preferable to avoid using it. Reflection is powerful, but should not be used indiscriminately. Test harnesses can make use of reflection to systematically call a discoverable set APIs defined on a class, to insure a high level of code coverage in a test suite. Debuggers and Test Tools Debuggers need to be able to examine private members on classes. Visual development environments can benefit from making use of type information available in reflection to aid the developer in writing correct code. Class Browsers and Visual Development Environments A class browser needs to be able to enumerate the members of classes. Extensibility Features An application may make use of external, user-defined classes by creating instances of extensibility objects using their fully-qualified names. With that caveat in mind, reflection is a powerful technique and can enable applications to perform operations which would otherwise be impossible. This is a relatively advanced feature and should be used only by developers who have a strong grasp of the fundamentals of the language. Reflection is commonly used by programs which require the ability to examine or modify the runtime behavior of applications running in the Java virtual machine.