public class JavaDocAnnotationInvocationHander
extends java.lang.Object
implements java.lang.reflect.InvocationHandler, java.io.Serializable
Constructor and Description |
---|
JavaDocAnnotationInvocationHander(java.lang.Class annotationInterface,
AnnotationElement.Annotation annotation,
java.lang.ClassLoader annotatedClassClassLoader)
Constructor that will trigger the parsing if required
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
The proxy invoke method, dispatches to the target method being invoked.
|
public JavaDocAnnotationInvocationHander(java.lang.Class annotationInterface, AnnotationElement.Annotation annotation, java.lang.ClassLoader annotatedClassClassLoader)
annotationInterface
- annotation
- annotatedClassClassLoader
- classloader of the annotated class from which we can safely load all valuespublic java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
invoke
in interface java.lang.reflect.InvocationHandler
proxy
- method
- args
- java.lang.Throwable