@Override
  protected PsiClass getTargetClass(Editor editor, PsiFile file) {
    final PsiClass targetClass = super.getTargetClass(editor, file);
    return targetClass == null || targetClass instanceof PsiAnonymousClass || targetClass instanceof PsiImplicitClass || targetClass.isEnum() ? null : targetClass;
  }
@Override
  protected PsiClass getTargetClass(Editor editor, PsiFile file)