com.jeffpalm.javaparser
Class ASTPrimaryPrefix

java.lang.Object
  extended by com.jeffpalm.javaparser.SimpleNode
      extended by com.jeffpalm.javaparser.NamedNode
          extended by com.jeffpalm.javaparser.ASTPrimaryPrefix
All Implemented Interfaces:
Node

public class ASTPrimaryPrefix
extends NamedNode

The prefix expression. This is the name of the method or the variable, but at this level it has no knowledge of whether it is a variable or a method invocation.

Since:
jRefactory 2.9.0, created October 16, 2003
Author:
Mike Atkinson

Field Summary
 
Fields inherited from class com.jeffpalm.javaparser.NamedNode
name
 
Fields inherited from class com.jeffpalm.javaparser.SimpleNode
children, id, parent, parser, specials
 
Constructor Summary
ASTPrimaryPrefix(int identifier)
          Constructor for the ASTPrimaryPrefix node.
ASTPrimaryPrefix(JavaParser parser, int identifier)
          Constructor for the ASTPrimaryPrefix node.
 
Method Summary
 int getCount()
          Gets the count attribute of the ASTPrimaryPrefix node.
 java.lang.Object jjtAccept(JavaParserVisitor visitor, java.lang.Object data)
          Accept the visitor.
 void setCount(int value)
          Sets the count attribute of the ASTPrimaryPrefix node.
 void setUsesSuperModifier()
          Sets the usesSuperModifier attribute of the ASTPrimaryPrefix node.
 void setUsesThisModifier()
          Sets the usesThisModifier attribute of the ASTPrimaryPrefix node.
 boolean usesSuperModifier()
          Description of the Method
 boolean usesThisModifier()
          Description of the Method
 
Methods inherited from class com.jeffpalm.javaparser.NamedNode
getName, setName
 
Methods inherited from class com.jeffpalm.javaparser.SimpleNode
addSpecial, childrenAccept, dump, dumpString, findChildrenOfType, findChildrenOfType, findChildrenOfType, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getImage, getScope, getSpecial, hasAnyChildren, init, isRequired, jjtAddChild, jjtAddFirstChild, jjtClose, jjtDeleteChild, jjtGetChild, jjtGetFirstChild, jjtGetID, jjtGetNumChildren, jjtGetParent, jjtInsertChild, jjtOpen, jjtSetParent, printModifiers, removeSpecial, setLineAndColumnInfo, setScope, testingOnly__setBeginColumn, testingOnly__setBeginLine, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASTPrimaryPrefix

public ASTPrimaryPrefix(int identifier)
Constructor for the ASTPrimaryPrefix node.

Parameters:
identifier - The id of this node (JJTPRIMARYPREFIX).

ASTPrimaryPrefix

public ASTPrimaryPrefix(JavaParser parser,
                        int identifier)
Constructor for the ASTPrimaryPrefix node.

Parameters:
parser - The JavaParser that created this ASTPrimaryPrefix node.
identifier - The id of this node (JJTPRIMARYPREFIX).
Method Detail

setCount

public void setCount(int value)
Sets the count attribute of the ASTPrimaryPrefix node.

Parameters:
value - The new count value

setUsesThisModifier

public void setUsesThisModifier()
Sets the usesThisModifier attribute of the ASTPrimaryPrefix node.


setUsesSuperModifier

public void setUsesSuperModifier()
Sets the usesSuperModifier attribute of the ASTPrimaryPrefix node.


getCount

public int getCount()
Gets the count attribute of the ASTPrimaryPrefix node.

Returns:
The count value

jjtAccept

public java.lang.Object jjtAccept(JavaParserVisitor visitor,
                                  java.lang.Object data)
Accept the visitor.

Specified by:
jjtAccept in interface Node
Overrides:
jjtAccept in class SimpleNode
Parameters:
visitor - An implementation of JavaParserVisitor that processes the ASTPrimaryPrefix node.
data - Some data being passed between the visitor methods.
Returns:
Usually the data parameter (possibly modified).

usesThisModifier

public boolean usesThisModifier()
Description of the Method

Returns:
Description of the Returned Value

usesSuperModifier

public boolean usesSuperModifier()
Description of the Method

Returns:
Description of the Returned Value