Inspectopedia 2025.1 Help

Java 21

Explicit class declaration can be converted into implicitly declared class  

Reports ordinary classes, which can be converted into implicitly declared classes Example: public class Sample { public static void main(String[] args) { System.out.println("Hello, world!"); } } After the quick-fix is applied: public static void main(String[] args) { System.out.println("Hello, world!"); }.

Implicitly declared class can be replaced with ordinary class  

Reports implicitly declared classes and suggests replacing them with regular classes.

Record pattern can be used  

Reports patterns that can be replaced with record patterns.

SequencedCollection method can be used  

Reports collection API method calls that can be simplified using SequencedCollection methods.

String template can be concatenated string  

Reports string template expressions using the STR processor and offers a quick-fix to migrate back to a plain string concatenation.

String template can be used  

Reports String concatenations that can be simplified by replacing them with a string template.

01 April 2025