The ReflectionRequest Class contains the following constructor:
Creates a ReflectionRequest object based on the access type requested and the class instance to reflect.
public ReflectionRequest(int type, Class target);
type | The type of reflection access that is requested. This value must be either java.lang.reflect.Member.PUBLIC or java.lang.reflect.Member.DECLARED. |
target | The class to examine with the reflection APIs. |