org.aspectj.compiler.base.ast
Class MethodDecs

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
                      extended byorg.aspectj.compiler.base.ast.ClassMembers
                          extended byorg.aspectj.compiler.base.ast.MethodDecs

public class MethodDecs
extends ClassMembers


Field Summary
 MethodDec[] children
           
protected  int size
           
 
Fields inherited from class org.aspectj.compiler.base.ast.ASTObject
dummySource, parent, sourceLocation
 
Constructor Summary
MethodDecs()
           
MethodDecs(MethodDec[] _children)
           
MethodDecs(MethodDec child1, MethodDecs decs)
           
MethodDecs(SourceLocation location)
           
MethodDecs(SourceLocation location, MethodDec child1)
           
MethodDecs(SourceLocation location, MethodDec[] _children)
           
MethodDecs(SourceLocation location, MethodDec child1, MethodDec child2)
           
MethodDecs(SourceLocation location, MethodDec child1, MethodDec child2, MethodDec child3)
           
 
Method Summary
 void add(int index, MethodDec child)
           
 void add(MethodDec child)
           
 void addAll(int index, MethodDecs collection)
           
 void addAll(MethodDecs collection)
           
 MethodDecs addChild(MethodDec child)
           
 void append(MethodDec dec)
           
 void append(MethodDecs decs)
           
protected  void cgStmt(org.aspectj.compiler.base.bcg.CodeBuilder cb)
          This procedure does the work of generating bytecode.
 MethodDec[] children()
           
 void cleanup()
           
 ASTObject copyWalk(CopyWalker walker)
           
 Dec get(int index)
           
 ASTObject getChildAt(int childIndex)
           
 int getChildCount()
           
 java.lang.String getChildNameAt(int childIndex)
           
 java.lang.String getDefaultDisplayName()
           
 java.util.List getList()
           
 java.util.ListIterator iterator()
           
 void prepend(MethodDec dec)
           
 void remove(int index)
           
 void remove(MethodDec dec)
           
 void resize(int newSize)
           
 void set(int index, MethodDec 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.ClassMembers
add, add, addAll, addAll, addChild, addChildren, append, append, getCMChildren, prepend, remove, set
 
Methods inherited from class org.aspectj.compiler.crosscuts.ast.AspectMembers
add, add, addAll, addAll, addChild, addChildren, append, append, getChildren, prepend, remove, set
 
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 MethodDec[] children
Constructor Detail

MethodDecs

public MethodDecs(SourceLocation location,
                  MethodDec[] _children)

MethodDecs

public MethodDecs(MethodDec[] _children)

MethodDecs

public MethodDecs(MethodDec child1,
                  MethodDecs decs)

MethodDecs

public MethodDecs(SourceLocation location)

MethodDecs

public MethodDecs()

MethodDecs

public MethodDecs(SourceLocation location,
                  MethodDec child1)

MethodDecs

public MethodDecs(SourceLocation location,
                  MethodDec child1,
                  MethodDec child2)

MethodDecs

public MethodDecs(SourceLocation location,
                  MethodDec child1,
                  MethodDec child2,
                  MethodDec child3)
Method Detail

getList

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

iterator

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

append

public void append(MethodDecs decs)

append

public void append(MethodDec dec)

prepend

public void prepend(MethodDec dec)

unparse

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

remove

public void remove(MethodDec dec)

cleanup

public void cleanup()
Overrides:
cleanup in class ClassMembers

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 ClassMembers

children

public MethodDec[] children()

copyWalk

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

getChildAt

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

setChildAt

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

getChildNameAt

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

getChildCount

public int getChildCount()
Overrides:
getChildCount in class ClassMembers

size

public int size()
Overrides:
size in class ClassMembers

get

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

set

public void set(int index,
                MethodDec child)

resize

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

addAll

public void addAll(MethodDecs collection)

addAll

public void addAll(int index,
                   MethodDecs collection)

addChild

public MethodDecs addChild(MethodDec child)

add

public void add(MethodDec child)

add

public void add(int index,
                MethodDec child)

remove

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

getDefaultDisplayName

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