MethodAccess
::= TypeArgument:Access
*;- Type Hierarchy:
java.lang.Object
beaver.Symbol
AST.ASTNode<ASTNode>
AST.Expr
AST.Access
AST.MethodAccess
AST.ParMethodAccess
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Iterable<ASTNode>
|
|||||||
FRAMES NO FRAMES |
MethodAccess
::= TypeArgument:Access
*;java.lang.Objectbeaver.Symbol
AST.ASTNode<ASTNode>
AST.Expr
AST.Access
AST.MethodAccess
AST.ParMethodAccess
Java1.5Frontend/GenericMethods.ast
at line 13
public ParMethodAccess()
public ParMethodAccess(java.lang.String p0, List<Expr> p1, List<Access> p2)
public ParMethodAccess(beaver.Symbol p0, List<Expr> p1, List<Access> p2)
syn java.util.ArrayList typeArguments(MethodDecl m)
typeArguments
in class MethodAccess
Java1.5Frontend/MethodSignature.jrag
at line 311
public void flushCache()
flushCache
in class MethodAccess
public void flushCollectionCache()
flushCollectionCache
in class MethodAccess
public ParMethodAccess clone() throws java.lang.CloneNotSupportedException
clone
in class MethodAccess
java.lang.CloneNotSupportedException
public ParMethodAccess copy()
copy
in class MethodAccess
public ParMethodAccess fullCopy()
fullCopy
in class MethodAccess
public void typeCheck()
typeCheck
in class MethodAccess
Java1.5Frontend/GenericMethods.jrag
at line 11
public void toString(java.lang.StringBuffer s)
toString
in class MethodAccess
Java1.5Frontend/GenericMethods.jrag
at line 179
public void init$Children()
init$Children
in class MethodAccess
protected int numChildren()
numChildren
in class MethodAccess
public boolean mayHaveRewrite()
mayHaveRewrite
in class MethodAccess
public void setID(java.lang.String value)
setID
in class MethodAccess
value
- The new value for the lexeme ID.public void setID(beaver.Symbol symbol)
setID
in class MethodAccess
public java.lang.String getID()
getID
in class MethodAccess
public void setArgList(List<Expr> list)
setArgList
in class MethodAccess
list
- The new list node to be used as the Arg list.public int getNumArg()
getNumArg
in class MethodAccess
public int getNumArgNoTransform()
getNumArgNoTransform
in class MethodAccess
i
in the Arg list..getArg
in class MethodAccess
i
- Index of the element to return.
i
in the Arg list.addArg
in class MethodAccess
node
- The element to append to the Arg list.public void addArgNoTransform(Expr node)
addArgNoTransform
in class MethodAccess
i
with the new node node
.setArg
in class MethodAccess
node
- The new node to replace the old list element.i
- The list index of the node to be replaced.getArgs
in class MethodAccess
public List<Expr> getArgsNoTransform()
This method does not invoke AST transformations.
getArgsNoTransform
in class MethodAccess
public List<Expr> getArgList()
getArgList
in class MethodAccess
public List<Expr> getArgListNoTransform()
This method does not invoke AST transformations.
getArgListNoTransform
in class MethodAccess
public void setTypeArgumentList(List<Access> list)
list
- The new list node to be used as the TypeArgument list.public int getNumTypeArgument()
public int getNumTypeArgumentNoTransform()
public Access getTypeArgument(int i)
i
in the TypeArgument list..i
- Index of the element to return.
i
in the TypeArgument list.public void addTypeArgument(Access node)
node
- The element to append to the TypeArgument list.public void addTypeArgumentNoTransform(Access node)
public void setTypeArgument(Access node, int i)
i
with the new node node
.node
- The new node to replace the old list element.i
- The list index of the node to be replaced.public List<Access> getTypeArguments()
public List<Access> getTypeArgumentsNoTransform()
This method does not invoke AST transformations.
public List<Access> getTypeArgumentList()
public List<Access> getTypeArgumentListNoTransform()
This method does not invoke AST transformations.
public NameType Define_NameType_nameType(ASTNode caller, ASTNode child)
Define_NameType_nameType
in class MethodAccess
Java1.5Frontend/GenericMethods.jrag
at line 142
public SimpleSet Define_SimpleSet_lookupType(ASTNode caller, ASTNode child, java.lang.String name)
Define_SimpleSet_lookupType
in class MethodAccess
Java1.5Frontend/GenericMethods.jrag
at line 143
rewriteTo
in class MethodAccess
protected java.util.Map typeArguments_MethodDecl_values
|
|||||||
FRAMES NO FRAMES |