@Override
  public boolean isValidInContext(PsiElement element) {
    return element instanceof PsiClass || element instanceof PsiField;
  }
@Override
  public boolean isValidInContext(PsiElement element)