Package org.apache.commons.lang.reflect offers a collection of utility classes that assist in reflection. The aim is to create a simple, clean and clear API which can be built upon on by more sophisticated introspection schemes as well as fixes for bugs found in various java implementations.

Contents

Accessibility Rules

These determine which methods are in scope

Java Language Specification Rules

The Java Language Specification Rules are those that are given in the Java Language Specification as applied by the compiler. The aim of those methods who contract is given as the Java Language Specification is to behave in an identical manner to compiled code. In other words, any code that would compile should be found by reflection and any code that would not should not

Java 1.3 And Below

This aim is actually easier said than done for some java versions. The reflection implementation is slow and buggy. If you are using one of these easier java versions, then you will probably find our code more reliable than the standard java implementation.