AST
node type BoundMethodAccess

General Info

Production
BoundMethodAccess : MethodAccess;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by AST.ASTNode<ASTNode>
          extended by AST.Expr
              extended by AST.Access
                  extended by AST.MethodAccess
                      extended by AST.BoundMethodAccess
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>

Description

Source
Declared in Java1.4Frontend/BoundNames.ast at line 3

Member Filters

API level:

Aspect:

Constructors

public BoundMethodAccess(java.lang.String name,
                         List args,
                         MethodDecl methodDecl)
 
Source
Declared in Java1.4Frontend/BoundNames.jrag at line 61
Aspect
BoundNames
public BoundMethodAccess(java.lang.String p0,
                         List<Expr> p1)
 
public BoundMethodAccess(beaver.Symbol p0,
                         List<Expr> p1)
 

Attributes

Overrides:decl in class MethodAccess
Source
Declared in Java1.4Frontend/BoundNames.jrag at line 66
Aspect
BoundNames

Methods

public void flushCache()
Overrides:flushCache in class MethodAccess
public void flushCollectionCache()
Overrides:flushCollectionCache in class MethodAccess
public BoundMethodAccess clone()
                        throws java.lang.CloneNotSupportedException
Overrides:clone in class MethodAccess
Throws:
java.lang.CloneNotSupportedException
Overrides:copy in class MethodAccess
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
Overrides:fullCopy in class MethodAccess
Returns:
dangling copy of the subtree at this node
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class MethodAccess
protected int numChildren()
Overrides:numChildren in class MethodAccess
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class MethodAccess
public void setID(java.lang.String value)
Replaces the lexeme ID.
Overrides:setID in class MethodAccess
Parameters:
value - The new value for the lexeme ID.
public void setID(beaver.Symbol symbol)
JastAdd-internal setter for lexeme ID using the Beaver parser.
Overrides:setID in class MethodAccess
public java.lang.String getID()
Retrieves the value for the lexeme ID.
Overrides:getID in class MethodAccess
Returns:
The value for the lexeme ID.
public void setArgList(List<Expr> list)
Replaces the Arg list.
Overrides:setArgList in class MethodAccess
Parameters:
list - The new list node to be used as the Arg list.
public int getNumArg()
Retrieves the number of children in the Arg list.
Overrides:getNumArg in class MethodAccess
Returns:
Number of children in the Arg list.
Retrieves the number of children in the Arg list. Calling this method will not trigger rewrites..
Overrides:getNumArgNoTransform in class MethodAccess
Returns:
Number of children in the Arg list.
public Expr getArg(int i)
Retrieves the element at index i in the Arg list..
Overrides:getArg in class MethodAccess
Parameters:
i - Index of the element to return.
Returns:
The element at position i in the Arg list.
public void addArg(Expr node)
Append an element to the Arg list.
Overrides:addArg in class MethodAccess
Parameters:
node - The element to append to the Arg list.
public void addArgNoTransform(Expr node)
Overrides:addArgNoTransform in class MethodAccess
public void setArg(Expr node,
                   int i)
Replaces the Arg list element at index i with the new node node.
Overrides:setArg in class MethodAccess
Parameters:
node - The new node to replace the old list element.
i - The list index of the node to be replaced.
public List<Expr> getArgs()
Retrieves the Arg list.
Overrides:getArgs in class MethodAccess
Returns:
The node representing the Arg list.
Retrieves the Arg list.

This method does not invoke AST transformations.

Overrides:getArgsNoTransform in class MethodAccess
Returns:
The node representing the Arg list.
public List<Expr> getArgList()
Retrieves the Arg list.
Overrides:getArgList in class MethodAccess
Returns:
The node representing the Arg list.
Retrieves the Arg list.

This method does not invoke AST transformations.

Overrides:getArgListNoTransform in class MethodAccess
Returns:
The node representing the Arg list.
Overrides:rewriteTo in class MethodAccess

Fields

protected boolean decl_computed

Inherited Members

Attributes inherited from AST.MethodAccess

Attributes inherited from AST.Access

Attributes inherited from AST.Expr

Attributes inherited from AST.ASTNode

Methods inherited from class AST.MethodAccess

Methods inherited from class AST.Access

Methods inherited from class AST.Expr

Methods inherited from class AST.ASTNode

Methods inherited from class beaver.Symbol

getColumn
getEnd
getId
getLine
getStart
makePosition

Methods inherited from class java.lang.Object

equals
finalize
getClass
hashCode
notify
notifyAll
wait
wait
wait

Fields inherited from AST.MethodAccess

Fields inherited from AST.Access

Fields inherited from AST.Expr

Fields inherited from AST.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value