public class SyntheticArooaAnnotation extends Object implements ArooaAnnotation
ArooaAnnotation
created just from a String from a
descriptor.Constructor and Description |
---|
SyntheticArooaAnnotation(String annotationName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get the name.
|
<T extends Annotation> |
realAnnotation(Class<T> annotationType)
Provide the real annotation if this is a wrapper for a real
annotation.
|
public SyntheticArooaAnnotation(String annotationName)
annotationName
- The name of the annotation.public String getName()
ArooaAnnotation
getName
in interface ArooaAnnotation
public <T extends Annotation> T realAnnotation(Class<T> annotationType)
ArooaAnnotation
realAnnotation
in interface ArooaAnnotation
annotationType
- The annotation this might be a wrapper for.