use of org.jetbrains.plugins.groovy.editor.GroovyImportOptimizer in project intellij-community by JetBrains.
the class GroovyOptimizeImportsFix method invoke.
@Override
public void invoke(@NotNull Project project, Editor editor, PsiFile file) throws IncorrectOperationException {
final Runnable optimize = new GroovyImportOptimizer().processFile(file);
invokeOnTheFlyImportOptimizer(optimize, file, editor);
}
Aggregations