mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-31 11:20:55 +07:00
- removed `commitDocument` call when `isQuick` argument is passed - pass `element` or `null` to `equalsToText` call (since there is not real need to take it for text comparison) GitOrigin-RevId: 27c5e1a2f484fc56d41dfd210832ae94c9a9b7ab
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[]{});
|
|
}
|
|
} |