mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
16 lines
324 B
Java
16 lines
324 B
Java
// "Make 'filter()' static" "false"
|
|
|
|
import java.util.function.Predicate;
|
|
|
|
class PrivateMethodRef {
|
|
boolean filter(final String s) {
|
|
return false;
|
|
}
|
|
}
|
|
|
|
class Some {
|
|
public static void main(String[] args) {
|
|
PrivateMethodRef ref = new PrivateMethodRef();
|
|
Predicate<String> filter2 = ref::fi<caret>lter;
|
|
}
|
|
} |