org.aspectj.compiler.crosscuts.ast
Class AspectMembers

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.Decs
                  extended byorg.aspectj.compiler.crosscuts.ast.AspectMembers
Direct Known Subclasses:
AspectJCompUnitMembers, ClassMembers

public class AspectMembers
extends Decs


Field Summary
 AspectMember[] children
           
protected  int size
           
 
Fields inherited from class org.aspectj.compiler.base.ast.ASTObject
dummySource, parent, sourceLocation
 
Constructor Summary
AspectMembers()
           
AspectMembers(AspectMember[] _children)
           
AspectMembers(AspectMember child1, AspectMembers decs)
           
AspectMembers(SourceLocation location)
           
AspectMembers(SourceLocation location, AspectMember child1)
           
AspectMembers(SourceLocation location, AspectMember[] _children)
           
AspectMembers(SourceLocation location, AspectMember child1, AspectMember child2)
           
AspectMembers(SourceLocation location, AspectMember child1, AspectMember child2, AspectMember child3)
           
 
Method Summary
 void add(AspectMember child)
           
 void add(int index, AspectMember child)
           
 void addAll(AspectMembers collection)
           
 void addAll(int index, AspectMembers collection)
           
 AspectMembers addChild(AspectMember child)
           
 AspectMembers addChildren(AspectMember[] _children)
           
 void append(AspectMember dec)
           
 void append(AspectMembers decs)
           
protected  void cgStmt(org.aspectj.compiler.base.bcg.CodeBuilder cb)
          This procedure does the work of generating bytecode.
 void cleanup()
           
 ASTObject copyWalk(CopyWalker walker)
           
 Dec get(int index)
           
 ASTObject getChildAt(int childIndex)
           
 int getChildCount()
           
 java.lang.String getChildNameAt(int childIndex)
           
 AspectMember[] getChildren()
           
 java.lang.String getDefaultDisplayName()
           
 java.util.List getList()
           
 java.util.ListIterator iterator()
           
 void prepend(AspectMember dec)
           
 void remove(AspectMember dec)
           
 void remove(int index)
           
 void resize(int newSize)
           
 void set(int index, AspectMember child)
           
 void setChildAt(int childIndex, ASTObject child)
           
 int size()
           
 void unparse(org.aspectj.compiler.base.CodeWriter writer)
           
 
Methods inherited from class org.aspectj.compiler.base.ast.Decs
add, add, addAll, addAll, append, append, prepend, remove, set
 
Methods inherited from class org.aspectj.compiler.base.ast.Stmt
cgTop, completesNormally, isBreakable, isContinuable, isEmpty, mustBeLive, registerLocation, requireBlockStmt, requireStmt, setCompletesNormally
 
Methods inherited from class org.aspectj.compiler.base.ast.ASTObject
addComment, buildAccessMethod, checkNoSharing, checkSpec, clearComment, clearParent, contains, containsTypes, copy, display, fixAccessPost, fixAST, fromSource, getAST, getBeginColumn, getBeginLine, getBytecodeType, getBytecodeTypeDec, getComment, getCompilationUnit, getDeclaringType, getEnclosingCodeDec, getEnclosingDec, getEndColumn, getEndLine, getEndPosition, getFormalComment, getLexicalType, getOutermostBytecodeType, getOutermostLexicalType, getParent, getSourceDirectoryName, getSourceFile, getSourceFileName, getSourceLocation, getStartPosition, hasLegalProtectedAccess, hasSource, hasSourceLocation, implementMixin, indexOf, inStaticContext, isLanguageVisible, isLeaf, isSynthetic, makeChild, makeChild, postAssignmentCheck, postCleanup, postCopy, postFixAST, postImplementMixin, postInnerAccess, postInnerInfo, postLift, postMove, postScope, postThreading, preAssignmentCheck, preCopy, preIntroduction, preLift, preMove, preScope, preThreading, remove, removeChildAt, replaceWith, setFormalComment, setParent, setParents, setSource, setSourceLocation, setSyntheticSource, showError, showMessage, showTypeError, showWarning, toShortString, toString, unparse, walk, walkAnalysis, walkAssignmentCheck, walkCleanup, walkFlow, walkForwardReference, walkFrameLoc, walkInnerInfo, walkMemberMunger, walkScope
 
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
 

Field Detail

size

protected int size

children

public AspectMember[] children
Constructor Detail

AspectMembers

public AspectMembers(SourceLocation location,
                     AspectMember[] _children)

AspectMembers

public AspectMembers(AspectMember[] _children)

AspectMembers

public AspectMembers()

AspectMembers

public AspectMembers(AspectMember child1,
                     AspectMembers decs)

AspectMembers

public AspectMembers(SourceLocation location)

AspectMembers

public AspectMembers(SourceLocation location,
                     AspectMember child1)

AspectMembers

public AspectMembers(SourceLocation location,
                     AspectMember child1,
                     AspectMember child2)

AspectMembers

public AspectMembers(SourceLocation location,
                     AspectMember child1,
                     AspectMember child2,
                     AspectMember child3)
Method Detail

getList

public java.util.List getList()
Overrides:
getList in class Decs

iterator

public java.util.ListIterator iterator()
Overrides:
iterator in class Decs

append

public void append(AspectMembers decs)

append

public void append(AspectMember dec)

prepend

public void prepend(AspectMember dec)

unparse

public void unparse(org.aspectj.compiler.base.CodeWriter writer)
Overrides:
unparse in class Decs

remove

public void remove(AspectMember dec)

cleanup

public void cleanup()
Overrides:
cleanup in class Decs

cgStmt

protected void cgStmt(org.aspectj.compiler.base.bcg.CodeBuilder cb)
Description copied from class: Stmt
This procedure does the work of generating bytecode. Its main requirement is to leave the stack empty. This method should only be called from Stmt.cgTop(org.aspectj.compiler.base.bcg.CodeBuilder).

Overrides:
cgStmt in class Decs

copyWalk

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

getChildAt

public ASTObject getChildAt(int childIndex)
Overrides:
getChildAt in class Decs

setChildAt

public void setChildAt(int childIndex,
                       ASTObject child)
Overrides:
setChildAt in class Decs

getChildNameAt

public java.lang.String getChildNameAt(int childIndex)
Overrides:
getChildNameAt in class Decs

getChildCount

public int getChildCount()
Overrides:
getChildCount in class Decs

size

public int size()
Overrides:
size in class Decs

get

public Dec get(int index)
Overrides:
get in class Decs

set

public void set(int index,
                AspectMember child)

resize

public void resize(int newSize)
Overrides:
resize in class Decs

addAll

public void addAll(AspectMembers collection)

addAll

public void addAll(int index,
                   AspectMembers collection)

addChild

public AspectMembers addChild(AspectMember child)

addChildren

public AspectMembers addChildren(AspectMember[] _children)

getChildren

public AspectMember[] getChildren()

add

public void add(AspectMember child)

add

public void add(int index,
                AspectMember child)

remove

public void remove(int index)
Overrides:
remove in class Decs

getDefaultDisplayName

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