org.aspectj.lang.reflect
Interface DeclareAnnotation
public interface DeclareAnnotation
The AspectJ runtime representation of a declare annotation member in an aspect.
getAnnotation
public Annotation getAnnotation()
The declared annotation. If the declared annotation does not have runtime retention,
this method returns null.
getAnnotationAsText
public String getAnnotationAsText()
Returns the text of the annotation as declared in this member. Available for
both runtime and class-file retention annotations
getDeclaringType
public AjType> getDeclaringType()
The aspect that declared this member.
getSignaturePattern
public SignaturePattern getSignaturePattern()
The target signature pattern. Returns null if getKind() == Type
getTypePattern
public TypePattern getTypePattern()
The target type pattern. Returns null if getKind() != Type