public class AnnotationArooaAnnotation extends Object implements ArooaAnnotation
ArooaAnnotation
created from a real annotation.Constructor and Description |
---|
AnnotationArooaAnnotation(Annotation annotation)
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 AnnotationArooaAnnotation(Annotation annotation)
annotation
- The underlying 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.