@Override
  public boolean isSafeDeleteAvailable(@NotNull PsiElement element) {
    return element instanceof GrTypeDefinition ||
           element instanceof GrField ||
           element instanceof GrMethod;
  }
@Override
  public boolean isSafeDeleteAvailable(@NotNull PsiElement element)