private static void handleNewifiedClass(@NotNull PsiElement referringElement, @NotNull PsiClass targetClass) {
    PsiFile file = referringElement.getContainingFile();
    if (file instanceof GroovyFile) {
      ((GroovyFile)file).importClass(targetClass);
      JavaModuleGraphUtil.addDependency(file, targetClass, null);
    }
  }
private static void handleNewifiedClass(@NotNull PsiElement referringElement, @NotNull PsiClass targetClass)