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

java.lang.Object
  extended by edu.rice.cs.dynamicjava.symbol.type.TypeVisitorRunnable1
      extended by edu.rice.cs.dynamicjava.symbol.type.TypeAbstractVisitor_void
All Implemented Interfaces:
TypeVisitor_void, Runnable1<Type>

public class TypeAbstractVisitor_void
extends TypeVisitorRunnable1

An abstract implementation of a visitor over Type that does not return a value. This visitor implements the visitor interface with methods that each delegate to a case representing their superclass. At the top of this delegation tree is the method defaultCase(), which (unless overridden) is a no-op.


Constructor Summary
TypeAbstractVisitor_void()
           
 
Method Summary
 void defaultCase(Type that)
          This method is run for all cases that are not handled elsewhere.
 void forArrayType(ArrayType that)
           
 void forBooleanType(BooleanType that)
          Process an instance of BooleanType.
 void forBottomType(BottomType that)
          Process an instance of BottomType.
 void forBoundType(BoundType that)
           
 void forByteType(ByteType that)
          Process an instance of ByteType.
 void forCharType(CharType that)
          Process an instance of CharType.
 void forClassType(ClassType that)
           
 void forDoubleType(DoubleType that)
          Process an instance of DoubleType.
 void forFloatingPointType(FloatingPointType that)
           
 void forFloatType(FloatType that)
          Process an instance of FloatType.
 void forIntegerType(IntegerType that)
           
 void forIntegralType(IntegralType that)
           
 void forIntersectionType(IntersectionType that)
          Process an instance of IntersectionType.
 void forIntType(IntType that)
          Process an instance of IntType.
 void forLongType(LongType that)
          Process an instance of LongType.
 void forNullType(NullType that)
          Process an instance of NullType.
 void forNumericType(NumericType that)
           
 void forParameterizedClassType(ParameterizedClassType that)
          Process an instance of ParameterizedClassType.
 void forPrimitiveType(PrimitiveType that)
           
 void forRawClassType(RawClassType that)
          Process an instance of RawClassType.
 void forReferenceType(ReferenceType that)
           
 void forShortType(ShortType that)
          Process an instance of ShortType.
 void forSimpleArrayType(SimpleArrayType that)
          Process an instance of SimpleArrayType.
 void forSimpleClassType(SimpleClassType that)
          Process an instance of SimpleClassType.
 void forTopType(TopType that)
          Process an instance of TopType.
 void forType(Type that)
           
 void forUnionType(UnionType that)
          Process an instance of UnionType.
 void forValidType(ValidType that)
           
 void forVarargArrayType(VarargArrayType that)
          Process an instance of VarargArrayType.
 void forVariableType(VariableType that)
          Process an instance of VariableType.
 void forVoidType(VoidType that)
          Process an instance of VoidType.
 void forWildcard(Wildcard that)
          Process an instance of Wildcard.
 
Methods inherited from class edu.rice.cs.dynamicjava.symbol.type.TypeVisitorRunnable1
run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeAbstractVisitor_void

public TypeAbstractVisitor_void()
Method Detail

defaultCase

public void defaultCase(Type that)
This method is run for all cases that are not handled elsewhere. By default, it is a no-op; subclasses may override this behavior.


forType

public void forType(Type that)

forValidType

public void forValidType(ValidType that)

forPrimitiveType

public void forPrimitiveType(PrimitiveType that)

forBooleanType

public void forBooleanType(BooleanType that)
Description copied from class: TypeVisitorRunnable1
Process an instance of BooleanType.

Specified by:
forBooleanType in interface TypeVisitor_void
Specified by:
forBooleanType in class TypeVisitorRunnable1

forNumericType

public void forNumericType(NumericType that)

forIntegralType

public void forIntegralType(IntegralType that)

forCharType

public void forCharType(CharType that)
Description copied from class: TypeVisitorRunnable1
Process an instance of CharType.

Specified by:
forCharType in interface TypeVisitor_void
Specified by:
forCharType in class TypeVisitorRunnable1

forIntegerType

public void forIntegerType(IntegerType that)

forByteType

public void forByteType(ByteType that)
Description copied from class: TypeVisitorRunnable1
Process an instance of ByteType.

Specified by:
forByteType in interface TypeVisitor_void
Specified by:
forByteType in class TypeVisitorRunnable1

forShortType

public void forShortType(ShortType that)
Description copied from class: TypeVisitorRunnable1
Process an instance of ShortType.

Specified by:
forShortType in interface TypeVisitor_void
Specified by:
forShortType in class TypeVisitorRunnable1

forIntType

public void forIntType(IntType that)
Description copied from class: TypeVisitorRunnable1
Process an instance of IntType.

Specified by:
forIntType in interface TypeVisitor_void
Specified by:
forIntType in class TypeVisitorRunnable1

forLongType

public void forLongType(LongType that)
Description copied from class: TypeVisitorRunnable1
Process an instance of LongType.

Specified by:
forLongType in interface TypeVisitor_void
Specified by:
forLongType in class TypeVisitorRunnable1

forFloatingPointType

public void forFloatingPointType(FloatingPointType that)

forFloatType

public void forFloatType(FloatType that)
Description copied from class: TypeVisitorRunnable1
Process an instance of FloatType.

Specified by:
forFloatType in interface TypeVisitor_void
Specified by:
forFloatType in class TypeVisitorRunnable1

forDoubleType

public void forDoubleType(DoubleType that)
Description copied from class: TypeVisitorRunnable1
Process an instance of DoubleType.

Specified by:
forDoubleType in interface TypeVisitor_void
Specified by:
forDoubleType in class TypeVisitorRunnable1

forReferenceType

public void forReferenceType(ReferenceType that)

forNullType

public void forNullType(NullType that)
Description copied from class: TypeVisitorRunnable1
Process an instance of NullType.

Specified by:
forNullType in interface TypeVisitor_void
Specified by:
forNullType in class TypeVisitorRunnable1

forArrayType

public void forArrayType(ArrayType that)

forSimpleArrayType

public void forSimpleArrayType(SimpleArrayType that)
Description copied from class: TypeVisitorRunnable1
Process an instance of SimpleArrayType.

Specified by:
forSimpleArrayType in interface TypeVisitor_void
Specified by:
forSimpleArrayType in class TypeVisitorRunnable1

forVarargArrayType

public void forVarargArrayType(VarargArrayType that)
Description copied from class: TypeVisitorRunnable1
Process an instance of VarargArrayType.

Specified by:
forVarargArrayType in interface TypeVisitor_void
Specified by:
forVarargArrayType in class TypeVisitorRunnable1

forClassType

public void forClassType(ClassType that)

forSimpleClassType

public void forSimpleClassType(SimpleClassType that)
Description copied from class: TypeVisitorRunnable1
Process an instance of SimpleClassType.

Specified by:
forSimpleClassType in interface TypeVisitor_void
Specified by:
forSimpleClassType in class TypeVisitorRunnable1

forRawClassType

public void forRawClassType(RawClassType that)
Description copied from class: TypeVisitorRunnable1
Process an instance of RawClassType.

Specified by:
forRawClassType in interface TypeVisitor_void
Specified by:
forRawClassType in class TypeVisitorRunnable1

forParameterizedClassType

public void forParameterizedClassType(ParameterizedClassType that)
Description copied from class: TypeVisitorRunnable1
Process an instance of ParameterizedClassType.

Specified by:
forParameterizedClassType in interface TypeVisitor_void
Specified by:
forParameterizedClassType in class TypeVisitorRunnable1

forBoundType

public void forBoundType(BoundType that)

forIntersectionType

public void forIntersectionType(IntersectionType that)
Description copied from class: TypeVisitorRunnable1
Process an instance of IntersectionType.

Specified by:
forIntersectionType in interface TypeVisitor_void
Specified by:
forIntersectionType in class TypeVisitorRunnable1

forUnionType

public void forUnionType(UnionType that)
Description copied from class: TypeVisitorRunnable1
Process an instance of UnionType.

Specified by:
forUnionType in interface TypeVisitor_void
Specified by:
forUnionType in class TypeVisitorRunnable1

forVariableType

public void forVariableType(VariableType that)
Description copied from class: TypeVisitorRunnable1
Process an instance of VariableType.

Specified by:
forVariableType in interface TypeVisitor_void
Specified by:
forVariableType in class TypeVisitorRunnable1

forTopType

public void forTopType(TopType that)
Description copied from class: TypeVisitorRunnable1
Process an instance of TopType.

Specified by:
forTopType in interface TypeVisitor_void
Specified by:
forTopType in class TypeVisitorRunnable1

forBottomType

public void forBottomType(BottomType that)
Description copied from class: TypeVisitorRunnable1
Process an instance of BottomType.

Specified by:
forBottomType in interface TypeVisitor_void
Specified by:
forBottomType in class TypeVisitorRunnable1

forVoidType

public void forVoidType(VoidType that)
Description copied from class: TypeVisitorRunnable1
Process an instance of VoidType.

Specified by:
forVoidType in interface TypeVisitor_void
Specified by:
forVoidType in class TypeVisitorRunnable1

forWildcard

public void forWildcard(Wildcard that)
Description copied from class: TypeVisitorRunnable1
Process an instance of Wildcard.

Specified by:
forWildcard in interface TypeVisitor_void
Specified by:
forWildcard in class TypeVisitorRunnable1