class AnnotationProxy extends Object implements Annotation, InvocationHandler, Serializable
Annotation
that pretends it is a "real" source code annotation.
Constructor and Description |
---|
AnnotationProxy(AnnotationProxyBuilder<A> descriptor)
Create a new AnnotationProxy instance.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Annotation> |
annotationType() |
int |
hashCode() |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
String |
toString() |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
equals
AnnotationProxy(AnnotationProxyBuilder<A> descriptor)
A
- descriptor
- public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
Throwable
public Class<? extends Annotation> annotationType()
annotationType
in interface Annotation
public String toString()
toString
in interface Annotation
toString
in class Object
public int hashCode()
hashCode
in interface Annotation
hashCode
in class Object
Copyright © 2010–2020 The Apache Software Foundation. All rights reserved.