Inspectopedia 2024.3 Help

Style

Java-style property access   New in this release

Reports properties accessed via method calls.

Method call can be replaced with operator invocation   New in this release

Reports method calls that can be replaced with operator invocations.

Operator invocation can be replaced with method call   New in this release

Reports operator invocations that can be replaced with method calls.

String style violation   New in this release

Reports strings with quotation that doesn't match code style.

Ternary expression   New in this release

Reports ternary expressions.

Unnecessary 'def'   New in this release

Reports unnecessary def modifiers when used with explicit type declaration.

Unnecessary 'final'   New in this release

Reports unnecessary final modifiers when used with the record definition.

Unnecessary 'non-sealed' modifier   New in this release

Reports unnecessary non-sealed modifiers which used on methods, fields, or variables.

Unnecessary 'public'   New in this release

Reports unnecessary public modifiers as Groovy classes and methods are public by default.

Unnecessary 'sealed' modifier   New in this release

Reports unnecessary sealed modifiers which used on methods, fields, or variables.

Unnecessary import alias   New in this release

Reports unnecessary import aliases.

Unnecessary semicolon  

Reports unnecessary semicolons.

Last modified: 11 September 2024