mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 09:19:13 +07:00
new inference: collect during inference substitutor from inference variables and replace them with type parameters at the very end, excluding foreign variables so e.g. no essential dependency would get overridden by type parameter from sibling call (IDEA-140387)
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
import java.util.*;
|
||||
|
||||
abstract class Test {
|
||||
{
|
||||
hasEntry(equalTo("parentId"), equalTo(1));
|
||||
}
|
||||
|
||||
public abstract <T> List<T> equalTo(T operand);
|
||||
public abstract <K, V> void hasEntry(List<? super K> keyMatcher, List<? super V> valueMatcher);
|
||||
}
|
||||
Reference in New Issue
Block a user