mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-03 15:50:52 +07:00
wildcard bounds composition (IDEA-113297)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
public class Test {
|
||||
|
||||
{
|
||||
addListener(this::editPropertyChanged);
|
||||
}
|
||||
|
||||
void addListener(ChangeListener<? super Boolean> changeListener){}
|
||||
|
||||
public void editPropertyChanged(Value<? extends Boolean> property) {}
|
||||
|
||||
|
||||
interface ChangeListener <T> {
|
||||
void changed(Value<? extends T> value);
|
||||
}
|
||||
|
||||
class Value<K> {}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user