|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.javalanglevels.tree.JExpression
edu.rice.cs.javalanglevels.tree.TypeDefBase
edu.rice.cs.javalanglevels.tree.ClassDef
public class ClassDef
Class ClassDef, a component of the JExpressionIF composite hierarchy. Note: null is not allowed as a value for any field.
| Constructor Summary | |
|---|---|
ClassDef(SourceInfo in_sourceInfo,
ModifiersAndVisibility in_mav,
Word in_name,
TypeParameter[] in_typeParameters,
ReferenceType in_superclass,
ReferenceType[] in_interfaces,
BracedBody in_body)
Constructs a ClassDef. |
|
| Method Summary | ||
|---|---|---|
boolean |
equals(java.lang.Object obj)
Implementation of equals that is based on the values of the fields of the object. |
|
protected int |
generateHashCode()
Implementation of hashCode that is consistent with equals. |
|
ReferenceType |
getSuperclass()
|
|
void |
output(java.io.Writer writer)
Prints this object out as a nicely tabbed tree. |
|
void |
outputHelp(TabPrintWriter writer)
|
|
java.lang.String |
toString()
Implementation of toString that uses output(java.io.Writer) to generated nicely tabbed tree. |
|
void |
visit(JExpressionIFVisitor_void visitor)
|
|
|
visit(JExpressionIFVisitor<RetType> visitor)
|
|
| Methods inherited from class edu.rice.cs.javalanglevels.tree.TypeDefBase |
|---|
getBody, getInterfaces, getMav, getName, getTypeParameters |
| Methods inherited from class edu.rice.cs.javalanglevels.tree.JExpression |
|---|
getSourceInfo, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ClassDef(SourceInfo in_sourceInfo,
ModifiersAndVisibility in_mav,
Word in_name,
TypeParameter[] in_typeParameters,
ReferenceType in_superclass,
ReferenceType[] in_interfaces,
BracedBody in_body)
java.lang.IllegalArgumentException - If any parameter to the constructor is null.| Method Detail |
|---|
public final ReferenceType getSuperclass()
public <RetType> RetType visit(JExpressionIFVisitor<RetType> visitor)
visit in interface JExpressionIFvisit in class TypeDefBasepublic void visit(JExpressionIFVisitor_void visitor)
visit in interface JExpressionIFvisit in class TypeDefBasepublic java.lang.String toString()
output(java.io.Writer) to generated nicely tabbed tree.
toString in class java.lang.Objectpublic void output(java.io.Writer writer)
public void outputHelp(TabPrintWriter writer)
outputHelp in interface JExpressionIFoutputHelp in class TypeDefBasepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectprotected int generateHashCode()
generateHashCode in class TypeDefBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||