edu.rice.cs.javalanglevels.tree
Class ClassInstantiation

java.lang.Object
  extended by edu.rice.cs.javalanglevels.tree.JExpression
      extended by edu.rice.cs.javalanglevels.tree.Expression
          extended by edu.rice.cs.javalanglevels.tree.Primary
              extended by edu.rice.cs.javalanglevels.tree.Instantiation
                  extended by edu.rice.cs.javalanglevels.tree.ClassInstantiation
All Implemented Interfaces:
ForConditionI, JExpressionIF, VariableInitializerI
Direct Known Subclasses:
AnonymousClassInstantiation, NamedClassInstantiation

public abstract class ClassInstantiation
extends Instantiation

Class ClassInstantiation, a component of the JExpressionIF composite hierarchy. Note: null is not allowed as a value for any field.

Version:
Generated automatically by ASTGen at Sun Jul 18 23:01:23 CDT 2010

Constructor Summary
ClassInstantiation(SourceInfo in_sourceInfo, Type in_type, ParenthesizedExpressionList in_arguments)
          Constructs a ClassInstantiation.
 
Method Summary
protected abstract  int generateHashCode()
           
 ParenthesizedExpressionList getArguments()
           
 Type getType()
           
abstract  void outputHelp(TabPrintWriter writer)
           
abstract  void visit(JExpressionIFVisitor_void visitor)
           
abstract
<RetType> RetType
visit(JExpressionIFVisitor<RetType> visitor)
           
 
Methods inherited from class edu.rice.cs.javalanglevels.tree.JExpression
getSourceInfo, hashCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.rice.cs.javalanglevels.tree.JExpressionIF
getSourceInfo
 

Constructor Detail

ClassInstantiation

public ClassInstantiation(SourceInfo in_sourceInfo,
                          Type in_type,
                          ParenthesizedExpressionList in_arguments)
Constructs a ClassInstantiation.

Throws:
IllegalArgumentException - If any parameter to the constructor is null.
Method Detail

getType

public Type getType()

getArguments

public ParenthesizedExpressionList getArguments()

visit

public abstract <RetType> RetType visit(JExpressionIFVisitor<RetType> visitor)
Specified by:
visit in interface JExpressionIF
Specified by:
visit in class Instantiation

visit

public abstract void visit(JExpressionIFVisitor_void visitor)
Specified by:
visit in interface JExpressionIF
Specified by:
visit in class Instantiation

outputHelp

public abstract void outputHelp(TabPrintWriter writer)
Specified by:
outputHelp in interface JExpressionIF
Specified by:
outputHelp in class Instantiation

generateHashCode

protected abstract int generateHashCode()
Specified by:
generateHashCode in class Instantiation