public class Reflection
extends java.lang.Object
This Class is mainly used to gain access to fields and methods of other classes where the access modifier (private/protected/(none)/public) prohibits access to that field/method.
Modifier and Type | Method and Description |
---|---|
static boolean |
booleanGetFieldValue(java.lang.Object obj,
java.lang.String fieldName)
Deprecated.
As of release 1.0.4, replaced by
getBoolean(Object obj, String fieldName) |
static boolean |
booleanGetFieldValueStatic(java.lang.Class declaringClass,
java.lang.String fieldName)
Deprecated.
As of release 1.0.4, replaced by
getBoolean(Class declaringClass, String fieldName) |
static void |
booleanSetFieldValue(java.lang.Object obj,
java.lang.String fieldName,
boolean value)
Deprecated.
As of release 1.0.4, replaced by
setBoolean(Object obj, String fieldName, boolean value) |
static void |
booleanSetFieldValueStatic(java.lang.Class declaringClass,
java.lang.String fieldName,
boolean value)
Deprecated.
As of release 1.0.4, replaced by
setBoolean(Class declaringClass, String fieldName, boolean value) |
static byte |
byteGetFieldValue(java.lang.Object obj,
java.lang.String fieldName)
Deprecated.
As of release 1.0.4, replaced by
getByte(Object obj, String fieldName) |
static byte |
byteGetFieldValueStatic(java.lang.Class declaringClass,
java.lang.String fieldName)
Deprecated.
As of release 1.0.4, replaced by
getByte(Class declaringClass, String fieldName) |
static void |
byteSetFieldValue(java.lang.Object obj,
java.lang.String fieldName,
byte value)
Deprecated.
As of release 1.0.4, replaced by
setByte(Object obj, String fieldName, byte value) |
static void |
byteSetFieldValueStatic(java.lang.Class declaringClass,
java.lang.String fieldName,
byte value)
Deprecated.
As of release 1.0.4, replaced by
setByte(Class declaringClass, String fieldName, byte value) |
static char |
charGetFieldValue(java.lang.Object obj,
java.lang.String fieldName)
Deprecated.
As of release 1.0.4, replaced by
getChar(Object obj, String fieldName) |
static char |
charGetFieldValueStatic(java.lang.Class declaringClass,
java.lang.String fieldName)
Deprecated.
As of release 1.0.4, replaced by
getChar(Class declaringClass, String fieldName) |
static void |
charSetFieldValue(java.lang.Object obj,
java.lang.String fieldName,
char value)
Deprecated.
As of release 1.0.4, replaced by
setChar(Object obj, String fieldName, char value) |
static void |
charSetFieldValueStatic(java.lang.Class declaringClass,
java.lang.String fieldName,
char value)
Deprecated.
As of release 1.0.4, replaced by
setChar(Class declaringClass, String fieldName, char value) |
static double |
doubleGetFieldValue(java.lang.Object obj,
java.lang.String fieldName)
Deprecated.
As of release 1.0.4, replaced by
getDouble(Object obj, String fieldName) |
static double |
doubleGetFieldValueStatic(java.lang.Class declaringClass,
java.lang.String fieldName)
Deprecated.
As of release 1.0.4, replaced by
getDouble(Class declaringClass, String fieldName) |
static void |
doubleSetFieldValue(java.lang.Object obj,
java.lang.String fieldName,
double value)
Deprecated.
As of release 1.0.4, replaced by
setDouble(Object obj, String fieldName, double value) |
static void |
doubleSetFieldValueStatic(java.lang.Class declaringClass,
java.lang.String fieldName,
double value)
Deprecated.
As of release 1.0.4, replaced by
setDouble(Class declaringClass, String fieldName, double value) |
static float |
floatGetFieldValue(java.lang.Object obj,
java.lang.String fieldName)
Deprecated.
As of release 1.0.4, replaced by
getFloat(Object obj, String fieldName) |
static float |
floatGetFieldValueStatic(java.lang.Class declaringClass,
java.lang.String fieldName)
Deprecated.
As of release 1.0.4, replaced by
getFloat(Class declaringClass, String fieldName) |
static void |
floatSetFieldValue(java.lang.Object obj,
java.lang.String fieldName,
float value)
Deprecated.
As of release 1.0.4, replaced by
setFloat(Object obj, String fieldName, float value) |
static void |
floatSetFieldValueStatic(java.lang.Class declaringClass,
java.lang.String fieldName,
float value)
Deprecated.
As of release 1.0.4, replaced by
setFloat(Class declaringClass, String fieldName, float value) |
static java.lang.reflect.Field |
genericGetField(java.lang.Object obj,
java.lang.String fieldName)
Deprecated.
As of release 1.0.4, replaced by
getField(Object obj, String fieldName) |
static java.lang.reflect.Field |
genericGetFieldStatic(java.lang.Class declaringClass,
java.lang.String fieldName)
Deprecated.
As of release 1.0.4, replaced by
getField(Class declaringClass, String fieldName) |
static java.lang.Class |
genericGetFieldType(java.lang.Object obj,
java.lang.String fieldName)
Deprecated.
As of release 1.0.4, replaced by
getType(Object obj, String fieldName) |
static java.lang.Class |
genericGetFieldTypeStatic(java.lang.Class declaringClass,
java.lang.String fieldName)
Deprecated.
As of release 1.0.4, replaced by
getType(Class declaringClass, String fieldName) |
static java.lang.Object |
genericGetFieldValue(java.lang.Object obj,
java.lang.String fieldName)
Deprecated.
As of release 1.0.4, replaced by
getValue(Object obj, String fieldName) |
static java.lang.Object |
genericGetFieldValueStatic(java.lang.Class declaringClass,
java.lang.String fieldName)
Deprecated.
As of release 1.0.4, replaced by
getValue(Class declaringClass, String fieldName) |
static java.lang.reflect.Method |
genericGetMethod(java.lang.Object obj,
java.lang.String methodName)
Deprecated.
As of release 1.0.4, replaced by
getMethod(Object obj, String methodName) |
static java.lang.reflect.Method |
genericGetMethod(java.lang.Object obj,
java.lang.String methodName,
java.lang.Object[] params)
Deprecated.
As of release 1.0.4, replaced by
getMethod(Object obj, String methodName, Object[] params) |
static java.lang.reflect.Method |
genericGetMethodStatic(java.lang.Class declaringClass,
java.lang.String methodName)
Deprecated.
As of release 1.0.4, replaced by
getMethod(Class declaringClass, String methodName) |
static java.lang.reflect.Method |
genericGetMethodStatic(java.lang.Class declaringClass,
java.lang.String methodName,
java.lang.Object[] params)
Deprecated.
As of release 1.0.4, replaced by
getMethod(Class declaringClass, String methodName, Object[] params) |
static java.lang.Object |
genericInvokeMethod(java.lang.reflect.Method method,
java.lang.Object obj,
java.lang.Object[] params)
Deprecated.
As of release 1.0.4, replaced by
invokeMethod(Method method, Object obj, Object[] params) |
static java.lang.Object |
genericInvokeMethod(java.lang.Object obj,
java.lang.String methodName)
Deprecated.
As of release 1.0.4, replaced by
invokeMethod(Object obj, String methodName) |
static java.lang.Object |
genericInvokeMethod(java.lang.Object obj,
java.lang.String methodName,
java.lang.Object[] params)
Deprecated.
As of release 1.0.4, replaced by
invokeMethod(Object obj, String methodName, Object[] params) |
static java.lang.Object |
genericInvokeMethodStatic(java.lang.Class declaringClass,
java.lang.String methodName)
Deprecated.
As of release 1.0.4, replaced by
invokeMethod(Class declaringClass, String methodName) |
static java.lang.Object |
genericInvokeMethodStatic(java.lang.Class declaringClass,
java.lang.String methodName,
java.lang.Object[] params)
Deprecated.
As of release 1.0.4, replaced by
invokeMethod(Class declaringClass, String methodName, Object[] params) |
static java.lang.Object |
genericInvokeMethodStatic(java.lang.reflect.Method method)
Deprecated.
As of release 1.0.4, replaced by
invokeMethod(Method method) |
static java.lang.Object |
genericInvokeMethodStatic(java.lang.reflect.Method method,
java.lang.Object[] params)
Deprecated.
As of release 1.0.4, replaced by
invokeMethod(Method method, Object[] params) |
static void |
genericSetFieldValue(java.lang.Object obj,
java.lang.String fieldName,
java.lang.Object value)
Deprecated.
As of release 1.0.4, replaced by
setValue(Object obj, String fieldName, Object value) |
static void |
genericSetFieldValueStatic(java.lang.Class declaringClass,
java.lang.String fieldName,
java.lang.Object value)
Deprecated.
As of release 1.0.4, replaced by
setValue(Class declaringClass, String fieldName, Object value) |
static boolean |
getBoolean(java.lang.Class declaringClass,
java.lang.String fieldName)
Searches for a Static Field specified by "fieldName" within the class "declaringClass".
|
static boolean |
getBoolean(java.lang.Object obj,
java.lang.String fieldName)
Searches for an Instance Field specified by "fieldName" within the given Object "obj" back through it's inheritance chain.
|
static byte |
getByte(java.lang.Class declaringClass,
java.lang.String fieldName)
Searches for a Static Field specified by "fieldName" within the class "declaringClass".
|
static byte |
getByte(java.lang.Object obj,
java.lang.String fieldName)
Searches for an Instance Field specified by "fieldName" within the given Object "obj" back through it's inheritance chain.
|
static char |
getChar(java.lang.Class declaringClass,
java.lang.String fieldName)
Searches for a Static Field specified by "fieldName" within the class "declaringClass".
|
static char |
getChar(java.lang.Object obj,
java.lang.String fieldName)
Searches for an Instance Field specified by "fieldName" within the given Object "obj" back through it's inheritance chain.
|
static double |
getDouble(java.lang.Class declaringClass,
java.lang.String fieldName)
Searches for a Static Field specified by "fieldName" within the class "declaringClass".
|
static double |
getDouble(java.lang.Object obj,
java.lang.String fieldName)
Searches for an Instance Field specified by "fieldName" within the given Object "obj" back through it's inheritance chain.
|
static java.lang.reflect.Field |
getField(java.lang.Class declaringClass,
java.lang.String fieldName)
Searches for a Static Field specified by "fieldName" within the class "declaringClass".
|
static java.lang.reflect.Field |
getField(java.lang.Object obj,
java.lang.String fieldName)
Searches for an Instance Field specified by "fieldName" within the given Object "obj" back through it's inheritance chain.
|
static float |
getFloat(java.lang.Class declaringClass,
java.lang.String fieldName)
Searches for a Static Field specified by "fieldName" within the class "declaringClass".
|
static float |
getFloat(java.lang.Object obj,
java.lang.String fieldName)
Searches for an Instance Field specified by "fieldName" within the given Object "obj" back through it's inheritance chain.
|
static int |
getInt(java.lang.Class declaringClass,
java.lang.String fieldName)
Searches for a Static Field specified by "fieldName" within the class "declaringClass".
|
static int |
getInt(java.lang.Object obj,
java.lang.String fieldName)
Searches for an Instance Field specified by "fieldName" within the given Object "obj" back through it's inheritance chain.
|
static long |
getLong(java.lang.Class declaringClass,
java.lang.String fieldName)
Searches for a Static Field specified by "fieldName" within the class "declaringClass".
|
static long |
getLong(java.lang.Object obj,
java.lang.String fieldName)
Searches for an Instance Field specified by "fieldName" within the given Object "obj" back through it's inheritance chain.
|
static java.lang.reflect.Method |
getMethod(java.lang.Class declaringClass,
java.lang.String methodName)
Searches for the Static Method specified by "methodName" within the given Class "declaringClass".
|
static java.lang.reflect.Method |
getMethod(java.lang.Class declaringClass,
java.lang.String methodName,
java.lang.Class[] classParams)
Searches for the Static Method specified by "methodName" within the given Class "declaringClass".
|
static java.lang.reflect.Method |
getMethod(java.lang.Class declaringClass,
java.lang.String methodName,
java.lang.Object[] params)
Deprecated.
As of release 1.1.0, replaced by
getMethod(Class declaringClass, String methodName, Class[] classParams) |
static java.lang.reflect.Method |
getMethod(java.lang.Object obj,
java.lang.String methodName)
Searches for the Instance Method specified by "methodName" within the given Object "obj" back through it's inheritance chain.
|
static java.lang.reflect.Method |
getMethod(java.lang.Object obj,
java.lang.String methodName,
java.lang.Class[] classParams)
Searches for the Instance Method specified by "methodName" within the given Object "obj" back through it's inheritance chain.
|
static java.lang.reflect.Method |
getMethod(java.lang.Object obj,
java.lang.String methodName,
java.lang.Object[] params)
Deprecated.
As of release 1.1.0, replaced by
getMethod(Object obj, String methodName, Class[] classParams) |
static short |
getShort(java.lang.Class declaringClass,
java.lang.String fieldName)
Searches for a Static Field specified by "fieldName" within the class "declaringClass".
|
static short |
getShort(java.lang.Object obj,
java.lang.String fieldName)
Searches for an Instance Field specified by "fieldName" within the given Object "obj" back through it's inheritance chain.
|
static java.lang.String |
getString(java.lang.Class declaringClass,
java.lang.String fieldName)
Searches for a Static Field specified by "fieldName" within the class "declaringClass".
|
static java.lang.String |
getString(java.lang.Object obj,
java.lang.String fieldName)
Searches for an Instance Field specified by "fieldName" within the given Object "obj" back through it's inheritance chain.
|
static java.lang.Class |
getType(java.lang.Class declaringClass,
java.lang.String fieldName)
Searches for a Static Field specified by "fieldName" within the class "declaringClass".
|
static java.lang.Class |
getType(java.lang.Object obj,
java.lang.String fieldName)
Searches for an Instance Field specified by "fieldName" within the given Object "obj" back through it's inheritance chain.
|
static java.lang.Object |
getValue(java.lang.Class declaringClass,
java.lang.String fieldName)
Searches for a Static Field specified by "fieldName" within the class "declaringClass".
|
static java.lang.Object |
getValue(java.lang.Object obj,
java.lang.String fieldName)
Searches for an Instance Field specified by "fieldName" within the given Object "obj" back through it's inheritance chain.
|
static int |
intGetFieldValue(java.lang.Object obj,
java.lang.String fieldName)
Deprecated.
As of release 1.0.4, replaced by
getInt(Object obj, String fieldName) |
static int |
intGetFieldValueStatic(java.lang.Class declaringClass,
java.lang.String fieldName)
Deprecated.
As of release 1.0.4, replaced by
getInt(Class declaringClass, String fieldName) |
static void |
intSetFieldValue(java.lang.Object obj,
java.lang.String fieldName,
int value)
Deprecated.
As of release 1.0.4, replaced by
setInt(Object obj, String fieldName, int value) |
static void |
intSetFieldValueStatic(java.lang.Class declaringClass,
java.lang.String fieldName,
int value)
Deprecated.
As of release 1.0.4, replaced by
setInt(Class declaringClass, String fieldName, int value) |
static java.lang.Object |
invokeMethod(java.lang.Class declaringClass,
java.lang.String methodName)
Searches for the Static Method specified by "methodName" within the given Class "declaringClass".
|
static java.lang.Object |
invokeMethod(java.lang.Class declaringClass,
java.lang.String methodName,
java.lang.Class[] classParams,
java.lang.Object[] params)
Searches for the Static Method specified by "methodName" within the given Class "declaringClass".
|
static java.lang.Object |
invokeMethod(java.lang.Class declaringClass,
java.lang.String methodName,
java.lang.Object[] params)
Deprecated.
As of release 1.1.0, replaced by
invokeMethod(Class declaringClass, String methodName, Class[] classParams, Object[] params) |
static java.lang.Object |
invokeMethod(java.lang.reflect.Method method)
Calls the Static Method "method" (with no arguments), the return value will be returned to the caller.
|
static java.lang.Object |
invokeMethod(java.lang.reflect.Method method,
java.lang.Object[] params)
Calls the Static Method "method" (with given arguments from "params"), the return value will be returned to the caller.
|
static java.lang.Object |
invokeMethod(java.lang.reflect.Method method,
java.lang.Object obj,
java.lang.Object[] params)
Calls the Instance Method "method" which must exist in the inheritance chain of the Object "obj".
|
static java.lang.Object |
invokeMethod(java.lang.Object obj,
java.lang.String methodName)
Searches for the Instance Method specified by "methodName" within the given Object "obj" back through it's inheritance chain.
|
static java.lang.Object |
invokeMethod(java.lang.Object obj,
java.lang.String methodName,
java.lang.Class[] classParams,
java.lang.Object[] params)
Searches for the Instance Method specified by "methodName" within the given Object "obj" back through it's inheritance chain.
|
static java.lang.Object |
invokeMethod(java.lang.Object obj,
java.lang.String methodName,
java.lang.Object[] params)
Deprecated.
As of release 1.1.0, replaced by
invokeMethod(Object obj, String methodName, Class[] classParams, Object[] params) |
static long |
longGetFieldValue(java.lang.Object obj,
java.lang.String fieldName)
Deprecated.
As of release 1.0.4, replaced by
getLong(Object obj, String fieldName) |
static long |
longGetFieldValueStatic(java.lang.Class declaringClass,
java.lang.String fieldName)
Deprecated.
As of release 1.0.4, replaced by
getLong(Class declaringClass, String fieldName) |
static void |
longSetFieldValue(java.lang.Object obj,
java.lang.String fieldName,
long value)
Deprecated.
As of release 1.0.4, replaced by
setLong(Object obj, String fieldName, long value) |
static void |
longSetFieldValueStatic(java.lang.Class declaringClass,
java.lang.String fieldName,
long value)
Deprecated.
As of release 1.0.4, replaced by
setLong(Class declaringClass, String fieldName, long value) |
static void |
setBoolean(java.lang.Class declaringClass,
java.lang.String fieldName,
boolean value)
Searches for a Static Field specified by "fieldName" within the class "declaringClass".
|
static void |
setBoolean(java.lang.Object obj,
java.lang.String fieldName,
boolean value)
Searches for an Instance Field specified by "fieldName" within the given Object "obj" back through it's inheritance chain.
|
static void |
setByte(java.lang.Class declaringClass,
java.lang.String fieldName,
byte value)
Searches for a Static Field specified by "fieldName" within the class "declaringClass".
|
static void |
setByte(java.lang.Object obj,
java.lang.String fieldName,
byte value)
Searches for an Instance Field specified by "fieldName" within the given Object "obj" back through it's inheritance chain.
|
static void |
setChar(java.lang.Class declaringClass,
java.lang.String fieldName,
char value)
Searches for a Static Field specified by "fieldName" within the class "declaringClass".
|
static void |
setChar(java.lang.Object obj,
java.lang.String fieldName,
char value)
Searches for an Instance Field specified by "fieldName" within the given Object "obj" back through it's inheritance chain.
|
static void |
setDouble(java.lang.Class declaringClass,
java.lang.String fieldName,
double value)
Searches for a Static Field specified by "fieldName" within the class "declaringClass".
|
static void |
setDouble(java.lang.Object obj,
java.lang.String fieldName,
double value)
Searches for an Instance Field specified by "fieldName" within the given Object "obj" back through it's inheritance chain.
|
static void |
setFloat(java.lang.Class declaringClass,
java.lang.String fieldName,
float value)
Searches for a Static Field specified by "fieldName" within the class "declaringClass".
|
static void |
setFloat(java.lang.Object obj,
java.lang.String fieldName,
float value)
Searches for an Instance Field specified by "fieldName" within the given Object "obj" back through it's inheritance chain.
|
static void |
setInt(java.lang.Class declaringClass,
java.lang.String fieldName,
int value)
Searches for a Static Field specified by "fieldName" within the class "declaringClass".
|
static void |
setInt(java.lang.Object obj,
java.lang.String fieldName,
int value)
Searches for an Instance Field specified by "fieldName" within the given Object "obj" back through it's inheritance chain.
|
static void |
setLong(java.lang.Class declaringClass,
java.lang.String fieldName,
long value)
Searches for a Static Field specified by "fieldName" within the class "declaringClass".
|
static void |
setLong(java.lang.Object obj,
java.lang.String fieldName,
long value)
Searches for an Instance Field specified by "fieldName" within the given Object "obj" back through it's inheritance chain.
|
static void |
setShort(java.lang.Class declaringClass,
java.lang.String fieldName,
short value)
Searches for a Static Field specified by "fieldName" within the class "declaringClass".
|
static void |
setShort(java.lang.Object obj,
java.lang.String fieldName,
short value)
Searches for an Instance Field specified by "fieldName" within the given Object "obj" back through it's inheritance chain.
|
static void |
setString(java.lang.Class declaringClass,
java.lang.String fieldName,
java.lang.String value)
Searches for a static Field specified by "fieldName" within the class "declaringClass".
|
static void |
setString(java.lang.Object obj,
java.lang.String fieldName,
java.lang.String value)
Searches for an Instance Field specified by "fieldName" within the given Object "obj" back through it's inheritance chain.
|
static void |
setValue(java.lang.Class declaringClass,
java.lang.String fieldName,
java.lang.Object value)
Searches for a Static Field specified by "fieldName" within the class "declaringClass".
|
static void |
setValue(java.lang.Object obj,
java.lang.String fieldName,
java.lang.Object value)
Searches for an Instance Field specified by "fieldName" within the given Object "obj" back through it's inheritance chain.
|
static short |
shortGetFieldValue(java.lang.Object obj,
java.lang.String fieldName)
Deprecated.
As of release 1.0.4, replaced by
getShort(Object obj, String fieldName) |
static short |
shortGetFieldValueStatic(java.lang.Class declaringClass,
java.lang.String fieldName)
Deprecated.
As of release 1.0.4, replaced by
getShort(Class declaringClass, String fieldName) |
static void |
shortSetFieldValue(java.lang.Object obj,
java.lang.String fieldName,
short value)
Deprecated.
As of release 1.0.4, replaced by
setShort(Object obj, String fieldName, short value) |
static void |
shortSetFieldValueStatic(java.lang.Class declaringClass,
java.lang.String fieldName,
short value)
Deprecated.
As of release 1.0.4, replaced by
setShort(Class declaringClass, String fieldName, short value) |
public static final java.lang.Object invokeMethod(java.lang.Object obj, java.lang.String methodName)
obj
- The instance Object where (or in which's inherited objects) the regarding Method resides inmethodName
- The name of the Methodpublic static final java.lang.Object invokeMethod(java.lang.Object obj, java.lang.String methodName, java.lang.Object[] params)
invokeMethod(Object obj, String methodName, Class[] classParams, Object[] params)
obj
- The instance Object where (or in which's inherited objects) the regarding Method resides inmethodName
- The name of the Methodparams
- The arguments for calling the Methodpublic static final java.lang.Object invokeMethod(java.lang.Object obj, java.lang.String methodName, java.lang.Class[] classParams, java.lang.Object[] params)
obj
- The instance Object where (or in which's inherited objects) the regarding Method resides inmethodName
- The name of the MethodclassParams
- Class Types of the arguments for calling the Method, e.g. Actor.class, float.class, int.classparams
- The arguments for calling the Methodpublic static final java.lang.Object invokeMethod(java.lang.Class declaringClass, java.lang.String methodName)
declaringClass
- The class where the Method resides inmethodName
- The name of the Methodpublic static final java.lang.Object invokeMethod(java.lang.Class declaringClass, java.lang.String methodName, java.lang.Object[] params)
invokeMethod(Class declaringClass, String methodName, Class[] classParams, Object[] params)
declaringClass
- The class where the Method resides inmethodName
- The name of the Methodparams
- The arguments for calling the Methodpublic static final java.lang.Object invokeMethod(java.lang.Class declaringClass, java.lang.String methodName, java.lang.Class[] classParams, java.lang.Object[] params)
declaringClass
- The class where the Method resides inmethodName
- The name of the MethodclassParams
- Class Types of the arguments for calling the Method, e.g. Actor.class, float.class, int.classparams
- The arguments for calling the Methodpublic static final java.lang.Object invokeMethod(java.lang.reflect.Method method, java.lang.Object obj, java.lang.Object[] params)
method
- The Method to invokeobj
- The instance Object where (or in which's inherited objects) the regarding Method resides inparams
- The arguments for calling the Methodpublic static final java.lang.Object invokeMethod(java.lang.reflect.Method method)
method
- The Method to invokepublic static final java.lang.Object invokeMethod(java.lang.reflect.Method method, java.lang.Object[] params)
method
- The Method to invokeparams
- The arguments for calling the Methodpublic static final java.lang.reflect.Method getMethod(java.lang.Object obj, java.lang.String methodName)
obj
- The instance Object where (or in which's inherited objects) the regarding Method resides inmethodName
- The name of the Methodpublic static final java.lang.reflect.Method getMethod(java.lang.Object obj, java.lang.String methodName, java.lang.Object[] params)
getMethod(Object obj, String methodName, Class[] classParams)
obj
- The instance Object where (or in which's inherited objects) the regarding Method resides inmethodName
- The name of the Methodparams
- The arguments for calling the Methodpublic static final java.lang.reflect.Method getMethod(java.lang.Object obj, java.lang.String methodName, java.lang.Class[] classParams)
obj
- The instance Object where (or in which's inherited objects) the regarding Method resides inmethodName
- The name of the MethodclassParams
- Class Types of the arguments for calling the Method, e.g. Actor.class, float.class, int.classpublic static final java.lang.reflect.Method getMethod(java.lang.Class declaringClass, java.lang.String methodName)
declaringClass
- The class where the Method resides inmethodName
- The name of the Methodpublic static final java.lang.reflect.Method getMethod(java.lang.Class declaringClass, java.lang.String methodName, java.lang.Object[] params)
getMethod(Class declaringClass, String methodName, Class[] classParams)
declaringClass
- The class where the Method resides inmethodName
- The name of the Methodparams
- The arguments for calling the Methodpublic static final java.lang.reflect.Method getMethod(java.lang.Class declaringClass, java.lang.String methodName, java.lang.Class[] classParams)
declaringClass
- The class where the Method resides inmethodName
- The name of the MethodclassParams
- Class Types of the arguments for calling the Method, e.g. Actor.class, float.class, int.classpublic static final java.lang.reflect.Field getField(java.lang.Object obj, java.lang.String fieldName)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldpublic static final java.lang.reflect.Field getField(java.lang.Class declaringClass, java.lang.String fieldName)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldpublic static final java.lang.Object getValue(java.lang.Object obj, java.lang.String fieldName)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldpublic static final java.lang.Object getValue(java.lang.Class declaringClass, java.lang.String fieldName)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldpublic static final boolean getBoolean(java.lang.Object obj, java.lang.String fieldName)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldpublic static final boolean getBoolean(java.lang.Class declaringClass, java.lang.String fieldName)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldpublic static final byte getByte(java.lang.Object obj, java.lang.String fieldName)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldpublic static final byte getByte(java.lang.Class declaringClass, java.lang.String fieldName)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldpublic static final char getChar(java.lang.Object obj, java.lang.String fieldName)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldpublic static final char getChar(java.lang.Class declaringClass, java.lang.String fieldName)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldpublic static final double getDouble(java.lang.Object obj, java.lang.String fieldName)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldpublic static final double getDouble(java.lang.Class declaringClass, java.lang.String fieldName)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldpublic static final float getFloat(java.lang.Object obj, java.lang.String fieldName)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldpublic static final float getFloat(java.lang.Class declaringClass, java.lang.String fieldName)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldpublic static final int getInt(java.lang.Object obj, java.lang.String fieldName)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldpublic static final int getInt(java.lang.Class declaringClass, java.lang.String fieldName)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldpublic static final long getLong(java.lang.Object obj, java.lang.String fieldName)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldpublic static final long getLong(java.lang.Class declaringClass, java.lang.String fieldName)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldpublic static final short getShort(java.lang.Object obj, java.lang.String fieldName)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldpublic static final short getShort(java.lang.Class declaringClass, java.lang.String fieldName)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldpublic static final java.lang.Class getType(java.lang.Object obj, java.lang.String fieldName)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldpublic static final java.lang.Class getType(java.lang.Class declaringClass, java.lang.String fieldName)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldpublic static final java.lang.String getString(java.lang.Object obj, java.lang.String fieldName)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldpublic static final java.lang.String getString(java.lang.Class declaringClass, java.lang.String fieldName)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldpublic static final void setValue(java.lang.Object obj, java.lang.String fieldName, java.lang.Object value)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void setValue(java.lang.Class declaringClass, java.lang.String fieldName, java.lang.Object value)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void setBoolean(java.lang.Object obj, java.lang.String fieldName, boolean value)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void setBoolean(java.lang.Class declaringClass, java.lang.String fieldName, boolean value)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void setByte(java.lang.Object obj, java.lang.String fieldName, byte value)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void setByte(java.lang.Class declaringClass, java.lang.String fieldName, byte value)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void setChar(java.lang.Object obj, java.lang.String fieldName, char value)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void setChar(java.lang.Class declaringClass, java.lang.String fieldName, char value)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void setDouble(java.lang.Object obj, java.lang.String fieldName, double value)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void setDouble(java.lang.Class declaringClass, java.lang.String fieldName, double value)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void setFloat(java.lang.Object obj, java.lang.String fieldName, float value)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void setFloat(java.lang.Class declaringClass, java.lang.String fieldName, float value)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void setInt(java.lang.Object obj, java.lang.String fieldName, int value)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void setInt(java.lang.Class declaringClass, java.lang.String fieldName, int value)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void setLong(java.lang.Object obj, java.lang.String fieldName, long value)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void setLong(java.lang.Class declaringClass, java.lang.String fieldName, long value)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void setShort(java.lang.Object obj, java.lang.String fieldName, short value)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void setShort(java.lang.Class declaringClass, java.lang.String fieldName, short value)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void setString(java.lang.Object obj, java.lang.String fieldName, java.lang.String value)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void setString(java.lang.Class declaringClass, java.lang.String fieldName, java.lang.String value)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final java.lang.Object genericInvokeMethod(java.lang.Object obj, java.lang.String methodName)
invokeMethod(Object obj, String methodName)
obj
- The instance Object where (or in which's inherited objects) the regarding Method resides inmethodName
- The name of the Methodpublic static final java.lang.Object genericInvokeMethod(java.lang.Object obj, java.lang.String methodName, java.lang.Object[] params)
invokeMethod(Object obj, String methodName, Object[] params)
obj
- The instance Object where (or in which's inherited objects) the regarding Method resides inmethodName
- The name of the Methodparams
- The arguments for calling the Methodpublic static final java.lang.Object genericInvokeMethodStatic(java.lang.Class declaringClass, java.lang.String methodName)
invokeMethod(Class declaringClass, String methodName)
declaringClass
- The class where the Method resides inmethodName
- The name of the Methodpublic static final java.lang.Object genericInvokeMethodStatic(java.lang.Class declaringClass, java.lang.String methodName, java.lang.Object[] params)
invokeMethod(Class declaringClass, String methodName, Object[] params)
declaringClass
- The class where the Method resides inmethodName
- The name of the Methodparams
- The arguments for calling the Methodpublic static final java.lang.Object genericInvokeMethod(java.lang.reflect.Method method, java.lang.Object obj, java.lang.Object[] params)
invokeMethod(Method method, Object obj, Object[] params)
method
- The Method to invokeobj
- The instance Object where (or in which's inherited objects) the regarding Method resides inparams
- The arguments for calling the Methodpublic static final java.lang.Object genericInvokeMethodStatic(java.lang.reflect.Method method)
invokeMethod(Method method)
method
- The Method to invokepublic static final java.lang.Object genericInvokeMethodStatic(java.lang.reflect.Method method, java.lang.Object[] params)
invokeMethod(Method method, Object[] params)
method
- The Method to invokeparams
- The arguments for calling the Methodpublic static final java.lang.reflect.Method genericGetMethod(java.lang.Object obj, java.lang.String methodName)
getMethod(Object obj, String methodName)
obj
- The instance Object where (or in which's inherited objects) the regarding Method resides inmethodName
- The name of the Methodpublic static final java.lang.reflect.Method genericGetMethod(java.lang.Object obj, java.lang.String methodName, java.lang.Object[] params)
getMethod(Object obj, String methodName, Object[] params)
obj
- The instance Object where (or in which's inherited objects) the regarding Method resides inmethodName
- The name of the Methodparams
- The arguments for calling the Methodpublic static final java.lang.reflect.Method genericGetMethodStatic(java.lang.Class declaringClass, java.lang.String methodName)
getMethod(Class declaringClass, String methodName)
declaringClass
- The class where the Method resides inmethodName
- The name of the Methodpublic static final java.lang.reflect.Method genericGetMethodStatic(java.lang.Class declaringClass, java.lang.String methodName, java.lang.Object[] params)
getMethod(Class declaringClass, String methodName, Object[] params)
declaringClass
- The class where the Method resides inmethodName
- The name of the Methodparams
- The arguments for calling the Methodpublic static final java.lang.reflect.Field genericGetField(java.lang.Object obj, java.lang.String fieldName)
getField(Object obj, String fieldName)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldpublic static final java.lang.reflect.Field genericGetFieldStatic(java.lang.Class declaringClass, java.lang.String fieldName)
getField(Class declaringClass, String fieldName)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldpublic static final java.lang.Object genericGetFieldValue(java.lang.Object obj, java.lang.String fieldName)
getValue(Object obj, String fieldName)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldpublic static final java.lang.Object genericGetFieldValueStatic(java.lang.Class declaringClass, java.lang.String fieldName)
getValue(Class declaringClass, String fieldName)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldpublic static final boolean booleanGetFieldValue(java.lang.Object obj, java.lang.String fieldName)
getBoolean(Object obj, String fieldName)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldpublic static final boolean booleanGetFieldValueStatic(java.lang.Class declaringClass, java.lang.String fieldName)
getBoolean(Class declaringClass, String fieldName)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldpublic static final byte byteGetFieldValue(java.lang.Object obj, java.lang.String fieldName)
getByte(Object obj, String fieldName)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldpublic static final byte byteGetFieldValueStatic(java.lang.Class declaringClass, java.lang.String fieldName)
getByte(Class declaringClass, String fieldName)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldpublic static final char charGetFieldValue(java.lang.Object obj, java.lang.String fieldName)
getChar(Object obj, String fieldName)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldpublic static final char charGetFieldValueStatic(java.lang.Class declaringClass, java.lang.String fieldName)
getChar(Class declaringClass, String fieldName)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldpublic static final double doubleGetFieldValue(java.lang.Object obj, java.lang.String fieldName)
getDouble(Object obj, String fieldName)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldpublic static final double doubleGetFieldValueStatic(java.lang.Class declaringClass, java.lang.String fieldName)
getDouble(Class declaringClass, String fieldName)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldpublic static final float floatGetFieldValue(java.lang.Object obj, java.lang.String fieldName)
getFloat(Object obj, String fieldName)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldpublic static final float floatGetFieldValueStatic(java.lang.Class declaringClass, java.lang.String fieldName)
getFloat(Class declaringClass, String fieldName)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldpublic static final int intGetFieldValue(java.lang.Object obj, java.lang.String fieldName)
getInt(Object obj, String fieldName)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldpublic static final int intGetFieldValueStatic(java.lang.Class declaringClass, java.lang.String fieldName)
getInt(Class declaringClass, String fieldName)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldpublic static final long longGetFieldValue(java.lang.Object obj, java.lang.String fieldName)
getLong(Object obj, String fieldName)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldpublic static final long longGetFieldValueStatic(java.lang.Class declaringClass, java.lang.String fieldName)
getLong(Class declaringClass, String fieldName)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldpublic static final short shortGetFieldValue(java.lang.Object obj, java.lang.String fieldName)
getShort(Object obj, String fieldName)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldpublic static final short shortGetFieldValueStatic(java.lang.Class declaringClass, java.lang.String fieldName)
getShort(Class declaringClass, String fieldName)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldpublic static final java.lang.Class genericGetFieldType(java.lang.Object obj, java.lang.String fieldName)
getType(Object obj, String fieldName)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldpublic static final java.lang.Class genericGetFieldTypeStatic(java.lang.Class declaringClass, java.lang.String fieldName)
getType(Class declaringClass, String fieldName)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldpublic static final void genericSetFieldValue(java.lang.Object obj, java.lang.String fieldName, java.lang.Object value)
setValue(Object obj, String fieldName, Object value)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void genericSetFieldValueStatic(java.lang.Class declaringClass, java.lang.String fieldName, java.lang.Object value)
setValue(Class declaringClass, String fieldName, Object value)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void booleanSetFieldValue(java.lang.Object obj, java.lang.String fieldName, boolean value)
setBoolean(Object obj, String fieldName, boolean value)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void booleanSetFieldValueStatic(java.lang.Class declaringClass, java.lang.String fieldName, boolean value)
setBoolean(Class declaringClass, String fieldName, boolean value)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void byteSetFieldValue(java.lang.Object obj, java.lang.String fieldName, byte value)
setByte(Object obj, String fieldName, byte value)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void byteSetFieldValueStatic(java.lang.Class declaringClass, java.lang.String fieldName, byte value)
setByte(Class declaringClass, String fieldName, byte value)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void charSetFieldValue(java.lang.Object obj, java.lang.String fieldName, char value)
setChar(Object obj, String fieldName, char value)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void charSetFieldValueStatic(java.lang.Class declaringClass, java.lang.String fieldName, char value)
setChar(Class declaringClass, String fieldName, char value)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void doubleSetFieldValue(java.lang.Object obj, java.lang.String fieldName, double value)
setDouble(Object obj, String fieldName, double value)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void doubleSetFieldValueStatic(java.lang.Class declaringClass, java.lang.String fieldName, double value)
setDouble(Class declaringClass, String fieldName, double value)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void floatSetFieldValue(java.lang.Object obj, java.lang.String fieldName, float value)
setFloat(Object obj, String fieldName, float value)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void floatSetFieldValueStatic(java.lang.Class declaringClass, java.lang.String fieldName, float value)
setFloat(Class declaringClass, String fieldName, float value)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void intSetFieldValue(java.lang.Object obj, java.lang.String fieldName, int value)
setInt(Object obj, String fieldName, int value)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void intSetFieldValueStatic(java.lang.Class declaringClass, java.lang.String fieldName, int value)
setInt(Class declaringClass, String fieldName, int value)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void longSetFieldValue(java.lang.Object obj, java.lang.String fieldName, long value)
setLong(Object obj, String fieldName, long value)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void longSetFieldValueStatic(java.lang.Class declaringClass, java.lang.String fieldName, long value)
setLong(Class declaringClass, String fieldName, long value)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void shortSetFieldValue(java.lang.Object obj, java.lang.String fieldName, short value)
setShort(Object obj, String fieldName, short value)
obj
- The instance Object where (or in which's inherited objects) the regarding Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field topublic static final void shortSetFieldValueStatic(java.lang.Class declaringClass, java.lang.String fieldName, short value)
setShort(Class declaringClass, String fieldName, short value)
declaringClass
- The class where the Field resides infieldName
- The name of the Fieldvalue
- The value to set the Field to