org.aspectj.compiler.base.ast
Class Stmts

java.lang.Object
  extended byorg.aspectj.compiler.base.CompilerObject
      extended byorg.aspectj.compiler.base.ast.ASTObject
          extended byorg.aspectj.compiler.base.ast.Stmts

public class Stmts
extends ASTObject


Field Summary
 Stmt[] children
           
protected  int size
           
 
Fields inherited from class org.aspectj.compiler.base.ast.ASTObject
dummySource, parent, sourceLocation
 
Constructor Summary
Stmts()
           
Stmts(SourceLocation location)
           
Stmts(SourceLocation location, Stmt child1)
           
Stmts(SourceLocation location, Stmt[] _children)
           
Stmts(SourceLocation location, Stmt child1, Stmt child2)
           
Stmts(SourceLocation location, Stmt child1, Stmt child2, Stmt child3)
           
Stmts(Stmt _child)
           
Stmts(Stmt[] _children)
           
Stmts(Stmt _child, Stmts _children)
           
 
Method Summary
 void add(int index, Stmt child)
           
 void add(Stmt child)
           
 void addAll(int index, Stmts collection)
           
 Stmts addAll(Stmt[] stmts)
           
 Stmts addAll(Stmts collection)
           
 Stmts addChild(Stmt child)
           
 Stmts addChildren(Stmt[] mchild)
           
 ASTObject copyWalk(CopyWalker walker)
           
 Stmt get(int index)
           
 ASTObject getChildAt(int childIndex)
           
 int getChildCount()
           
 java.lang.String getChildNameAt(int childIndex)
           
 Stmt[] getChildren()
           
 java.lang.String getDefaultDisplayName()
           
 Stmt getSingleStmt()
           
 BlockStmt makeBlockStmt()
           
 void remove(int index)
           
 Stmts removeReturns()
           
 void resize(int newSize)
           
 void set(int index, Stmt child)
           
 void setChildAt(int childIndex, ASTObject child)
           
 int size()
           
 void unparse(org.aspectj.compiler.base.CodeWriter writer)
           
 void walkCleanup(org.aspectj.compiler.base.ByteCodeCleanupPass walker)
           
 
Methods inherited from class org.aspectj.compiler.base.ast.ASTObject
addComment, buildAccessMethod, checkNoSharing, checkSpec, cleanup, 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, 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 Stmt[] children
Constructor Detail

Stmts

public Stmts(SourceLocation location,
             Stmt[] _children)

Stmts

public Stmts(Stmt _child)

Stmts

public Stmts(Stmt[] _children)

Stmts

public Stmts(Stmt _child,
             Stmts _children)

Stmts

public Stmts(SourceLocation location)

Stmts

public Stmts()

Stmts

public Stmts(SourceLocation location,
             Stmt child1)

Stmts

public Stmts(SourceLocation location,
             Stmt child1,
             Stmt child2)

Stmts

public Stmts(SourceLocation location,
             Stmt child1,
             Stmt child2,
             Stmt child3)
Method Detail

getSingleStmt

public Stmt getSingleStmt()

makeBlockStmt

public BlockStmt makeBlockStmt()

removeReturns

public Stmts removeReturns()

unparse

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

walkCleanup

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

getChildren

public Stmt[] getChildren()

copyWalk

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

getChildAt

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

setChildAt

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

getChildNameAt

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

getChildCount

public int getChildCount()
Overrides:
getChildCount in class ASTObject

size

public int size()

get

public Stmt get(int index)

set

public void set(int index,
                Stmt child)

resize

public void resize(int newSize)

addAll

public Stmts addAll(Stmts collection)

addAll

public Stmts addAll(Stmt[] stmts)

addAll

public void addAll(int index,
                   Stmts collection)

add

public void add(Stmt child)

addChild

public Stmts addChild(Stmt child)

addChildren

public Stmts addChildren(Stmt[] mchild)

add

public void add(int index,
                Stmt child)

remove

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

getDefaultDisplayName

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