Files
openide/java/java-impl/resources/inspectionDescriptions/ExplicitToImplicitClassMigration.html
2025-07-02 17:32:09 +00:00

25 lines
662 B
HTML

<html>
<body>
Reports ordinary classes, which can be converted into compact source files
<p><b>Example:</b></p>
<pre><code>
public class Sample {
public static void main(String[] args) {
System.out.println("Hello, world!");
}
}
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
void main() {
IO.println("Hello, world!");
}
</code></pre>
<!-- tooltip end -->
<p>Configure the inspection:</p>
<ul>
<li>Select <b>Replace 'System.out.print()' and 'System.out.println()' with methods from 'java.lang.IO' class</b> to convert these calls to IO methods.</li>
</ul>
<p><small>New in 2024.1</small></p>
</body>
</html>