public class FindMethod extends Object
| Constructor and Description |
|---|
FindMethod() |
| Modifier and Type | Method and Description |
|---|---|
static Method |
getDeclaredMethod(Class<? extends Object> source,
String name,
Class<? extends Object>[] parameterTypes)
Finds the most specific applicable declared method
|
static Method |
getMethod(Class<? extends Object> source,
String name,
Class<? extends Object>[] parameterTypes)
Finds the most specific applicable method
|
public static Method getMethod(Class<? extends Object> source, String name, Class<? extends Object>[] parameterTypes) throws NoSuchMethodException
source - Class to find method inname - Name of method to findparameterTypes - Parameter types to search forNoSuchMethodExceptionpublic static Method getDeclaredMethod(Class<? extends Object> source, String name, Class<? extends Object>[] parameterTypes) throws NoSuchMethodException
source - Class to find method inname - Name of method to findparameterTypes - Parameter types to search forNoSuchMethodExceptionCopyright © 2016. All Rights Reserved.