edu.rice.cs.dynamicjava.symbol.type
Class TypeVisitorLambda<RetType>

java.lang.Object
  extended by edu.rice.cs.dynamicjava.symbol.type.TypeVisitorLambda<RetType>
All Implemented Interfaces:
TypeVisitor<RetType>, Lambda<Type,RetType>
Direct Known Subclasses:
TypeAbstractVisitor, TypeDepthFirstVisitor, TypeUpdateVisitor

public abstract class TypeVisitorLambda<RetType>
extends Object
implements Lambda<Type,RetType>, TypeVisitor<RetType>

An abstract visitor over Type that provides a lambda value method; all visit methods are left unimplemented.


Constructor Summary
TypeVisitorLambda()
           
 
Method Summary
abstract  RetType forBooleanType(BooleanType that)
          Process an instance of BooleanType.
abstract  RetType forBottomType(BottomType that)
          Process an instance of BottomType.
abstract  RetType forByteType(ByteType that)
          Process an instance of ByteType.
abstract  RetType forCharType(CharType that)
          Process an instance of CharType.
abstract  RetType forDoubleType(DoubleType that)
          Process an instance of DoubleType.
abstract  RetType forFloatType(FloatType that)
          Process an instance of FloatType.
abstract  RetType forIntersectionType(IntersectionType that)
          Process an instance of IntersectionType.
abstract  RetType forIntType(IntType that)
          Process an instance of IntType.
abstract  RetType forLongType(LongType that)
          Process an instance of LongType.
abstract  RetType forNullType(NullType that)
          Process an instance of NullType.
abstract  RetType forParameterizedClassType(ParameterizedClassType that)
          Process an instance of ParameterizedClassType.
abstract  RetType forRawClassType(RawClassType that)
          Process an instance of RawClassType.
abstract  RetType forShortType(ShortType that)
          Process an instance of ShortType.
abstract  RetType forSimpleArrayType(SimpleArrayType that)
          Process an instance of SimpleArrayType.
abstract  RetType forSimpleClassType(SimpleClassType that)
          Process an instance of SimpleClassType.
abstract  RetType forTopType(TopType that)
          Process an instance of TopType.
abstract  RetType forUnionType(UnionType that)
          Process an instance of UnionType.
abstract  RetType forVarargArrayType(VarargArrayType that)
          Process an instance of VarargArrayType.
abstract  RetType forVariableType(VariableType that)
          Process an instance of VariableType.
abstract  RetType forVoidType(VoidType that)
          Process an instance of VoidType.
abstract  RetType forWildcard(Wildcard that)
          Process an instance of Wildcard.
 RetType value(Type that)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeVisitorLambda

public TypeVisitorLambda()
Method Detail

value

public RetType value(Type that)
Specified by:
value in interface Lambda<Type,RetType>

forBooleanType

public abstract RetType forBooleanType(BooleanType that)
Process an instance of BooleanType.

Specified by:
forBooleanType in interface TypeVisitor<RetType>

forCharType

public abstract RetType forCharType(CharType that)
Process an instance of CharType.

Specified by:
forCharType in interface TypeVisitor<RetType>

forByteType

public abstract RetType forByteType(ByteType that)
Process an instance of ByteType.

Specified by:
forByteType in interface TypeVisitor<RetType>

forShortType

public abstract RetType forShortType(ShortType that)
Process an instance of ShortType.

Specified by:
forShortType in interface TypeVisitor<RetType>

forIntType

public abstract RetType forIntType(IntType that)
Process an instance of IntType.

Specified by:
forIntType in interface TypeVisitor<RetType>

forLongType

public abstract RetType forLongType(LongType that)
Process an instance of LongType.

Specified by:
forLongType in interface TypeVisitor<RetType>

forFloatType

public abstract RetType forFloatType(FloatType that)
Process an instance of FloatType.

Specified by:
forFloatType in interface TypeVisitor<RetType>

forDoubleType

public abstract RetType forDoubleType(DoubleType that)
Process an instance of DoubleType.

Specified by:
forDoubleType in interface TypeVisitor<RetType>

forNullType

public abstract RetType forNullType(NullType that)
Process an instance of NullType.

Specified by:
forNullType in interface TypeVisitor<RetType>

forSimpleArrayType

public abstract RetType forSimpleArrayType(SimpleArrayType that)
Process an instance of SimpleArrayType.

Specified by:
forSimpleArrayType in interface TypeVisitor<RetType>

forVarargArrayType

public abstract RetType forVarargArrayType(VarargArrayType that)
Process an instance of VarargArrayType.

Specified by:
forVarargArrayType in interface TypeVisitor<RetType>

forSimpleClassType

public abstract RetType forSimpleClassType(SimpleClassType that)
Process an instance of SimpleClassType.

Specified by:
forSimpleClassType in interface TypeVisitor<RetType>

forRawClassType

public abstract RetType forRawClassType(RawClassType that)
Process an instance of RawClassType.

Specified by:
forRawClassType in interface TypeVisitor<RetType>

forParameterizedClassType

public abstract RetType forParameterizedClassType(ParameterizedClassType that)
Process an instance of ParameterizedClassType.

Specified by:
forParameterizedClassType in interface TypeVisitor<RetType>

forIntersectionType

public abstract RetType forIntersectionType(IntersectionType that)
Process an instance of IntersectionType.

Specified by:
forIntersectionType in interface TypeVisitor<RetType>

forUnionType

public abstract RetType forUnionType(UnionType that)
Process an instance of UnionType.

Specified by:
forUnionType in interface TypeVisitor<RetType>

forVariableType

public abstract RetType forVariableType(VariableType that)
Process an instance of VariableType.

Specified by:
forVariableType in interface TypeVisitor<RetType>

forTopType

public abstract RetType forTopType(TopType that)
Process an instance of TopType.

Specified by:
forTopType in interface TypeVisitor<RetType>

forBottomType

public abstract RetType forBottomType(BottomType that)
Process an instance of BottomType.

Specified by:
forBottomType in interface TypeVisitor<RetType>

forVoidType

public abstract RetType forVoidType(VoidType that)
Process an instance of VoidType.

Specified by:
forVoidType in interface TypeVisitor<RetType>

forWildcard

public abstract RetType forWildcard(Wildcard that)
Process an instance of Wildcard.

Specified by:
forWildcard in interface TypeVisitor<RetType>