@Override
  public void removeRedundantImports(PsiFile targetClassFile) {
    if (!(targetClassFile instanceof GroovyFile file)) return;
    for (GrImportStatement unusedImport : unusedImports(file)) {
      file.removeImport(unusedImport);
    }
  }
@Override
  public void removeRedundantImports(PsiFile targetClassFile)