Package com.google.inject.internal
Class InterceptorStackCallback
java.lang.Object
com.google.inject.internal.InterceptorStackCallback
- All Implemented Interfaces:
InvocationHandler
Intercepts a method with a stack of interceptors.
Acts as a JDK InvocationHandler
so the proxy using it can avoid Guice-specific types.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate class
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInterceptorStackCallback
(Method method, List<org.aopalliance.intercept.MethodInterceptor> interceptors, BiFunction<Object, Object[], Object> superInvoker) -
Method Summary
-
Field Details
-
GUICE_INTERNAL_AOP_PACKAGE
- See Also:
-
method
-
interceptors
final org.aopalliance.intercept.MethodInterceptor[] interceptors -
superInvoker
-
-
Constructor Details
-
InterceptorStackCallback
-
-
Method Details
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-
pruneStacktrace
Removes stacktrace elements related to AOP internal mechanics from the throwable's stack trace and any causes it may have.
-