Back to Intellij Community

MigrateFromJavaLangIo

java/java-impl/resources/inspectionDescriptions/MigrateFromJavaLangIo.html

2025.3-rc-2442 B
Original Source

Reports IO.println() and IO.print() calls and suggests replacing them with System.out methods.

This inspection helps migrate code from java.lang.IO class back to traditional System.out calls.

Example:

IO.println("Hello, World!");

After the quick-fix is applied:

System.out.println("Hello, World!");

This inspection can help to downgrade for backward compatibility with earlier Java versions.

New in 2025.2