@Override
  public boolean isEnabledOnElements(PsiElement @NotNull [] elements) {
    return elements.length == 1 && elements[0] instanceof PsiClass && elements[0].getLanguage() == JavaLanguage.INSTANCE;
  }
@Override
  public boolean isEnabledOnElements(PsiElement @NotNull [] elements)