Inspectopedia Help

Unnecessary qualified reference

Reports fully qualified references, which can be replaced with import.

Example:

def swingBuilder = new groovy.swing.SwingBuilder()

After the quick-fix is applied:

import groovy.swing.SwingBuilder def swingBuilder = new SwingBuilder()

Inspection Details

By default bundled with:

IntelliJ IDEA 2024.1, Qodana for JVM 2024.1,

Can be installed with plugin:

Groovy, 241.16690

Last modified: 29 April 2024