[java] IJ-CR-167924 IDEA-371865 Inspection to convert 'System.out'<->'IO'

- add case for several qualifiers

GitOrigin-RevId: e422d2f595e29a3ff3f56f01dbbc6fa7c52d9e8d
This commit is contained in:
Mikhail Pyltsin
2025-07-09 19:21:06 +00:00
committed by intellij-monorepo-bot
parent fc8c261302
commit b12ff61e37
3 changed files with 273 additions and 83 deletions
@@ -19,10 +19,10 @@ public final class MigrateFromJavaLangIoInspection extends AbstractBaseJavaLocal
CallMatcher.anyOf(
CallMatcher.staticCall(JAVA_LANG_IO, "println")
.parameterCount(0)
.allowUnresolved(),
.allowStaticUnresolved(),
CallMatcher.staticCall(JAVA_LANG_IO, "println", "print")
.parameterCount(1)
.allowUnresolved()
.allowStaticUnresolved()
);
@Override