protected class TypeVariableSubstitutor.Visitor extends AnnotatedTypeCopier
copyAnnotations, visitingExecutableTypeParam
Constructor and Description |
---|
Visitor(Map<TypeVariable,AnnotatedTypeMirror> typeParamToArg) |
Modifier and Type | Method and Description |
---|---|
AnnotatedTypeMirror |
visitArray(AnnotatedTypeMirror.AnnotatedArrayType original,
IdentityHashMap<AnnotatedTypeMirror,AnnotatedTypeMirror> originalToCopy)
Visits an array type.
|
AnnotatedTypeMirror |
visitTypeVariable(AnnotatedTypeMirror.AnnotatedTypeVariable original,
IdentityHashMap<AnnotatedTypeMirror,AnnotatedTypeMirror> originalToCopy)
Visits a type variable.
|
makeCopy, makeOrReturnCopy, maybeCopyPrimaryAnnotations, visit, visit, visitDeclared, visitExecutable, visitIntersection, visitNoType, visitNull, visitPrimitive, visitUnion, visitWildcard
public Visitor(Map<TypeVariable,AnnotatedTypeMirror> typeParamToArg)
public AnnotatedTypeMirror visitArray(AnnotatedTypeMirror.AnnotatedArrayType original, IdentityHashMap<AnnotatedTypeMirror,AnnotatedTypeMirror> originalToCopy)
AnnotatedTypeVisitor
visitArray
in interface AnnotatedTypeVisitor<AnnotatedTypeMirror,IdentityHashMap<AnnotatedTypeMirror,AnnotatedTypeMirror>>
visitArray
in class AnnotatedTypeCopier
original
- the type to visitoriginalToCopy
- a visitor-specified parameterpublic AnnotatedTypeMirror visitTypeVariable(AnnotatedTypeMirror.AnnotatedTypeVariable original, IdentityHashMap<AnnotatedTypeMirror,AnnotatedTypeMirror> originalToCopy)
AnnotatedTypeVisitor
visitTypeVariable
in interface AnnotatedTypeVisitor<AnnotatedTypeMirror,IdentityHashMap<AnnotatedTypeMirror,AnnotatedTypeMirror>>
visitTypeVariable
in class AnnotatedTypeCopier
original
- the type to visitoriginalToCopy
- a visitor-specified parameter