|
||||||||||
| 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.NullType
public class NullType
Class NullType, a component of the ASTGen-generated composite hierarchy. Note: null is not allowed as a value for any field.
| Constructor Summary | |
|---|---|
NullType()
Constructs a NullType. |
|
| Method Summary | ||
|---|---|---|
void |
apply(TypeVisitor_void visitor)
|
|
|
apply(TypeVisitor<RetType> visitor)
|
|
boolean |
equals(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(Writer writer)
Prints this object out as a nicely tabbed tree. |
|
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.Type |
|---|
hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NullType()
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 String toString()
output(java.io.Writer) to generate a nicely tabbed tree.
toString in class Objectpublic void output(Writer writer)
output in class Typepublic boolean equals(Object obj)
equals in class Objectpublic int generateHashCode()
generateHashCode in class ReferenceTypepublic void walk(TreeWalker w)
walk in class Type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||