public class GetDeclaredMethodAction extends AbstractReflectionAction implements PrivilegedExceptionAction<Method>
Modifier and Type | Field and Description |
---|---|
protected String |
methodName |
protected Class<?>[] |
parameterTypes |
javaClass
Constructor and Description |
---|
GetDeclaredMethodAction(Class<?> javaClass,
String methodName,
Class<?>... parameterTypes) |
Modifier and Type | Method and Description |
---|---|
static GetDeclaredMethodAction |
of(Class<?> javaClass,
String methodName,
Class<?>... parameterTypes) |
Method |
run() |
protected final String methodName
protected final Class<?>[] parameterTypes
public static GetDeclaredMethodAction of(Class<?> javaClass, String methodName, Class<?>... parameterTypes)
public Method run() throws NoSuchMethodException
run
in interface PrivilegedExceptionAction<Method>
NoSuchMethodException
Copyright © 2016. All rights reserved.