You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove left-overs from Java 1.7 type inference (#4625)
The following are no longer needed since compiler support for 1.7 was dropped:
+ class InferenceContext
+ methods collectSubstitutes() which held the only remaining references to InferenceContext
See #4625
Copy file name to clipboardExpand all lines: org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/internal/compiler/lookup/ParameterizedTypeBinding.java
-110Lines changed: 0 additions & 110 deletions
Original file line number
Diff line number
Diff line change
@@ -270,116 +270,6 @@ public List<TypeBinding> collectMissingTypes(List<TypeBinding> missingTypes) {
270
270
returnmissingTypes;
271
271
}
272
272
273
-
/**
274
-
* Collect the substitutes into a map for certain type variables inside the receiver type
275
-
* e.g. {@code Collection<T>.collectSubstitutes(Collection<List<X>>, Map)} will populate Map with: {@code T --> List<X>}
276
-
* Constraints:
277
-
* <pre>{@code
278
-
* A << F corresponds to: F.collectSubstitutes(..., A, ..., CONSTRAINT_EXTENDS (1))
279
-
* A = F corresponds to: F.collectSubstitutes(..., A, ..., CONSTRAINT_EQUAL (0))
280
-
* A >> F corresponds to: F.collectSubstitutes(..., A, ..., CONSTRAINT_SUPER (2))
0 commit comments