mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 20:33:31 +07:00
GitOrigin-RevId: 1c63811f47a794614121a45f48f8df02b69baaac
17 lines
282 B
Java
17 lines
282 B
Java
// "Create field 'foo' in 'Target'" "false"
|
|
|
|
public class MethodReference {
|
|
void test() {
|
|
Supplier<Target> supplier = Target::new;
|
|
Supplier<Target> s = Target::<caret>foo;
|
|
}
|
|
}
|
|
|
|
class Target {
|
|
|
|
private Target() {}
|
|
|
|
private static Target foo() {
|
|
return null;
|
|
}
|
|
} |