blob: d5aaa2b77b665e0f1e89e8b1cd6084a0e8ec49b5 [file] [log] [blame]
@SuppressWarnings("all") // Just check for crashes.
abstract class Issue4083 {
abstract void use(Predicate<Annotation> predicate);
void go() {
use(Annotation::b);
}
@interface Annotation {
boolean b() default false;
}
interface Predicate<T> {
boolean apply(T t);
}
}