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.public abstract static class Types.DefaultTypeVisitor<R,S> extends Object implements Type.Visitor<R,S>
Constructor and Description |
---|
DefaultTypeVisitor() |
Modifier and Type | Method and Description |
---|---|
R |
visit(Type t,
S s) |
R |
visitAnnotatedType(Type.AnnotatedType t,
S s) |
R |
visitArrayType(Type.ArrayType t,
S s) |
R |
visitCapturedType(Type.CapturedType t,
S s) |
R |
visitClassType(Type.ClassType t,
S s) |
R |
visitErrorType(Type.ErrorType t,
S s) |
R |
visitForAll(Type.ForAll t,
S s) |
R |
visitMethodType(Type.MethodType t,
S s) |
R |
visitPackageType(Type.PackageType t,
S s) |
R |
visitTypeVar(Type.TypeVar t,
S s) |
R |
visitUndetVar(Type.UndetVar t,
S s) |
R |
visitWildcardType(Type.WildcardType t,
S s) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitType
public R visitClassType(Type.ClassType t, S s)
visitClassType
in interface Type.Visitor<R,S>
public R visitWildcardType(Type.WildcardType t, S s)
visitWildcardType
in interface Type.Visitor<R,S>
public R visitArrayType(Type.ArrayType t, S s)
visitArrayType
in interface Type.Visitor<R,S>
public R visitMethodType(Type.MethodType t, S s)
visitMethodType
in interface Type.Visitor<R,S>
public R visitPackageType(Type.PackageType t, S s)
visitPackageType
in interface Type.Visitor<R,S>
public R visitTypeVar(Type.TypeVar t, S s)
visitTypeVar
in interface Type.Visitor<R,S>
public R visitCapturedType(Type.CapturedType t, S s)
visitCapturedType
in interface Type.Visitor<R,S>
public R visitForAll(Type.ForAll t, S s)
visitForAll
in interface Type.Visitor<R,S>
public R visitUndetVar(Type.UndetVar t, S s)
visitUndetVar
in interface Type.Visitor<R,S>
public R visitErrorType(Type.ErrorType t, S s)
visitErrorType
in interface Type.Visitor<R,S>
public R visitAnnotatedType(Type.AnnotatedType t, S s)
visitAnnotatedType
in interface Type.Visitor<R,S>
Copyright © 2015. All rights reserved.