blob: 6ec908b222f85ccd434e4c6dc35ee962e9ce35e1 [file] [log] [blame]
public class FooBar {
private static final class Bar1 {
private Bar1() {
}
}
private interface I<T> {
T create();
}
static void foo(I intf) {}
public static void main(String[] args) throws Exception {
foo(Bar1::new);
}
}