<T> T |
RConstructor.create(Object... args) |
Create a new instance of the object calling the constructor that with the given arguments
|
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
|
<T> T |
Reflect.get(String name) |
Convenience method for getting the value of a field or getter method
|
<T> T |
RField.get() |
Gets the value of this field.
|
static <T> T |
BeanUtils.getBean(@NonNull Class<T> clazz) |
Constructs a new instance of the given class and then sets it properties using configuration.
|
RConstructor |
Reflect.getConstructor(@NonNull Type... types) |
Gets the best constructor for the class matching the given types
|
RField |
Reflect.getField(String name) |
Gets the field with the given name.
|
RMethod |
Reflect.getMethod(String name) |
Gets the method with the given name.
|
RMethod |
Reflect.getMethod(String name,
Type... types) |
Gets the method with the given name and with types compatible with the given types.
|
static <T> T |
BeanUtils.getNamedBean(@NonNull String name,
@NonNull Class<T> clazz) |
Instantiates a named bean (defined via the Config)
|
Reflect |
RField.getReflectValue() |
Gets the value of this field as a Reflect object.
|
RMethod |
Reflect.getSingletonMethod() |
Gets the singleton method of the object.
|
<T> T |
RMethod.invoke(Object... args) |
Invokes this method with the given arguments.
|
Reflect |
RMethod.invokeReflective(Object... args) |
Invokes this method with the given arguments.
|
static Reflect |
Reflect.onClass(String className) |
Creates a Reflect object for the class represented by the given class name.
|
Reflect |
Reflect.set(String name,
Object value) |
Convenience method for setting the value of a field or setter
|
RField |
RField.set(Object value) |
Sets the value of this field.
|