Inspectopedia 2025.3 Help

Lombok annotations

Offers general inspections for Lombok annotations.

Warnings and errors reported by this inspection aim to match 1:1 the warnings and errors reported by the Lombok annotation processor at compile-time, such as:

  • Redundantly applied annotation (reported as a warning)

    Example:

    @ToString class Person { final String name; final int age; @Override public String toString() { return "Person{name='" + name + "', age=" + age + '}'; } }

    Quick-fix suggests removing the redundant annotation.

  • Incorrectly applied annotation (reported as an error)

    Example:

    @Value record Person(String name, int age) {}

    Quick-fix suggests removing the invalid annotation.

Locating this inspection

By ID

Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.

Lombok
Via Settings dialog

Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.

Settings or Preferences | Editor | Inspections | Java | Lombok

Inspection ID: Lombok

Suppressing Inspection

You can suppress this inspection by placing the following comment marker before the code fragment where you no longer want messages from this inspection to appear:

//noinspection Lombok

More detailed instructions as well as other ways and options that you have can be found in the product documentation:

Inspection Details

By default bundled with:

IntelliJ IDEA 2025.3, Qodana for JVM 2025.3,

Last modified: 03 December 2025