- Type Parameters:
R
- the return type of the operation implemented by this
visitor; use Void if no return type is needed.
S
- the type of the second argument (the first being the
type itself) of the operation implemented by this visitor; use
Void if a second argument is not needed.
- All Implemented Interfaces:
- Type.Visitor<R,S>
- Direct Known Subclasses:
- Types.TypeRelation, Types.UnaryVisitor
- Enclosing class:
- Types
public abstract static class Types.SimpleVisitor<R,S>
extends Types.DefaultTypeVisitor<R,S>
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.