|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jexl.util.introspection.ClassMap
public class 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(java.lang.Class aClass)
Standard constructor. |
Method Summary | |
---|---|
java.lang.reflect.Method |
findMethod(java.lang.String name,
java.lang.Object[] params)
Find a Method using the methodKey provided. |
static java.lang.reflect.Method |
getPublicMethod(java.lang.reflect.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(java.lang.Class aClass)
aClass
- the class to deconstruct.Method Detail |
---|
public java.lang.reflect.Method findMethod(java.lang.String name, java.lang.Object[] params) throws MethodMap.AmbiguousException
name
- method nameparams
- method parameters
Method
MethodMap.AmbiguousException
- if the method and parameters are ambiguous.public static java.lang.reflect.Method getPublicMethod(java.lang.reflect.Method method)
method
- a method whose publicly callable counterpart is requested.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |