Interface AtmComboVisitor<RETURN_TYPE,PARAM>
-
- Type Parameters:
RETURN_TYPE
- the type returned by each visit methodPARAM
- the type of a single value that is passed to every visit method. It can act as global state.
- All Known Implementing Classes:
AbstractAtmComboVisitor
,AsSuperVisitor
,DefaultTypeHierarchy
,EqualityAtmComparer
,EquivalentAtmComboScanner
,StructuralEqualityComparer
public interface AtmComboVisitor<RETURN_TYPE,PARAM>
Visitor interface for all pair-wise combinations of AnnotatedTypeMirrors. See AtmCombo, it enumerates all possible combinations and provides an "accept" method used to call AtmComboVisitor visit methods.
-
-
Method Summary
-
-
-
Method Detail
-
defaultErrorMessage
default java.lang.String defaultErrorMessage(AnnotatedTypeMirror type1, AnnotatedTypeMirror type2, PARAM param)
Formats type1, type2 and param into an error message used by all methods of AbstractAtmComboVisitor that are not overridden. Normally, this method should indicate that the given method (and therefore the given pair of type mirror classes) is not supported by this class.- Parameters:
type1
- the first AnnotatedTypeMirror parameter to the visit method calledtype2
- the second AnnotatedTypeMirror parameter to the visit method calledparam
- subtype specific parameter passed to every visit method- Returns:
- an error message
-
defaultAction
default RETURN_TYPE defaultAction(AnnotatedTypeMirror type1, AnnotatedTypeMirror type2, PARAM param)
Called by the default implementation of every AbstractAtmComboVisitor visit method. This methodnS issues a runtime exception by default. In general, it should handle the case where a visit method has been called with a pair of type mirrors that should never be passed to this particular visitor.- Parameters:
type1
- the first AnnotatedTypeMirror parameter to the visit method calledtype2
- the second AnnotatedTypeMirror parameter to the visit method calledparam
- subtype specific parameter passed to every visit method- Returns:
- a value of type RETURN_TYPE, if no exception is thrown
-
visitArray_Array
RETURN_TYPE visitArray_Array(AnnotatedTypeMirror.AnnotatedArrayType subtype, AnnotatedTypeMirror.AnnotatedArrayType supertype, PARAM param)
-
visitArray_Declared
RETURN_TYPE visitArray_Declared(AnnotatedTypeMirror.AnnotatedArrayType subtype, AnnotatedTypeMirror.AnnotatedDeclaredType supertype, PARAM param)
-
visitArray_Executable
RETURN_TYPE visitArray_Executable(AnnotatedTypeMirror.AnnotatedArrayType subtype, AnnotatedTypeMirror.AnnotatedExecutableType supertype, PARAM param)
-
visitArray_Intersection
RETURN_TYPE visitArray_Intersection(AnnotatedTypeMirror.AnnotatedArrayType subtype, AnnotatedTypeMirror.AnnotatedIntersectionType supertype, PARAM param)
-
visitArray_None
RETURN_TYPE visitArray_None(AnnotatedTypeMirror.AnnotatedArrayType subtype, AnnotatedTypeMirror.AnnotatedNoType supertype, PARAM param)
-
visitArray_Null
RETURN_TYPE visitArray_Null(AnnotatedTypeMirror.AnnotatedArrayType subtype, AnnotatedTypeMirror.AnnotatedNullType supertype, PARAM param)
-
visitArray_Primitive
RETURN_TYPE visitArray_Primitive(AnnotatedTypeMirror.AnnotatedArrayType subtype, AnnotatedTypeMirror.AnnotatedPrimitiveType supertype, PARAM param)
-
visitArray_Typevar
RETURN_TYPE visitArray_Typevar(AnnotatedTypeMirror.AnnotatedArrayType subtype, AnnotatedTypeMirror.AnnotatedTypeVariable supertype, PARAM param)
-
visitArray_Union
RETURN_TYPE visitArray_Union(AnnotatedTypeMirror.AnnotatedArrayType subtype, AnnotatedTypeMirror.AnnotatedUnionType supertype, PARAM param)
-
visitArray_Wildcard
RETURN_TYPE visitArray_Wildcard(AnnotatedTypeMirror.AnnotatedArrayType subtype, AnnotatedTypeMirror.AnnotatedWildcardType supertype, PARAM param)
-
visitDeclared_Array
RETURN_TYPE visitDeclared_Array(AnnotatedTypeMirror.AnnotatedDeclaredType subtype, AnnotatedTypeMirror.AnnotatedArrayType supertype, PARAM param)
-
visitDeclared_Declared
RETURN_TYPE visitDeclared_Declared(AnnotatedTypeMirror.AnnotatedDeclaredType subtype, AnnotatedTypeMirror.AnnotatedDeclaredType supertype, PARAM param)
-
visitDeclared_Executable
RETURN_TYPE visitDeclared_Executable(AnnotatedTypeMirror.AnnotatedDeclaredType subtype, AnnotatedTypeMirror.AnnotatedExecutableType supertype, PARAM param)
-
visitDeclared_Intersection
RETURN_TYPE visitDeclared_Intersection(AnnotatedTypeMirror.AnnotatedDeclaredType subtype, AnnotatedTypeMirror.AnnotatedIntersectionType supertype, PARAM param)
-
visitDeclared_None
RETURN_TYPE visitDeclared_None(AnnotatedTypeMirror.AnnotatedDeclaredType subtype, AnnotatedTypeMirror.AnnotatedNoType supertype, PARAM param)
-
visitDeclared_Null
RETURN_TYPE visitDeclared_Null(AnnotatedTypeMirror.AnnotatedDeclaredType subtype, AnnotatedTypeMirror.AnnotatedNullType supertype, PARAM param)
-
visitDeclared_Primitive
RETURN_TYPE visitDeclared_Primitive(AnnotatedTypeMirror.AnnotatedDeclaredType subtype, AnnotatedTypeMirror.AnnotatedPrimitiveType supertype, PARAM param)
-
visitDeclared_Typevar
RETURN_TYPE visitDeclared_Typevar(AnnotatedTypeMirror.AnnotatedDeclaredType subtype, AnnotatedTypeMirror.AnnotatedTypeVariable supertype, PARAM param)
-
visitDeclared_Union
RETURN_TYPE visitDeclared_Union(AnnotatedTypeMirror.AnnotatedDeclaredType subtype, AnnotatedTypeMirror.AnnotatedUnionType supertype, PARAM param)
-
visitDeclared_Wildcard
RETURN_TYPE visitDeclared_Wildcard(AnnotatedTypeMirror.AnnotatedDeclaredType subtype, AnnotatedTypeMirror.AnnotatedWildcardType supertype, PARAM param)
-
visitExecutable_Array
RETURN_TYPE visitExecutable_Array(AnnotatedTypeMirror.AnnotatedExecutableType subtype, AnnotatedTypeMirror.AnnotatedArrayType supertype, PARAM param)
-
visitExecutable_Declared
RETURN_TYPE visitExecutable_Declared(AnnotatedTypeMirror.AnnotatedExecutableType subtype, AnnotatedTypeMirror.AnnotatedDeclaredType supertype, PARAM param)
-
visitExecutable_Executable
RETURN_TYPE visitExecutable_Executable(AnnotatedTypeMirror.AnnotatedExecutableType subtype, AnnotatedTypeMirror.AnnotatedExecutableType supertype, PARAM param)
-
visitExecutable_Intersection
RETURN_TYPE visitExecutable_Intersection(AnnotatedTypeMirror.AnnotatedExecutableType subtype, AnnotatedTypeMirror.AnnotatedIntersectionType supertype, PARAM param)
-
visitExecutable_None
RETURN_TYPE visitExecutable_None(AnnotatedTypeMirror.AnnotatedExecutableType subtype, AnnotatedTypeMirror.AnnotatedNoType supertype, PARAM param)
-
visitExecutable_Null
RETURN_TYPE visitExecutable_Null(AnnotatedTypeMirror.AnnotatedExecutableType subtype, AnnotatedTypeMirror.AnnotatedNullType supertype, PARAM param)
-
visitExecutable_Primitive
RETURN_TYPE visitExecutable_Primitive(AnnotatedTypeMirror.AnnotatedExecutableType subtype, AnnotatedTypeMirror.AnnotatedPrimitiveType supertype, PARAM param)
-
visitExecutable_Typevar
RETURN_TYPE visitExecutable_Typevar(AnnotatedTypeMirror.AnnotatedExecutableType subtype, AnnotatedTypeMirror.AnnotatedTypeVariable supertype, PARAM param)
-
visitExecutable_Union
RETURN_TYPE visitExecutable_Union(AnnotatedTypeMirror.AnnotatedExecutableType subtype, AnnotatedTypeMirror.AnnotatedUnionType supertype, PARAM param)
-
visitExecutable_Wildcard
RETURN_TYPE visitExecutable_Wildcard(AnnotatedTypeMirror.AnnotatedExecutableType subtype, AnnotatedTypeMirror.AnnotatedWildcardType supertype, PARAM param)
-
visitIntersection_Array
RETURN_TYPE visitIntersection_Array(AnnotatedTypeMirror.AnnotatedIntersectionType subtype, AnnotatedTypeMirror.AnnotatedArrayType supertype, PARAM param)
-
visitIntersection_Declared
RETURN_TYPE visitIntersection_Declared(AnnotatedTypeMirror.AnnotatedIntersectionType subtype, AnnotatedTypeMirror.AnnotatedDeclaredType supertype, PARAM param)
-
visitIntersection_Executable
RETURN_TYPE visitIntersection_Executable(AnnotatedTypeMirror.AnnotatedIntersectionType subtype, AnnotatedTypeMirror.AnnotatedExecutableType supertype, PARAM param)
-
visitIntersection_Intersection
RETURN_TYPE visitIntersection_Intersection(AnnotatedTypeMirror.AnnotatedIntersectionType subtype, AnnotatedTypeMirror.AnnotatedIntersectionType supertype, PARAM param)
-
visitIntersection_None
RETURN_TYPE visitIntersection_None(AnnotatedTypeMirror.AnnotatedIntersectionType subtype, AnnotatedTypeMirror.AnnotatedNoType supertype, PARAM param)
-
visitIntersection_Null
RETURN_TYPE visitIntersection_Null(AnnotatedTypeMirror.AnnotatedIntersectionType subtype, AnnotatedTypeMirror.AnnotatedNullType supertype, PARAM param)
-
visitIntersection_Primitive
RETURN_TYPE visitIntersection_Primitive(AnnotatedTypeMirror.AnnotatedIntersectionType subtype, AnnotatedTypeMirror.AnnotatedPrimitiveType supertype, PARAM param)
-
visitIntersection_Typevar
RETURN_TYPE visitIntersection_Typevar(AnnotatedTypeMirror.AnnotatedIntersectionType subtype, AnnotatedTypeMirror.AnnotatedTypeVariable supertype, PARAM param)
-
visitIntersection_Union
RETURN_TYPE visitIntersection_Union(AnnotatedTypeMirror.AnnotatedIntersectionType subtype, AnnotatedTypeMirror.AnnotatedUnionType supertype, PARAM param)
-
visitIntersection_Wildcard
RETURN_TYPE visitIntersection_Wildcard(AnnotatedTypeMirror.AnnotatedIntersectionType subtype, AnnotatedTypeMirror.AnnotatedWildcardType supertype, PARAM param)
-
visitNone_Array
RETURN_TYPE visitNone_Array(AnnotatedTypeMirror.AnnotatedNoType subtype, AnnotatedTypeMirror.AnnotatedArrayType supertype, PARAM param)
-
visitNone_Declared
RETURN_TYPE visitNone_Declared(AnnotatedTypeMirror.AnnotatedNoType subtype, AnnotatedTypeMirror.AnnotatedDeclaredType supertype, PARAM param)
-
visitNone_Executable
RETURN_TYPE visitNone_Executable(AnnotatedTypeMirror.AnnotatedNoType subtype, AnnotatedTypeMirror.AnnotatedExecutableType supertype, PARAM param)
-
visitNone_Intersection
RETURN_TYPE visitNone_Intersection(AnnotatedTypeMirror.AnnotatedNoType subtype, AnnotatedTypeMirror.AnnotatedIntersectionType supertype, PARAM param)
-
visitNone_None
RETURN_TYPE visitNone_None(AnnotatedTypeMirror.AnnotatedNoType subtype, AnnotatedTypeMirror.AnnotatedNoType supertype, PARAM param)
-
visitNone_Null
RETURN_TYPE visitNone_Null(AnnotatedTypeMirror.AnnotatedNoType subtype, AnnotatedTypeMirror.AnnotatedNullType supertype, PARAM param)
-
visitNone_Primitive
RETURN_TYPE visitNone_Primitive(AnnotatedTypeMirror.AnnotatedNoType subtype, AnnotatedTypeMirror.AnnotatedPrimitiveType supertype, PARAM param)
-
visitNone_Union
RETURN_TYPE visitNone_Union(AnnotatedTypeMirror.AnnotatedNoType subtype, AnnotatedTypeMirror.AnnotatedUnionType supertype, PARAM param)
-
visitNone_Wildcard
RETURN_TYPE visitNone_Wildcard(AnnotatedTypeMirror.AnnotatedNoType subtype, AnnotatedTypeMirror.AnnotatedWildcardType supertype, PARAM param)
-
visitNull_Array
RETURN_TYPE visitNull_Array(AnnotatedTypeMirror.AnnotatedNullType subtype, AnnotatedTypeMirror.AnnotatedArrayType supertype, PARAM param)
-
visitNull_Declared
RETURN_TYPE visitNull_Declared(AnnotatedTypeMirror.AnnotatedNullType subtype, AnnotatedTypeMirror.AnnotatedDeclaredType supertype, PARAM param)
-
visitNull_Executable
RETURN_TYPE visitNull_Executable(AnnotatedTypeMirror.AnnotatedNullType subtype, AnnotatedTypeMirror.AnnotatedExecutableType supertype, PARAM param)
-
visitNull_Intersection
RETURN_TYPE visitNull_Intersection(AnnotatedTypeMirror.AnnotatedNullType subtype, AnnotatedTypeMirror.AnnotatedIntersectionType supertype, PARAM param)
-
visitNull_None
RETURN_TYPE visitNull_None(AnnotatedTypeMirror.AnnotatedNullType subtype, AnnotatedTypeMirror.AnnotatedNoType supertype, PARAM param)
-
visitNull_Null
RETURN_TYPE visitNull_Null(AnnotatedTypeMirror.AnnotatedNullType subtype, AnnotatedTypeMirror.AnnotatedNullType supertype, PARAM param)
-
visitNull_Primitive
RETURN_TYPE visitNull_Primitive(AnnotatedTypeMirror.AnnotatedNullType subtype, AnnotatedTypeMirror.AnnotatedPrimitiveType supertype, PARAM param)
-
visitNull_Typevar
RETURN_TYPE visitNull_Typevar(AnnotatedTypeMirror.AnnotatedNullType subtype, AnnotatedTypeMirror.AnnotatedTypeVariable supertype, PARAM param)
-
visitNull_Union
RETURN_TYPE visitNull_Union(AnnotatedTypeMirror.AnnotatedNullType subtype, AnnotatedTypeMirror.AnnotatedUnionType supertype, PARAM param)
-
visitNull_Wildcard
RETURN_TYPE visitNull_Wildcard(AnnotatedTypeMirror.AnnotatedNullType subtype, AnnotatedTypeMirror.AnnotatedWildcardType supertype, PARAM param)
-
visitPrimitive_Array
RETURN_TYPE visitPrimitive_Array(AnnotatedTypeMirror.AnnotatedPrimitiveType subtype, AnnotatedTypeMirror.AnnotatedArrayType supertype, PARAM param)
-
visitPrimitive_Declared
RETURN_TYPE visitPrimitive_Declared(AnnotatedTypeMirror.AnnotatedPrimitiveType subtype, AnnotatedTypeMirror.AnnotatedDeclaredType supertype, PARAM param)
-
visitPrimitive_Executable
RETURN_TYPE visitPrimitive_Executable(AnnotatedTypeMirror.AnnotatedPrimitiveType subtype, AnnotatedTypeMirror.AnnotatedExecutableType supertype, PARAM param)
-
visitPrimitive_Intersection
RETURN_TYPE visitPrimitive_Intersection(AnnotatedTypeMirror.AnnotatedPrimitiveType subtype, AnnotatedTypeMirror.AnnotatedIntersectionType supertype, PARAM param)
-
visitPrimitive_None
RETURN_TYPE visitPrimitive_None(AnnotatedTypeMirror.AnnotatedPrimitiveType subtype, AnnotatedTypeMirror.AnnotatedNoType supertype, PARAM param)
-
visitPrimitive_Null
RETURN_TYPE visitPrimitive_Null(AnnotatedTypeMirror.AnnotatedPrimitiveType subtype, AnnotatedTypeMirror.AnnotatedNullType supertype, PARAM param)
-
visitPrimitive_Primitive
RETURN_TYPE visitPrimitive_Primitive(AnnotatedTypeMirror.AnnotatedPrimitiveType subtype, AnnotatedTypeMirror.AnnotatedPrimitiveType supertype, PARAM param)
-
visitPrimitive_Typevar
RETURN_TYPE visitPrimitive_Typevar(AnnotatedTypeMirror.AnnotatedPrimitiveType subtype, AnnotatedTypeMirror.AnnotatedTypeVariable supertype, PARAM param)
-
visitPrimitive_Union
RETURN_TYPE visitPrimitive_Union(AnnotatedTypeMirror.AnnotatedPrimitiveType subtype, AnnotatedTypeMirror.AnnotatedUnionType supertype, PARAM param)
-
visitPrimitive_Wildcard
RETURN_TYPE visitPrimitive_Wildcard(AnnotatedTypeMirror.AnnotatedPrimitiveType subtype, AnnotatedTypeMirror.AnnotatedWildcardType supertype, PARAM param)
-
visitUnion_Array
RETURN_TYPE visitUnion_Array(AnnotatedTypeMirror.AnnotatedUnionType subtype, AnnotatedTypeMirror.AnnotatedArrayType supertype, PARAM param)
-
visitUnion_Declared
RETURN_TYPE visitUnion_Declared(AnnotatedTypeMirror.AnnotatedUnionType subtype, AnnotatedTypeMirror.AnnotatedDeclaredType supertype, PARAM param)
-
visitUnion_Executable
RETURN_TYPE visitUnion_Executable(AnnotatedTypeMirror.AnnotatedUnionType subtype, AnnotatedTypeMirror.AnnotatedExecutableType supertype, PARAM param)
-
visitUnion_Intersection
RETURN_TYPE visitUnion_Intersection(AnnotatedTypeMirror.AnnotatedUnionType subtype, AnnotatedTypeMirror.AnnotatedIntersectionType supertype, PARAM param)
-
visitUnion_None
RETURN_TYPE visitUnion_None(AnnotatedTypeMirror.AnnotatedUnionType subtype, AnnotatedTypeMirror.AnnotatedNoType supertype, PARAM param)
-
visitUnion_Null
RETURN_TYPE visitUnion_Null(AnnotatedTypeMirror.AnnotatedUnionType subtype, AnnotatedTypeMirror.AnnotatedNullType supertype, PARAM param)
-
visitUnion_Primitive
RETURN_TYPE visitUnion_Primitive(AnnotatedTypeMirror.AnnotatedUnionType subtype, AnnotatedTypeMirror.AnnotatedPrimitiveType supertype, PARAM param)
-
visitUnion_Typevar
RETURN_TYPE visitUnion_Typevar(AnnotatedTypeMirror.AnnotatedUnionType subtype, AnnotatedTypeMirror.AnnotatedTypeVariable supertype, PARAM param)
-
visitUnion_Union
RETURN_TYPE visitUnion_Union(AnnotatedTypeMirror.AnnotatedUnionType subtype, AnnotatedTypeMirror.AnnotatedUnionType supertype, PARAM param)
-
visitUnion_Wildcard
RETURN_TYPE visitUnion_Wildcard(AnnotatedTypeMirror.AnnotatedUnionType subtype, AnnotatedTypeMirror.AnnotatedWildcardType supertype, PARAM param)
-
visitTypevar_Array
RETURN_TYPE visitTypevar_Array(AnnotatedTypeMirror.AnnotatedTypeVariable subtype, AnnotatedTypeMirror.AnnotatedArrayType supertype, PARAM param)
-
visitTypevar_Declared
RETURN_TYPE visitTypevar_Declared(AnnotatedTypeMirror.AnnotatedTypeVariable subtype, AnnotatedTypeMirror.AnnotatedDeclaredType supertype, PARAM param)
-
visitTypevar_Executable
RETURN_TYPE visitTypevar_Executable(AnnotatedTypeMirror.AnnotatedTypeVariable subtype, AnnotatedTypeMirror.AnnotatedExecutableType supertype, PARAM param)
-
visitTypevar_Intersection
RETURN_TYPE visitTypevar_Intersection(AnnotatedTypeMirror.AnnotatedTypeVariable subtype, AnnotatedTypeMirror.AnnotatedIntersectionType supertype, PARAM param)
-
visitTypevar_None
RETURN_TYPE visitTypevar_None(AnnotatedTypeMirror.AnnotatedTypeVariable subtype, AnnotatedTypeMirror.AnnotatedNoType supertype, PARAM param)
-
visitTypevar_Null
RETURN_TYPE visitTypevar_Null(AnnotatedTypeMirror.AnnotatedTypeVariable subtype, AnnotatedTypeMirror.AnnotatedNullType supertype, PARAM param)
-
visitTypevar_Primitive
RETURN_TYPE visitTypevar_Primitive(AnnotatedTypeMirror.AnnotatedTypeVariable subtype, AnnotatedTypeMirror.AnnotatedPrimitiveType supertype, PARAM param)
-
visitTypevar_Typevar
RETURN_TYPE visitTypevar_Typevar(AnnotatedTypeMirror.AnnotatedTypeVariable subtype, AnnotatedTypeMirror.AnnotatedTypeVariable supertype, PARAM param)
-
visitTypevar_Union
RETURN_TYPE visitTypevar_Union(AnnotatedTypeMirror.AnnotatedTypeVariable subtype, AnnotatedTypeMirror.AnnotatedUnionType supertype, PARAM param)
-
visitTypevar_Wildcard
RETURN_TYPE visitTypevar_Wildcard(AnnotatedTypeMirror.AnnotatedTypeVariable subtype, AnnotatedTypeMirror.AnnotatedWildcardType supertype, PARAM param)
-
visitWildcard_Array
RETURN_TYPE visitWildcard_Array(AnnotatedTypeMirror.AnnotatedWildcardType subtype, AnnotatedTypeMirror.AnnotatedArrayType supertype, PARAM param)
-
visitWildcard_Declared
RETURN_TYPE visitWildcard_Declared(AnnotatedTypeMirror.AnnotatedWildcardType subtype, AnnotatedTypeMirror.AnnotatedDeclaredType supertype, PARAM param)
-
visitWildcard_Executable
RETURN_TYPE visitWildcard_Executable(AnnotatedTypeMirror.AnnotatedWildcardType subtype, AnnotatedTypeMirror.AnnotatedExecutableType supertype, PARAM param)
-
visitWildcard_Intersection
RETURN_TYPE visitWildcard_Intersection(AnnotatedTypeMirror.AnnotatedWildcardType subtype, AnnotatedTypeMirror.AnnotatedIntersectionType supertype, PARAM param)
-
visitWildcard_None
RETURN_TYPE visitWildcard_None(AnnotatedTypeMirror.AnnotatedWildcardType subtype, AnnotatedTypeMirror.AnnotatedNoType supertype, PARAM param)
-
visitWildcard_Null
RETURN_TYPE visitWildcard_Null(AnnotatedTypeMirror.AnnotatedWildcardType subtype, AnnotatedTypeMirror.AnnotatedNullType supertype, PARAM param)
-
visitWildcard_Primitive
RETURN_TYPE visitWildcard_Primitive(AnnotatedTypeMirror.AnnotatedWildcardType subtype, AnnotatedTypeMirror.AnnotatedPrimitiveType supertype, PARAM param)
-
visitWildcard_Typevar
RETURN_TYPE visitWildcard_Typevar(AnnotatedTypeMirror.AnnotatedWildcardType subtype, AnnotatedTypeMirror.AnnotatedTypeVariable supertype, PARAM param)
-
visitWildcard_Union
RETURN_TYPE visitWildcard_Union(AnnotatedTypeMirror.AnnotatedWildcardType subtype, AnnotatedTypeMirror.AnnotatedUnionType supertype, PARAM param)
-
visitWildcard_Wildcard
RETURN_TYPE visitWildcard_Wildcard(AnnotatedTypeMirror.AnnotatedWildcardType subtype, AnnotatedTypeMirror.AnnotatedWildcardType supertype, PARAM param)
-
-