blob: 1433b2ba1a695b0735bd41b44d0e7fa98e7b5718 [file] [log] [blame]
import java.util.Map;
import java.util.List;
import java.util.ArrayList;
class Clazz {
void f(Map<Integer,String> map) {
Number n = new Integer(3);
if (map.containsKey(n)) {
return;
}
}
void foo(List<? extends Number> c) {
c.contains(<warning descr="'List<? extends Number>' may not contain objects of type 'String'">""</warning>);
}
}