org.apache.el.util
public class ReflectionUtil extends Object
Version: $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: markt $
Field Summary | |
---|---|
protected static String[] | EMPTY_STRING |
protected static Class[] | PRIMITIVES |
protected static String[] | PRIMITIVE_NAMES |
Method Summary | |
---|---|
static Class | forName(String name) |
protected static Class | forNamePrimitive(String name) |
static Method | getMethod(Object base, Object property, Class[] paramTypes)
Returns a method based on the criteria |
static PropertyDescriptor | getPropertyDescriptor(Object base, Object property) |
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 |
Parameters: base the object that owns the method property the name of the method paramTypes the parameter types to use
Returns: the method specified
Throws: MethodNotFoundException
Parameters: base property
Returns:
Throws: ELException PropertyNotFoundException
Parameters: s
Returns:
Throws: ClassNotFoundException
Parameters: c
Returns: