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()
DeclareAnnotation
getDeclaringType
in interface DeclareAnnotation
public DeclareAnnotation.Kind getKind()
DeclareAnnotation
getKind
in interface DeclareAnnotation
public SignaturePattern getSignaturePattern()
DeclareAnnotation
getSignaturePattern
in interface DeclareAnnotation
public TypePattern getTypePattern()
DeclareAnnotation
getTypePattern
in interface DeclareAnnotation
public java.lang.annotation.Annotation getAnnotation()
DeclareAnnotation
getAnnotation
in interface DeclareAnnotation
public java.lang.String getAnnotationAsText()
DeclareAnnotation
getAnnotationAsText
in interface DeclareAnnotation
public java.lang.String toString()
toString
in class java.lang.Object