Schnittstelle DeclareAnnotation

Alle bekannten Implementierungsklassen:
DeclareAnnotationImpl

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

    • getDeclaringType

      AjType<?> getDeclaringType()
      Gibt zurück:
      the aspect that declared this member.
    • getKind

      Gibt zurück:
      the target element kind
    • getSignaturePattern

      SignaturePattern getSignaturePattern()
      Gibt zurück:
      the target signature pattern. Returns null if getKind() == Type
    • getTypePattern

      TypePattern getTypePattern()
      Gibt zurück:
      the target type pattern. Returns null if getKind() != Type
    • getAnnotation

      Annotation getAnnotation()
      Gibt zurück:
      the declared annotation. If the declared annotation does not have runtime retention, this method returns null.
    • getAnnotationAsText

      String getAnnotationAsText()
      Gibt zurück:
      the text of the annotation as declared in this member. Available for both runtime and class-file retention annotations