org.aspectj.compiler.base.ast
Class InterfaceDec

java.lang.Object
  extended byorg.aspectj.compiler.base.CompilerObject
      extended byorg.aspectj.compiler.base.ast.ASTObject
          extended byorg.aspectj.compiler.base.ast.Stmt
              extended byorg.aspectj.compiler.base.ast.Dec
                  extended byorg.aspectj.compiler.base.ast.TypeDec
                      extended byorg.aspectj.compiler.base.ast.InterfaceDec
All Implemented Interfaces:
AspectMember, ClassMember, CompUnit, JavaCompUnitMember

public class InterfaceDec
extends TypeDec
implements JavaCompUnitMember


Field Summary
 
Fields inherited from class org.aspectj.compiler.base.ast.TypeDec
body, id, joinPointFactoryDec, joinPoints0, joinPoints1, joinPoints2, memberTypeNames, modifiers, superInterfaces, type
 
Fields inherited from class org.aspectj.compiler.base.ast.Dec
forcePublic, owner, semanticObject
 
Fields inherited from class org.aspectj.compiler.base.ast.ASTObject
dummySource, parent, sourceLocation
 
Constructor Summary
  InterfaceDec(Modifiers _modifiers, Identifier _id, TypeDs _superInterfaces, Decs _body)
           
  InterfaceDec(Modifiers _modifiers, java.lang.String _id, TypeDs _superInterfaces, Decs _body)
           
protected InterfaceDec(SourceLocation source)
           
  InterfaceDec(SourceLocation location, Modifiers _modifiers, java.lang.String _id, TypeDs _superInterfaces, Decs _body)
           
 
Method Summary
protected  void addFieldDec(FieldDec fieldDec)
           
protected  void addInitializerDec(InitializerDec dec)
           
protected  void addMethodDec(MethodDec methodDec)
           
 void addToHelperClass(Dec dec)
           
protected  void addTypeDec(TypeDec typeDec)
           
 void checkSpec()
           
 ASTObject copyWalk(CopyWalker walker)
           
 java.lang.String getDefaultDisplayName()
           
 java.lang.String getKind()
           
 Type getSuperClassType()
           
 boolean isAnonymous()
           
static boolean isHelperClass(Dec dec)
           
 boolean isStatic()
           
 ASTObject postAssignmentCheck(org.aspectj.compiler.base.AssignmentCheckerPass walker)
           
 ASTObject postCleanup(org.aspectj.compiler.base.ByteCodeCleanupPass walker)
           
 void unparse(org.aspectj.compiler.base.CodeWriter writer)
           
 
Methods inherited from class org.aspectj.compiler.base.ast.TypeDec
addAssertionField, addConstructorDec, addDec, addDecs, addExtraWithinType, addInnerTypes, addIntroducedDec, addMember, addMemberMethodDec, addMemberTypeDec, addPointcutDec, addSuperInterfaceType, addToBody, addToBodyAndType, addToTypeGraph, addToTypeGraph, allocateLocalTypeIndex, buildSignatures, buildSignatures, canOverride, cgMember, collectInitializers, collectInitializers, fixAST, generateBytecode, getAssertionsDisabledField, getBody, getBytecodeTypeDec, getChildAt, getChildCount, getChildNameAt, getDeclaringTypeDec, getDepth, getEnclosingInstanceType, getEnclosingInstanceTypeDec, getEnclosingScope, getEnclosingTypeDec, getExtendedId, getExtraWithinTypes, getFullName, getId, getInitializerExecutionJoinPoints, getModifiers, getNameType, getOutermostBytecodeType, getOutermostLexicalType, getOutermostType, getOutermostTypeDec, getPackageDir, getPackageName, getPrettyString, getSingleInitializerDec, getSoleConstructorDec, getSourceExtendedId, getSuperInterfaces, getSuperInterfaceTypes, getType, hasGlobalName, isConcrete, isInner, isInnerType, isInnerTypeOf, isLocal, isLocallyDefined, isPackageMember, isRoot, makeCorrespondingSemanticObject, makeInterfaceTypesFromTypeDs, postCopy, postIntroductionFinish, postLift, postMove, postThreading, preCopy, preLift, preMove, preThreading, setBody, setChildAt, setEnclosingTypeDec, setId, setInnerDiscoveries, setIsInner, setLocal, setModifiers, setSoleConstructorDec, setSuperInterfaces, setType, toShortString, toString, walkAnalysis, walkBody, walkExtendsAndImplements, walkFlow, walkForwardReference, walkInnerInfo, walkMemberMunger, walkScope
 
Methods inherited from class org.aspectj.compiler.base.ast.Dec
addIntroducedFromType, checkOverride, cleanup, conflictsWith, dominates, forcePublic, getBytecodeId, getCorrespondingSemanticObject, getDeclaringType, getDescriptor, getLexicalType, getName, getSignatureString, getStackDelta, inStaticContext, isAbstract, isAccessible, isAccessible, isAlmostApplicable, isApplicable, isDeprecated, isFinal, isInherited, isIntroduced, isLanguageVisible, isMoreAccessibleThan, isMoreSpecificThan, isPrivate, isProtected, isPublic, isSynthetic, lookupDeclaringType, lookupLexicalType, makeBlockScope, requireStmt, samePackage, setAllEnclosingTypes, setBytecodeId, setDeclaringType, setDeprecated, setExplicitlyNonSynthetic, setFromLexicalScope, setLanguageVisible, setLexicalType, writeModifiers, writeNames
 
Methods inherited from class org.aspectj.compiler.base.ast.Stmt
cgStmt, cgTop, completesNormally, isBreakable, isContinuable, isEmpty, mustBeLive, registerLocation, requireBlockStmt, setCompletesNormally
 
Methods inherited from class org.aspectj.compiler.base.ast.ASTObject
addComment, buildAccessMethod, checkNoSharing, clearComment, clearParent, contains, containsTypes, copy, display, fixAccessPost, fromSource, getAST, getBeginColumn, getBeginLine, getBytecodeType, getComment, getCompilationUnit, getEnclosingCodeDec, getEnclosingDec, getEndColumn, getEndLine, getEndPosition, getFormalComment, getParent, getSourceDirectoryName, getSourceFile, getSourceFileName, getSourceLocation, getStartPosition, hasLegalProtectedAccess, hasSource, hasSourceLocation, implementMixin, indexOf, isLeaf, makeChild, makeChild, postFixAST, postImplementMixin, postInnerAccess, postInnerInfo, postScope, preAssignmentCheck, preIntroduction, preScope, remove, remove, removeChildAt, replaceWith, setFormalComment, setParent, setParents, setSource, setSourceLocation, setSyntheticSource, showError, showMessage, showTypeError, showWarning, unparse, walk, walkAssignmentCheck, walkCleanup, walkFrameLoc
 
Methods inherited from class org.aspectj.compiler.base.CompilerObject
getCompiler, getOptions, getTypeManager, getWorld
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.aspectj.compiler.base.ast.JavaCompUnitMember
cgTop, cleanup, setParent, unparse
 

Constructor Detail

InterfaceDec

public InterfaceDec(SourceLocation location,
                    Modifiers _modifiers,
                    java.lang.String _id,
                    TypeDs _superInterfaces,
                    Decs _body)

InterfaceDec

public InterfaceDec(Modifiers _modifiers,
                    java.lang.String _id,
                    TypeDs _superInterfaces,
                    Decs _body)

InterfaceDec

public InterfaceDec(Modifiers _modifiers,
                    Identifier _id,
                    TypeDs _superInterfaces,
                    Decs _body)

InterfaceDec

protected InterfaceDec(SourceLocation source)
Method Detail

getKind

public java.lang.String getKind()
Specified by:
getKind in class Dec

getSuperClassType

public Type getSuperClassType()
Overrides:
getSuperClassType in class TypeDec

isAnonymous

public boolean isAnonymous()
Specified by:
isAnonymous in class TypeDec

checkSpec

public void checkSpec()
Overrides:
checkSpec in class TypeDec

addFieldDec

protected void addFieldDec(FieldDec fieldDec)
Overrides:
addFieldDec in class TypeDec

addMethodDec

protected void addMethodDec(MethodDec methodDec)
Overrides:
addMethodDec in class TypeDec

addTypeDec

protected void addTypeDec(TypeDec typeDec)
Overrides:
addTypeDec in class TypeDec

addInitializerDec

protected void addInitializerDec(InitializerDec dec)
Overrides:
addInitializerDec in class TypeDec

addToHelperClass

public void addToHelperClass(Dec dec)

isHelperClass

public static boolean isHelperClass(Dec dec)

unparse

public void unparse(org.aspectj.compiler.base.CodeWriter writer)
Specified by:
unparse in interface JavaCompUnitMember
Overrides:
unparse in class ASTObject

isStatic

public boolean isStatic()
Overrides:
isStatic in class Dec

postCleanup

public ASTObject postCleanup(org.aspectj.compiler.base.ByteCodeCleanupPass walker)
Overrides:
postCleanup in class ASTObject

postAssignmentCheck

public ASTObject postAssignmentCheck(org.aspectj.compiler.base.AssignmentCheckerPass walker)
Overrides:
postAssignmentCheck in class ASTObject

copyWalk

public ASTObject copyWalk(CopyWalker walker)
Overrides:
copyWalk in class ASTObject

getDefaultDisplayName

public java.lang.String getDefaultDisplayName()
Overrides:
getDefaultDisplayName in class TypeDec