Klasse GeneratedReferenceTypeDelegate

java.lang.Object
org.aspectj.weaver.AbstractReferenceTypeDelegate
org.aspectj.weaver.GeneratedReferenceTypeDelegate
Alle implementierten Schnittstellen:
ReferenceTypeDelegate

public class GeneratedReferenceTypeDelegate extends AbstractReferenceTypeDelegate
A delegate that can sit in the ReferenceType instance created for an aspect generated from aop.xml. Only answers the minimal set of information required as the type is processed.
Autor:
Andy Clement
  • Konstruktordetails

    • GeneratedReferenceTypeDelegate

      public GeneratedReferenceTypeDelegate(ReferenceType backing)
  • Methodendetails

    • isAspect

      public boolean isAspect()
    • isAnnotationStyleAspect

      public boolean isAnnotationStyleAspect()
      Gibt zurück:
      true if the type is an annotation style aspect (a type marked @Aspect)
    • isInterface

      public boolean isInterface()
    • isEnum

      public boolean isEnum()
    • isAnnotation

      public boolean isAnnotation()
    • isAnnotationWithRuntimeRetention

      public boolean isAnnotationWithRuntimeRetention()
      Gibt zurück:
      true if this annotation type has a retention policy of RUNTIME
    • isAnonymous

      public boolean isAnonymous()
    • isNested

      public boolean isNested()
      Gibt zurück:
      true if this class is nested (this includes: member classes, local classes, anonymous classes)
    • getOuterClass

      public ResolvedType getOuterClass()
    • getRetentionPolicy

      public String getRetentionPolicy()
    • canAnnotationTargetType

      public boolean canAnnotationTargetType()
      Gibt zurück:
      true if this annotation type can be on a regular type (ie. it doesn't specify anything or it specifies TYPE)
    • getAnnotationTargetKinds

      public AnnotationTargetKind[] getAnnotationTargetKinds()
      Gibt zurück:
      all the possible targets that this annotation can be placed upon
    • isGeneric

      public boolean isGeneric()
    • getDeclaredGenericSignature

      public String getDeclaredGenericSignature()
    • hasAnnotation

      public boolean hasAnnotation(UnresolvedType ofType)
    • getAnnotations

      public AnnotationAJ[] getAnnotations()
    • hasAnnotations

      public boolean hasAnnotations()
    • getAnnotationTypes

      public ResolvedType[] getAnnotationTypes()
    • getDeclaredFields

      public ResolvedMember[] getDeclaredFields()
    • getDeclaredInterfaces

      public ResolvedType[] getDeclaredInterfaces()
    • getDeclaredMethods

      public ResolvedMember[] getDeclaredMethods()
    • getDeclaredPointcuts

      public ResolvedMember[] getDeclaredPointcuts()
    • getPerClause

      public PerClause getPerClause()
      Gibt zurück:
      for an aspect declaration, return the
    • getDeclares

      public Collection<Declare> getDeclares()
    • getTypeMungers

      public Collection<ConcreteTypeMunger> getTypeMungers()
    • getPrivilegedAccesses

      public Collection<ResolvedMember> getPrivilegedAccesses()
    • getModifiers

      public int getModifiers()
    • setSuperclass

      public void setSuperclass(ResolvedType superclass)
    • getSuperclass

      public ResolvedType getSuperclass()
    • getWeaverState

      public WeaverStateInfo getWeaverState()
    • getTypeVariables

      public TypeVariable[] getTypeVariables()