public class DefaultRawnessComparer extends AbstractAtmComboVisitor<Boolean,VisitHistory>
Constructor and Description |
---|
DefaultRawnessComparer(DefaultTypeHierarchy typeHierarchy) |
defaultAction, visit, visitArray_Executable, visitArray_Intersection, visitArray_None, visitArray_Null, visitArray_Primitive, visitArray_Union, visitDeclared_Array, visitDeclared_Executable, visitDeclared_Intersection, visitDeclared_None, visitDeclared_Null, visitDeclared_Primitive, visitDeclared_Union, visitExecutable_Array, visitExecutable_Declared, visitExecutable_Executable, visitExecutable_Intersection, visitExecutable_None, visitExecutable_Null, visitExecutable_Primitive, visitExecutable_Typevar, visitExecutable_Union, visitExecutable_Wildcard, visitIntersection_Array, visitIntersection_Declared, visitIntersection_Executable, visitIntersection_Intersection, visitIntersection_None, visitIntersection_Null, visitIntersection_Primitive, visitIntersection_Typevar, visitIntersection_Union, visitIntersection_Wildcard, visitNone_Array, visitNone_Declared, visitNone_Executable, visitNone_Intersection, visitNone_None, visitNone_Null, visitNone_Primitive, visitNone_Union, visitNone_Wildcard, visitNull_Array, visitNull_Executable, visitNull_Intersection, visitNull_None, visitNull_Null, visitNull_Primitive, visitNull_Union, visitNull_Wildcard, visitPrimitive_Array, visitPrimitive_Declared, visitPrimitive_Executable, visitPrimitive_Intersection, visitPrimitive_None, visitPrimitive_Null, visitPrimitive_Typevar, visitPrimitive_Union, visitPrimitive_Wildcard, visitTypevar_Array, visitTypevar_Executable, visitTypevar_Intersection, visitTypevar_None, visitTypevar_Primitive, visitTypevar_Union, visitUnion_Array, visitUnion_Declared, visitUnion_Executable, visitUnion_Intersection, visitUnion_None, visitUnion_Null, visitUnion_Primitive, visitUnion_Typevar, visitUnion_Union, visitUnion_Wildcard, visitWildcard_Executable, visitWildcard_Intersection, visitWildcard_None, visitWildcard_Null, visitWildcard_Primitive, visitWildcard_Union
public DefaultRawnessComparer(DefaultTypeHierarchy typeHierarchy)
protected String defaultErrorMessage(AnnotatedTypeMirror subtype, AnnotatedTypeMirror supertype, VisitHistory visited)
AbstractAtmComboVisitor
defaultErrorMessage
in class AbstractAtmComboVisitor<Boolean,VisitHistory>
subtype
- the first AnnotatedTypeMirror parameter to the visit method calledsupertype
- the second AnnotatedTypeMirror parameter to the visit method calledvisited
- subtype specific parameter passed to every visit methodpublic boolean isValid(AnnotatedTypeMirror subtype, AnnotatedTypeMirror supertype, VisitHistory visited)
public boolean isValidInHierarchy(AnnotatedTypeMirror subtype, AnnotatedTypeMirror supertype, AnnotationMirror top, VisitHistory visited)
protected boolean arePrimaryAnnotationsEqual(AnnotatedTypeMirror subtype, AnnotatedTypeMirror supertype)
public Boolean visitDeclared_Declared(AnnotatedTypeMirror.AnnotatedDeclaredType subtype, AnnotatedTypeMirror.AnnotatedDeclaredType supertype, VisitHistory visited)
visitDeclared_Declared
in interface AtmComboVisitor<Boolean,VisitHistory>
visitDeclared_Declared
in class AbstractAtmComboVisitor<Boolean,VisitHistory>
public Boolean visitWildcard_Wildcard(AnnotatedTypeMirror.AnnotatedWildcardType subtype, AnnotatedTypeMirror.AnnotatedWildcardType supertype, VisitHistory visited)
visitWildcard_Wildcard
in interface AtmComboVisitor<Boolean,VisitHistory>
visitWildcard_Wildcard
in class AbstractAtmComboVisitor<Boolean,VisitHistory>
public Boolean visitArray_Array(AnnotatedTypeMirror.AnnotatedArrayType subtype, AnnotatedTypeMirror.AnnotatedArrayType supertype, VisitHistory visited)
visitArray_Array
in interface AtmComboVisitor<Boolean,VisitHistory>
visitArray_Array
in class AbstractAtmComboVisitor<Boolean,VisitHistory>
public Boolean visitNull_Declared(AnnotatedTypeMirror.AnnotatedNullType subtype, AnnotatedTypeMirror.AnnotatedDeclaredType supertype, VisitHistory visited)
visitNull_Declared
in interface AtmComboVisitor<Boolean,VisitHistory>
visitNull_Declared
in class AbstractAtmComboVisitor<Boolean,VisitHistory>
public Boolean visitNull_Typevar(AnnotatedTypeMirror.AnnotatedNullType subtype, AnnotatedTypeMirror.AnnotatedTypeVariable supertype, VisitHistory visited)
visitNull_Typevar
in interface AtmComboVisitor<Boolean,VisitHistory>
visitNull_Typevar
in class AbstractAtmComboVisitor<Boolean,VisitHistory>
public Boolean visitArray_Declared(AnnotatedTypeMirror.AnnotatedArrayType subtype, AnnotatedTypeMirror.AnnotatedDeclaredType supertype, VisitHistory visited)
visitArray_Declared
in interface AtmComboVisitor<Boolean,VisitHistory>
visitArray_Declared
in class AbstractAtmComboVisitor<Boolean,VisitHistory>
public Boolean visitPrimitive_Primitive(AnnotatedTypeMirror.AnnotatedPrimitiveType subtype, AnnotatedTypeMirror.AnnotatedPrimitiveType supertype, VisitHistory visited)
visitPrimitive_Primitive
in interface AtmComboVisitor<Boolean,VisitHistory>
visitPrimitive_Primitive
in class AbstractAtmComboVisitor<Boolean,VisitHistory>
public Boolean visitDeclared_Wildcard(AnnotatedTypeMirror.AnnotatedDeclaredType subtype, AnnotatedTypeMirror.AnnotatedWildcardType supertype, VisitHistory visited)
visitDeclared_Wildcard
in interface AtmComboVisitor<Boolean,VisitHistory>
visitDeclared_Wildcard
in class AbstractAtmComboVisitor<Boolean,VisitHistory>
public Boolean visitArray_Wildcard(AnnotatedTypeMirror.AnnotatedArrayType subtype, AnnotatedTypeMirror.AnnotatedWildcardType supertype, VisitHistory visited)
visitArray_Wildcard
in interface AtmComboVisitor<Boolean,VisitHistory>
visitArray_Wildcard
in class AbstractAtmComboVisitor<Boolean,VisitHistory>
public Boolean visitTypevar_Wildcard(AnnotatedTypeMirror.AnnotatedTypeVariable subtype, AnnotatedTypeMirror.AnnotatedWildcardType supertype, VisitHistory visited)
visitTypevar_Wildcard
in interface AtmComboVisitor<Boolean,VisitHistory>
visitTypevar_Wildcard
in class AbstractAtmComboVisitor<Boolean,VisitHistory>
public Boolean visitDeclared_Typevar(AnnotatedTypeMirror.AnnotatedDeclaredType subtype, AnnotatedTypeMirror.AnnotatedTypeVariable supertype, VisitHistory visited)
visitDeclared_Typevar
in interface AtmComboVisitor<Boolean,VisitHistory>
visitDeclared_Typevar
in class AbstractAtmComboVisitor<Boolean,VisitHistory>
public Boolean visitArray_Typevar(AnnotatedTypeMirror.AnnotatedArrayType subtype, AnnotatedTypeMirror.AnnotatedTypeVariable supertype, VisitHistory visited)
visitArray_Typevar
in interface AtmComboVisitor<Boolean,VisitHistory>
visitArray_Typevar
in class AbstractAtmComboVisitor<Boolean,VisitHistory>
public Boolean visitTypevar_Declared(AnnotatedTypeMirror.AnnotatedTypeVariable subtype, AnnotatedTypeMirror.AnnotatedDeclaredType supertype, VisitHistory visited)
visitTypevar_Declared
in interface AtmComboVisitor<Boolean,VisitHistory>
visitTypevar_Declared
in class AbstractAtmComboVisitor<Boolean,VisitHistory>
public Boolean visitTypevar_Null(AnnotatedTypeMirror.AnnotatedTypeVariable subtype, AnnotatedTypeMirror.AnnotatedNullType supertype, VisitHistory visited)
visitTypevar_Null
in interface AtmComboVisitor<Boolean,VisitHistory>
visitTypevar_Null
in class AbstractAtmComboVisitor<Boolean,VisitHistory>
public Boolean visitTypevar_Typevar(AnnotatedTypeMirror.AnnotatedTypeVariable subtype, AnnotatedTypeMirror.AnnotatedTypeVariable supertype, VisitHistory visited)
visitTypevar_Typevar
in interface AtmComboVisitor<Boolean,VisitHistory>
visitTypevar_Typevar
in class AbstractAtmComboVisitor<Boolean,VisitHistory>
public Boolean visitWildcard_Array(AnnotatedTypeMirror.AnnotatedWildcardType subtype, AnnotatedTypeMirror.AnnotatedArrayType supertype, VisitHistory visited)
visitWildcard_Array
in interface AtmComboVisitor<Boolean,VisitHistory>
visitWildcard_Array
in class AbstractAtmComboVisitor<Boolean,VisitHistory>
public Boolean visitWildcard_Declared(AnnotatedTypeMirror.AnnotatedWildcardType subtype, AnnotatedTypeMirror.AnnotatedDeclaredType supertype, VisitHistory visited)
visitWildcard_Declared
in interface AtmComboVisitor<Boolean,VisitHistory>
visitWildcard_Declared
in class AbstractAtmComboVisitor<Boolean,VisitHistory>
public Boolean visitWildcard_Typevar(AnnotatedTypeMirror.AnnotatedWildcardType subtype, AnnotatedTypeMirror.AnnotatedTypeVariable supertype, VisitHistory visited)
visitWildcard_Typevar
in interface AtmComboVisitor<Boolean,VisitHistory>
visitWildcard_Typevar
in class AbstractAtmComboVisitor<Boolean,VisitHistory>
public Boolean visitWildcardSupertype(AnnotatedTypeMirror subtype, AnnotatedTypeMirror.AnnotatedWildcardType supertype, VisitHistory visited)
public Boolean visitTypevarSupertype(AnnotatedTypeMirror subtype, AnnotatedTypeMirror.AnnotatedTypeVariable supertype, VisitHistory visited)
public Boolean visitTypeVarSubtype(AnnotatedTypeMirror.AnnotatedTypeVariable subtype, AnnotatedTypeMirror supertype, VisitHistory visited)