Files
openide/java/java-impl/resources/inspectionDescriptions/ImplicitToExplicitClassBackwardMigration.html
Mikhail Pyltsinandintellij-monorepo-bot 26814db524 [java-inspections] WIP IDEA-374760 Move implicit classes inspections to Java 25 migration aids category
- move to java 25 folder
- update tests and fix error with incorrect resolve with new language levels
- IO.println will be updated later

GitOrigin-RevId: 93985096433766e33178da6048ce4554063841a2
2025-06-24 23:04:26 +00:00

24 lines
543 B
HTML

<html>
<body>
Reports compact source files and suggests replacing them with regular classes.
<p><b>Example (in file Sample.java):</b></p>
<pre><code>
void main() {
String a = "Hello, world!";
}
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
public class Sample {
void main() {
String a = "Hello, world!";
}
}
</code></pre>
<!-- tooltip end -->
<p>
This inspection can help to downgrade for backward compatibility with earlier Java versions.
</p>
<p><small>New in 2024.1</small></p>
</body>
</html>