org.apache.commons.jexl.util.introspection
public class ClassMap extends Object
Since: 1.0
Version: $Id: ClassMap.java 398459 2006-04-30 23:14:30Z dion $
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. |
Parameters: aClass the class to deconstruct.
Parameters: name method name params method parameters
Returns: CACHE_MISS or a Method
Throws: MethodMap.AmbiguousException if the method and parameters are ambiguous.
Parameters: method a method whose publicly callable counterpart is requested.
Returns: the publicly callable counterpart method. Note that if the parameter method is itself declared by a public class, this method is an identity function.