mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 10:51:06 +07:00
17 lines
253 B
Java
17 lines
253 B
Java
// "Create method 'foo'" "true-preview"
|
|
class A {
|
|
private List<? extends CharSequence> sequences = null;
|
|
|
|
{
|
|
foo(sequences.map());
|
|
}
|
|
|
|
private void foo(List<?> map) {
|
|
|
|
}
|
|
|
|
interface List<T> {
|
|
List<? super T> map();
|
|
}
|
|
}
|