Package org.activiti.engine.impl.util
Class ReflectUtil
java.lang.Object
org.activiti.engine.impl.util.ReflectUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassLoaderstatic FieldReturns the field of the given class or null if it doesn't exist.static FieldReturns the field of the given object or null if it doesn't exist.static StringgetGetterShorthandName(Method method) static URLgetResource(String name) static InputStreamgetResourceAsStream(String name) static MethodReturns the setter-method for the given field name or null if no setter exists.static StringgetSetterShorthandName(Method method) static Objectinstantiate(String className) static Objectinstantiate(String className, Object[] args) static Objectstatic booleanstatic booleanstatic booleanstatic Class<?>static void
-
Constructor Details
-
ReflectUtil
public ReflectUtil()
-
-
Method Details
-
getClassLoader
-
loadClass
-
getResourceAsStream
-
getResource
-
instantiate
-
invoke
-
getField
Returns the field of the given object or null if it doesn't exist. -
getField
Returns the field of the given class or null if it doesn't exist. -
setField
-
getSetter
Returns the setter-method for the given field name or null if no setter exists. -
instantiate
-
isGetter
-
isSetter
-
isSetter
-
getGetterShorthandName
-
getSetterShorthandName
-