File tree Expand file tree Collapse file tree 2 files changed +3
-29
lines changed Expand file tree Collapse file tree 2 files changed +3
-29
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 99import org .checkerframework .framework .type .SubtypeVisitHistory ;
1010import org .checkerframework .javacutil .BugInCF ;
1111
12- import checkers .inference .model .Slot ;
13-
1412import javax .lang .model .element .AnnotationMirror ;
1513
14+ import checkers .inference .model .Slot ;
15+
1616/**
1717 * The InferenceTypeHierarchy along with the InferenceQualifierHierarchy is responsible for
1818 * creating a subtype and equality constraints. Normally the methods of these two classes are queried
@@ -27,6 +27,7 @@ public class InferenceTypeHierarchy extends DefaultTypeHierarchy {
2727 private final AnnotationMirror varAnnot ;
2828 // TODO: Think this through, add any missing constraints
2929
30+
3031 /**
3132 * Constructs an instance of {@code TypeHierarchy} for the type system
3233 * whose qualifiers represented in qualifierHierarchy.
@@ -51,12 +52,6 @@ public StructuralEqualityComparer createEqualityComparer() {
5152 return new InferenceEqualityComparer (this .typeargVisitHistory ,
5253 InferenceQualifierHierarchy .findVarAnnot (qualifierHierarchy .getTopAnnotations ()));
5354 }
54-
55- @ Override
56- public boolean isSubtype (
57- final AnnotatedTypeMirror subtype , final AnnotatedTypeMirror supertype ) {
58- return isSubtype (subtype , supertype , varAnnot );
59- }
6055}
6156
6257class InferenceEqualityComparer extends StructuralEqualityComparer {
You can’t perform that action at this time.
0 commit comments