edu.rice.cs.javalanglevels.tree
Class TypeDefBase

java.lang.Object
  extended by edu.rice.cs.javalanglevels.tree.JExpression
      extended by edu.rice.cs.javalanglevels.tree.TypeDefBase
All Implemented Interfaces:
JExpressionIF
Direct Known Subclasses:
ClassDef, InterfaceDef

public abstract class TypeDefBase
extends JExpression

Class TypeDefBase, 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 May 27 23:01:27 CDT 2012

Constructor Summary
TypeDefBase(SourceInfo in_sourceInfo, ModifiersAndVisibility in_mav, Word in_name, TypeParameter[] in_typeParameters, ReferenceType[] in_interfaces, BracedBody in_body)
          Constructs a TypeDefBase.
 
Method Summary
protected abstract  int generateHashCode()
           
 BracedBody getBody()
           
 ReferenceType[] getInterfaces()
           
 ModifiersAndVisibility getMav()
           
 Word getName()
           
 TypeParameter[] getTypeParameters()
           
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
 

Constructor Detail

TypeDefBase

public TypeDefBase(SourceInfo in_sourceInfo,
                   ModifiersAndVisibility in_mav,
                   Word in_name,
                   TypeParameter[] in_typeParameters,
                   ReferenceType[] in_interfaces,
                   BracedBody in_body)
Constructs a TypeDefBase.

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

getMav

public ModifiersAndVisibility getMav()

getName

public Word getName()

getTypeParameters

public TypeParameter[] getTypeParameters()

getInterfaces

public ReferenceType[] getInterfaces()

getBody

public BracedBody getBody()

visit

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

visit

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

outputHelp

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

generateHashCode

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