mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
19 lines
253 B
Java
19 lines
253 B
Java
// "Replace with method reference" "true"
|
|
class Test {
|
|
|
|
private void doTest (){}
|
|
|
|
void foo(Runnable r){}
|
|
|
|
{
|
|
foo (new Ru<caret>nnable() {
|
|
@Override
|
|
public void run() {
|
|
//some comment
|
|
doTest();
|
|
}
|
|
});
|
|
}
|
|
|
|
}
|