public final class ReflectionUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.reflect.Method |
retrieveMethod(java.lang.Class<?> clazz,
java.lang.String name,
java.lang.Class<?>... parameterTypes)
Retrieves the specific
Method from the Class without checked exception. |
public static java.lang.reflect.Method retrieveMethod(java.lang.Class<?> clazz, java.lang.String name, java.lang.Class<?>... parameterTypes)
Method
from the Class
without checked exception.
Throws IllegalArgumentException
if NoSuchMethodException
is thrown.
clazz
- Class
to retrieve a Method
fromname
- the name of the methodparameterTypes
- the list of method parametersMethod
object