mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-22 16:19:35 +07:00
123242c4b2
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
14 lines
233 B
Java
14 lines
233 B
Java
interface A {
|
|
void enableInspections(B... providers);
|
|
void enableInspections(Runnable r, String... inspections);
|
|
}
|
|
|
|
interface B {
|
|
Class[] get();
|
|
}
|
|
|
|
class C {
|
|
void foo(A a) {
|
|
a.enableInspections(() -> new Class[]{});
|
|
}
|
|
} |