Class IntertypeMemberClassDeclaration

All Implemented Interfaces:
ReferenceContext, TypeConstants, TypeIds, ProblemSeverities

public class IntertypeMemberClassDeclaration extends TypeDeclaration
Represents an intertype member class declaration.
Since:
1.6.9
Author:
Andy Clement
  • Field Details

  • Constructor Details

    • IntertypeMemberClassDeclaration

      public IntertypeMemberClassDeclaration(CompilationResult compilationResult)
  • Method Details

    • getMunger

      public ResolvedTypeMunger getMunger()
    • resolve

      public void resolve(ClassScope aspectScope)
      Description copied from class: TypeDeclaration
      Resolve a member type declaration (can be a local member)
      Overrides:
      resolve in class TypeDeclaration
    • resolve

      public void resolve()
      Bytecode generation for a member inner type
      Overrides:
      resolve in class TypeDeclaration
    • resolve

      public void resolve(BlockScope blockScope)
      Description copied from class: TypeDeclaration
      Resolve a local type declaration
      Overrides:
      resolve in class TypeDeclaration
    • resolve

      public void resolve(CompilationUnitScope upperScope)
      Description copied from class: TypeDeclaration
      Resolve a top level type declaration
      Overrides:
      resolve in class TypeDeclaration
    • generateAttributes

      protected void generateAttributes(ClassFile classFile)
      Overrides:
      generateAttributes in class TypeDeclaration
    • getAttribute

      public AjAttribute getAttribute()
    • ensureScopeSetup

      public void ensureScopeSetup()
      Called just before the compiler is going to start resolving elements of a declaration, this method adds an intertype scope so that elements of the type targeted by the ITD can be resolved. For example, if type variables are referred to in the ontype for the ITD, they have to be resolved against the ontype, not the aspect containing the ITD.
    • setOnType

      public void setOnType(TypeReference onType)
    • build

      public EclipseTypeMunger build(ClassScope classScope)
    • alternativeName

      public char[] alternativeName()
      Overrides:
      alternativeName in class TypeDeclaration