@Override
  public boolean isEnabledOn(PsiElement element) {
    return PsiTreeUtil.getParentOfType(element, PsiMethod.class, false) != null;
  }
@Override
  public boolean isEnabledOn(PsiElement element)