mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 23:20:57 +07:00
18 lines
238 B
Java
18 lines
238 B
Java
// "Replace with method reference" "true-preview"
|
|
class Main {
|
|
|
|
interface A {
|
|
<K> void foo();
|
|
}
|
|
|
|
static void mm(){}
|
|
|
|
{
|
|
A a = new A<caret>() {
|
|
@Override
|
|
public <K> void foo() {
|
|
mm();
|
|
}
|
|
};
|
|
}
|
|
} |