public class MethodAccessor
extends java.lang.Object
| Constructor and Description |
|---|
MethodAccessor() |
| Modifier and Type | Method and Description |
|---|---|
static <I> I |
makeDynamicInvoker(java.lang.Class<I> invokerClass,
java.lang.reflect.Method method)
Create a new dynamic invoker instance for the given method.
|
static <I> I |
makeInvoker(java.lang.Class<I> invokerClass,
java.lang.Object instance,
java.lang.reflect.Method method)
Create a new invoker instance for the given method.
|
public static <I> I makeInvoker(@Nonnull
java.lang.Class<I> invokerClass,
java.lang.Object instance,
@Nonnull
java.lang.reflect.Method method)
I - The invoker interface typeinvokerClass - The invoker interface classinstance - The instance of the class the method is inmethod - The method to invokepublic static <I> I makeDynamicInvoker(@Nonnull
java.lang.Class<I> invokerClass,
@Nonnull
java.lang.reflect.Method method)
I - The invoker interface typeinvokerClass - The invoker interface classmethod - The method to invoke