@Override
  public @Nullable FileModifier getFileModifierForPreview(@NotNull PsiFile target) {
    List<PsiMethod> candidates = getCandidates();
    if (candidates.size() != 1) {
      return null;
    }
    GrMethodCall call = myMethodCall.getElement();
    if (call == null) {
      return null;
    }
    GrMethodCall copy = PsiTreeUtil.findSameElementInCopy(call, target);
    GroovyStaticImportMethodFix fix = new GroovyStaticImportMethodFix(copy);
    fix.myCandidates = candidates;
    return fix;
  }
@Override
  public @Nullable FileModifier getFileModifierForPreview(@NotNull PsiFile target)