edu.rice.cs.dynamicjava.symbol.type
Class RawClassType

java.lang.Object
  extended by edu.rice.cs.dynamicjava.symbol.type.Type
      extended by edu.rice.cs.dynamicjava.symbol.type.ValidType
          extended by edu.rice.cs.dynamicjava.symbol.type.ReferenceType
              extended by edu.rice.cs.dynamicjava.symbol.type.ClassType
                  extended by edu.rice.cs.dynamicjava.symbol.type.RawClassType

public class RawClassType
extends ClassType

Class RawClassType, a component of the ASTGen-generated composite hierarchy. Note: null is not allowed as a value for any field.

Version:
Generated automatically by ASTGen at Sat Sep 03 04:01:27 CDT 2011

Constructor Summary
RawClassType(DJClass in_ofClass)
          Constructs a RawClassType.
 
Method Summary
 void apply(TypeVisitor_void visitor)
           
<RetType> RetType
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

RawClassType

public RawClassType(DJClass in_ofClass)
Constructs a RawClassType.

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

apply

public <RetType> RetType apply(TypeVisitor<RetType> visitor)
Specified by:
apply in class Type

apply

public void apply(TypeVisitor_void visitor)
Specified by:
apply in class Type

toString

public java.lang.String toString()
Implementation of toString that uses output(java.io.Writer) to generate a nicely tabbed tree.

Overrides:
toString in class java.lang.Object

output

public void output(java.io.Writer writer)
Prints this object out as a nicely tabbed tree.

Specified by:
output in class Type

equals

public boolean equals(java.lang.Object obj)
Implementation of equals that is based on the values of the fields of the object. Thus, two objects created with identical parameters will be equal.

Overrides:
equals in class java.lang.Object

generateHashCode

public int generateHashCode()
Implementation of hashCode that is consistent with equals. The value of the hashCode is formed by XORing the hashcode of the class object with the hashcodes of all the fields of the object.

Specified by:
generateHashCode in class ClassType

walk

public void walk(TreeWalker w)
Specified by:
walk in class Type