mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 10:20:56 +07:00
28 lines
471 B
Java
28 lines
471 B
Java
import java.io.IOException;
|
|
|
|
class Test {
|
|
{
|
|
query(() -> {
|
|
process();
|
|
});
|
|
}
|
|
|
|
public static void process() throws IOException {}
|
|
|
|
private <T> void <warning descr="Private method 'query(Test.B<T>)' is never used">query</warning>(B<T> var2) {
|
|
System.out.println(var2);
|
|
|
|
}
|
|
|
|
private void query( A rch) {
|
|
System.out.println(rch);
|
|
}
|
|
|
|
interface A {
|
|
void m() throws IOException;
|
|
}
|
|
|
|
interface B<T> {
|
|
T n() throws IOException;
|
|
}
|
|
} |