code: @Override
  	public boolean eIsSet(int featureID) {
  		switch (featureID) {
  			case XtextPackage.GRAMMAR__NAME:
  				return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
  			case XtextPackage.GRAMMAR__USED_GRAMMARS:
  				return usedGrammars != null && !usedGrammars.isEmpty();
  			case XtextPackage.GRAMMAR__DEFINES_HIDDEN_TOKENS:
  				return definesHiddenTokens != DEFINES_HIDDEN_TOKENS_EDEFAULT;
  			case XtextPackage.GRAMMAR__HIDDEN_TOKENS:
  				return hiddenTokens != null && !hiddenTokens.isEmpty();
  			case XtextPackage.GRAMMAR__METAMODEL_DECLARATIONS:
  				return metamodelDeclarations != null && !metamodelDeclarations.isEmpty();
  			case XtextPackage.GRAMMAR__RULES:
  				return rules != null && !rules.isEmpty();
  		}
  		return super.eIsSet(featureID);
  	}
docs: <!-- begin-user-doc -->
  <!-- end-user-doc -->
  @generated