[java-import] IDEA-366927 and IDEA-366926 improve auto-import

- use code style for on-demand imports
- support members for auto-import, not the whole class

GitOrigin-RevId: 32d14c06819a1b1062b081756f614113e22c9858
This commit is contained in:
Mikhail Pyltsin
2025-02-04 18:49:22 +01:00
committed by intellij-monorepo-bot
parent cf99cef8c7
commit 3402d737d7
27 changed files with 260 additions and 37 deletions

View File

@@ -1,4 +1,4 @@
import static java.util.Objects.*;
import static java.util.Objects.requireNonNull;
class Foo {
void m() {