mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 09:20:53 +07:00
20 lines
310 B
Java
20 lines
310 B
Java
// "Create method 'run'" "true-preview"
|
|
class Bug {
|
|
|
|
interface Foo<X> {
|
|
void run(X x);
|
|
}
|
|
|
|
public static void main(String[] args) {
|
|
new Foo<Bug>() {
|
|
@Override
|
|
public void run(Bug o) {
|
|
o.run();
|
|
}
|
|
};
|
|
}
|
|
|
|
private void run() {
|
|
<selection></selection>
|
|
}
|
|
} |