public class AsSuperVisitor extends AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
Constructor and Description |
---|
AsSuperVisitor(AnnotatedTypeFactory annotatedTypeFactory) |
defaultAction, visitArray_Executable, visitArray_None, visitArray_Null, visitArray_Primitive, visitArray_Union, visitDeclared_Array, visitDeclared_Executable, visitDeclared_None, visitDeclared_Null, visitExecutable_Array, visitExecutable_Declared, visitExecutable_Executable, visitExecutable_Intersection, visitExecutable_None, visitExecutable_Null, visitExecutable_Primitive, visitExecutable_Typevar, visitExecutable_Union, visitExecutable_Wildcard, visitIntersection_Array, visitIntersection_Executable, visitIntersection_None, visitIntersection_Null, visitNone_Array, visitNone_Declared, visitNone_Executable, visitNone_Intersection, visitNone_None, visitNone_Null, visitNone_Primitive, visitNone_Union, visitNone_Wildcard, visitNull_Array, visitNull_Declared, visitNull_Executable, visitNull_Intersection, visitNull_None, visitNull_Null, visitNull_Primitive, visitNull_Typevar, visitNull_Union, visitNull_Wildcard, visitPrimitive_Array, visitPrimitive_Executable, visitPrimitive_None, visitPrimitive_Null, visitTypevar_Array, visitTypevar_Executable, visitTypevar_None, visitTypevar_Null, visitUnion_Array, visitUnion_Executable, visitUnion_None, visitUnion_Null, visitUnion_Primitive, visitWildcard_Executable, visitWildcard_None, visitWildcard_Null
public AsSuperVisitor(AnnotatedTypeFactory annotatedTypeFactory)
public <T extends AnnotatedTypeMirror> T asSuper(AnnotatedTypeMirror type, T superType)
AnnotatedTypes.asSuper(AnnotatedTypeFactory,
AnnotatedTypeMirror, AnnotatedTypeMirror)
for details.type
- type from which to copy annotationssuperType
- a type whose erased Java type is a supertype of type
's erased Java
type.superType
with annotations copied from type
and type
variables substituted from type
.public AnnotatedTypeMirror visit(AnnotatedTypeMirror type, AnnotatedTypeMirror superType, Void p)
visit
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
protected String defaultErrorMessage(AnnotatedTypeMirror type, AnnotatedTypeMirror superType, Void p)
AbstractAtmComboVisitor
defaultErrorMessage
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
type
- the first AnnotatedTypeMirror parameter to the visit method calledsuperType
- the second AnnotatedTypeMirror parameter to the visit method calledp
- subtype specific parameter passed to every visit methodpublic AnnotatedTypeMirror visitArray_Array(AnnotatedTypeMirror.AnnotatedArrayType type, AnnotatedTypeMirror.AnnotatedArrayType superType, Void p)
visitArray_Array
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitArray_Array
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitArray_Intersection(AnnotatedTypeMirror.AnnotatedArrayType type, AnnotatedTypeMirror.AnnotatedIntersectionType superType, Void p)
visitArray_Intersection
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitArray_Intersection
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitArray_Declared(AnnotatedTypeMirror.AnnotatedArrayType type, AnnotatedTypeMirror.AnnotatedDeclaredType superType, Void p)
visitArray_Declared
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitArray_Declared
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitArray_Typevar(AnnotatedTypeMirror.AnnotatedArrayType type, AnnotatedTypeMirror.AnnotatedTypeVariable superType, Void p)
visitArray_Typevar
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitArray_Typevar
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitArray_Wildcard(AnnotatedTypeMirror.AnnotatedArrayType type, AnnotatedTypeMirror.AnnotatedWildcardType superType, Void p)
visitArray_Wildcard
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitArray_Wildcard
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitDeclared_Declared(AnnotatedTypeMirror.AnnotatedDeclaredType type, AnnotatedTypeMirror.AnnotatedDeclaredType superType, Void p)
visitDeclared_Declared
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitDeclared_Declared
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitDeclared_Intersection(AnnotatedTypeMirror.AnnotatedDeclaredType type, AnnotatedTypeMirror.AnnotatedIntersectionType superType, Void p)
visitDeclared_Intersection
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitDeclared_Intersection
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitDeclared_Primitive(AnnotatedTypeMirror.AnnotatedDeclaredType type, AnnotatedTypeMirror.AnnotatedPrimitiveType superType, Void p)
visitDeclared_Primitive
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitDeclared_Primitive
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitDeclared_Typevar(AnnotatedTypeMirror.AnnotatedDeclaredType type, AnnotatedTypeMirror.AnnotatedTypeVariable superType, Void p)
visitDeclared_Typevar
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitDeclared_Typevar
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitDeclared_Union(AnnotatedTypeMirror.AnnotatedDeclaredType type, AnnotatedTypeMirror.AnnotatedUnionType superType, Void p)
visitDeclared_Union
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitDeclared_Union
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitDeclared_Wildcard(AnnotatedTypeMirror.AnnotatedDeclaredType type, AnnotatedTypeMirror.AnnotatedWildcardType superType, Void p)
visitDeclared_Wildcard
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitDeclared_Wildcard
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitIntersection_Declared(AnnotatedTypeMirror.AnnotatedIntersectionType type, AnnotatedTypeMirror.AnnotatedDeclaredType superType, Void p)
visitIntersection_Declared
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitIntersection_Declared
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitIntersection_Intersection(AnnotatedTypeMirror.AnnotatedIntersectionType type, AnnotatedTypeMirror.AnnotatedIntersectionType superType, Void p)
visitIntersection_Intersection
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitIntersection_Intersection
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitIntersection_Primitive(AnnotatedTypeMirror.AnnotatedIntersectionType type, AnnotatedTypeMirror.AnnotatedPrimitiveType superType, Void p)
visitIntersection_Primitive
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitIntersection_Primitive
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitIntersection_Typevar(AnnotatedTypeMirror.AnnotatedIntersectionType type, AnnotatedTypeMirror.AnnotatedTypeVariable superType, Void p)
visitIntersection_Typevar
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitIntersection_Typevar
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitIntersection_Union(AnnotatedTypeMirror.AnnotatedIntersectionType type, AnnotatedTypeMirror.AnnotatedUnionType superType, Void p)
visitIntersection_Union
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitIntersection_Union
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitIntersection_Wildcard(AnnotatedTypeMirror.AnnotatedIntersectionType type, AnnotatedTypeMirror.AnnotatedWildcardType superType, Void p)
visitIntersection_Wildcard
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitIntersection_Wildcard
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitPrimitive_Primitive(AnnotatedTypeMirror.AnnotatedPrimitiveType type, AnnotatedTypeMirror.AnnotatedPrimitiveType superType, Void p)
visitPrimitive_Primitive
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitPrimitive_Primitive
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitPrimitive_Declared(AnnotatedTypeMirror.AnnotatedPrimitiveType type, AnnotatedTypeMirror.AnnotatedDeclaredType superType, Void p)
visitPrimitive_Declared
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitPrimitive_Declared
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitPrimitive_Intersection(AnnotatedTypeMirror.AnnotatedPrimitiveType type, AnnotatedTypeMirror.AnnotatedIntersectionType superType, Void p)
visitPrimitive_Intersection
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitPrimitive_Intersection
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitPrimitive_Typevar(AnnotatedTypeMirror.AnnotatedPrimitiveType type, AnnotatedTypeMirror.AnnotatedTypeVariable superType, Void p)
visitPrimitive_Typevar
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitPrimitive_Typevar
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitPrimitive_Union(AnnotatedTypeMirror.AnnotatedPrimitiveType type, AnnotatedTypeMirror.AnnotatedUnionType superType, Void p)
visitPrimitive_Union
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitPrimitive_Union
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitPrimitive_Wildcard(AnnotatedTypeMirror.AnnotatedPrimitiveType type, AnnotatedTypeMirror.AnnotatedWildcardType superType, Void p)
visitPrimitive_Wildcard
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitPrimitive_Wildcard
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitTypevar_Declared(AnnotatedTypeMirror.AnnotatedTypeVariable type, AnnotatedTypeMirror.AnnotatedDeclaredType superType, Void p)
visitTypevar_Declared
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitTypevar_Declared
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitTypevar_Intersection(AnnotatedTypeMirror.AnnotatedTypeVariable type, AnnotatedTypeMirror.AnnotatedIntersectionType superType, Void p)
visitTypevar_Intersection
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitTypevar_Intersection
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitTypevar_Primitive(AnnotatedTypeMirror.AnnotatedTypeVariable type, AnnotatedTypeMirror.AnnotatedPrimitiveType superType, Void p)
visitTypevar_Primitive
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitTypevar_Primitive
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitTypevar_Typevar(AnnotatedTypeMirror.AnnotatedTypeVariable type, AnnotatedTypeMirror.AnnotatedTypeVariable superType, Void p)
visitTypevar_Typevar
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitTypevar_Typevar
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitTypevar_Union(AnnotatedTypeMirror.AnnotatedTypeVariable type, AnnotatedTypeMirror.AnnotatedUnionType superType, Void p)
visitTypevar_Union
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitTypevar_Union
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitTypevar_Wildcard(AnnotatedTypeMirror.AnnotatedTypeVariable type, AnnotatedTypeMirror.AnnotatedWildcardType superType, Void p)
visitTypevar_Wildcard
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitTypevar_Wildcard
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitUnion_Declared(AnnotatedTypeMirror.AnnotatedUnionType type, AnnotatedTypeMirror.AnnotatedDeclaredType superType, Void p)
visitUnion_Declared
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitUnion_Declared
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitUnion_Intersection(AnnotatedTypeMirror.AnnotatedUnionType type, AnnotatedTypeMirror.AnnotatedIntersectionType superType, Void p)
visitUnion_Intersection
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitUnion_Intersection
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitUnion_Typevar(AnnotatedTypeMirror.AnnotatedUnionType type, AnnotatedTypeMirror.AnnotatedTypeVariable superType, Void p)
visitUnion_Typevar
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitUnion_Typevar
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitUnion_Union(AnnotatedTypeMirror.AnnotatedUnionType type, AnnotatedTypeMirror.AnnotatedUnionType superType, Void p)
visitUnion_Union
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitUnion_Union
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitUnion_Wildcard(AnnotatedTypeMirror.AnnotatedUnionType type, AnnotatedTypeMirror.AnnotatedWildcardType superType, Void p)
visitUnion_Wildcard
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitUnion_Wildcard
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitWildcard_Array(AnnotatedTypeMirror.AnnotatedWildcardType type, AnnotatedTypeMirror.AnnotatedArrayType superType, Void p)
visitWildcard_Array
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitWildcard_Array
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitWildcard_Declared(AnnotatedTypeMirror.AnnotatedWildcardType type, AnnotatedTypeMirror.AnnotatedDeclaredType superType, Void p)
visitWildcard_Declared
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitWildcard_Declared
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitWildcard_Intersection(AnnotatedTypeMirror.AnnotatedWildcardType type, AnnotatedTypeMirror.AnnotatedIntersectionType superType, Void p)
visitWildcard_Intersection
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitWildcard_Intersection
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitWildcard_Primitive(AnnotatedTypeMirror.AnnotatedWildcardType type, AnnotatedTypeMirror.AnnotatedPrimitiveType superType, Void p)
visitWildcard_Primitive
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitWildcard_Primitive
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitWildcard_Typevar(AnnotatedTypeMirror.AnnotatedWildcardType type, AnnotatedTypeMirror.AnnotatedTypeVariable superType, Void p)
visitWildcard_Typevar
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitWildcard_Typevar
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitWildcard_Union(AnnotatedTypeMirror.AnnotatedWildcardType type, AnnotatedTypeMirror.AnnotatedUnionType superType, Void p)
visitWildcard_Union
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitWildcard_Union
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public AnnotatedTypeMirror visitWildcard_Wildcard(AnnotatedTypeMirror.AnnotatedWildcardType type, AnnotatedTypeMirror.AnnotatedWildcardType superType, Void p)
visitWildcard_Wildcard
in interface AtmComboVisitor<AnnotatedTypeMirror,Void>
visitWildcard_Wildcard
in class AbstractAtmComboVisitor<AnnotatedTypeMirror,Void>
public boolean sameAnnotatedTypeFactory(AnnotatedTypeFactory annotatedTypeFactory)