Inspections Widget

The top-right corner of your editor shows you information about the state of your class

The inspections widget offers you information about the state of your code at a glance. You will see information for errors, warnings, weak warnings, server problems, grammar errors and typos for your class. You can choose to highlight them all and press F2 to navigate between them.

Related Resources

Go to Next Error
Quickly move to the next (or previous) error or warning in the file.
Context Actions
Use Alt+Enter to show available context actions
Convert class to record
Use inspections to convert classes to Java 16 records