mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 05:09:37 +07:00
15 lines
345 B
Java
15 lines
345 B
Java
// "Add on demand static import for 'test.Bar'" "true"
|
|
package test;
|
|
|
|
import static test.Bar.*;
|
|
|
|
class Bar {
|
|
public static final void f() {}
|
|
}
|
|
public class Foo {
|
|
public static final void f(int i) {}
|
|
|
|
{
|
|
<caret>Bar.f(); // invoke 'add on demand static import' for Bar class here. The call is now done to other method.
|
|
}
|
|
} |