Class ReflectionInvoker
- java.lang.Object
-
- io.smallrye.graphql.execution.datafetcher.helper.ReflectionInvoker
-
- Direct Known Subclasses:
OperationInvoker
public class ReflectionInvoker extends Object
Invoke methods using reflection- Author:
- Phillip Kruger ([email protected])
-
-
Constructor Summary
Constructors Constructor Description ReflectionInvoker(String className)
ReflectionInvoker(String className, String methodName, List<String> parameterClasses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
invoke(Object... arguments)
<T> T
invokePrivileged(ClassLoader classLoader, Object... arguments)
<T> T
invokePrivileged(Object... arguments)
void
setMethod(String methodName, List<String> parameterClasses)
String
toString()
-
-
-
Method Detail
-
invokePrivileged
public <T> T invokePrivileged(Object... arguments)
-
invokePrivileged
public <T> T invokePrivileged(ClassLoader classLoader, Object... arguments)
-
-