@VisibleForTesting
  @Override
  public boolean isValidForClass(final PsiClass targetClass) {
    return super.isValidForClass(targetClass) && !(targetClass instanceof PsiAnonymousClass) && !(targetClass instanceof PsiImplicitClass);
  }
@VisibleForTesting
  @Override
  public boolean isValidForClass(final PsiClass targetClass)