Reflect |
Reflect.allowPrivilegedAccess() |
Allow privileged access during reflective calls.
|
Reflect |
Reflect.create() |
Creates an instance of the class being reflected using the no-argument constructor.
|
Reflect |
Reflect.create(@NonNull Class[] types,
@NonNull Object... args) |
Creates an instance of the class being reflected using the best constructor that matches the given types.
|
Reflect |
Reflect.create(Object... args) |
Creates an instance of the class being reflected using the most specific constructor available.
|
Reflect |
RConstructor.createReflective(Object... args) |
Create a new instance of the object calling the constructor that with the given arguments and wrapping the
constructed object as a Reflect
|
Reflect |
Reflect.getDeclaringClass() |
Gets the class that declares the reflected object
|
Reflect |
RExecutable.getDeclaringClass() |
Gets the class that declares this executable as a Reflect object
|
Reflect |
RField.getDeclaringClass() |
Gets the class that declares this field as a Reflect object
|
Reflect |
RField.getReflectValue() |
Gets the value of this field as a Reflect object.
|
Reflect |
Reflect.getSuperClass() |
Gets the super-class of the class being reflected
|
Reflect |
RMethod.invokeReflective(Object... args) |
Invokes this method with the given arguments.
|
static Reflect |
Reflect.onClass(@NonNull Class<?> clazz) |
Creates a Reflect object for the given class.
|
static Reflect |
Reflect.onClass(@NonNull Type clazz) |
Creates a Reflect object for the given type.
|
static Reflect |
Reflect.onClass(String className) |
Creates a Reflect object for the class represented by the given class name.
|
static Reflect |
Reflect.onObject(Object object) |
Creates a Reflect object on the given object
|
Reflect |
Reflect.set(String name,
Object value) |
Convenience method for setting the value of a field or setter
|
Reflect |
Reflect.setIsPrivileged(boolean allowPrivilegedAccess) |
Sets whether or not privileged access is allowed on this object
|