Interface DeclareAnnotation


  • public interface DeclareAnnotation
    The AspectJ runtime representation of a declare annotation member in an aspect.
    • Method Detail

      • getDeclaringType

        AjType<?> getDeclaringType()
        The aspect that declared this member.
      • getSignaturePattern

        SignaturePattern getSignaturePattern()
        The target signature pattern. Returns null if getKind() == Type
      • getTypePattern

        TypePattern getTypePattern()
        The target type pattern. Returns null if getKind() != Type
      • getAnnotation

        java.lang.annotation.Annotation getAnnotation()
        The declared annotation. If the declared annotation does not have runtime retention, this method returns null.
      • getAnnotationAsText

        java.lang.String getAnnotationAsText()
        Returns the text of the annotation as declared in this member. Available for both runtime and class-file retention annotations