mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 08:51:02 +07:00
onDemand static imports may include non-static imports but not vice versa => some unused imports can be found if inner class is available both though static import and through non-static import as well GitOrigin-RevId: 6ee10ba1490011b9f07b660ae326599ebaf5134e
10 lines
200 B
Java
10 lines
200 B
Java
import static pack.sample.Sample.Foo;
|
|
import static pack.sample.Sample.Type;
|
|
|
|
class Bar {
|
|
public static void main(String[] args) {
|
|
System.out.println(Foo);
|
|
System.out.println(Type.T);
|
|
}
|
|
}
|