org.extendj.ast
node type VariableArityParameterDeclaration

General Info

Production
VariableArityParameterDeclaration : ParameterDeclaration;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by org.extendj.ast.ASTNode<ASTNode>
          extended by org.extendj.ast.ParameterDeclaration
              extended by org.extendj.ast.VariableArityParameterDeclaration
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>, java.util.Iterator, org.jastadd.util.PrettyPrintable
Direct Known Subclasses:
VariableArityParameterDeclarationSubstituted
static class SimpleSet.SimpleSetImpl
           

Description

Source
Declared in /home/jesper/git/extendj/java5/grammar/VariableArityParameters.ast at line 1

Member Filters

API level:

Aspect:

Constructors

public VariableArityParameterDeclaration()
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 1
public VariableArityParameterDeclaration(Modifiers p0,
                                         Access p1,
                                         java.lang.String p2)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 13
public VariableArityParameterDeclaration(Modifiers p0,
                                         Access p1,
                                         beaver.Symbol p2)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 18

Attributes

Overrides:type in class ParameterDeclaration
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag at line 277
Aspect
TypeAnalysis
Overrides:isVariableArity in class ParameterDeclaration
Source
Declared in /home/jesper/git/extendj/java5/frontend/VariableArityParameters.jrag at line 57
Aspect
VariableArityParameters
Source
Declared in /home/jesper/git/extendj/java5/frontend/VariableArityParameters.jrag at line 48
Aspect
VariableArityParameters

Methods

public void prettyPrint(org.jastadd.util.PrettyPrinter out)
Specified by:prettyPrint in interface org.jastadd.util.PrettyPrintableOverrides:prettyPrint in class ParameterDeclaration
Source
Declared in /home/jesper/git/extendj/java5/frontend/PrettyPrint.jadd at line 379
Aspect
Java5PrettyPrint
public void nameCheck()
Overrides:nameCheck in class ParameterDeclaration
Source
Declared in /home/jesper/git/extendj/java5/frontend/VariableArityParameters.jrag at line 36
Aspect
VariableArityParameters
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class ParameterDeclaration
Source
Declared in /home/jesper/git/extendj/ASTNode at line 10
protected int numChildren()
Overrides:numChildren in class ParameterDeclaration
Source
Declared in /home/jesper/git/extendj/ASTNode at line 26
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class ParameterDeclaration
Source
Declared in /home/jesper/git/extendj/ASTNode at line 32
public void flushAttrCache()
Overrides:flushAttrCache in class ParameterDeclaration
Source
Declared in /home/jesper/git/extendj/ASTNode at line 38
public void flushCollectionCache()
Overrides:flushCollectionCache in class ParameterDeclaration
Source
Declared in /home/jesper/git/extendj/ASTNode at line 45
public void flushRewriteCache()
Overrides:flushRewriteCache in class ParameterDeclaration
Source
Declared in /home/jesper/git/extendj/ASTNode at line 51
public VariableArityParameterDeclaration clone()
                                        throws java.lang.CloneNotSupportedException
Overrides:clone in class ParameterDeclaration
Throws:
java.lang.CloneNotSupportedException
Source
Declared in /home/jesper/git/extendj/ASTNode at line 57
Overrides:copy in class ParameterDeclaration
Source
Declared in /home/jesper/git/extendj/ASTNode at line 64
@Deprecated
public VariableArityParameterDeclaration fullCopy()
Deprecated. Please use treeCopy or treeCopyNoTransform instead

Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.

Overrides:fullCopy in class ParameterDeclaration
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 83
public VariableArityParameterDeclaration treeCopyNoTransform()
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
Overrides:treeCopyNoTransform in class ParameterDeclaration
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 93
Create a deep copy of the AST subtree at this node. The subtree of this node is traversed to trigger rewrites before copy. The copy is dangling, i.e. has no parent.
Overrides:treeCopy in class ParameterDeclaration
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 113
protected boolean is$Equal(ASTNode node)
Overrides:is$Equal in class ParameterDeclaration
Source
Declared in /home/jesper/git/extendj/ASTNode at line 120
public void setModifiers(Modifiers node)
Replaces the Modifiers child.
Overrides:setModifiers in class ParameterDeclaration
Parameters:
node - The new node to replace the Modifiers child.
Retrieves the Modifiers child.
Overrides:getModifiers in class ParameterDeclaration
Returns:
The current node used as the Modifiers child.
Retrieves the Modifiers child.

This method does not invoke AST transformations.

Overrides:getModifiersNoTransform in class ParameterDeclaration
Returns:
The current node used as the Modifiers child.
public void setTypeAccess(Access node)
Replaces the TypeAccess child.
Overrides:setTypeAccess in class ParameterDeclaration
Parameters:
node - The new node to replace the TypeAccess child.
Retrieves the TypeAccess child.
Overrides:getTypeAccess in class ParameterDeclaration
Returns:
The current node used as the TypeAccess child.
Retrieves the TypeAccess child.

This method does not invoke AST transformations.

Overrides:getTypeAccessNoTransform in class ParameterDeclaration
Returns:
The current node used as the TypeAccess child.
public void setID(java.lang.String value)
Replaces the lexeme ID.
Overrides:setID in class ParameterDeclaration
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 ParameterDeclaration
Parameters:
symbol - Symbol containing the new value for the lexeme ID
@ASTNodeAnnotation.Token(name="ID")
public java.lang.String getID()
Retrieves the value for the lexeme ID.
Overrides:getID in class ParameterDeclaration
Returns:
The value for the lexeme ID.
Overrides:rewriteTo in class ParameterDeclaration
public int size()
public boolean isEmpty()
public boolean contains(java.lang.Object o)
public java.lang.String name()
public TypeDecl type()
public java.util.Collection<TypeDecl> throwTypes()
public boolean isParameter()
public boolean isClassVariable()
public boolean isInstanceVariable()
public boolean isMethodParameter()
public boolean isConstructorParameter()
public boolean isLocalVariable()
public boolean isFinal()
public boolean isVolatile()
public boolean isEffectivelyFinal()
public boolean isBlank()
public boolean isStatic()
public boolean isSynthetic()
public Expr getInit()
public boolean hasInit()
public org.extendj.ast.Constant constant()

Fields

protected boolean type_computed
public static final org.extendj.ast.SimpleSet emptySet
public static final org.extendj.ast.SimpleSet fullSet

Inherited Members

Attributes inherited from org.extendj.ast.ParameterDeclaration

Attributes inherited from org.extendj.ast.ASTNode

Methods inherited from class org.extendj.ast.ParameterDeclaration

Methods inherited from class org.extendj.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 org.extendj.ast.ParameterDeclaration

Fields inherited from org.extendj.ast.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value