|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.dynamicjava.symbol.type.Type
edu.rice.cs.dynamicjava.symbol.type.ValidType
edu.rice.cs.dynamicjava.symbol.type.ReferenceType
edu.rice.cs.dynamicjava.symbol.type.ClassType
edu.rice.cs.dynamicjava.symbol.type.SimpleClassType
public class SimpleClassType
Class SimpleClassType, a component of the ASTGen-generated composite hierarchy. Note: null is not allowed as a value for any field.
| Constructor Summary | |
|---|---|
SimpleClassType(DJClass in_ofClass)
Constructs a SimpleClassType. |
|
| Method Summary | ||
|---|---|---|
void |
apply(TypeVisitor_void visitor)
|
|
|
apply(TypeVisitor<RetType> visitor)
|
|
boolean |
equals(java.lang.Object obj)
Implementation of equals that is based on the values of the fields of the object. |
|
int |
generateHashCode()
Implementation of hashCode that is consistent with equals. |
|
void |
output(java.io.Writer writer)
Prints this object out as a nicely tabbed tree. |
|
java.lang.String |
toString()
Implementation of toString that uses output(java.io.Writer) to generate a nicely tabbed tree. |
|
void |
walk(TreeWalker w)
|
|
| Methods inherited from class edu.rice.cs.dynamicjava.symbol.type.ClassType |
|---|
ofClass |
| Methods inherited from class edu.rice.cs.dynamicjava.symbol.type.Type |
|---|
hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleClassType(DJClass in_ofClass)
java.lang.IllegalArgumentException - If any parameter to the constructor is null.| Method Detail |
|---|
public <RetType> RetType apply(TypeVisitor<RetType> visitor)
apply in class Typepublic void apply(TypeVisitor_void visitor)
apply in class Typepublic java.lang.String toString()
output(java.io.Writer) to generate a nicely tabbed tree.
toString in class java.lang.Objectpublic void output(java.io.Writer writer)
output in class Typepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int generateHashCode()
generateHashCode in class ClassTypepublic void walk(TreeWalker w)
walk in class Type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||