public boolean isEnabledOnElement(PsiElement element, @Nullable Editor editor) {
    return isEnabledOnElement(element);
  }
public boolean isEnabledOnElement(PsiElement element, @Nullable Editor editor)