public 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, wait
equals, hashCode
public static Annotation of(Class<? extends Annotation> annotation)
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
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.