mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
10 lines
218 B
Java
10 lines
218 B
Java
// "Insert '.doSomething' to call functional interface method" "true-preview"
|
|
public class Test {
|
|
interface MyFn {
|
|
void doSomething(String s, int i);
|
|
}
|
|
|
|
public void test(MyFn fn) {
|
|
fn.doSomething();
|
|
}
|
|
} |