mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 10:51:06 +07:00
17 lines
348 B
Java
17 lines
348 B
Java
// "Create method 'fooBar'" "true"
|
|
import java.util.function.Consumer;
|
|
|
|
class MyTest {
|
|
public void testMethod() {
|
|
overloadOtherParam("anything", this::foo<caret>Bar);
|
|
}
|
|
|
|
|
|
private void overloadOtherParam(String anything, Consumer<String> consumer) {
|
|
}
|
|
|
|
private void overloadOtherParam(int anything, Consumer<String> consumer) {
|
|
}
|
|
|
|
}
|