|
||||||||||
| 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.ConstructorDef
public class ConstructorDef
Class ConstructorDef, a component of the JExpressionIF composite hierarchy. Note: null is not allowed as a value for any field.
| Constructor Summary | |
|---|---|
ConstructorDef(SourceInfo in_sourceInfo,
Word in_name,
ModifiersAndVisibility in_mav,
FormalParameter[] in_parameters,
ReferenceType[] in_throws,
BracedBody in_statements)
Constructs a ConstructorDef. |
|
| Method Summary | ||
|---|---|---|
boolean |
equals(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. |
|
ModifiersAndVisibility |
getMav()
|
|
Word |
getName()
|
|
FormalParameter[] |
getParameters()
|
|
BracedBody |
getStatements()
|
|
ReferenceType[] |
getThrows()
|
|
void |
output(Writer writer)
Prints this object out as a nicely tabbed tree. |
|
void |
outputHelp(TabPrintWriter writer)
|
|
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.JExpression |
|---|
getSourceInfo, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface edu.rice.cs.javalanglevels.tree.JExpressionIF |
|---|
getSourceInfo |
| Constructor Detail |
|---|
public ConstructorDef(SourceInfo in_sourceInfo,
Word in_name,
ModifiersAndVisibility in_mav,
FormalParameter[] in_parameters,
ReferenceType[] in_throws,
BracedBody in_statements)
IllegalArgumentException - If any parameter to the constructor is null.| Method Detail |
|---|
public final Word getName()
public final ModifiersAndVisibility getMav()
public final FormalParameter[] getParameters()
public final ReferenceType[] getThrows()
public final BracedBody getStatements()
public <RetType> RetType visit(JExpressionIFVisitor<RetType> visitor)
visit in interface JExpressionIFvisit in class JExpressionpublic void visit(JExpressionIFVisitor_void visitor)
visit in interface JExpressionIFvisit in class JExpressionpublic String toString()
output(java.io.Writer) to generated nicely tabbed tree.
toString in class Objectpublic void output(Writer writer)
public void outputHelp(TabPrintWriter writer)
outputHelp in interface JExpressionIFoutputHelp in class JExpressionpublic boolean equals(Object obj)
equals in class Objectprotected int generateHashCode()
generateHashCode in class JExpression
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||