|
||||||||||
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
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,
org.apache.commons.logging.Log rlog)
Standard constructor. |
Method Summary | |
---|---|
java.lang.reflect.Method |
findMethod(java.lang.String name,
java.lang.Object[] params)
Find a Method using the method name and parameter objects. |
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, org.apache.commons.logging.Log rlog)
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
- The method name to look up.params
- An array of parameters for the method.
MethodMap.AmbiguousException
- When more than one method is a match for the parameters.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |