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

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

public class TypeDepthFirstVisitor_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 first call forCASEDoFirst(), second visit the children, and finally call forCASEOnly(). (CASE is replaced by the case name.) By default, each of forCASEDoFirst and forCASEOnly delegates to a more general case. At the top of this delegation tree are defaultDoFirst() and defaultCase(), respectively, which (unless overridden) are no-ops.


Constructor Summary
TypeDepthFirstVisitor_void()
           
 
Method Summary
 void defaultCase(Type that)
          This method is run for all cases that are not handled elsewhere.
 void defaultDoFirst(Type that)
          This method is run for all DoFirst cases that are not handled elsewhere.
 void forArrayTypeDoFirst(ArrayType that)
           
 void forArrayTypeOnly(ArrayType that)
           
 void forBooleanType(BooleanType that)
          Process an instance of BooleanType.
 void forBooleanTypeDoFirst(BooleanType that)
           
 void forBooleanTypeOnly(BooleanType that)
           
 void forBottomType(BottomType that)
          Process an instance of BottomType.
 void forBottomTypeDoFirst(BottomType that)
           
 void forBottomTypeOnly(BottomType that)
           
 void forBoundTypeDoFirst(BoundType that)
           
 void forBoundTypeOnly(BoundType that)
           
 void forByteType(ByteType that)
          Process an instance of ByteType.
 void forByteTypeDoFirst(ByteType that)
           
 void forByteTypeOnly(ByteType that)
           
 void forCharType(CharType that)
          Process an instance of CharType.
 void forCharTypeDoFirst(CharType that)
           
 void forCharTypeOnly(CharType that)
           
 void forClassTypeDoFirst(ClassType that)
           
 void forClassTypeOnly(ClassType that)
           
 void forDoubleType(DoubleType that)
          Process an instance of DoubleType.
 void forDoubleTypeDoFirst(DoubleType that)
           
 void forDoubleTypeOnly(DoubleType that)
           
 void forFloatingPointTypeDoFirst(FloatingPointType that)
           
 void forFloatingPointTypeOnly(FloatingPointType that)
           
 void forFloatType(FloatType that)
          Process an instance of FloatType.
 void forFloatTypeDoFirst(FloatType that)
           
 void forFloatTypeOnly(FloatType that)
           
 void forIntegerTypeDoFirst(IntegerType that)
           
 void forIntegerTypeOnly(IntegerType that)
           
 void forIntegralTypeDoFirst(IntegralType that)
           
 void forIntegralTypeOnly(IntegralType that)
           
 void forIntersectionType(IntersectionType that)
          Process an instance of IntersectionType.
 void forIntersectionTypeDoFirst(IntersectionType that)
           
 void forIntersectionTypeOnly(IntersectionType that)
           
 void forIntType(IntType that)
          Process an instance of IntType.
 void forIntTypeDoFirst(IntType that)
           
 void forIntTypeOnly(IntType that)
           
 void forLongType(LongType that)
          Process an instance of LongType.
 void forLongTypeDoFirst(LongType that)
           
 void forLongTypeOnly(LongType that)
           
 void forNullType(NullType that)
          Process an instance of NullType.
 void forNullTypeDoFirst(NullType that)
           
 void forNullTypeOnly(NullType that)
           
 void forNumericTypeDoFirst(NumericType that)
           
 void forNumericTypeOnly(NumericType that)
           
 void forParameterizedClassType(ParameterizedClassType that)
          Process an instance of ParameterizedClassType.
 void forParameterizedClassTypeDoFirst(ParameterizedClassType that)
           
 void forParameterizedClassTypeOnly(ParameterizedClassType that)
           
 void forPrimitiveTypeDoFirst(PrimitiveType that)
           
 void forPrimitiveTypeOnly(PrimitiveType that)
           
 void forRawClassType(RawClassType that)
          Process an instance of RawClassType.
 void forRawClassTypeDoFirst(RawClassType that)
           
 void forRawClassTypeOnly(RawClassType that)
           
 void forReferenceTypeDoFirst(ReferenceType that)
           
 void forReferenceTypeOnly(ReferenceType that)
           
 void forShortType(ShortType that)
          Process an instance of ShortType.
 void forShortTypeDoFirst(ShortType that)
           
 void forShortTypeOnly(ShortType that)
           
 void forSimpleArrayType(SimpleArrayType that)
          Process an instance of SimpleArrayType.
 void forSimpleArrayTypeDoFirst(SimpleArrayType that)
           
 void forSimpleArrayTypeOnly(SimpleArrayType that)
           
 void forSimpleClassType(SimpleClassType that)
          Process an instance of SimpleClassType.
 void forSimpleClassTypeDoFirst(SimpleClassType that)
           
 void forSimpleClassTypeOnly(SimpleClassType that)
           
 void forTopType(TopType that)
          Process an instance of TopType.
 void forTopTypeDoFirst(TopType that)
           
 void forTopTypeOnly(TopType that)
           
 void forTypeDoFirst(Type that)
           
 void forTypeOnly(Type that)
           
 void forUnionType(UnionType that)
          Process an instance of UnionType.
 void forUnionTypeDoFirst(UnionType that)
           
 void forUnionTypeOnly(UnionType that)
           
 void forValidTypeDoFirst(ValidType that)
           
 void forValidTypeOnly(ValidType that)
           
 void forVarargArrayType(VarargArrayType that)
          Process an instance of VarargArrayType.
 void forVarargArrayTypeDoFirst(VarargArrayType that)
           
 void forVarargArrayTypeOnly(VarargArrayType that)
           
 void forVariableType(VariableType that)
          Process an instance of VariableType.
 void forVariableTypeDoFirst(VariableType that)
           
 void forVariableTypeOnly(VariableType that)
           
 void forVoidType(VoidType that)
          Process an instance of VoidType.
 void forVoidTypeDoFirst(VoidType that)
           
 void forVoidTypeOnly(VoidType that)
           
 void forWildcard(Wildcard that)
          Process an instance of Wildcard.
 void forWildcardDoFirst(Wildcard that)
           
 void forWildcardOnly(Wildcard that)
           
 void recur(Type that)
           
 void recurOnIterableOfWildcardExtendsType(Iterable<? extends Type> that)
           
 
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

TypeDepthFirstVisitor_void

public TypeDepthFirstVisitor_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.


defaultDoFirst

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


forTypeDoFirst

public void forTypeDoFirst(Type that)

forValidTypeDoFirst

public void forValidTypeDoFirst(ValidType that)

forPrimitiveTypeDoFirst

public void forPrimitiveTypeDoFirst(PrimitiveType that)

forBooleanTypeDoFirst

public void forBooleanTypeDoFirst(BooleanType that)

forNumericTypeDoFirst

public void forNumericTypeDoFirst(NumericType that)

forIntegralTypeDoFirst

public void forIntegralTypeDoFirst(IntegralType that)

forCharTypeDoFirst

public void forCharTypeDoFirst(CharType that)

forIntegerTypeDoFirst

public void forIntegerTypeDoFirst(IntegerType that)

forByteTypeDoFirst

public void forByteTypeDoFirst(ByteType that)

forShortTypeDoFirst

public void forShortTypeDoFirst(ShortType that)

forIntTypeDoFirst

public void forIntTypeDoFirst(IntType that)

forLongTypeDoFirst

public void forLongTypeDoFirst(LongType that)

forFloatingPointTypeDoFirst

public void forFloatingPointTypeDoFirst(FloatingPointType that)

forFloatTypeDoFirst

public void forFloatTypeDoFirst(FloatType that)

forDoubleTypeDoFirst

public void forDoubleTypeDoFirst(DoubleType that)

forReferenceTypeDoFirst

public void forReferenceTypeDoFirst(ReferenceType that)

forNullTypeDoFirst

public void forNullTypeDoFirst(NullType that)

forArrayTypeDoFirst

public void forArrayTypeDoFirst(ArrayType that)

forSimpleArrayTypeDoFirst

public void forSimpleArrayTypeDoFirst(SimpleArrayType that)

forVarargArrayTypeDoFirst

public void forVarargArrayTypeDoFirst(VarargArrayType that)

forClassTypeDoFirst

public void forClassTypeDoFirst(ClassType that)

forSimpleClassTypeDoFirst

public void forSimpleClassTypeDoFirst(SimpleClassType that)

forRawClassTypeDoFirst

public void forRawClassTypeDoFirst(RawClassType that)

forParameterizedClassTypeDoFirst

public void forParameterizedClassTypeDoFirst(ParameterizedClassType that)

forBoundTypeDoFirst

public void forBoundTypeDoFirst(BoundType that)

forIntersectionTypeDoFirst

public void forIntersectionTypeDoFirst(IntersectionType that)

forUnionTypeDoFirst

public void forUnionTypeDoFirst(UnionType that)

forVariableTypeDoFirst

public void forVariableTypeDoFirst(VariableType that)

forTopTypeDoFirst

public void forTopTypeDoFirst(TopType that)

forBottomTypeDoFirst

public void forBottomTypeDoFirst(BottomType that)

forVoidTypeDoFirst

public void forVoidTypeDoFirst(VoidType that)

forWildcardDoFirst

public void forWildcardDoFirst(Wildcard that)

forTypeOnly

public void forTypeOnly(Type that)

forValidTypeOnly

public void forValidTypeOnly(ValidType that)

forPrimitiveTypeOnly

public void forPrimitiveTypeOnly(PrimitiveType that)

forBooleanTypeOnly

public void forBooleanTypeOnly(BooleanType that)

forNumericTypeOnly

public void forNumericTypeOnly(NumericType that)

forIntegralTypeOnly

public void forIntegralTypeOnly(IntegralType that)

forCharTypeOnly

public void forCharTypeOnly(CharType that)

forIntegerTypeOnly

public void forIntegerTypeOnly(IntegerType that)

forByteTypeOnly

public void forByteTypeOnly(ByteType that)

forShortTypeOnly

public void forShortTypeOnly(ShortType that)

forIntTypeOnly

public void forIntTypeOnly(IntType that)

forLongTypeOnly

public void forLongTypeOnly(LongType that)

forFloatingPointTypeOnly

public void forFloatingPointTypeOnly(FloatingPointType that)

forFloatTypeOnly

public void forFloatTypeOnly(FloatType that)

forDoubleTypeOnly

public void forDoubleTypeOnly(DoubleType that)

forReferenceTypeOnly

public void forReferenceTypeOnly(ReferenceType that)

forNullTypeOnly

public void forNullTypeOnly(NullType that)

forArrayTypeOnly

public void forArrayTypeOnly(ArrayType that)

forSimpleArrayTypeOnly

public void forSimpleArrayTypeOnly(SimpleArrayType that)

forVarargArrayTypeOnly

public void forVarargArrayTypeOnly(VarargArrayType that)

forClassTypeOnly

public void forClassTypeOnly(ClassType that)

forSimpleClassTypeOnly

public void forSimpleClassTypeOnly(SimpleClassType that)

forRawClassTypeOnly

public void forRawClassTypeOnly(RawClassType that)

forParameterizedClassTypeOnly

public void forParameterizedClassTypeOnly(ParameterizedClassType that)

forBoundTypeOnly

public void forBoundTypeOnly(BoundType that)

forIntersectionTypeOnly

public void forIntersectionTypeOnly(IntersectionType that)

forUnionTypeOnly

public void forUnionTypeOnly(UnionType that)

forVariableTypeOnly

public void forVariableTypeOnly(VariableType that)

forTopTypeOnly

public void forTopTypeOnly(TopType that)

forBottomTypeOnly

public void forBottomTypeOnly(BottomType that)

forVoidTypeOnly

public void forVoidTypeOnly(VoidType that)

forWildcardOnly

public void forWildcardOnly(Wildcard 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

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

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

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

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

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

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

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

recur

public void recur(Type that)

recurOnIterableOfWildcardExtendsType

public void recurOnIterableOfWildcardExtendsType(Iterable<? extends Type> that)