org.apache.commons.jexl.util.introspection
public class ClassMap extends java.lang.Object
Method
objects by a concatenation of the method name and
the names of classes that make up the parameters.Constructor and Description |
---|
ClassMap(java.lang.Class aClass,
org.apache.commons.logging.Log rlog)
Standard constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.reflect.Method |
findMethod(java.lang.String name,
java.lang.Object[] params)
Find a Method using the method name and parameter objects.
|
public ClassMap(java.lang.Class aClass, org.apache.commons.logging.Log rlog)
aClass
- the class to deconstruct.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.Copyright © 2014 The Apache Software Foundation. All Rights Reserved.