@Override
  protected boolean validClass(PsiClass parentClass, PsiExpression selectedExpr, Editor editor) {
    return canIntroduceField(parentClass, selectedExpr.getType(), editor);
  }
@Override
  protected boolean validClass(PsiClass parentClass, PsiExpression selectedExpr, Editor editor)