|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.el.util.ReflectionUtil
public class ReflectionUtil
Utilities for Managing Serialization and Reflection
Field Summary | |
---|---|
protected static String[] |
PRIMITIVE_NAMES
|
protected static Class<?>[] |
PRIMITIVES
|
Method Summary | |
---|---|
static Class<?> |
forName(String name)
|
protected static Class<?> |
forNamePrimitive(String name)
|
static Method |
getMethod(Object base,
Object property,
Class<?>[] paramTypes,
Object[] paramValues)
Returns a method based on the criteria |
protected static String |
paramString(Class<?>[] types)
|
static Class<?>[] |
toTypeArray(String[] s)
Converts an array of Class names to Class types |
static String[] |
toTypeNameArray(Class<?>[] c)
Converts an array of Class types to Class names |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final String[] PRIMITIVE_NAMES
protected static final Class<?>[] PRIMITIVES
Method Detail |
---|
public static Class<?> forName(String name) throws ClassNotFoundException
ClassNotFoundException
protected static Class<?> forNamePrimitive(String name)
public static Class<?>[] toTypeArray(String[] s) throws ClassNotFoundException
s
-
ClassNotFoundException
public static String[] toTypeNameArray(Class<?>[] c)
c
- public static Method getMethod(Object base, Object property, Class<?>[] paramTypes, Object[] paramValues) throws MethodNotFoundException
base
- the object that owns the methodproperty
- the name of the methodparamTypes
- the parameter types to useparamValues
- the parameter values
MethodNotFoundException
protected static final String paramString(Class<?>[] types)
|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |