org.aspectj.compiler.base.ast
Class Formals

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

public class Formals
extends ASTObject


Field Summary
 FormalDec[] children
           
protected  int size
           
 
Fields inherited from class org.aspectj.compiler.base.ast.ASTObject
dummySource, parent, sourceLocation
 
Constructor Summary
Formals()
           
Formals(FormalDec[] _children)
           
Formals(SourceLocation location)
           
Formals(SourceLocation location, FormalDec child1)
           
Formals(SourceLocation location, FormalDec[] _children)
           
Formals(SourceLocation location, FormalDec child1, FormalDec child2)
           
Formals(SourceLocation location, FormalDec child1, FormalDec child2, FormalDec child3)
           
 
Method Summary
 void add(FormalDec child)
           
 void add(int index, FormalDec child)
           
 Formals addAll(FormalDec[] _children)
           
 void addAll(Formals collection)
           
 void addAll(int index, Formals collection)
           
 Formals addChild(FormalDec child)
           
 Formals addChildren(FormalDec[] _children)
           
 boolean canBeCalledWith(Exprs parameters)
           
 ASTObject copyWalk(CopyWalker walker)
           
 FormalDec findName(java.lang.String name)
           
 java.util.Map findTransform(Formals otherFormals)
           
 FormalDec get(int index)
           
 ASTObject getChildAt(int childIndex)
           
 int getChildCount()
           
 java.lang.String getChildNameAt(int childIndex)
           
 FormalDec[] getChildren()
           
 java.lang.String getDefaultDisplayName()
           
 CodeDec getEnclosingCodeDec()
           
 java.util.Iterator iterator()
           
 Exprs makeExprs()
           
 java.util.Set makeSet()
           
 boolean matches(Formals otherFormals)
           
 void remove(int index)
           
 void resize(int newSize)
           
 void set(int index, FormalDec child)
           
 void setChildAt(int childIndex, ASTObject child)
           
 int size()
           
 java.lang.String toShortString()
           
 void unparse(org.aspectj.compiler.base.CodeWriter writer)
           
 
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, 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, 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 FormalDec[] children
Constructor Detail

Formals

public Formals(SourceLocation location,
               FormalDec[] _children)

Formals

public Formals(FormalDec[] _children)

Formals

public Formals(SourceLocation location)

Formals

public Formals()

Formals

public Formals(SourceLocation location,
               FormalDec child1)

Formals

public Formals(SourceLocation location,
               FormalDec child1,
               FormalDec child2)

Formals

public Formals(SourceLocation location,
               FormalDec child1,
               FormalDec child2,
               FormalDec child3)
Method Detail

getEnclosingCodeDec

public CodeDec getEnclosingCodeDec()
Overrides:
getEnclosingCodeDec in class ASTObject

makeSet

public java.util.Set makeSet()

iterator

public java.util.Iterator iterator()

canBeCalledWith

public boolean canBeCalledWith(Exprs parameters)

matches

public boolean matches(Formals otherFormals)

findName

public FormalDec findName(java.lang.String name)

findTransform

public java.util.Map findTransform(Formals otherFormals)

toShortString

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

unparse

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

makeExprs

public Exprs makeExprs()

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 FormalDec get(int index)

set

public void set(int index,
                FormalDec child)

resize

public void resize(int newSize)

getChildren

public FormalDec[] getChildren()

addAll

public Formals addAll(FormalDec[] _children)

addAll

public void addAll(Formals collection)

addChildren

public Formals addChildren(FormalDec[] _children)

addAll

public void addAll(int index,
                   Formals collection)

addChild

public Formals addChild(FormalDec child)

add

public void add(FormalDec child)

add

public void add(int index,
                FormalDec child)

remove

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

getDefaultDisplayName

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