Uses of Class
org.perfectable.introspection.proxy.MethodInvocation
-
Packages that use MethodInvocation Package Description org.perfectable.introspection.proxy Elements that simplifies creation of Proxy Objects. -
-
Uses of MethodInvocation in org.perfectable.introspection.proxy
Methods in org.perfectable.introspection.proxy that return MethodInvocation Modifier and Type Method Description static <T> MethodInvocation<T>
MethodInvocation. intercepted(Method method, T receiver, Object... arguments)
Create invocation that was intercepted from proxy mechanism.static <T> MethodInvocation<T>
MethodInvocation. of(Method method, T receiver, Object... arguments)
Create synthetic invocation from scratch.MethodInvocation<T>
MethodInvocation. withArguments(Object... newArguments)
Creates new invocation with replaced arguments.MethodInvocation<T>
MethodInvocation. withMethod(Method newMethod)
Creates new invocation with replaced method.<X extends T>
MethodInvocation<X>MethodInvocation. withReceiver(X newReceiver)
Creates new invocation with replaced receiver.Methods in org.perfectable.introspection.proxy with parameters of type MethodInvocation Modifier and Type Method Description Object
ForwardingHandler. handle(MethodInvocation<T> invocation)
Method parameters in org.perfectable.introspection.proxy with type arguments of type MethodInvocation Modifier and Type Method Description <I> I
JavassistProxyService. instantiate(ClassLoader classLoader, Class<?> baseClass, List<? extends Class<?>> interfaces, InvocationHandler<? super MethodInvocation<I>> handler)
<I> I
JdkProxyService. instantiate(ClassLoader classLoader, Class<?> baseClass, List<? extends Class<?>> interfaces, InvocationHandler<? super MethodInvocation<I>> handler)
I
ProxyBuilder. instantiate(InvocationHandler<? super MethodInvocation<I>> handler)
Creates instance of configured proxy class.<I> I
ProxyService. instantiate(ClassLoader classLoader, Class<?> baseClass, List<? extends Class<?>> interfaces, InvocationHandler<? super MethodInvocation<I>> handler)
Creates proxy instance.
-