Package com.db4o.internal
Class Reflection4
- java.lang.Object
-
- com.db4o.internal.Reflection4
-
public class Reflection4 extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Reflection4()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
dump(java.lang.Object obj)
static java.lang.reflect.Field
getField(java.lang.Class clazz, java.lang.String name)
static java.lang.Object
getFieldValue(java.lang.Object obj, java.lang.String fieldName)
static java.lang.reflect.Method
getMethod(java.lang.Class clazz, java.lang.String methodName, java.lang.Class[] paramClasses)
static java.lang.reflect.Method
getMethod(java.lang.String className, java.lang.String methodName, java.lang.Class[] paramClasses)
calling this method "method" will break C# conversion with the old converterstatic java.lang.Object
invoke(java.lang.Class clazz, java.lang.String methodName, java.lang.Class[] paramClasses, java.lang.Object[] params)
static java.lang.Object
invoke(java.lang.Object[] params, java.lang.Object onObject, java.lang.reflect.Method method)
static java.lang.Object
invoke(java.lang.Object obj, java.lang.String methodName)
static java.lang.Object
invoke(java.lang.Object obj, java.lang.String methodName, java.lang.Class[] paramClasses, java.lang.Object[] params)
static java.lang.Object
invoke(java.lang.Object obj, java.lang.String methodName, java.lang.Class signature, java.lang.Object value)
static java.lang.Object
invoke(java.lang.Object obj, java.lang.String methodName, java.lang.Object[] params)
static java.lang.Object
invoke(java.lang.String className, java.lang.String methodName, java.lang.Class[] paramClasses, java.lang.Object[] params, java.lang.Object onObject)
static java.lang.Object
invokeStatic(java.lang.Class clazz, java.lang.String methodName)
static java.lang.Object
newInstance(java.lang.Object template)
-
-
-
Method Detail
-
invokeStatic
public static java.lang.Object invokeStatic(java.lang.Class clazz, java.lang.String methodName)
-
invoke
public static java.lang.Object invoke(java.lang.Object obj, java.lang.String methodName) throws ReflectException
- Throws:
ReflectException
-
invoke
public static java.lang.Object invoke(java.lang.Object obj, java.lang.String methodName, java.lang.Object[] params) throws ReflectException
- Throws:
ReflectException
-
invoke
public static java.lang.Object invoke(java.lang.Object obj, java.lang.String methodName, java.lang.Class[] paramClasses, java.lang.Object[] params) throws ReflectException
- Throws:
ReflectException
-
invoke
public static java.lang.Object invoke(java.lang.Class clazz, java.lang.String methodName, java.lang.Class[] paramClasses, java.lang.Object[] params) throws ReflectException
- Throws:
ReflectException
-
invoke
public static java.lang.Object invoke(java.lang.String className, java.lang.String methodName, java.lang.Class[] paramClasses, java.lang.Object[] params, java.lang.Object onObject) throws ReflectException
- Throws:
ReflectException
-
invoke
public static java.lang.Object invoke(java.lang.Object[] params, java.lang.Object onObject, java.lang.reflect.Method method) throws ReflectException
- Throws:
ReflectException
-
getMethod
public static java.lang.reflect.Method getMethod(java.lang.String className, java.lang.String methodName, java.lang.Class[] paramClasses)
calling this method "method" will break C# conversion with the old converter
-
getMethod
public static java.lang.reflect.Method getMethod(java.lang.Class clazz, java.lang.String methodName, java.lang.Class[] paramClasses)
-
invoke
public static java.lang.Object invoke(java.lang.Object obj, java.lang.String methodName, java.lang.Class signature, java.lang.Object value) throws ReflectException
- Throws:
ReflectException
-
getField
public static java.lang.reflect.Field getField(java.lang.Class clazz, java.lang.String name)
-
getFieldValue
public static java.lang.Object getFieldValue(java.lang.Object obj, java.lang.String fieldName) throws ReflectException
- Throws:
ReflectException
-
newInstance
public static java.lang.Object newInstance(java.lang.Object template)
-
dump
public static java.lang.String dump(java.lang.Object obj)
-
-