blob: 650114b06e50509c7745964516ed043f5cb66f59 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
import java.util.Collection;
import java.util.List;
class Test {
{
Matcher<? super List<String>> m = not(empty());
}
static <E> Matcher<Collection<E>> empty() {
return null;
}
static <T> Matcher<T> not(Matcher<T> matcher) {
return null;
}
static <T> Matcher<T> not(T value) {
return null;
}
static class Matcher<K> {}
}
|