@Override
  protected boolean isEnabledOnElements(PsiElement @NotNull [] elements) {
    return elements.length == 1 && elements[0] instanceof PsiMethod;
  }
@Override
  protected boolean isEnabledOnElements(PsiElement @NotNull [] elements)