Save This Page
Home » openjdk-7 » com.sun.tools » javac » code » [javadoc | source]
com.sun.tools.javac.code
public interface: Type.Visitor [javadoc | source]

All Known Implementing Classes:
    TypeRelation, HasSameArgs, MapVisitor, MembersClosureCache, Printer, Subst, SimpleVisitor, UnaryVisitor, Rewriter, Adapter, DefaultTypeVisitor, RichPrinter

A visitor for types. A visitor is used to implement operations (or relations) on types. Most common operations on types are binary relations and this interface is designed for binary relations, that is, operations on the form Type × S → R.
Method from com.sun.tools.javac.code.Type$Visitor Summary:
visitArrayType,   visitCapturedType,   visitClassType,   visitErrorType,   visitForAll,   visitMethodType,   visitPackageType,   visitType,   visitTypeVar,   visitUndetVar,   visitWildcardType
Method from com.sun.tools.javac.code.Type$Visitor Detail:
 public R visitArrayType(ArrayType t,
    S s)
 public R visitCapturedType(CapturedType t,
    S s)
 public R visitClassType(ClassType t,
    S s)
 public R visitErrorType(ErrorType t,
    S s)
 public R visitForAll(ForAll t,
    S s)
 public R visitMethodType(MethodType t,
    S s)
 public R visitPackageType(PackageType t,
    S s)
 public R visitType(Type t,
    S s)
 public R visitTypeVar(TypeVar t,
    S s)
 public R visitUndetVar(UndetVar t,
    S s)
 public R visitWildcardType(WildcardType t,
    S s)