public final class DefaultAnnotation extends Object implements InvocationHandler, Annotation
Proxy.
The annotation literal gets filled with the default values.
TODO implement class caching!| Modifier and Type | Method and Description |
|---|---|
Class<? extends Annotation> |
annotationType() |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
static Annotation |
of(Class<? extends Annotation> annotation) |
String |
toString()
Copied from javax.enterprise.util.AnnotationLiteral#toString()
with minor changes.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCodepublic static Annotation of(Class<? extends Annotation> annotation)
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke in interface InvocationHandlerThrowablepublic Class<? extends Annotation> annotationType()
annotationType in interface Annotationpublic String toString()
toString in interface AnnotationtoString in class ObjectCopyright © 2008–2020 The Apache Software Foundation. All rights reserved.