Klasse AspectDeclaration

Alle implementierten Schnittstellen:
ReferenceContext, TypeConstants, TypeIds, ProblemSeverities

public class AspectDeclaration extends TypeDeclaration
Represents an aspect declaration.
Autor:
PARC, Andy Clement
  • Felddetails

    • perClause

      public PerClause perClause
    • aspectOfMethod

      public ResolvedMember aspectOfMethod
    • ptwGetWithinTypeNameMethod

      public ResolvedMember ptwGetWithinTypeNameMethod
    • hasAspectMethod

      public ResolvedMember hasAspectMethod
    • accessForInline

      public Map<ResolvedMember,Binding> accessForInline
    • superAccessForInline

      public Map<ResolvedMember,org.aspectj.ajdt.internal.compiler.ast.AccessForInlineVisitor.SuperAccessMethodPair> superAccessForInline
    • isPrivileged

      public boolean isPrivileged
    • concreteName

      public EclipseSourceType concreteName
    • typeX

      public ReferenceType typeX
    • factory

      public EclipseFactory factory
    • adviceCounter

      public int adviceCounter
    • declareCounter

      public int declareCounter
    • dominatesPattern

      public TypePattern dominatesPattern
    • HAS_ASPECT

      public static final char[] HAS_ASPECT
  • Konstruktordetails

  • Methodendetails

    • isAbstract

      public boolean isAbstract()
    • resolve

      public void resolve()
      Setzt außer Kraft:
      resolve in Klasse TypeDeclaration
    • checkSpec

      public void checkSpec(ClassScope scope)
    • addAtAspectJAnnotations

      public void addAtAspectJAnnotations()
      AMC - this method is called by the AtAspectJVisitor during beforeCompilation processing in the AjCompiler adapter. We use this hook to add in the @AspectJ annotations.
    • generateCode

      public void generateCode(ClassFile enclosingClassFile)
      Beschreibung aus Klasse kopiert: TypeDeclaration
      Generic bytecode generation for type
      Setzt außer Kraft:
      generateCode in Klasse TypeDeclaration
    • needClassInitMethod

      public boolean needClassInitMethod()
      Beschreibung aus Klasse kopiert: TypeDeclaration
      A will be requested as soon as static fields or assertions are present. It will be eliminated during classfile creation if no bytecode was actually produced based on some optimizations/compiler settings.
      Setzt außer Kraft:
      needClassInitMethod in Klasse TypeDeclaration
    • generateAttributes

      protected void generateAttributes(ClassFile classFile)
      Setzt außer Kraft:
      generateAttributes in Klasse TypeDeclaration
    • makeEffectiveSignatureAttribute

      protected List<EclipseAttributeAdapter> makeEffectiveSignatureAttribute(ResolvedMember sig, Shadow.Kind kind, boolean weaveBody)
    • processIntertypeMemberTypes

      public void processIntertypeMemberTypes(ClassScope classScope)
    • buildInterTypeAndPerClause

      public void buildInterTypeAndPerClause(ClassScope classScope)
    • printHeader

      public StringBuffer printHeader(int indent, StringBuffer output)
      Setzt außer Kraft:
      printHeader in Klasse TypeDeclaration
    • getDeclaredModifiers

      public int getDeclaredModifiers()
      All aspects are made public after type checking etc. and before generating code (so that the advice can be called!). This method returns the modifiers as specified in the original source code declaration so that the structure model sees the right thing.
    • getLocalTypeNameSuffix

      public char[] getLocalTypeNameSuffix()
      Setzt außer Kraft:
      getLocalTypeNameSuffix in Klasse TypeDeclaration