|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.jexl.util.introspection.ClassMap
Taken from the Velocity tree so we can be self-sufficient
A cache of introspection information for a specific class instance. Keys
java.lang.Method
objects by a concatenation of the method name and
the names of classes that make up the parameters.
Constructor Summary | |
---|---|
ClassMap(Class aClass)
Standard constructor. |
Method Summary | |
---|---|
Method |
findMethod(String name,
Object[] params)
Find a Method using the methodKey provided. |
static Method |
getPublicMethod(Method method)
For a given method, retrieves its publicly accessible counterpart. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ClassMap(Class aClass)
aClass
- the class to deconstruct.Method Detail |
public Method findMethod(String name, Object[] params) throws MethodMap.AmbiguousException
name
- method nameparams
- method parameters
Method
MethodMap.AmbiguousException
- if the method and parameters are ambiguous.public static Method getPublicMethod(Method method)
method
- a method whose publicly callable counterpart is requested.
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |