public class MethodCache extends Object
| Modifier and Type | Method and Description |
|---|---|
static MethodCache |
getInstance()
Gets the only instance of this class
|
Method |
getMethod(Class clazz,
String methodName,
Class[] parameterTypes)
Returns the specified method - if any.
|
public static MethodCache getInstance()
public Method getMethod(Class clazz, String methodName, Class[] parameterTypes) throws NoSuchMethodException
clazz - the class to get the method frommethodName - the name of the methodparameterTypes - the parameters of the methodNoSuchMethodException - if the method can't be foundCopyright © The Apache Software Foundation. All Rights Reserved.