public class DeclareAnnotationImpl extends java.lang.Object implements DeclareAnnotation
DeclareAnnotation.Kind| Constructor and Description |
|---|
DeclareAnnotationImpl(AjType<?> declaring,
java.lang.String kindString,
java.lang.String pattern,
java.lang.annotation.Annotation ann,
java.lang.String annText) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.annotation.Annotation |
getAnnotation()
The declared annotation.
|
java.lang.String |
getAnnotationAsText()
Returns the text of the annotation as declared in this member.
|
AjType<?> |
getDeclaringType()
The aspect that declared this member.
|
DeclareAnnotation.Kind |
getKind()
The target element kind
|
SignaturePattern |
getSignaturePattern()
The target signature pattern.
|
TypePattern |
getTypePattern()
The target type pattern.
|
java.lang.String |
toString() |
public DeclareAnnotationImpl(AjType<?> declaring, java.lang.String kindString, java.lang.String pattern, java.lang.annotation.Annotation ann, java.lang.String annText)
public AjType<?> getDeclaringType()
DeclareAnnotationgetDeclaringType in interface DeclareAnnotationpublic DeclareAnnotation.Kind getKind()
DeclareAnnotationgetKind in interface DeclareAnnotationpublic SignaturePattern getSignaturePattern()
DeclareAnnotationgetSignaturePattern in interface DeclareAnnotationpublic TypePattern getTypePattern()
DeclareAnnotationgetTypePattern in interface DeclareAnnotationpublic java.lang.annotation.Annotation getAnnotation()
DeclareAnnotationgetAnnotation in interface DeclareAnnotationpublic java.lang.String getAnnotationAsText()
DeclareAnnotationgetAnnotationAsText in interface DeclareAnnotationpublic java.lang.String toString()
toString in class java.lang.Object