Package org.ehcache.sizeof.annotations
Class AnnotationProxyFactory.AnnotationInvocationHandler
java.lang.Object
org.ehcache.sizeof.annotations.AnnotationProxyFactory.AnnotationInvocationHandler
- All Implemented Interfaces:
InvocationHandler
- Enclosing class:
AnnotationProxyFactory
private static class AnnotationProxyFactory.AnnotationInvocationHandler
extends Object
implements InvocationHandler
Invocation handler implementing an invoke method that redirects every method call to the custom annotation method
when possible; if not returns the reference annotation method default value
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
customAnnotation
-
-
Constructor Details
-
AnnotationInvocationHandler
-
-
Method Details
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-
getMatchingMethodOnGivenAnnotation
-