Save This Page
Home » openjdk-7 » com.sun.tools » javac » code » [javadoc | source]
com.sun.tools.javac.code
abstract public static class: Types.SimpleVisitor [javadoc | source]
java.lang.Object
   com.sun.tools.javac.code.Types.DefaultTypeVisitor<R, S>
      com.sun.tools.javac.code.Types$SimpleVisitor

All Implemented Interfaces:
    Visitor

Direct Known Subclasses:
    TypeRelation, HasSameArgs, MembersClosureCache, Subst, UnaryVisitor, Rewriter, Adapter

A simple visitor for types. This visitor is simple as captured wildcards, for-all types (generic methods), and undetermined type variables (part of inference) are hidden. Captured wildcards are hidden by treating them as type variables and the rest are hidden by visiting their qtypes.
Method from com.sun.tools.javac.code.Types$SimpleVisitor Summary:
visitCapturedType,   visitForAll,   visitUndetVar
Methods from com.sun.tools.javac.code.Types$DefaultTypeVisitor:
visit,   visitArrayType,   visitCapturedType,   visitClassType,   visitErrorType,   visitForAll,   visitMethodType,   visitPackageType,   visitTypeVar,   visitUndetVar,   visitWildcardType
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.tools.javac.code.Types$SimpleVisitor Detail:
 public R visitCapturedType(CapturedType t,
    S s) 
 public R visitForAll(ForAll t,
    S s) 
 public R visitUndetVar(UndetVar t,
    S s)