diff --git a/org.eclipse.xtend.ide.common/src-gen/org/eclipse/xtend/ide/common/contentassist/antlr/XtendParser.java b/org.eclipse.xtend.ide.common/src-gen/org/eclipse/xtend/ide/common/contentassist/antlr/XtendParser.java index c129b5f0a23..c689f729de4 100644 --- a/org.eclipse.xtend.ide.common/src-gen/org/eclipse/xtend/ide/common/contentassist/antlr/XtendParser.java +++ b/org.eclipse.xtend.ide.common/src-gen/org/eclipse/xtend/ide/common/contentassist/antlr/XtendParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtend.ide.common.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtend.core.services.XtendGrammarAccess; import org.eclipse.xtend.ide.common.contentassist.antlr.internal.InternalXtendParser; @@ -26,788 +26,788 @@ public static final class NameMappings { @Inject public NameMappings(XtendGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, XtendGrammarAccess grammarAccess) { - builder.put(grammarAccess.getTypeAccess().getAlternatives_2(), "rule__Type__Alternatives_2"); - builder.put(grammarAccess.getJvmSuperTypeReferenceAccess().getAlternatives(), "rule__JvmSuperTypeReference__Alternatives"); - builder.put(grammarAccess.getAnnotationFieldAccess().getAlternatives_2(), "rule__AnnotationField__Alternatives_2"); - builder.put(grammarAccess.getAnnotationFieldAccess().getAlternatives_2_0_0(), "rule__AnnotationField__Alternatives_2_0_0"); - builder.put(grammarAccess.getMemberAccess().getAlternatives_2(), "rule__Member__Alternatives_2"); - builder.put(grammarAccess.getMemberAccess().getAlternatives_2_0_2(), "rule__Member__Alternatives_2_0_2"); - builder.put(grammarAccess.getMemberAccess().getAlternatives_2_0_2_1_1(), "rule__Member__Alternatives_2_0_2_1_1"); - builder.put(grammarAccess.getMemberAccess().getAlternatives_2_1_3(), "rule__Member__Alternatives_2_1_3"); - builder.put(grammarAccess.getMemberAccess().getAlternatives_2_1_5(), "rule__Member__Alternatives_2_1_5"); - builder.put(grammarAccess.getMemberAccess().getAlternatives_2_1_9(), "rule__Member__Alternatives_2_1_9"); - builder.put(grammarAccess.getTypeReferenceWithTypeArgsAccess().getAlternatives(), "rule__TypeReferenceWithTypeArgs__Alternatives"); - builder.put(grammarAccess.getFunctionIDAccess().getAlternatives(), "rule__FunctionID__Alternatives"); - builder.put(grammarAccess.getOperatorsAccess().getAlternatives(), "rule__Operators__Alternatives"); - builder.put(grammarAccess.getCommonModifierAccess().getAlternatives(), "rule__CommonModifier__Alternatives"); - builder.put(grammarAccess.getFieldModifierAccess().getAlternatives(), "rule__FieldModifier__Alternatives"); - builder.put(grammarAccess.getMethodModifierAccess().getAlternatives(), "rule__MethodModifier__Alternatives"); - builder.put(grammarAccess.getValidIDAccess().getAlternatives(), "rule__ValidID__Alternatives"); - builder.put(grammarAccess.getFeatureCallIDAccess().getAlternatives(), "rule__FeatureCallID__Alternatives"); - builder.put(grammarAccess.getInnerVarIDAccess().getAlternatives(), "rule__InnerVarID__Alternatives"); - builder.put(grammarAccess.getXAssignmentAccess().getAlternatives(), "rule__XAssignment__Alternatives"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_2(), "rule__XTryCatchFinallyExpression__Alternatives_2"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_2_0_6_0(), "rule__XTryCatchFinallyExpression__Alternatives_2_0_6_0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_2_1_1(), "rule__XTryCatchFinallyExpression__Alternatives_2_1_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_1(), "rule__XVariableDeclaration__Alternatives_1"); - builder.put(grammarAccess.getInitializedVariableDeclarationAccess().getAlternatives_2(), "rule__InitializedVariableDeclaration__Alternatives_2"); - builder.put(grammarAccess.getVariableModifierAccess().getAlternatives(), "rule__VariableModifier__Alternatives"); - builder.put(grammarAccess.getVariableModifierAccess().getAlternatives_0_0(), "rule__VariableModifier__Alternatives_0_0"); - builder.put(grammarAccess.getVariableModifierAccess().getAlternatives_1_1(), "rule__VariableModifier__Alternatives_1_1"); - builder.put(grammarAccess.getXbaseConstructorCallAccess().getAlternatives_4_1(), "rule__XbaseConstructorCall__Alternatives_4_1"); - builder.put(grammarAccess.getXStringLiteralAccess().getAlternatives(), "rule__XStringLiteral__Alternatives"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2(), "rule__XSwitchExpression__Alternatives_2"); - builder.put(grammarAccess.getXCasePartAccess().getAlternatives_3(), "rule__XCasePart__Alternatives_3"); - builder.put(grammarAccess.getXExpressionOrSimpleConstructorCallAccess().getAlternatives(), "rule__XExpressionOrSimpleConstructorCall__Alternatives"); - builder.put(grammarAccess.getRichStringAccess().getAlternatives_1(), "rule__RichString__Alternatives_1"); - builder.put(grammarAccess.getRichStringLiteralInbetweenAccess().getAlternatives_1(), "rule__RichStringLiteralInbetween__Alternatives_1"); - builder.put(grammarAccess.getRichStringLiteralEndAccess().getAlternatives_1(), "rule__RichStringLiteralEnd__Alternatives_1"); - builder.put(grammarAccess.getRichStringPartAccess().getAlternatives(), "rule__RichStringPart__Alternatives"); - builder.put(grammarAccess.getXAnnotationAccess().getAlternatives_3_1(), "rule__XAnnotation__Alternatives_3_1"); - builder.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getAlternatives(), "rule__XAnnotationElementValueOrCommaList__Alternatives"); - builder.put(grammarAccess.getXAnnotationElementValueAccess().getAlternatives(), "rule__XAnnotationElementValue__Alternatives"); - builder.put(grammarAccess.getXAnnotationOrExpressionAccess().getAlternatives(), "rule__XAnnotationOrExpression__Alternatives"); - builder.put(grammarAccess.getOpMultiAssignAccess().getAlternatives(), "rule__OpMultiAssign__Alternatives"); - builder.put(grammarAccess.getOpEqualityAccess().getAlternatives(), "rule__OpEquality__Alternatives"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getAlternatives_1(), "rule__XRelationalExpression__Alternatives_1"); - builder.put(grammarAccess.getOpCompareAccess().getAlternatives(), "rule__OpCompare__Alternatives"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives(), "rule__OpOther__Alternatives"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives_5_1(), "rule__OpOther__Alternatives_5_1"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives_6_1(), "rule__OpOther__Alternatives_6_1"); - builder.put(grammarAccess.getOpAddAccess().getAlternatives(), "rule__OpAdd__Alternatives"); - builder.put(grammarAccess.getOpMultiAccess().getAlternatives(), "rule__OpMulti__Alternatives"); - builder.put(grammarAccess.getXUnaryOperationAccess().getAlternatives(), "rule__XUnaryOperation__Alternatives"); - builder.put(grammarAccess.getOpUnaryAccess().getAlternatives(), "rule__OpUnary__Alternatives"); - builder.put(grammarAccess.getOpPostfixAccess().getAlternatives(), "rule__OpPostfix__Alternatives"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1(), "rule__XMemberFeatureCall__Alternatives_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_0_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_0_0_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_1_0_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_3_1(), "rule__XMemberFeatureCall__Alternatives_1_1_3_1"); - builder.put(grammarAccess.getXPrimaryExpressionAccess().getAlternatives(), "rule__XPrimaryExpression__Alternatives"); - builder.put(grammarAccess.getXLiteralAccess().getAlternatives(), "rule__XLiteral__Alternatives"); - builder.put(grammarAccess.getXCollectionLiteralAccess().getAlternatives(), "rule__XCollectionLiteral__Alternatives"); - builder.put(grammarAccess.getXExpressionOrVarDeclarationAccess().getAlternatives(), "rule__XExpressionOrVarDeclaration__Alternatives"); - builder.put(grammarAccess.getXFeatureCallAccess().getAlternatives_3_1(), "rule__XFeatureCall__Alternatives_3_1"); - builder.put(grammarAccess.getIdOrSuperAccess().getAlternatives(), "rule__IdOrSuper__Alternatives"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1(), "rule__XBooleanLiteral__Alternatives_1"); - builder.put(grammarAccess.getNumberAccess().getAlternatives(), "rule__Number__Alternatives"); - builder.put(grammarAccess.getNumberAccess().getAlternatives_1_0(), "rule__Number__Alternatives_1_0"); - builder.put(grammarAccess.getNumberAccess().getAlternatives_1_1_1(), "rule__Number__Alternatives_1_1_1"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getAlternatives(), "rule__JvmTypeReference__Alternatives"); - builder.put(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives(), "rule__JvmArgumentTypeReference__Alternatives"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2(), "rule__JvmWildcardTypeReference__Alternatives_2"); - builder.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1(), "rule__XImportDeclaration__Alternatives_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3(), "rule__XImportDeclaration__Alternatives_1_0_3"); - builder.put(grammarAccess.getFileAccess().getGroup(), "rule__File__Group__0"); - builder.put(grammarAccess.getFileAccess().getGroup_0(), "rule__File__Group_0__0"); - builder.put(grammarAccess.getTypeAccess().getGroup(), "rule__Type__Group__0"); - builder.put(grammarAccess.getTypeAccess().getGroup_2_0(), "rule__Type__Group_2_0__0"); - builder.put(grammarAccess.getTypeAccess().getGroup_2_0_4(), "rule__Type__Group_2_0_4__0"); - builder.put(grammarAccess.getTypeAccess().getGroup_2_0_4_2(), "rule__Type__Group_2_0_4_2__0"); - builder.put(grammarAccess.getTypeAccess().getGroup_2_0_5(), "rule__Type__Group_2_0_5__0"); - builder.put(grammarAccess.getTypeAccess().getGroup_2_0_6(), "rule__Type__Group_2_0_6__0"); - builder.put(grammarAccess.getTypeAccess().getGroup_2_0_6_2(), "rule__Type__Group_2_0_6_2__0"); - builder.put(grammarAccess.getTypeAccess().getGroup_2_1(), "rule__Type__Group_2_1__0"); - builder.put(grammarAccess.getTypeAccess().getGroup_2_1_4(), "rule__Type__Group_2_1_4__0"); - builder.put(grammarAccess.getTypeAccess().getGroup_2_1_4_2(), "rule__Type__Group_2_1_4_2__0"); - builder.put(grammarAccess.getTypeAccess().getGroup_2_1_5(), "rule__Type__Group_2_1_5__0"); - builder.put(grammarAccess.getTypeAccess().getGroup_2_1_5_2(), "rule__Type__Group_2_1_5_2__0"); - builder.put(grammarAccess.getTypeAccess().getGroup_2_2(), "rule__Type__Group_2_2__0"); - builder.put(grammarAccess.getTypeAccess().getGroup_2_2_5(), "rule__Type__Group_2_2_5__0"); - builder.put(grammarAccess.getTypeAccess().getGroup_2_2_5_1(), "rule__Type__Group_2_2_5_1__0"); - builder.put(grammarAccess.getTypeAccess().getGroup_2_3(), "rule__Type__Group_2_3__0"); - builder.put(grammarAccess.getXFunctionSuperTypeRefAccess().getGroup(), "rule__XFunctionSuperTypeRef__Group__0"); - builder.put(grammarAccess.getXFunctionSuperTypeRefAccess().getGroup_0(), "rule__XFunctionSuperTypeRef__Group_0__0"); - builder.put(grammarAccess.getXFunctionSuperTypeRefAccess().getGroup_0_1(), "rule__XFunctionSuperTypeRef__Group_0_1__0"); - builder.put(grammarAccess.getXFunctionSuperTypeRefAccess().getGroup_0_1_1(), "rule__XFunctionSuperTypeRef__Group_0_1_1__0"); - builder.put(grammarAccess.getAnnotationFieldAccess().getGroup(), "rule__AnnotationField__Group__0"); - builder.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_0(), "rule__AnnotationField__Group_2_0__0"); - builder.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_0_0_0(), "rule__AnnotationField__Group_2_0_0_0__0"); - builder.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_0_0_1(), "rule__AnnotationField__Group_2_0_0_1__0"); - builder.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_0_1(), "rule__AnnotationField__Group_2_0_1__0"); - builder.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_1(), "rule__AnnotationField__Group_2_1__0"); - builder.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_1_4(), "rule__AnnotationField__Group_2_1_4__0"); - builder.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_1_4_2(), "rule__AnnotationField__Group_2_1_4_2__0"); - builder.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_1_5(), "rule__AnnotationField__Group_2_1_5__0"); - builder.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_1_6(), "rule__AnnotationField__Group_2_1_6__0"); - builder.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_1_6_2(), "rule__AnnotationField__Group_2_1_6_2__0"); - builder.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_2(), "rule__AnnotationField__Group_2_2__0"); - builder.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_2_4(), "rule__AnnotationField__Group_2_2_4__0"); - builder.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_2_4_2(), "rule__AnnotationField__Group_2_2_4_2__0"); - builder.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_2_5(), "rule__AnnotationField__Group_2_2_5__0"); - builder.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_2_5_2(), "rule__AnnotationField__Group_2_2_5_2__0"); - builder.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_3(), "rule__AnnotationField__Group_2_3__0"); - builder.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_3_5(), "rule__AnnotationField__Group_2_3_5__0"); - builder.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_3_5_1(), "rule__AnnotationField__Group_2_3_5_1__0"); - builder.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_4(), "rule__AnnotationField__Group_2_4__0"); - builder.put(grammarAccess.getMemberAccess().getGroup(), "rule__Member__Group__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_0(), "rule__Member__Group_2_0__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_0_2_0(), "rule__Member__Group_2_0_2_0__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_0_2_1(), "rule__Member__Group_2_0_2_1__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_0_2_2(), "rule__Member__Group_2_0_2_2__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_0_2_3(), "rule__Member__Group_2_0_2_3__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_0_3(), "rule__Member__Group_2_0_3__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_1(), "rule__Member__Group_2_1__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_1_4(), "rule__Member__Group_2_1_4__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_1_4_2(), "rule__Member__Group_2_1_4_2__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_1_5_0(), "rule__Member__Group_2_1_5_0__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_1_5_0_0(), "rule__Member__Group_2_1_5_0_0__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_1_5_1(), "rule__Member__Group_2_1_5_1__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_1_5_1_0(), "rule__Member__Group_2_1_5_1_0__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_1_5_2(), "rule__Member__Group_2_1_5_2__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_1_5_2_0(), "rule__Member__Group_2_1_5_2_0__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_1_5_3(), "rule__Member__Group_2_1_5_3__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_1_5_3_0(), "rule__Member__Group_2_1_5_3_0__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_1_5_4(), "rule__Member__Group_2_1_5_4__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_1_6(), "rule__Member__Group_2_1_6__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_1_6_1(), "rule__Member__Group_2_1_6_1__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_1_8(), "rule__Member__Group_2_1_8__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_1_8_2(), "rule__Member__Group_2_1_8_2__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_2(), "rule__Member__Group_2_2__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_2_3(), "rule__Member__Group_2_2_3__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_2_3_2(), "rule__Member__Group_2_2_3_2__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_2_5(), "rule__Member__Group_2_2_5__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_2_5_1(), "rule__Member__Group_2_2_5_1__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_2_7(), "rule__Member__Group_2_2_7__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_2_7_2(), "rule__Member__Group_2_2_7_2__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_3(), "rule__Member__Group_2_3__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_3_4(), "rule__Member__Group_2_3_4__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_3_4_2(), "rule__Member__Group_2_3_4_2__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_3_5(), "rule__Member__Group_2_3_5__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_3_6(), "rule__Member__Group_2_3_6__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_3_6_2(), "rule__Member__Group_2_3_6_2__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_4(), "rule__Member__Group_2_4__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_4_4(), "rule__Member__Group_2_4_4__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_4_4_2(), "rule__Member__Group_2_4_4_2__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_4_5(), "rule__Member__Group_2_4_5__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_4_5_2(), "rule__Member__Group_2_4_5_2__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_5(), "rule__Member__Group_2_5__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_5_5(), "rule__Member__Group_2_5_5__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_5_5_1(), "rule__Member__Group_2_5_5_1__0"); - builder.put(grammarAccess.getMemberAccess().getGroup_2_6(), "rule__Member__Group_2_6__0"); - builder.put(grammarAccess.getTypeReferenceWithTypeArgsAccess().getGroup_0(), "rule__TypeReferenceWithTypeArgs__Group_0__0"); - builder.put(grammarAccess.getTypeReferenceWithTypeArgsAccess().getGroup_0_1(), "rule__TypeReferenceWithTypeArgs__Group_0_1__0"); - builder.put(grammarAccess.getTypeReferenceWithTypeArgsAccess().getGroup_0_1_0(), "rule__TypeReferenceWithTypeArgs__Group_0_1_0__0"); - builder.put(grammarAccess.getTypeReferenceWithTypeArgsAccess().getGroup_1(), "rule__TypeReferenceWithTypeArgs__Group_1__0"); - builder.put(grammarAccess.getTypeReferenceWithTypeArgsAccess().getGroup_1_1(), "rule__TypeReferenceWithTypeArgs__Group_1_1__0"); - builder.put(grammarAccess.getTypeReferenceWithTypeArgsAccess().getGroup_1_1_0(), "rule__TypeReferenceWithTypeArgs__Group_1_1_0__0"); - builder.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getGroup(), "rule__ParameterizedTypeReferenceWithTypeArgs__Group__0"); - builder.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getGroup_1(), "rule__ParameterizedTypeReferenceWithTypeArgs__Group_1__0"); - builder.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getGroup_1_2(), "rule__ParameterizedTypeReferenceWithTypeArgs__Group_1_2__0"); - builder.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getGroup_1_4(), "rule__ParameterizedTypeReferenceWithTypeArgs__Group_1_4__0"); - builder.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getGroup_1_4_0(), "rule__ParameterizedTypeReferenceWithTypeArgs__Group_1_4_0__0"); - builder.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getGroup_1_4_0_0(), "rule__ParameterizedTypeReferenceWithTypeArgs__Group_1_4_0_0__0"); - builder.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getGroup_1_4_2(), "rule__ParameterizedTypeReferenceWithTypeArgs__Group_1_4_2__0"); - builder.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getGroup_1_4_2_2(), "rule__ParameterizedTypeReferenceWithTypeArgs__Group_1_4_2_2__0"); - builder.put(grammarAccess.getXtendEnumLiteralAccess().getGroup(), "rule__XtendEnumLiteral__Group__0"); - builder.put(grammarAccess.getCreateExtensionInfoAccess().getGroup(), "rule__CreateExtensionInfo__Group__0"); - builder.put(grammarAccess.getCreateExtensionInfoAccess().getGroup_1(), "rule__CreateExtensionInfo__Group_1__0"); - builder.put(grammarAccess.getParameterAccess().getGroup(), "rule__Parameter__Group__0"); - builder.put(grammarAccess.getParameterAccess().getGroup_1(), "rule__Parameter__Group_1__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_0(), "rule__XAssignment__Group_0__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1(), "rule__XAssignment__Group_1__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1(), "rule__XAssignment__Group_1_1__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0(), "rule__XAssignment__Group_1_1_0__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0_0(), "rule__XAssignment__Group_1_1_0_0__0"); - builder.put(grammarAccess.getXConditionalExpressionAccess().getGroup(), "rule__XConditionalExpression__Group__0"); - builder.put(grammarAccess.getXConditionalExpressionAccess().getGroup_1(), "rule__XConditionalExpression__Group_1__0"); - builder.put(grammarAccess.getXConditionalExpressionAccess().getGroup_1_0(), "rule__XConditionalExpression__Group_1_0__0"); - builder.put(grammarAccess.getXConditionalExpressionAccess().getGroup_1_0_0(), "rule__XConditionalExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXConditionalExpressionAccess().getGroup_1_2(), "rule__XConditionalExpression__Group_1_2__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup(), "rule__XTryCatchFinallyExpression__Group__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_0(), "rule__XTryCatchFinallyExpression__Group_2_0__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_0_2(), "rule__XTryCatchFinallyExpression__Group_2_0_2__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_0_6(), "rule__XTryCatchFinallyExpression__Group_2_0_6__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_0_6_0_0(), "rule__XTryCatchFinallyExpression__Group_2_0_6_0_0__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_0_6_0_0_1(), "rule__XTryCatchFinallyExpression__Group_2_0_6_0_0_1__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_0_6_0_1(), "rule__XTryCatchFinallyExpression__Group_2_0_6_0_1__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_1(), "rule__XTryCatchFinallyExpression__Group_2_1__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_1_1_0(), "rule__XTryCatchFinallyExpression__Group_2_1_1_0__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_1_1_0_1(), "rule__XTryCatchFinallyExpression__Group_2_1_1_0_1__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_1_1_1(), "rule__XTryCatchFinallyExpression__Group_2_1_1_1__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup(), "rule__XVariableDeclaration__Group__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_0(), "rule__XVariableDeclaration__Group_0__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_0_0(), "rule__XVariableDeclaration__Group_0_0__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_1_0(), "rule__XVariableDeclaration__Group_1_0__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_1_0_0(), "rule__XVariableDeclaration__Group_1_0_0__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2(), "rule__XVariableDeclaration__Group_2__0"); - builder.put(grammarAccess.getInitializedVariableDeclarationAccess().getGroup(), "rule__InitializedVariableDeclaration__Group__0"); - builder.put(grammarAccess.getInitializedVariableDeclarationAccess().getGroup_2_0(), "rule__InitializedVariableDeclaration__Group_2_0__0"); - builder.put(grammarAccess.getInitializedVariableDeclarationAccess().getGroup_2_0_0(), "rule__InitializedVariableDeclaration__Group_2_0_0__0"); - builder.put(grammarAccess.getVariableModifierAccess().getGroup_0(), "rule__VariableModifier__Group_0__0"); - builder.put(grammarAccess.getVariableModifierAccess().getGroup_1(), "rule__VariableModifier__Group_1__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup(), "rule__XConstructorCall__Group__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_1(), "rule__XConstructorCall__Group_1__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_1_0(), "rule__XConstructorCall__Group_1_0__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_1_0_0(), "rule__XConstructorCall__Group_1_0_0__0"); - builder.put(grammarAccess.getXbaseConstructorCallAccess().getGroup(), "rule__XbaseConstructorCall__Group__0"); - builder.put(grammarAccess.getXbaseConstructorCallAccess().getGroup_3(), "rule__XbaseConstructorCall__Group_3__0"); - builder.put(grammarAccess.getXbaseConstructorCallAccess().getGroup_3_2(), "rule__XbaseConstructorCall__Group_3_2__0"); - builder.put(grammarAccess.getXbaseConstructorCallAccess().getGroup_4(), "rule__XbaseConstructorCall__Group_4__0"); - builder.put(grammarAccess.getXbaseConstructorCallAccess().getGroup_4_1_1(), "rule__XbaseConstructorCall__Group_4_1_1__0"); - builder.put(grammarAccess.getXbaseConstructorCallAccess().getGroup_4_1_1_1(), "rule__XbaseConstructorCall__Group_4_1_1_1__0"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getGroup(), "rule__JvmFormalParameter__Group__0"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getGroup(), "rule__FullJvmFormalParameter__Group__0"); - builder.put(grammarAccess.getMultiTypeReferenceAccess().getGroup(), "rule__MultiTypeReference__Group__0"); - builder.put(grammarAccess.getMultiTypeReferenceAccess().getGroup_1(), "rule__MultiTypeReference__Group_1__0"); - builder.put(grammarAccess.getMultiTypeReferenceAccess().getGroup_1_1(), "rule__MultiTypeReference__Group_1_1__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup(), "rule__XSwitchExpression__Group__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0(), "rule__XSwitchExpression__Group_2_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0(), "rule__XSwitchExpression__Group_2_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0(), "rule__XSwitchExpression__Group_2_0_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1(), "rule__XSwitchExpression__Group_2_1__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0(), "rule__XSwitchExpression__Group_2_1_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0(), "rule__XSwitchExpression__Group_2_1_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_5(), "rule__XSwitchExpression__Group_5__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup(), "rule__XCasePart__Group__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup_2(), "rule__XCasePart__Group_2__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup_3_0(), "rule__XCasePart__Group_3_0__0"); - builder.put(grammarAccess.getSimpleStringLiteralAccess().getGroup(), "rule__SimpleStringLiteral__Group__0"); - builder.put(grammarAccess.getRichStringAccess().getGroup(), "rule__RichString__Group__0"); - builder.put(grammarAccess.getRichStringAccess().getGroup_1_1(), "rule__RichString__Group_1_1__0"); - builder.put(grammarAccess.getRichStringAccess().getGroup_1_1_2(), "rule__RichString__Group_1_1_2__0"); - builder.put(grammarAccess.getRichStringLiteralAccess().getGroup(), "rule__RichStringLiteral__Group__0"); - builder.put(grammarAccess.getRichStringLiteralStartAccess().getGroup(), "rule__RichStringLiteralStart__Group__0"); - builder.put(grammarAccess.getRichStringLiteralInbetweenAccess().getGroup(), "rule__RichStringLiteralInbetween__Group__0"); - builder.put(grammarAccess.getRichStringLiteralEndAccess().getGroup(), "rule__RichStringLiteralEnd__Group__0"); - builder.put(grammarAccess.getInternalRichStringAccess().getGroup(), "rule__InternalRichString__Group__0"); - builder.put(grammarAccess.getInternalRichStringAccess().getGroup_1(), "rule__InternalRichString__Group_1__0"); - builder.put(grammarAccess.getInternalRichStringAccess().getGroup_1_1(), "rule__InternalRichString__Group_1_1__0"); - builder.put(grammarAccess.getRichStringForLoopAccess().getGroup(), "rule__RichStringForLoop__Group__0"); - builder.put(grammarAccess.getRichStringForLoopAccess().getGroup_5(), "rule__RichStringForLoop__Group_5__0"); - builder.put(grammarAccess.getRichStringForLoopAccess().getGroup_6(), "rule__RichStringForLoop__Group_6__0"); - builder.put(grammarAccess.getRichStringForLoopAccess().getGroup_7(), "rule__RichStringForLoop__Group_7__0"); - builder.put(grammarAccess.getRichStringIfAccess().getGroup(), "rule__RichStringIf__Group__0"); - builder.put(grammarAccess.getRichStringIfAccess().getGroup_5(), "rule__RichStringIf__Group_5__0"); - builder.put(grammarAccess.getRichStringElseIfAccess().getGroup(), "rule__RichStringElseIf__Group__0"); - builder.put(grammarAccess.getXAnnotationAccess().getGroup(), "rule__XAnnotation__Group__0"); - builder.put(grammarAccess.getXAnnotationAccess().getGroup_3(), "rule__XAnnotation__Group_3__0"); - builder.put(grammarAccess.getXAnnotationAccess().getGroup_3_1_0(), "rule__XAnnotation__Group_3_1_0__0"); - builder.put(grammarAccess.getXAnnotationAccess().getGroup_3_1_0_1(), "rule__XAnnotation__Group_3_1_0_1__0"); - builder.put(grammarAccess.getXAnnotationElementValuePairAccess().getGroup(), "rule__XAnnotationElementValuePair__Group__0"); - builder.put(grammarAccess.getXAnnotationElementValuePairAccess().getGroup_0(), "rule__XAnnotationElementValuePair__Group_0__0"); - builder.put(grammarAccess.getXAnnotationElementValuePairAccess().getGroup_0_0(), "rule__XAnnotationElementValuePair__Group_0_0__0"); - builder.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0(), "rule__XAnnotationElementValueOrCommaList__Group_0__0"); - builder.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_0(), "rule__XAnnotationElementValueOrCommaList__Group_0_0__0"); - builder.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_0_0(), "rule__XAnnotationElementValueOrCommaList__Group_0_0_0__0"); - builder.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_1(), "rule__XAnnotationElementValueOrCommaList__Group_0_1__0"); - builder.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_1_1(), "rule__XAnnotationElementValueOrCommaList__Group_0_1_1__0"); - builder.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1(), "rule__XAnnotationElementValueOrCommaList__Group_1__0"); - builder.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1_1(), "rule__XAnnotationElementValueOrCommaList__Group_1_1__0"); - builder.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1_1_1(), "rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0"); - builder.put(grammarAccess.getXAnnotationElementValueAccess().getGroup_0(), "rule__XAnnotationElementValue__Group_0__0"); - builder.put(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_0(), "rule__XAnnotationElementValue__Group_0_0__0"); - builder.put(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_0_0(), "rule__XAnnotationElementValue__Group_0_0_0__0"); - builder.put(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_1(), "rule__XAnnotationElementValue__Group_0_1__0"); - builder.put(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_1_1(), "rule__XAnnotationElementValue__Group_0_1_1__0"); - builder.put(grammarAccess.getOpMultiAssignAccess().getGroup_5(), "rule__OpMultiAssign__Group_5__0"); - builder.put(grammarAccess.getOpMultiAssignAccess().getGroup_6(), "rule__OpMultiAssign__Group_6__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup(), "rule__XOrExpression__Group__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1(), "rule__XOrExpression__Group_1__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0(), "rule__XOrExpression__Group_1_0__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0_0(), "rule__XOrExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup(), "rule__XAndExpression__Group__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1(), "rule__XAndExpression__Group_1__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0(), "rule__XAndExpression__Group_1_0__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0_0(), "rule__XAndExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup(), "rule__XEqualityExpression__Group__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1(), "rule__XEqualityExpression__Group_1__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0(), "rule__XEqualityExpression__Group_1_0__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0_0(), "rule__XEqualityExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup(), "rule__XRelationalExpression__Group__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0(), "rule__XRelationalExpression__Group_1_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0(), "rule__XRelationalExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0_0(), "rule__XRelationalExpression__Group_1_0_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1(), "rule__XRelationalExpression__Group_1_1__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0(), "rule__XRelationalExpression__Group_1_1_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0_0(), "rule__XRelationalExpression__Group_1_1_0_0__0"); - builder.put(grammarAccess.getOpCompareAccess().getGroup_1(), "rule__OpCompare__Group_1__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup(), "rule__XOtherOperatorExpression__Group__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1(), "rule__XOtherOperatorExpression__Group_1__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0(), "rule__XOtherOperatorExpression__Group_1_0__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0_0(), "rule__XOtherOperatorExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_2(), "rule__OpOther__Group_2__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5(), "rule__OpOther__Group_5__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0(), "rule__OpOther__Group_5_1_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0_0(), "rule__OpOther__Group_5_1_0_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6(), "rule__OpOther__Group_6__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0(), "rule__OpOther__Group_6_1_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0_0(), "rule__OpOther__Group_6_1_0_0__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup(), "rule__XAdditiveExpression__Group__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1(), "rule__XAdditiveExpression__Group_1__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0(), "rule__XAdditiveExpression__Group_1_0__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0_0(), "rule__XAdditiveExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup(), "rule__XMultiplicativeExpression__Group__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1(), "rule__XMultiplicativeExpression__Group_1__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0(), "rule__XMultiplicativeExpression__Group_1_0__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0_0(), "rule__XMultiplicativeExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXUnaryOperationAccess().getGroup_0(), "rule__XUnaryOperation__Group_0__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup(), "rule__XCastedExpression__Group__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1(), "rule__XCastedExpression__Group_1__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0(), "rule__XCastedExpression__Group_1_0__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0_0(), "rule__XCastedExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup(), "rule__XPostfixOperation__Group__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup_1(), "rule__XPostfixOperation__Group_1__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup_1_0(), "rule__XPostfixOperation__Group_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup(), "rule__XMemberFeatureCall__Group__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0(), "rule__XMemberFeatureCall__Group_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0(), "rule__XMemberFeatureCall__Group_1_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0_0(), "rule__XMemberFeatureCall__Group_1_0_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1(), "rule__XMemberFeatureCall__Group_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0(), "rule__XMemberFeatureCall__Group_1_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0_0(), "rule__XMemberFeatureCall__Group_1_1_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1_2(), "rule__XMemberFeatureCall__Group_1_1_1_2__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3(), "rule__XMemberFeatureCall__Group_1_1_3__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1_1__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup(), "rule__XSetLiteral__Group__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup_3(), "rule__XSetLiteral__Group_3__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup_3_1(), "rule__XSetLiteral__Group_3_1__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup(), "rule__XListLiteral__Group__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup_3(), "rule__XListLiteral__Group_3__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup_3_1(), "rule__XListLiteral__Group_3_1__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup(), "rule__XClosure__Group__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_0(), "rule__XClosure__Group_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_0_0(), "rule__XClosure__Group_0_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1(), "rule__XClosure__Group_1__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0(), "rule__XClosure__Group_1_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0_0(), "rule__XClosure__Group_1_0_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0_0_1(), "rule__XClosure__Group_1_0_0_1__0"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getGroup(), "rule__XExpressionInClosure__Group__0"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getGroup_1(), "rule__XExpressionInClosure__Group_1__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup(), "rule__XShortClosure__Group__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0(), "rule__XShortClosure__Group_0__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0(), "rule__XShortClosure__Group_0_0__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1(), "rule__XShortClosure__Group_0_0_1__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1_1(), "rule__XShortClosure__Group_0_0_1_1__0"); - builder.put(grammarAccess.getXParenthesizedExpressionAccess().getGroup(), "rule__XParenthesizedExpression__Group__0"); - builder.put(grammarAccess.getXIfExpressionAccess().getGroup(), "rule__XIfExpression__Group__0"); - builder.put(grammarAccess.getXIfExpressionAccess().getGroup_6(), "rule__XIfExpression__Group_6__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup(), "rule__XForLoopExpression__Group__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0(), "rule__XForLoopExpression__Group_0__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0_0(), "rule__XForLoopExpression__Group_0_0__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup(), "rule__XBasicForLoopExpression__Group__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3(), "rule__XBasicForLoopExpression__Group_3__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3_1(), "rule__XBasicForLoopExpression__Group_3_1__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7(), "rule__XBasicForLoopExpression__Group_7__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7_1(), "rule__XBasicForLoopExpression__Group_7_1__0"); - builder.put(grammarAccess.getXWhileExpressionAccess().getGroup(), "rule__XWhileExpression__Group__0"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getGroup(), "rule__XDoWhileExpression__Group__0"); - builder.put(grammarAccess.getXBlockExpressionAccess().getGroup(), "rule__XBlockExpression__Group__0"); - builder.put(grammarAccess.getXBlockExpressionAccess().getGroup_2(), "rule__XBlockExpression__Group_2__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup(), "rule__XFeatureCall__Group__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_1(), "rule__XFeatureCall__Group_1__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_1_2(), "rule__XFeatureCall__Group_1_2__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3(), "rule__XFeatureCall__Group_3__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1(), "rule__XFeatureCall__Group_3_1_1__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1_1(), "rule__XFeatureCall__Group_3_1_1_1__0"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getGroup(), "rule__XBooleanLiteral__Group__0"); - builder.put(grammarAccess.getXNullLiteralAccess().getGroup(), "rule__XNullLiteral__Group__0"); - builder.put(grammarAccess.getXNumberLiteralAccess().getGroup(), "rule__XNumberLiteral__Group__0"); - builder.put(grammarAccess.getXTypeLiteralAccess().getGroup(), "rule__XTypeLiteral__Group__0"); - builder.put(grammarAccess.getXThrowExpressionAccess().getGroup(), "rule__XThrowExpression__Group__0"); - builder.put(grammarAccess.getXReturnExpressionAccess().getGroup(), "rule__XReturnExpression__Group__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup(), "rule__XSynchronizedExpression__Group__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0(), "rule__XSynchronizedExpression__Group_0__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0_0(), "rule__XSynchronizedExpression__Group_0_0__0"); - builder.put(grammarAccess.getXCatchClauseAccess().getGroup(), "rule__XCatchClause__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); - builder.put(grammarAccess.getNumberAccess().getGroup_1(), "rule__Number__Group_1__0"); - builder.put(grammarAccess.getNumberAccess().getGroup_1_1(), "rule__Number__Group_1_1__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0(), "rule__JvmTypeReference__Group_0__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1(), "rule__JvmTypeReference__Group_0_1__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0(), "rule__JvmTypeReference__Group_0_1_0__0"); - builder.put(grammarAccess.getArrayBracketsAccess().getGroup(), "rule__ArrayBrackets__Group__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup(), "rule__XFunctionTypeRef__Group__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0(), "rule__XFunctionTypeRef__Group_0__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1(), "rule__XFunctionTypeRef__Group_0_1__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1(), "rule__XFunctionTypeRef__Group_0_1_1__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup(), "rule__JvmParameterizedTypeReference__Group__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1(), "rule__JvmParameterizedTypeReference__Group_1__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2(), "rule__JvmParameterizedTypeReference__Group_1_2__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4(), "rule__JvmParameterizedTypeReference__Group_1_4__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup(), "rule__JvmWildcardTypeReference__Group__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0(), "rule__JvmWildcardTypeReference__Group_2_0__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1(), "rule__JvmWildcardTypeReference__Group_2_1__0"); - builder.put(grammarAccess.getJvmUpperBoundAccess().getGroup(), "rule__JvmUpperBound__Group__0"); - builder.put(grammarAccess.getJvmUpperBoundAndedAccess().getGroup(), "rule__JvmUpperBoundAnded__Group__0"); - builder.put(grammarAccess.getJvmLowerBoundAccess().getGroup(), "rule__JvmLowerBound__Group__0"); - builder.put(grammarAccess.getJvmLowerBoundAndedAccess().getGroup(), "rule__JvmLowerBoundAnded__Group__0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getGroup(), "rule__JvmTypeParameter__Group__0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getGroup_1(), "rule__JvmTypeParameter__Group_1__0"); - builder.put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup(), "rule__QualifiedNameWithWildcard__Group__0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getGroup(), "rule__XImportDeclaration__Group__0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getGroup_1_0(), "rule__XImportDeclaration__Group_1_0__0"); - builder.put(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup(), "rule__QualifiedNameInStaticImport__Group__0"); - builder.put(grammarAccess.getFileAccess().getPackageAssignment_0_1(), "rule__File__PackageAssignment_0_1"); - builder.put(grammarAccess.getFileAccess().getImportSectionAssignment_1(), "rule__File__ImportSectionAssignment_1"); - builder.put(grammarAccess.getFileAccess().getXtendTypesAssignment_2(), "rule__File__XtendTypesAssignment_2"); - builder.put(grammarAccess.getTypeAccess().getAnnotationsAssignment_1(), "rule__Type__AnnotationsAssignment_1"); - builder.put(grammarAccess.getTypeAccess().getModifiersAssignment_2_0_1(), "rule__Type__ModifiersAssignment_2_0_1"); - builder.put(grammarAccess.getTypeAccess().getNameAssignment_2_0_3(), "rule__Type__NameAssignment_2_0_3"); - builder.put(grammarAccess.getTypeAccess().getTypeParametersAssignment_2_0_4_1(), "rule__Type__TypeParametersAssignment_2_0_4_1"); - builder.put(grammarAccess.getTypeAccess().getTypeParametersAssignment_2_0_4_2_1(), "rule__Type__TypeParametersAssignment_2_0_4_2_1"); - builder.put(grammarAccess.getTypeAccess().getExtendsAssignment_2_0_5_1(), "rule__Type__ExtendsAssignment_2_0_5_1"); - builder.put(grammarAccess.getTypeAccess().getImplementsAssignment_2_0_6_1(), "rule__Type__ImplementsAssignment_2_0_6_1"); - builder.put(grammarAccess.getTypeAccess().getImplementsAssignment_2_0_6_2_1(), "rule__Type__ImplementsAssignment_2_0_6_2_1"); - builder.put(grammarAccess.getTypeAccess().getMembersAssignment_2_0_8(), "rule__Type__MembersAssignment_2_0_8"); - builder.put(grammarAccess.getTypeAccess().getModifiersAssignment_2_1_1(), "rule__Type__ModifiersAssignment_2_1_1"); - builder.put(grammarAccess.getTypeAccess().getNameAssignment_2_1_3(), "rule__Type__NameAssignment_2_1_3"); - builder.put(grammarAccess.getTypeAccess().getTypeParametersAssignment_2_1_4_1(), "rule__Type__TypeParametersAssignment_2_1_4_1"); - builder.put(grammarAccess.getTypeAccess().getTypeParametersAssignment_2_1_4_2_1(), "rule__Type__TypeParametersAssignment_2_1_4_2_1"); - builder.put(grammarAccess.getTypeAccess().getExtendsAssignment_2_1_5_1(), "rule__Type__ExtendsAssignment_2_1_5_1"); - builder.put(grammarAccess.getTypeAccess().getExtendsAssignment_2_1_5_2_1(), "rule__Type__ExtendsAssignment_2_1_5_2_1"); - builder.put(grammarAccess.getTypeAccess().getMembersAssignment_2_1_7(), "rule__Type__MembersAssignment_2_1_7"); - builder.put(grammarAccess.getTypeAccess().getModifiersAssignment_2_2_1(), "rule__Type__ModifiersAssignment_2_2_1"); - builder.put(grammarAccess.getTypeAccess().getNameAssignment_2_2_3(), "rule__Type__NameAssignment_2_2_3"); - builder.put(grammarAccess.getTypeAccess().getMembersAssignment_2_2_5_0(), "rule__Type__MembersAssignment_2_2_5_0"); - builder.put(grammarAccess.getTypeAccess().getMembersAssignment_2_2_5_1_1(), "rule__Type__MembersAssignment_2_2_5_1_1"); - builder.put(grammarAccess.getTypeAccess().getModifiersAssignment_2_3_1(), "rule__Type__ModifiersAssignment_2_3_1"); - builder.put(grammarAccess.getTypeAccess().getNameAssignment_2_3_3(), "rule__Type__NameAssignment_2_3_3"); - builder.put(grammarAccess.getTypeAccess().getMembersAssignment_2_3_5(), "rule__Type__MembersAssignment_2_3_5"); - builder.put(grammarAccess.getXFunctionSuperTypeRefAccess().getInstanceContextAssignment_0_0(), "rule__XFunctionSuperTypeRef__InstanceContextAssignment_0_0"); - builder.put(grammarAccess.getXFunctionSuperTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionSuperTypeRef__ParamTypesAssignment_0_1_0"); - builder.put(grammarAccess.getXFunctionSuperTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionSuperTypeRef__ParamTypesAssignment_0_1_1_1"); - builder.put(grammarAccess.getXFunctionSuperTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionSuperTypeRef__ReturnTypeAssignment_2"); - builder.put(grammarAccess.getAnnotationFieldAccess().getAnnotationsAssignment_1(), "rule__AnnotationField__AnnotationsAssignment_1"); - builder.put(grammarAccess.getAnnotationFieldAccess().getModifiersAssignment_2_0_0_0_1(), "rule__AnnotationField__ModifiersAssignment_2_0_0_0_1"); - builder.put(grammarAccess.getAnnotationFieldAccess().getModifiersAssignment_2_0_0_0_2(), "rule__AnnotationField__ModifiersAssignment_2_0_0_0_2"); - builder.put(grammarAccess.getAnnotationFieldAccess().getModifiersAssignment_2_0_0_0_3(), "rule__AnnotationField__ModifiersAssignment_2_0_0_0_3"); - builder.put(grammarAccess.getAnnotationFieldAccess().getTypeAssignment_2_0_0_0_4(), "rule__AnnotationField__TypeAssignment_2_0_0_0_4"); - builder.put(grammarAccess.getAnnotationFieldAccess().getNameAssignment_2_0_0_0_5(), "rule__AnnotationField__NameAssignment_2_0_0_0_5"); - builder.put(grammarAccess.getAnnotationFieldAccess().getModifiersAssignment_2_0_0_1_1(), "rule__AnnotationField__ModifiersAssignment_2_0_0_1_1"); - builder.put(grammarAccess.getAnnotationFieldAccess().getTypeAssignment_2_0_0_1_2(), "rule__AnnotationField__TypeAssignment_2_0_0_1_2"); - builder.put(grammarAccess.getAnnotationFieldAccess().getNameAssignment_2_0_0_1_3(), "rule__AnnotationField__NameAssignment_2_0_0_1_3"); - builder.put(grammarAccess.getAnnotationFieldAccess().getInitialValueAssignment_2_0_1_1(), "rule__AnnotationField__InitialValueAssignment_2_0_1_1"); - builder.put(grammarAccess.getAnnotationFieldAccess().getModifiersAssignment_2_1_1(), "rule__AnnotationField__ModifiersAssignment_2_1_1"); - builder.put(grammarAccess.getAnnotationFieldAccess().getNameAssignment_2_1_3(), "rule__AnnotationField__NameAssignment_2_1_3"); - builder.put(grammarAccess.getAnnotationFieldAccess().getTypeParametersAssignment_2_1_4_1(), "rule__AnnotationField__TypeParametersAssignment_2_1_4_1"); - builder.put(grammarAccess.getAnnotationFieldAccess().getTypeParametersAssignment_2_1_4_2_1(), "rule__AnnotationField__TypeParametersAssignment_2_1_4_2_1"); - builder.put(grammarAccess.getAnnotationFieldAccess().getExtendsAssignment_2_1_5_1(), "rule__AnnotationField__ExtendsAssignment_2_1_5_1"); - builder.put(grammarAccess.getAnnotationFieldAccess().getImplementsAssignment_2_1_6_1(), "rule__AnnotationField__ImplementsAssignment_2_1_6_1"); - builder.put(grammarAccess.getAnnotationFieldAccess().getImplementsAssignment_2_1_6_2_1(), "rule__AnnotationField__ImplementsAssignment_2_1_6_2_1"); - builder.put(grammarAccess.getAnnotationFieldAccess().getMembersAssignment_2_1_8(), "rule__AnnotationField__MembersAssignment_2_1_8"); - builder.put(grammarAccess.getAnnotationFieldAccess().getModifiersAssignment_2_2_1(), "rule__AnnotationField__ModifiersAssignment_2_2_1"); - builder.put(grammarAccess.getAnnotationFieldAccess().getNameAssignment_2_2_3(), "rule__AnnotationField__NameAssignment_2_2_3"); - builder.put(grammarAccess.getAnnotationFieldAccess().getTypeParametersAssignment_2_2_4_1(), "rule__AnnotationField__TypeParametersAssignment_2_2_4_1"); - builder.put(grammarAccess.getAnnotationFieldAccess().getTypeParametersAssignment_2_2_4_2_1(), "rule__AnnotationField__TypeParametersAssignment_2_2_4_2_1"); - builder.put(grammarAccess.getAnnotationFieldAccess().getExtendsAssignment_2_2_5_1(), "rule__AnnotationField__ExtendsAssignment_2_2_5_1"); - builder.put(grammarAccess.getAnnotationFieldAccess().getExtendsAssignment_2_2_5_2_1(), "rule__AnnotationField__ExtendsAssignment_2_2_5_2_1"); - builder.put(grammarAccess.getAnnotationFieldAccess().getMembersAssignment_2_2_7(), "rule__AnnotationField__MembersAssignment_2_2_7"); - builder.put(grammarAccess.getAnnotationFieldAccess().getModifiersAssignment_2_3_1(), "rule__AnnotationField__ModifiersAssignment_2_3_1"); - builder.put(grammarAccess.getAnnotationFieldAccess().getNameAssignment_2_3_3(), "rule__AnnotationField__NameAssignment_2_3_3"); - builder.put(grammarAccess.getAnnotationFieldAccess().getMembersAssignment_2_3_5_0(), "rule__AnnotationField__MembersAssignment_2_3_5_0"); - builder.put(grammarAccess.getAnnotationFieldAccess().getMembersAssignment_2_3_5_1_1(), "rule__AnnotationField__MembersAssignment_2_3_5_1_1"); - builder.put(grammarAccess.getAnnotationFieldAccess().getModifiersAssignment_2_4_1(), "rule__AnnotationField__ModifiersAssignment_2_4_1"); - builder.put(grammarAccess.getAnnotationFieldAccess().getNameAssignment_2_4_3(), "rule__AnnotationField__NameAssignment_2_4_3"); - builder.put(grammarAccess.getAnnotationFieldAccess().getMembersAssignment_2_4_5(), "rule__AnnotationField__MembersAssignment_2_4_5"); - builder.put(grammarAccess.getMemberAccess().getAnnotationsAssignment_1(), "rule__Member__AnnotationsAssignment_1"); - builder.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_0_1(), "rule__Member__ModifiersAssignment_2_0_1"); - builder.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_0_2_0_0(), "rule__Member__ModifiersAssignment_2_0_2_0_0"); - builder.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_0_2_0_1(), "rule__Member__ModifiersAssignment_2_0_2_0_1"); - builder.put(grammarAccess.getMemberAccess().getTypeAssignment_2_0_2_0_2(), "rule__Member__TypeAssignment_2_0_2_0_2"); - builder.put(grammarAccess.getMemberAccess().getNameAssignment_2_0_2_0_3(), "rule__Member__NameAssignment_2_0_2_0_3"); - builder.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_0_2_1_0(), "rule__Member__ModifiersAssignment_2_0_2_1_0"); - builder.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_0_2_1_1_0(), "rule__Member__ModifiersAssignment_2_0_2_1_1_0"); - builder.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_0_2_1_1_1(), "rule__Member__ModifiersAssignment_2_0_2_1_1_1"); - builder.put(grammarAccess.getMemberAccess().getTypeAssignment_2_0_2_1_2(), "rule__Member__TypeAssignment_2_0_2_1_2"); - builder.put(grammarAccess.getMemberAccess().getNameAssignment_2_0_2_1_3(), "rule__Member__NameAssignment_2_0_2_1_3"); - builder.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_0_2_2_0(), "rule__Member__ModifiersAssignment_2_0_2_2_0"); - builder.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_0_2_2_1(), "rule__Member__ModifiersAssignment_2_0_2_2_1"); - builder.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_0_2_2_2(), "rule__Member__ModifiersAssignment_2_0_2_2_2"); - builder.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_0_2_2_3(), "rule__Member__ModifiersAssignment_2_0_2_2_3"); - builder.put(grammarAccess.getMemberAccess().getTypeAssignment_2_0_2_2_4(), "rule__Member__TypeAssignment_2_0_2_2_4"); - builder.put(grammarAccess.getMemberAccess().getNameAssignment_2_0_2_2_5(), "rule__Member__NameAssignment_2_0_2_2_5"); - builder.put(grammarAccess.getMemberAccess().getTypeAssignment_2_0_2_3_0(), "rule__Member__TypeAssignment_2_0_2_3_0"); - builder.put(grammarAccess.getMemberAccess().getNameAssignment_2_0_2_3_1(), "rule__Member__NameAssignment_2_0_2_3_1"); - builder.put(grammarAccess.getMemberAccess().getInitialValueAssignment_2_0_3_1(), "rule__Member__InitialValueAssignment_2_0_3_1"); - builder.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_1_1(), "rule__Member__ModifiersAssignment_2_1_1"); - builder.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_1_2(), "rule__Member__ModifiersAssignment_2_1_2"); - builder.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_1_3_0(), "rule__Member__ModifiersAssignment_2_1_3_0"); - builder.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_1_3_1(), "rule__Member__ModifiersAssignment_2_1_3_1"); - builder.put(grammarAccess.getMemberAccess().getTypeParametersAssignment_2_1_4_1(), "rule__Member__TypeParametersAssignment_2_1_4_1"); - builder.put(grammarAccess.getMemberAccess().getTypeParametersAssignment_2_1_4_2_1(), "rule__Member__TypeParametersAssignment_2_1_4_2_1"); - builder.put(grammarAccess.getMemberAccess().getReturnTypeAssignment_2_1_5_0_0_0(), "rule__Member__ReturnTypeAssignment_2_1_5_0_0_0"); - builder.put(grammarAccess.getMemberAccess().getCreateExtensionInfoAssignment_2_1_5_0_0_1(), "rule__Member__CreateExtensionInfoAssignment_2_1_5_0_0_1"); - builder.put(grammarAccess.getMemberAccess().getNameAssignment_2_1_5_0_0_2(), "rule__Member__NameAssignment_2_1_5_0_0_2"); - builder.put(grammarAccess.getMemberAccess().getReturnTypeAssignment_2_1_5_1_0_0(), "rule__Member__ReturnTypeAssignment_2_1_5_1_0_0"); - builder.put(grammarAccess.getMemberAccess().getNameAssignment_2_1_5_1_0_1(), "rule__Member__NameAssignment_2_1_5_1_0_1"); - builder.put(grammarAccess.getMemberAccess().getReturnTypeAssignment_2_1_5_2_0_0(), "rule__Member__ReturnTypeAssignment_2_1_5_2_0_0"); - builder.put(grammarAccess.getMemberAccess().getNameAssignment_2_1_5_2_0_1(), "rule__Member__NameAssignment_2_1_5_2_0_1"); - builder.put(grammarAccess.getMemberAccess().getCreateExtensionInfoAssignment_2_1_5_3_0_0(), "rule__Member__CreateExtensionInfoAssignment_2_1_5_3_0_0"); - builder.put(grammarAccess.getMemberAccess().getNameAssignment_2_1_5_3_0_1(), "rule__Member__NameAssignment_2_1_5_3_0_1"); - builder.put(grammarAccess.getMemberAccess().getNameAssignment_2_1_5_4_0(), "rule__Member__NameAssignment_2_1_5_4_0"); - builder.put(grammarAccess.getMemberAccess().getParametersAssignment_2_1_6_0(), "rule__Member__ParametersAssignment_2_1_6_0"); - builder.put(grammarAccess.getMemberAccess().getParametersAssignment_2_1_6_1_1(), "rule__Member__ParametersAssignment_2_1_6_1_1"); - builder.put(grammarAccess.getMemberAccess().getExceptionsAssignment_2_1_8_1(), "rule__Member__ExceptionsAssignment_2_1_8_1"); - builder.put(grammarAccess.getMemberAccess().getExceptionsAssignment_2_1_8_2_1(), "rule__Member__ExceptionsAssignment_2_1_8_2_1"); - builder.put(grammarAccess.getMemberAccess().getExpressionAssignment_2_1_9_0(), "rule__Member__ExpressionAssignment_2_1_9_0"); - builder.put(grammarAccess.getMemberAccess().getExpressionAssignment_2_1_9_1(), "rule__Member__ExpressionAssignment_2_1_9_1"); - builder.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_2_1(), "rule__Member__ModifiersAssignment_2_2_1"); - builder.put(grammarAccess.getMemberAccess().getTypeParametersAssignment_2_2_3_1(), "rule__Member__TypeParametersAssignment_2_2_3_1"); - builder.put(grammarAccess.getMemberAccess().getTypeParametersAssignment_2_2_3_2_1(), "rule__Member__TypeParametersAssignment_2_2_3_2_1"); - builder.put(grammarAccess.getMemberAccess().getParametersAssignment_2_2_5_0(), "rule__Member__ParametersAssignment_2_2_5_0"); - builder.put(grammarAccess.getMemberAccess().getParametersAssignment_2_2_5_1_1(), "rule__Member__ParametersAssignment_2_2_5_1_1"); - builder.put(grammarAccess.getMemberAccess().getExceptionsAssignment_2_2_7_1(), "rule__Member__ExceptionsAssignment_2_2_7_1"); - builder.put(grammarAccess.getMemberAccess().getExceptionsAssignment_2_2_7_2_1(), "rule__Member__ExceptionsAssignment_2_2_7_2_1"); - builder.put(grammarAccess.getMemberAccess().getExpressionAssignment_2_2_8(), "rule__Member__ExpressionAssignment_2_2_8"); - builder.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_3_1(), "rule__Member__ModifiersAssignment_2_3_1"); - builder.put(grammarAccess.getMemberAccess().getNameAssignment_2_3_3(), "rule__Member__NameAssignment_2_3_3"); - builder.put(grammarAccess.getMemberAccess().getTypeParametersAssignment_2_3_4_1(), "rule__Member__TypeParametersAssignment_2_3_4_1"); - builder.put(grammarAccess.getMemberAccess().getTypeParametersAssignment_2_3_4_2_1(), "rule__Member__TypeParametersAssignment_2_3_4_2_1"); - builder.put(grammarAccess.getMemberAccess().getExtendsAssignment_2_3_5_1(), "rule__Member__ExtendsAssignment_2_3_5_1"); - builder.put(grammarAccess.getMemberAccess().getImplementsAssignment_2_3_6_1(), "rule__Member__ImplementsAssignment_2_3_6_1"); - builder.put(grammarAccess.getMemberAccess().getImplementsAssignment_2_3_6_2_1(), "rule__Member__ImplementsAssignment_2_3_6_2_1"); - builder.put(grammarAccess.getMemberAccess().getMembersAssignment_2_3_8(), "rule__Member__MembersAssignment_2_3_8"); - builder.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_4_1(), "rule__Member__ModifiersAssignment_2_4_1"); - builder.put(grammarAccess.getMemberAccess().getNameAssignment_2_4_3(), "rule__Member__NameAssignment_2_4_3"); - builder.put(grammarAccess.getMemberAccess().getTypeParametersAssignment_2_4_4_1(), "rule__Member__TypeParametersAssignment_2_4_4_1"); - builder.put(grammarAccess.getMemberAccess().getTypeParametersAssignment_2_4_4_2_1(), "rule__Member__TypeParametersAssignment_2_4_4_2_1"); - builder.put(grammarAccess.getMemberAccess().getExtendsAssignment_2_4_5_1(), "rule__Member__ExtendsAssignment_2_4_5_1"); - builder.put(grammarAccess.getMemberAccess().getExtendsAssignment_2_4_5_2_1(), "rule__Member__ExtendsAssignment_2_4_5_2_1"); - builder.put(grammarAccess.getMemberAccess().getMembersAssignment_2_4_7(), "rule__Member__MembersAssignment_2_4_7"); - builder.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_5_1(), "rule__Member__ModifiersAssignment_2_5_1"); - builder.put(grammarAccess.getMemberAccess().getNameAssignment_2_5_3(), "rule__Member__NameAssignment_2_5_3"); - builder.put(grammarAccess.getMemberAccess().getMembersAssignment_2_5_5_0(), "rule__Member__MembersAssignment_2_5_5_0"); - builder.put(grammarAccess.getMemberAccess().getMembersAssignment_2_5_5_1_1(), "rule__Member__MembersAssignment_2_5_5_1_1"); - builder.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_6_1(), "rule__Member__ModifiersAssignment_2_6_1"); - builder.put(grammarAccess.getMemberAccess().getNameAssignment_2_6_3(), "rule__Member__NameAssignment_2_6_3"); - builder.put(grammarAccess.getMemberAccess().getMembersAssignment_2_6_5(), "rule__Member__MembersAssignment_2_6_5"); - builder.put(grammarAccess.getTypeReferenceNoTypeArgsAccess().getTypeAssignment(), "rule__TypeReferenceNoTypeArgs__TypeAssignment"); - builder.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getTypeAssignment_0(), "rule__ParameterizedTypeReferenceWithTypeArgs__TypeAssignment_0"); - builder.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getArgumentsAssignment_1_1(), "rule__ParameterizedTypeReferenceWithTypeArgs__ArgumentsAssignment_1_1"); - builder.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getArgumentsAssignment_1_2_1(), "rule__ParameterizedTypeReferenceWithTypeArgs__ArgumentsAssignment_1_2_1"); - builder.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getTypeAssignment_1_4_1(), "rule__ParameterizedTypeReferenceWithTypeArgs__TypeAssignment_1_4_1"); - builder.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getArgumentsAssignment_1_4_2_1(), "rule__ParameterizedTypeReferenceWithTypeArgs__ArgumentsAssignment_1_4_2_1"); - builder.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getArgumentsAssignment_1_4_2_2_1(), "rule__ParameterizedTypeReferenceWithTypeArgs__ArgumentsAssignment_1_4_2_2_1"); - builder.put(grammarAccess.getXtendEnumLiteralAccess().getAnnotationsAssignment_0(), "rule__XtendEnumLiteral__AnnotationsAssignment_0"); - builder.put(grammarAccess.getXtendEnumLiteralAccess().getNameAssignment_1(), "rule__XtendEnumLiteral__NameAssignment_1"); - builder.put(grammarAccess.getCreateExtensionInfoAccess().getNameAssignment_1_0(), "rule__CreateExtensionInfo__NameAssignment_1_0"); - builder.put(grammarAccess.getCreateExtensionInfoAccess().getCreateExpressionAssignment_2(), "rule__CreateExtensionInfo__CreateExpressionAssignment_2"); - builder.put(grammarAccess.getParameterAccess().getAnnotationsAssignment_0(), "rule__Parameter__AnnotationsAssignment_0"); - builder.put(grammarAccess.getParameterAccess().getExtensionAssignment_1_0(), "rule__Parameter__ExtensionAssignment_1_0"); - builder.put(grammarAccess.getParameterAccess().getAnnotationsAssignment_1_1(), "rule__Parameter__AnnotationsAssignment_1_1"); - builder.put(grammarAccess.getParameterAccess().getParameterTypeAssignment_2(), "rule__Parameter__ParameterTypeAssignment_2"); - builder.put(grammarAccess.getParameterAccess().getVarArgAssignment_3(), "rule__Parameter__VarArgAssignment_3"); - builder.put(grammarAccess.getParameterAccess().getNameAssignment_4(), "rule__Parameter__NameAssignment_4"); - builder.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_0_1(), "rule__XAssignment__FeatureAssignment_0_1"); - builder.put(grammarAccess.getXAssignmentAccess().getValueAssignment_0_3(), "rule__XAssignment__ValueAssignment_0_3"); - builder.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XAssignment__FeatureAssignment_1_1_0_0_1"); - builder.put(grammarAccess.getXAssignmentAccess().getRightOperandAssignment_1_1_1(), "rule__XAssignment__RightOperandAssignment_1_1_1"); - builder.put(grammarAccess.getXConditionalExpressionAccess().getConditionalExpressionAssignment_1_0_0_1(), "rule__XConditionalExpression__ConditionalExpressionAssignment_1_0_0_1"); - builder.put(grammarAccess.getXConditionalExpressionAccess().getThenAssignment_1_1(), "rule__XConditionalExpression__ThenAssignment_1_1"); - builder.put(grammarAccess.getXConditionalExpressionAccess().getElseAssignment_1_2_1(), "rule__XConditionalExpression__ElseAssignment_1_2_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getResourcesAssignment_2_0_1(), "rule__XTryCatchFinallyExpression__ResourcesAssignment_2_0_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getResourcesAssignment_2_0_2_1(), "rule__XTryCatchFinallyExpression__ResourcesAssignment_2_0_2_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionAssignment_2_0_5(), "rule__XTryCatchFinallyExpression__ExpressionAssignment_2_0_5"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesAssignment_2_0_6_0_0_0(), "rule__XTryCatchFinallyExpression__CatchClausesAssignment_2_0_6_0_0_0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_2_0_6_0_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_2_0_6_0_0_1_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_2_0_6_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_2_0_6_0_1_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionAssignment_2_1_0(), "rule__XTryCatchFinallyExpression__ExpressionAssignment_2_1_0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesAssignment_2_1_1_0_0(), "rule__XTryCatchFinallyExpression__CatchClausesAssignment_2_1_1_0_0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_2_1_1_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_2_1_1_0_1_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_2_1_1_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_2_1_1_1_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getTypeAssignment_1_0_0_0(), "rule__XVariableDeclaration__TypeAssignment_1_0_0_0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_1_0_0_1(), "rule__XVariableDeclaration__NameAssignment_1_0_0_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_1_1(), "rule__XVariableDeclaration__NameAssignment_1_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getRightAssignment_2_1(), "rule__XVariableDeclaration__RightAssignment_2_1"); - builder.put(grammarAccess.getInitializedVariableDeclarationAccess().getTypeAssignment_2_0_0_0(), "rule__InitializedVariableDeclaration__TypeAssignment_2_0_0_0"); - builder.put(grammarAccess.getInitializedVariableDeclarationAccess().getNameAssignment_2_0_0_1(), "rule__InitializedVariableDeclaration__NameAssignment_2_0_0_1"); - builder.put(grammarAccess.getInitializedVariableDeclarationAccess().getNameAssignment_2_1(), "rule__InitializedVariableDeclaration__NameAssignment_2_1"); - builder.put(grammarAccess.getInitializedVariableDeclarationAccess().getRightAssignment_4(), "rule__InitializedVariableDeclaration__RightAssignment_4"); - builder.put(grammarAccess.getVariableModifierAccess().getWriteableAssignment_0_0_0(), "rule__VariableModifier__WriteableAssignment_0_0_0"); - builder.put(grammarAccess.getVariableModifierAccess().getExtensionAssignment_0_1(), "rule__VariableModifier__ExtensionAssignment_0_1"); - builder.put(grammarAccess.getVariableModifierAccess().getExtensionAssignment_1_0(), "rule__VariableModifier__ExtensionAssignment_1_0"); - builder.put(grammarAccess.getVariableModifierAccess().getWriteableAssignment_1_1_0(), "rule__VariableModifier__WriteableAssignment_1_1_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getMembersAssignment_1_1(), "rule__XConstructorCall__MembersAssignment_1_1"); - builder.put(grammarAccess.getXbaseConstructorCallAccess().getConstructorAssignment_2(), "rule__XbaseConstructorCall__ConstructorAssignment_2"); - builder.put(grammarAccess.getXbaseConstructorCallAccess().getTypeArgumentsAssignment_3_1(), "rule__XbaseConstructorCall__TypeArgumentsAssignment_3_1"); - builder.put(grammarAccess.getXbaseConstructorCallAccess().getTypeArgumentsAssignment_3_2_1(), "rule__XbaseConstructorCall__TypeArgumentsAssignment_3_2_1"); - builder.put(grammarAccess.getXbaseConstructorCallAccess().getExplicitConstructorCallAssignment_4_0(), "rule__XbaseConstructorCall__ExplicitConstructorCallAssignment_4_0"); - builder.put(grammarAccess.getXbaseConstructorCallAccess().getArgumentsAssignment_4_1_0(), "rule__XbaseConstructorCall__ArgumentsAssignment_4_1_0"); - builder.put(grammarAccess.getXbaseConstructorCallAccess().getArgumentsAssignment_4_1_1_0(), "rule__XbaseConstructorCall__ArgumentsAssignment_4_1_1_0"); - builder.put(grammarAccess.getXbaseConstructorCallAccess().getArgumentsAssignment_4_1_1_1_1(), "rule__XbaseConstructorCall__ArgumentsAssignment_4_1_1_1_1"); - builder.put(grammarAccess.getXbaseConstructorCallAccess().getArgumentsAssignment_5(), "rule__XbaseConstructorCall__ArgumentsAssignment_5"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getExtensionAssignment_0(), "rule__JvmFormalParameter__ExtensionAssignment_0"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getParameterTypeAssignment_1(), "rule__JvmFormalParameter__ParameterTypeAssignment_1"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getNameAssignment_2(), "rule__JvmFormalParameter__NameAssignment_2"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getExtensionAssignment_0(), "rule__FullJvmFormalParameter__ExtensionAssignment_0"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeAssignment_1(), "rule__FullJvmFormalParameter__ParameterTypeAssignment_1"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getNameAssignment_2(), "rule__FullJvmFormalParameter__NameAssignment_2"); - builder.put(grammarAccess.getMultiTypeReferenceAccess().getReferencesAssignment_1_1_1(), "rule__MultiTypeReference__ReferencesAssignment_1_1_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_0_0_0_1(), "rule__XSwitchExpression__DeclaredParamAssignment_2_0_0_0_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1(), "rule__XSwitchExpression__SwitchAssignment_2_0_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_1_0_0_0(), "rule__XSwitchExpression__DeclaredParamAssignment_2_1_0_0_0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1(), "rule__XSwitchExpression__SwitchAssignment_2_1_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4(), "rule__XSwitchExpression__CasesAssignment_4"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDefaultAssignment_5_2(), "rule__XSwitchExpression__DefaultAssignment_5_2"); - builder.put(grammarAccess.getXCasePartAccess().getTypeGuardAssignment_1(), "rule__XCasePart__TypeGuardAssignment_1"); - builder.put(grammarAccess.getXCasePartAccess().getCaseAssignment_2_1(), "rule__XCasePart__CaseAssignment_2_1"); - builder.put(grammarAccess.getXCasePartAccess().getThenAssignment_3_0_1(), "rule__XCasePart__ThenAssignment_3_0_1"); - builder.put(grammarAccess.getXCasePartAccess().getFallThroughAssignment_3_1(), "rule__XCasePart__FallThroughAssignment_3_1"); - builder.put(grammarAccess.getSimpleStringLiteralAccess().getValueAssignment_1(), "rule__SimpleStringLiteral__ValueAssignment_1"); - builder.put(grammarAccess.getRichStringAccess().getExpressionsAssignment_1_0(), "rule__RichString__ExpressionsAssignment_1_0"); - builder.put(grammarAccess.getRichStringAccess().getExpressionsAssignment_1_1_0(), "rule__RichString__ExpressionsAssignment_1_1_0"); - builder.put(grammarAccess.getRichStringAccess().getExpressionsAssignment_1_1_1(), "rule__RichString__ExpressionsAssignment_1_1_1"); - builder.put(grammarAccess.getRichStringAccess().getExpressionsAssignment_1_1_2_0(), "rule__RichString__ExpressionsAssignment_1_1_2_0"); - builder.put(grammarAccess.getRichStringAccess().getExpressionsAssignment_1_1_2_1(), "rule__RichString__ExpressionsAssignment_1_1_2_1"); - builder.put(grammarAccess.getRichStringAccess().getExpressionsAssignment_1_1_3(), "rule__RichString__ExpressionsAssignment_1_1_3"); - builder.put(grammarAccess.getRichStringLiteralAccess().getValueAssignment_1(), "rule__RichStringLiteral__ValueAssignment_1"); - builder.put(grammarAccess.getRichStringLiteralStartAccess().getValueAssignment_1(), "rule__RichStringLiteralStart__ValueAssignment_1"); - builder.put(grammarAccess.getRichStringLiteralInbetweenAccess().getValueAssignment_1_0(), "rule__RichStringLiteralInbetween__ValueAssignment_1_0"); - builder.put(grammarAccess.getRichStringLiteralInbetweenAccess().getValueAssignment_1_1(), "rule__RichStringLiteralInbetween__ValueAssignment_1_1"); - builder.put(grammarAccess.getRichStringLiteralEndAccess().getValueAssignment_1_0(), "rule__RichStringLiteralEnd__ValueAssignment_1_0"); - builder.put(grammarAccess.getRichStringLiteralEndAccess().getValueAssignment_1_1(), "rule__RichStringLiteralEnd__ValueAssignment_1_1"); - builder.put(grammarAccess.getInternalRichStringAccess().getExpressionsAssignment_1_0(), "rule__InternalRichString__ExpressionsAssignment_1_0"); - builder.put(grammarAccess.getInternalRichStringAccess().getExpressionsAssignment_1_1_0(), "rule__InternalRichString__ExpressionsAssignment_1_1_0"); - builder.put(grammarAccess.getInternalRichStringAccess().getExpressionsAssignment_1_1_1(), "rule__InternalRichString__ExpressionsAssignment_1_1_1"); - builder.put(grammarAccess.getRichStringForLoopAccess().getDeclaredParamAssignment_2(), "rule__RichStringForLoop__DeclaredParamAssignment_2"); - builder.put(grammarAccess.getRichStringForLoopAccess().getForExpressionAssignment_4(), "rule__RichStringForLoop__ForExpressionAssignment_4"); - builder.put(grammarAccess.getRichStringForLoopAccess().getBeforeAssignment_5_1(), "rule__RichStringForLoop__BeforeAssignment_5_1"); - builder.put(grammarAccess.getRichStringForLoopAccess().getSeparatorAssignment_6_1(), "rule__RichStringForLoop__SeparatorAssignment_6_1"); - builder.put(grammarAccess.getRichStringForLoopAccess().getAfterAssignment_7_1(), "rule__RichStringForLoop__AfterAssignment_7_1"); - builder.put(grammarAccess.getRichStringForLoopAccess().getEachExpressionAssignment_8(), "rule__RichStringForLoop__EachExpressionAssignment_8"); - builder.put(grammarAccess.getRichStringIfAccess().getIfAssignment_2(), "rule__RichStringIf__IfAssignment_2"); - builder.put(grammarAccess.getRichStringIfAccess().getThenAssignment_3(), "rule__RichStringIf__ThenAssignment_3"); - builder.put(grammarAccess.getRichStringIfAccess().getElseIfsAssignment_4(), "rule__RichStringIf__ElseIfsAssignment_4"); - builder.put(grammarAccess.getRichStringIfAccess().getElseAssignment_5_1(), "rule__RichStringIf__ElseAssignment_5_1"); - builder.put(grammarAccess.getRichStringElseIfAccess().getIfAssignment_1(), "rule__RichStringElseIf__IfAssignment_1"); - builder.put(grammarAccess.getRichStringElseIfAccess().getThenAssignment_2(), "rule__RichStringElseIf__ThenAssignment_2"); - builder.put(grammarAccess.getXAnnotationAccess().getAnnotationTypeAssignment_2(), "rule__XAnnotation__AnnotationTypeAssignment_2"); - builder.put(grammarAccess.getXAnnotationAccess().getElementValuePairsAssignment_3_1_0_0(), "rule__XAnnotation__ElementValuePairsAssignment_3_1_0_0"); - builder.put(grammarAccess.getXAnnotationAccess().getElementValuePairsAssignment_3_1_0_1_1(), "rule__XAnnotation__ElementValuePairsAssignment_3_1_0_1_1"); - builder.put(grammarAccess.getXAnnotationAccess().getValueAssignment_3_1_1(), "rule__XAnnotation__ValueAssignment_3_1_1"); - builder.put(grammarAccess.getXAnnotationElementValuePairAccess().getElementAssignment_0_0_0(), "rule__XAnnotationElementValuePair__ElementAssignment_0_0_0"); - builder.put(grammarAccess.getXAnnotationElementValuePairAccess().getValueAssignment_1(), "rule__XAnnotationElementValuePair__ValueAssignment_1"); - builder.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsAssignment_0_1_0(), "rule__XAnnotationElementValueOrCommaList__ElementsAssignment_0_1_0"); - builder.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsAssignment_0_1_1_1(), "rule__XAnnotationElementValueOrCommaList__ElementsAssignment_0_1_1_1"); - builder.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsAssignment_1_1_1_1(), "rule__XAnnotationElementValueOrCommaList__ElementsAssignment_1_1_1_1"); - builder.put(grammarAccess.getXAnnotationElementValueAccess().getElementsAssignment_0_1_0(), "rule__XAnnotationElementValue__ElementsAssignment_0_1_0"); - builder.put(grammarAccess.getXAnnotationElementValueAccess().getElementsAssignment_0_1_1_1(), "rule__XAnnotationElementValue__ElementsAssignment_0_1_1_1"); - builder.put(grammarAccess.getXOrExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOrExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXOrExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOrExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXAndExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAndExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXAndExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAndExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XEqualityExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getRightOperandAssignment_1_1(), "rule__XEqualityExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getTypeAssignment_1_0_1(), "rule__XRelationalExpression__TypeAssignment_1_0_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XRelationalExpression__FeatureAssignment_1_1_0_0_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getRightOperandAssignment_1_1_1(), "rule__XRelationalExpression__RightOperandAssignment_1_1_1"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOtherOperatorExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOtherOperatorExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAdditiveExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAdditiveExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XMultiplicativeExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandAssignment_1_1(), "rule__XMultiplicativeExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXUnaryOperationAccess().getFeatureAssignment_0_1(), "rule__XUnaryOperation__FeatureAssignment_0_1"); - builder.put(grammarAccess.getXUnaryOperationAccess().getOperandAssignment_0_2(), "rule__XUnaryOperation__OperandAssignment_0_2"); - builder.put(grammarAccess.getXCastedExpressionAccess().getTypeAssignment_1_1(), "rule__XCastedExpression__TypeAssignment_1_1"); - builder.put(grammarAccess.getXPostfixOperationAccess().getFeatureAssignment_1_0_1(), "rule__XPostfixOperation__FeatureAssignment_1_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_0_0_0_1_1(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_0_0_0_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_0_0_0_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getValueAssignment_1_0_1(), "rule__XMemberFeatureCall__ValueAssignment_1_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getNullSafeAssignment_1_1_0_0_1_1(), "rule__XMemberFeatureCall__NullSafeAssignment_1_1_0_0_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_1_0_0_1_2(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_1_0_0_1_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_2_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_2_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_1_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_1_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallAssignment_1_1_3_0(), "rule__XMemberFeatureCall__ExplicitOperationCallAssignment_1_1_3_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_1_1(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_4(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4"); - builder.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_0(), "rule__XSetLiteral__ElementsAssignment_3_0"); - builder.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_1_1(), "rule__XSetLiteral__ElementsAssignment_3_1_1"); - builder.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_0(), "rule__XListLiteral__ElementsAssignment_3_0"); - builder.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_1_1(), "rule__XListLiteral__ElementsAssignment_3_1_1"); - builder.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_0(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_0"); - builder.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_1_1(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_1_1"); - builder.put(grammarAccess.getXClosureAccess().getExplicitSyntaxAssignment_1_0_1(), "rule__XClosure__ExplicitSyntaxAssignment_1_0_1"); - builder.put(grammarAccess.getXClosureAccess().getExpressionAssignment_2(), "rule__XClosure__ExpressionAssignment_2"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getExpressionsAssignment_1_0(), "rule__XExpressionInClosure__ExpressionsAssignment_1_0"); - builder.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_0(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0"); - builder.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_1_1(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1"); - builder.put(grammarAccess.getXShortClosureAccess().getExplicitSyntaxAssignment_0_0_2(), "rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2"); - builder.put(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1(), "rule__XShortClosure__ExpressionAssignment_1"); - builder.put(grammarAccess.getXIfExpressionAccess().getIfAssignment_3(), "rule__XIfExpression__IfAssignment_3"); - builder.put(grammarAccess.getXIfExpressionAccess().getThenAssignment_5(), "rule__XIfExpression__ThenAssignment_5"); - builder.put(grammarAccess.getXIfExpressionAccess().getElseAssignment_6_1(), "rule__XIfExpression__ElseAssignment_6_1"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamAssignment_0_0_3(), "rule__XForLoopExpression__DeclaredParamAssignment_0_0_3"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getForExpressionAssignment_1(), "rule__XForLoopExpression__ForExpressionAssignment_1"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getEachExpressionAssignment_3(), "rule__XForLoopExpression__EachExpressionAssignment_3"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_0(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_1_1(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_1_1"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getExpressionAssignment_5(), "rule__XBasicForLoopExpression__ExpressionAssignment_5"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_0(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_1_1(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_1_1"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getEachExpressionAssignment_9(), "rule__XBasicForLoopExpression__EachExpressionAssignment_9"); - builder.put(grammarAccess.getXWhileExpressionAccess().getPredicateAssignment_3(), "rule__XWhileExpression__PredicateAssignment_3"); - builder.put(grammarAccess.getXWhileExpressionAccess().getBodyAssignment_5(), "rule__XWhileExpression__BodyAssignment_5"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getBodyAssignment_2(), "rule__XDoWhileExpression__BodyAssignment_2"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getPredicateAssignment_5(), "rule__XDoWhileExpression__PredicateAssignment_5"); - builder.put(grammarAccess.getXBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__XBlockExpression__ExpressionsAssignment_2_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_2_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_2_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureAssignment_2(), "rule__XFeatureCall__FeatureAssignment_2"); - builder.put(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallAssignment_3_0(), "rule__XFeatureCall__ExplicitOperationCallAssignment_3_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_1_1(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_4"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1(), "rule__XBooleanLiteral__IsTrueAssignment_1_1"); - builder.put(grammarAccess.getXNumberLiteralAccess().getValueAssignment_1(), "rule__XNumberLiteral__ValueAssignment_1"); - builder.put(grammarAccess.getXTypeLiteralAccess().getTypeAssignment_3(), "rule__XTypeLiteral__TypeAssignment_3"); - builder.put(grammarAccess.getXTypeLiteralAccess().getArrayDimensionsAssignment_4(), "rule__XTypeLiteral__ArrayDimensionsAssignment_4"); - builder.put(grammarAccess.getXThrowExpressionAccess().getExpressionAssignment_2(), "rule__XThrowExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXReturnExpressionAccess().getExpressionAssignment_2(), "rule__XReturnExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getParamAssignment_1(), "rule__XSynchronizedExpression__ParamAssignment_1"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getExpressionAssignment_3(), "rule__XSynchronizedExpression__ExpressionAssignment_3"); - builder.put(grammarAccess.getXCatchClauseAccess().getDeclaredParamAssignment_2(), "rule__XCatchClause__DeclaredParamAssignment_2"); - builder.put(grammarAccess.getXCatchClauseAccess().getExpressionAssignment_4(), "rule__XCatchClause__ExpressionAssignment_4"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionTypeRef__ReturnTypeAssignment_2"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0(), "rule__JvmParameterizedTypeReference__TypeAssignment_0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1(), "rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1"); - builder.put(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBound__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBoundAnded__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBound__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBoundAnded__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getNameAssignment_0(), "rule__JvmTypeParameter__NameAssignment_0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_0(), "rule__JvmTypeParameter__ConstraintsAssignment_1_0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_1(), "rule__JvmTypeParameter__ConstraintsAssignment_1_1"); - builder.put(grammarAccess.getXImportSectionAccess().getImportDeclarationsAssignment(), "rule__XImportSection__ImportDeclarationsAssignment"); - builder.put(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0(), "rule__XImportDeclaration__StaticAssignment_1_0_0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1(), "rule__XImportDeclaration__ExtensionAssignment_1_0_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2(), "rule__XImportDeclaration__ImportedTypeAssignment_1_0_2"); - builder.put(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0(), "rule__XImportDeclaration__WildcardAssignment_1_0_3_0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1(), "rule__XImportDeclaration__MemberNameAssignment_1_0_3_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1(), "rule__XImportDeclaration__ImportedTypeAssignment_1_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2(), "rule__XImportDeclaration__ImportedNamespaceAssignment_1_2"); + private static void init(Map mappings, XtendGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getTypeAccess().getAlternatives_2(), "rule__Type__Alternatives_2"); + mappings.put(grammarAccess.getJvmSuperTypeReferenceAccess().getAlternatives(), "rule__JvmSuperTypeReference__Alternatives"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getAlternatives_2(), "rule__AnnotationField__Alternatives_2"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getAlternatives_2_0_0(), "rule__AnnotationField__Alternatives_2_0_0"); + mappings.put(grammarAccess.getMemberAccess().getAlternatives_2(), "rule__Member__Alternatives_2"); + mappings.put(grammarAccess.getMemberAccess().getAlternatives_2_0_2(), "rule__Member__Alternatives_2_0_2"); + mappings.put(grammarAccess.getMemberAccess().getAlternatives_2_0_2_1_1(), "rule__Member__Alternatives_2_0_2_1_1"); + mappings.put(grammarAccess.getMemberAccess().getAlternatives_2_1_3(), "rule__Member__Alternatives_2_1_3"); + mappings.put(grammarAccess.getMemberAccess().getAlternatives_2_1_5(), "rule__Member__Alternatives_2_1_5"); + mappings.put(grammarAccess.getMemberAccess().getAlternatives_2_1_9(), "rule__Member__Alternatives_2_1_9"); + mappings.put(grammarAccess.getTypeReferenceWithTypeArgsAccess().getAlternatives(), "rule__TypeReferenceWithTypeArgs__Alternatives"); + mappings.put(grammarAccess.getFunctionIDAccess().getAlternatives(), "rule__FunctionID__Alternatives"); + mappings.put(grammarAccess.getOperatorsAccess().getAlternatives(), "rule__Operators__Alternatives"); + mappings.put(grammarAccess.getCommonModifierAccess().getAlternatives(), "rule__CommonModifier__Alternatives"); + mappings.put(grammarAccess.getFieldModifierAccess().getAlternatives(), "rule__FieldModifier__Alternatives"); + mappings.put(grammarAccess.getMethodModifierAccess().getAlternatives(), "rule__MethodModifier__Alternatives"); + mappings.put(grammarAccess.getValidIDAccess().getAlternatives(), "rule__ValidID__Alternatives"); + mappings.put(grammarAccess.getFeatureCallIDAccess().getAlternatives(), "rule__FeatureCallID__Alternatives"); + mappings.put(grammarAccess.getInnerVarIDAccess().getAlternatives(), "rule__InnerVarID__Alternatives"); + mappings.put(grammarAccess.getXAssignmentAccess().getAlternatives(), "rule__XAssignment__Alternatives"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_2(), "rule__XTryCatchFinallyExpression__Alternatives_2"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_2_0_6_0(), "rule__XTryCatchFinallyExpression__Alternatives_2_0_6_0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_2_1_1(), "rule__XTryCatchFinallyExpression__Alternatives_2_1_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_1(), "rule__XVariableDeclaration__Alternatives_1"); + mappings.put(grammarAccess.getInitializedVariableDeclarationAccess().getAlternatives_2(), "rule__InitializedVariableDeclaration__Alternatives_2"); + mappings.put(grammarAccess.getVariableModifierAccess().getAlternatives(), "rule__VariableModifier__Alternatives"); + mappings.put(grammarAccess.getVariableModifierAccess().getAlternatives_0_0(), "rule__VariableModifier__Alternatives_0_0"); + mappings.put(grammarAccess.getVariableModifierAccess().getAlternatives_1_1(), "rule__VariableModifier__Alternatives_1_1"); + mappings.put(grammarAccess.getXbaseConstructorCallAccess().getAlternatives_4_1(), "rule__XbaseConstructorCall__Alternatives_4_1"); + mappings.put(grammarAccess.getXStringLiteralAccess().getAlternatives(), "rule__XStringLiteral__Alternatives"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2(), "rule__XSwitchExpression__Alternatives_2"); + mappings.put(grammarAccess.getXCasePartAccess().getAlternatives_3(), "rule__XCasePart__Alternatives_3"); + mappings.put(grammarAccess.getXExpressionOrSimpleConstructorCallAccess().getAlternatives(), "rule__XExpressionOrSimpleConstructorCall__Alternatives"); + mappings.put(grammarAccess.getRichStringAccess().getAlternatives_1(), "rule__RichString__Alternatives_1"); + mappings.put(grammarAccess.getRichStringLiteralInbetweenAccess().getAlternatives_1(), "rule__RichStringLiteralInbetween__Alternatives_1"); + mappings.put(grammarAccess.getRichStringLiteralEndAccess().getAlternatives_1(), "rule__RichStringLiteralEnd__Alternatives_1"); + mappings.put(grammarAccess.getRichStringPartAccess().getAlternatives(), "rule__RichStringPart__Alternatives"); + mappings.put(grammarAccess.getXAnnotationAccess().getAlternatives_3_1(), "rule__XAnnotation__Alternatives_3_1"); + mappings.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getAlternatives(), "rule__XAnnotationElementValueOrCommaList__Alternatives"); + mappings.put(grammarAccess.getXAnnotationElementValueAccess().getAlternatives(), "rule__XAnnotationElementValue__Alternatives"); + mappings.put(grammarAccess.getXAnnotationOrExpressionAccess().getAlternatives(), "rule__XAnnotationOrExpression__Alternatives"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getAlternatives(), "rule__OpMultiAssign__Alternatives"); + mappings.put(grammarAccess.getOpEqualityAccess().getAlternatives(), "rule__OpEquality__Alternatives"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getAlternatives_1(), "rule__XRelationalExpression__Alternatives_1"); + mappings.put(grammarAccess.getOpCompareAccess().getAlternatives(), "rule__OpCompare__Alternatives"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives(), "rule__OpOther__Alternatives"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives_5_1(), "rule__OpOther__Alternatives_5_1"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives_6_1(), "rule__OpOther__Alternatives_6_1"); + mappings.put(grammarAccess.getOpAddAccess().getAlternatives(), "rule__OpAdd__Alternatives"); + mappings.put(grammarAccess.getOpMultiAccess().getAlternatives(), "rule__OpMulti__Alternatives"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getAlternatives(), "rule__XUnaryOperation__Alternatives"); + mappings.put(grammarAccess.getOpUnaryAccess().getAlternatives(), "rule__OpUnary__Alternatives"); + mappings.put(grammarAccess.getOpPostfixAccess().getAlternatives(), "rule__OpPostfix__Alternatives"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1(), "rule__XMemberFeatureCall__Alternatives_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_0_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_0_0_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_1_0_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_3_1(), "rule__XMemberFeatureCall__Alternatives_1_1_3_1"); + mappings.put(grammarAccess.getXPrimaryExpressionAccess().getAlternatives(), "rule__XPrimaryExpression__Alternatives"); + mappings.put(grammarAccess.getXLiteralAccess().getAlternatives(), "rule__XLiteral__Alternatives"); + mappings.put(grammarAccess.getXCollectionLiteralAccess().getAlternatives(), "rule__XCollectionLiteral__Alternatives"); + mappings.put(grammarAccess.getXExpressionOrVarDeclarationAccess().getAlternatives(), "rule__XExpressionOrVarDeclaration__Alternatives"); + mappings.put(grammarAccess.getXFeatureCallAccess().getAlternatives_3_1(), "rule__XFeatureCall__Alternatives_3_1"); + mappings.put(grammarAccess.getIdOrSuperAccess().getAlternatives(), "rule__IdOrSuper__Alternatives"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1(), "rule__XBooleanLiteral__Alternatives_1"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives(), "rule__Number__Alternatives"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives_1_0(), "rule__Number__Alternatives_1_0"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives_1_1_1(), "rule__Number__Alternatives_1_1_1"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getAlternatives(), "rule__JvmTypeReference__Alternatives"); + mappings.put(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives(), "rule__JvmArgumentTypeReference__Alternatives"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2(), "rule__JvmWildcardTypeReference__Alternatives_2"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1(), "rule__XImportDeclaration__Alternatives_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3(), "rule__XImportDeclaration__Alternatives_1_0_3"); + mappings.put(grammarAccess.getFileAccess().getGroup(), "rule__File__Group__0"); + mappings.put(grammarAccess.getFileAccess().getGroup_0(), "rule__File__Group_0__0"); + mappings.put(grammarAccess.getTypeAccess().getGroup(), "rule__Type__Group__0"); + mappings.put(grammarAccess.getTypeAccess().getGroup_2_0(), "rule__Type__Group_2_0__0"); + mappings.put(grammarAccess.getTypeAccess().getGroup_2_0_4(), "rule__Type__Group_2_0_4__0"); + mappings.put(grammarAccess.getTypeAccess().getGroup_2_0_4_2(), "rule__Type__Group_2_0_4_2__0"); + mappings.put(grammarAccess.getTypeAccess().getGroup_2_0_5(), "rule__Type__Group_2_0_5__0"); + mappings.put(grammarAccess.getTypeAccess().getGroup_2_0_6(), "rule__Type__Group_2_0_6__0"); + mappings.put(grammarAccess.getTypeAccess().getGroup_2_0_6_2(), "rule__Type__Group_2_0_6_2__0"); + mappings.put(grammarAccess.getTypeAccess().getGroup_2_1(), "rule__Type__Group_2_1__0"); + mappings.put(grammarAccess.getTypeAccess().getGroup_2_1_4(), "rule__Type__Group_2_1_4__0"); + mappings.put(grammarAccess.getTypeAccess().getGroup_2_1_4_2(), "rule__Type__Group_2_1_4_2__0"); + mappings.put(grammarAccess.getTypeAccess().getGroup_2_1_5(), "rule__Type__Group_2_1_5__0"); + mappings.put(grammarAccess.getTypeAccess().getGroup_2_1_5_2(), "rule__Type__Group_2_1_5_2__0"); + mappings.put(grammarAccess.getTypeAccess().getGroup_2_2(), "rule__Type__Group_2_2__0"); + mappings.put(grammarAccess.getTypeAccess().getGroup_2_2_5(), "rule__Type__Group_2_2_5__0"); + mappings.put(grammarAccess.getTypeAccess().getGroup_2_2_5_1(), "rule__Type__Group_2_2_5_1__0"); + mappings.put(grammarAccess.getTypeAccess().getGroup_2_3(), "rule__Type__Group_2_3__0"); + mappings.put(grammarAccess.getXFunctionSuperTypeRefAccess().getGroup(), "rule__XFunctionSuperTypeRef__Group__0"); + mappings.put(grammarAccess.getXFunctionSuperTypeRefAccess().getGroup_0(), "rule__XFunctionSuperTypeRef__Group_0__0"); + mappings.put(grammarAccess.getXFunctionSuperTypeRefAccess().getGroup_0_1(), "rule__XFunctionSuperTypeRef__Group_0_1__0"); + mappings.put(grammarAccess.getXFunctionSuperTypeRefAccess().getGroup_0_1_1(), "rule__XFunctionSuperTypeRef__Group_0_1_1__0"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getGroup(), "rule__AnnotationField__Group__0"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_0(), "rule__AnnotationField__Group_2_0__0"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_0_0_0(), "rule__AnnotationField__Group_2_0_0_0__0"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_0_0_1(), "rule__AnnotationField__Group_2_0_0_1__0"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_0_1(), "rule__AnnotationField__Group_2_0_1__0"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_1(), "rule__AnnotationField__Group_2_1__0"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_1_4(), "rule__AnnotationField__Group_2_1_4__0"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_1_4_2(), "rule__AnnotationField__Group_2_1_4_2__0"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_1_5(), "rule__AnnotationField__Group_2_1_5__0"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_1_6(), "rule__AnnotationField__Group_2_1_6__0"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_1_6_2(), "rule__AnnotationField__Group_2_1_6_2__0"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_2(), "rule__AnnotationField__Group_2_2__0"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_2_4(), "rule__AnnotationField__Group_2_2_4__0"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_2_4_2(), "rule__AnnotationField__Group_2_2_4_2__0"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_2_5(), "rule__AnnotationField__Group_2_2_5__0"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_2_5_2(), "rule__AnnotationField__Group_2_2_5_2__0"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_3(), "rule__AnnotationField__Group_2_3__0"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_3_5(), "rule__AnnotationField__Group_2_3_5__0"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_3_5_1(), "rule__AnnotationField__Group_2_3_5_1__0"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getGroup_2_4(), "rule__AnnotationField__Group_2_4__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup(), "rule__Member__Group__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_0(), "rule__Member__Group_2_0__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_0_2_0(), "rule__Member__Group_2_0_2_0__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_0_2_1(), "rule__Member__Group_2_0_2_1__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_0_2_2(), "rule__Member__Group_2_0_2_2__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_0_2_3(), "rule__Member__Group_2_0_2_3__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_0_3(), "rule__Member__Group_2_0_3__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_1(), "rule__Member__Group_2_1__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_1_4(), "rule__Member__Group_2_1_4__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_1_4_2(), "rule__Member__Group_2_1_4_2__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_1_5_0(), "rule__Member__Group_2_1_5_0__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_1_5_0_0(), "rule__Member__Group_2_1_5_0_0__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_1_5_1(), "rule__Member__Group_2_1_5_1__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_1_5_1_0(), "rule__Member__Group_2_1_5_1_0__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_1_5_2(), "rule__Member__Group_2_1_5_2__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_1_5_2_0(), "rule__Member__Group_2_1_5_2_0__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_1_5_3(), "rule__Member__Group_2_1_5_3__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_1_5_3_0(), "rule__Member__Group_2_1_5_3_0__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_1_5_4(), "rule__Member__Group_2_1_5_4__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_1_6(), "rule__Member__Group_2_1_6__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_1_6_1(), "rule__Member__Group_2_1_6_1__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_1_8(), "rule__Member__Group_2_1_8__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_1_8_2(), "rule__Member__Group_2_1_8_2__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_2(), "rule__Member__Group_2_2__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_2_3(), "rule__Member__Group_2_2_3__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_2_3_2(), "rule__Member__Group_2_2_3_2__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_2_5(), "rule__Member__Group_2_2_5__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_2_5_1(), "rule__Member__Group_2_2_5_1__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_2_7(), "rule__Member__Group_2_2_7__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_2_7_2(), "rule__Member__Group_2_2_7_2__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_3(), "rule__Member__Group_2_3__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_3_4(), "rule__Member__Group_2_3_4__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_3_4_2(), "rule__Member__Group_2_3_4_2__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_3_5(), "rule__Member__Group_2_3_5__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_3_6(), "rule__Member__Group_2_3_6__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_3_6_2(), "rule__Member__Group_2_3_6_2__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_4(), "rule__Member__Group_2_4__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_4_4(), "rule__Member__Group_2_4_4__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_4_4_2(), "rule__Member__Group_2_4_4_2__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_4_5(), "rule__Member__Group_2_4_5__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_4_5_2(), "rule__Member__Group_2_4_5_2__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_5(), "rule__Member__Group_2_5__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_5_5(), "rule__Member__Group_2_5_5__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_5_5_1(), "rule__Member__Group_2_5_5_1__0"); + mappings.put(grammarAccess.getMemberAccess().getGroup_2_6(), "rule__Member__Group_2_6__0"); + mappings.put(grammarAccess.getTypeReferenceWithTypeArgsAccess().getGroup_0(), "rule__TypeReferenceWithTypeArgs__Group_0__0"); + mappings.put(grammarAccess.getTypeReferenceWithTypeArgsAccess().getGroup_0_1(), "rule__TypeReferenceWithTypeArgs__Group_0_1__0"); + mappings.put(grammarAccess.getTypeReferenceWithTypeArgsAccess().getGroup_0_1_0(), "rule__TypeReferenceWithTypeArgs__Group_0_1_0__0"); + mappings.put(grammarAccess.getTypeReferenceWithTypeArgsAccess().getGroup_1(), "rule__TypeReferenceWithTypeArgs__Group_1__0"); + mappings.put(grammarAccess.getTypeReferenceWithTypeArgsAccess().getGroup_1_1(), "rule__TypeReferenceWithTypeArgs__Group_1_1__0"); + mappings.put(grammarAccess.getTypeReferenceWithTypeArgsAccess().getGroup_1_1_0(), "rule__TypeReferenceWithTypeArgs__Group_1_1_0__0"); + mappings.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getGroup(), "rule__ParameterizedTypeReferenceWithTypeArgs__Group__0"); + mappings.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getGroup_1(), "rule__ParameterizedTypeReferenceWithTypeArgs__Group_1__0"); + mappings.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getGroup_1_2(), "rule__ParameterizedTypeReferenceWithTypeArgs__Group_1_2__0"); + mappings.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getGroup_1_4(), "rule__ParameterizedTypeReferenceWithTypeArgs__Group_1_4__0"); + mappings.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getGroup_1_4_0(), "rule__ParameterizedTypeReferenceWithTypeArgs__Group_1_4_0__0"); + mappings.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getGroup_1_4_0_0(), "rule__ParameterizedTypeReferenceWithTypeArgs__Group_1_4_0_0__0"); + mappings.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getGroup_1_4_2(), "rule__ParameterizedTypeReferenceWithTypeArgs__Group_1_4_2__0"); + mappings.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getGroup_1_4_2_2(), "rule__ParameterizedTypeReferenceWithTypeArgs__Group_1_4_2_2__0"); + mappings.put(grammarAccess.getXtendEnumLiteralAccess().getGroup(), "rule__XtendEnumLiteral__Group__0"); + mappings.put(grammarAccess.getCreateExtensionInfoAccess().getGroup(), "rule__CreateExtensionInfo__Group__0"); + mappings.put(grammarAccess.getCreateExtensionInfoAccess().getGroup_1(), "rule__CreateExtensionInfo__Group_1__0"); + mappings.put(grammarAccess.getParameterAccess().getGroup(), "rule__Parameter__Group__0"); + mappings.put(grammarAccess.getParameterAccess().getGroup_1(), "rule__Parameter__Group_1__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_0(), "rule__XAssignment__Group_0__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1(), "rule__XAssignment__Group_1__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1(), "rule__XAssignment__Group_1_1__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0(), "rule__XAssignment__Group_1_1_0__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0_0(), "rule__XAssignment__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getXConditionalExpressionAccess().getGroup(), "rule__XConditionalExpression__Group__0"); + mappings.put(grammarAccess.getXConditionalExpressionAccess().getGroup_1(), "rule__XConditionalExpression__Group_1__0"); + mappings.put(grammarAccess.getXConditionalExpressionAccess().getGroup_1_0(), "rule__XConditionalExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXConditionalExpressionAccess().getGroup_1_0_0(), "rule__XConditionalExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXConditionalExpressionAccess().getGroup_1_2(), "rule__XConditionalExpression__Group_1_2__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup(), "rule__XTryCatchFinallyExpression__Group__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_0(), "rule__XTryCatchFinallyExpression__Group_2_0__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_0_2(), "rule__XTryCatchFinallyExpression__Group_2_0_2__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_0_6(), "rule__XTryCatchFinallyExpression__Group_2_0_6__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_0_6_0_0(), "rule__XTryCatchFinallyExpression__Group_2_0_6_0_0__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_0_6_0_0_1(), "rule__XTryCatchFinallyExpression__Group_2_0_6_0_0_1__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_0_6_0_1(), "rule__XTryCatchFinallyExpression__Group_2_0_6_0_1__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_1(), "rule__XTryCatchFinallyExpression__Group_2_1__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_1_1_0(), "rule__XTryCatchFinallyExpression__Group_2_1_1_0__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_1_1_0_1(), "rule__XTryCatchFinallyExpression__Group_2_1_1_0_1__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_1_1_1(), "rule__XTryCatchFinallyExpression__Group_2_1_1_1__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup(), "rule__XVariableDeclaration__Group__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_0(), "rule__XVariableDeclaration__Group_0__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_0_0(), "rule__XVariableDeclaration__Group_0_0__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_1_0(), "rule__XVariableDeclaration__Group_1_0__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_1_0_0(), "rule__XVariableDeclaration__Group_1_0_0__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2(), "rule__XVariableDeclaration__Group_2__0"); + mappings.put(grammarAccess.getInitializedVariableDeclarationAccess().getGroup(), "rule__InitializedVariableDeclaration__Group__0"); + mappings.put(grammarAccess.getInitializedVariableDeclarationAccess().getGroup_2_0(), "rule__InitializedVariableDeclaration__Group_2_0__0"); + mappings.put(grammarAccess.getInitializedVariableDeclarationAccess().getGroup_2_0_0(), "rule__InitializedVariableDeclaration__Group_2_0_0__0"); + mappings.put(grammarAccess.getVariableModifierAccess().getGroup_0(), "rule__VariableModifier__Group_0__0"); + mappings.put(grammarAccess.getVariableModifierAccess().getGroup_1(), "rule__VariableModifier__Group_1__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup(), "rule__XConstructorCall__Group__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_1(), "rule__XConstructorCall__Group_1__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_1_0(), "rule__XConstructorCall__Group_1_0__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_1_0_0(), "rule__XConstructorCall__Group_1_0_0__0"); + mappings.put(grammarAccess.getXbaseConstructorCallAccess().getGroup(), "rule__XbaseConstructorCall__Group__0"); + mappings.put(grammarAccess.getXbaseConstructorCallAccess().getGroup_3(), "rule__XbaseConstructorCall__Group_3__0"); + mappings.put(grammarAccess.getXbaseConstructorCallAccess().getGroup_3_2(), "rule__XbaseConstructorCall__Group_3_2__0"); + mappings.put(grammarAccess.getXbaseConstructorCallAccess().getGroup_4(), "rule__XbaseConstructorCall__Group_4__0"); + mappings.put(grammarAccess.getXbaseConstructorCallAccess().getGroup_4_1_1(), "rule__XbaseConstructorCall__Group_4_1_1__0"); + mappings.put(grammarAccess.getXbaseConstructorCallAccess().getGroup_4_1_1_1(), "rule__XbaseConstructorCall__Group_4_1_1_1__0"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getGroup(), "rule__JvmFormalParameter__Group__0"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getGroup(), "rule__FullJvmFormalParameter__Group__0"); + mappings.put(grammarAccess.getMultiTypeReferenceAccess().getGroup(), "rule__MultiTypeReference__Group__0"); + mappings.put(grammarAccess.getMultiTypeReferenceAccess().getGroup_1(), "rule__MultiTypeReference__Group_1__0"); + mappings.put(grammarAccess.getMultiTypeReferenceAccess().getGroup_1_1(), "rule__MultiTypeReference__Group_1_1__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup(), "rule__XSwitchExpression__Group__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0(), "rule__XSwitchExpression__Group_2_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0(), "rule__XSwitchExpression__Group_2_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0(), "rule__XSwitchExpression__Group_2_0_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1(), "rule__XSwitchExpression__Group_2_1__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0(), "rule__XSwitchExpression__Group_2_1_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0(), "rule__XSwitchExpression__Group_2_1_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_5(), "rule__XSwitchExpression__Group_5__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup(), "rule__XCasePart__Group__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup_2(), "rule__XCasePart__Group_2__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup_3_0(), "rule__XCasePart__Group_3_0__0"); + mappings.put(grammarAccess.getSimpleStringLiteralAccess().getGroup(), "rule__SimpleStringLiteral__Group__0"); + mappings.put(grammarAccess.getRichStringAccess().getGroup(), "rule__RichString__Group__0"); + mappings.put(grammarAccess.getRichStringAccess().getGroup_1_1(), "rule__RichString__Group_1_1__0"); + mappings.put(grammarAccess.getRichStringAccess().getGroup_1_1_2(), "rule__RichString__Group_1_1_2__0"); + mappings.put(grammarAccess.getRichStringLiteralAccess().getGroup(), "rule__RichStringLiteral__Group__0"); + mappings.put(grammarAccess.getRichStringLiteralStartAccess().getGroup(), "rule__RichStringLiteralStart__Group__0"); + mappings.put(grammarAccess.getRichStringLiteralInbetweenAccess().getGroup(), "rule__RichStringLiteralInbetween__Group__0"); + mappings.put(grammarAccess.getRichStringLiteralEndAccess().getGroup(), "rule__RichStringLiteralEnd__Group__0"); + mappings.put(grammarAccess.getInternalRichStringAccess().getGroup(), "rule__InternalRichString__Group__0"); + mappings.put(grammarAccess.getInternalRichStringAccess().getGroup_1(), "rule__InternalRichString__Group_1__0"); + mappings.put(grammarAccess.getInternalRichStringAccess().getGroup_1_1(), "rule__InternalRichString__Group_1_1__0"); + mappings.put(grammarAccess.getRichStringForLoopAccess().getGroup(), "rule__RichStringForLoop__Group__0"); + mappings.put(grammarAccess.getRichStringForLoopAccess().getGroup_5(), "rule__RichStringForLoop__Group_5__0"); + mappings.put(grammarAccess.getRichStringForLoopAccess().getGroup_6(), "rule__RichStringForLoop__Group_6__0"); + mappings.put(grammarAccess.getRichStringForLoopAccess().getGroup_7(), "rule__RichStringForLoop__Group_7__0"); + mappings.put(grammarAccess.getRichStringIfAccess().getGroup(), "rule__RichStringIf__Group__0"); + mappings.put(grammarAccess.getRichStringIfAccess().getGroup_5(), "rule__RichStringIf__Group_5__0"); + mappings.put(grammarAccess.getRichStringElseIfAccess().getGroup(), "rule__RichStringElseIf__Group__0"); + mappings.put(grammarAccess.getXAnnotationAccess().getGroup(), "rule__XAnnotation__Group__0"); + mappings.put(grammarAccess.getXAnnotationAccess().getGroup_3(), "rule__XAnnotation__Group_3__0"); + mappings.put(grammarAccess.getXAnnotationAccess().getGroup_3_1_0(), "rule__XAnnotation__Group_3_1_0__0"); + mappings.put(grammarAccess.getXAnnotationAccess().getGroup_3_1_0_1(), "rule__XAnnotation__Group_3_1_0_1__0"); + mappings.put(grammarAccess.getXAnnotationElementValuePairAccess().getGroup(), "rule__XAnnotationElementValuePair__Group__0"); + mappings.put(grammarAccess.getXAnnotationElementValuePairAccess().getGroup_0(), "rule__XAnnotationElementValuePair__Group_0__0"); + mappings.put(grammarAccess.getXAnnotationElementValuePairAccess().getGroup_0_0(), "rule__XAnnotationElementValuePair__Group_0_0__0"); + mappings.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0(), "rule__XAnnotationElementValueOrCommaList__Group_0__0"); + mappings.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_0(), "rule__XAnnotationElementValueOrCommaList__Group_0_0__0"); + mappings.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_0_0(), "rule__XAnnotationElementValueOrCommaList__Group_0_0_0__0"); + mappings.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_1(), "rule__XAnnotationElementValueOrCommaList__Group_0_1__0"); + mappings.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_1_1(), "rule__XAnnotationElementValueOrCommaList__Group_0_1_1__0"); + mappings.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1(), "rule__XAnnotationElementValueOrCommaList__Group_1__0"); + mappings.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1_1(), "rule__XAnnotationElementValueOrCommaList__Group_1_1__0"); + mappings.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1_1_1(), "rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0"); + mappings.put(grammarAccess.getXAnnotationElementValueAccess().getGroup_0(), "rule__XAnnotationElementValue__Group_0__0"); + mappings.put(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_0(), "rule__XAnnotationElementValue__Group_0_0__0"); + mappings.put(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_0_0(), "rule__XAnnotationElementValue__Group_0_0_0__0"); + mappings.put(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_1(), "rule__XAnnotationElementValue__Group_0_1__0"); + mappings.put(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_1_1(), "rule__XAnnotationElementValue__Group_0_1_1__0"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getGroup_5(), "rule__OpMultiAssign__Group_5__0"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getGroup_6(), "rule__OpMultiAssign__Group_6__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup(), "rule__XOrExpression__Group__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1(), "rule__XOrExpression__Group_1__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0(), "rule__XOrExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0_0(), "rule__XOrExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup(), "rule__XAndExpression__Group__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1(), "rule__XAndExpression__Group_1__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0(), "rule__XAndExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0_0(), "rule__XAndExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup(), "rule__XEqualityExpression__Group__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1(), "rule__XEqualityExpression__Group_1__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0(), "rule__XEqualityExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0_0(), "rule__XEqualityExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup(), "rule__XRelationalExpression__Group__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0(), "rule__XRelationalExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0(), "rule__XRelationalExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0_0(), "rule__XRelationalExpression__Group_1_0_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1(), "rule__XRelationalExpression__Group_1_1__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0(), "rule__XRelationalExpression__Group_1_1_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0_0(), "rule__XRelationalExpression__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getOpCompareAccess().getGroup_1(), "rule__OpCompare__Group_1__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup(), "rule__XOtherOperatorExpression__Group__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1(), "rule__XOtherOperatorExpression__Group_1__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0(), "rule__XOtherOperatorExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0_0(), "rule__XOtherOperatorExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_2(), "rule__OpOther__Group_2__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5(), "rule__OpOther__Group_5__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0(), "rule__OpOther__Group_5_1_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0_0(), "rule__OpOther__Group_5_1_0_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6(), "rule__OpOther__Group_6__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0(), "rule__OpOther__Group_6_1_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0_0(), "rule__OpOther__Group_6_1_0_0__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup(), "rule__XAdditiveExpression__Group__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1(), "rule__XAdditiveExpression__Group_1__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0(), "rule__XAdditiveExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0_0(), "rule__XAdditiveExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup(), "rule__XMultiplicativeExpression__Group__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1(), "rule__XMultiplicativeExpression__Group_1__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0(), "rule__XMultiplicativeExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0_0(), "rule__XMultiplicativeExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getGroup_0(), "rule__XUnaryOperation__Group_0__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup(), "rule__XCastedExpression__Group__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1(), "rule__XCastedExpression__Group_1__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0(), "rule__XCastedExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0_0(), "rule__XCastedExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup(), "rule__XPostfixOperation__Group__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup_1(), "rule__XPostfixOperation__Group_1__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup_1_0(), "rule__XPostfixOperation__Group_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup(), "rule__XMemberFeatureCall__Group__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0(), "rule__XMemberFeatureCall__Group_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0(), "rule__XMemberFeatureCall__Group_1_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0_0(), "rule__XMemberFeatureCall__Group_1_0_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1(), "rule__XMemberFeatureCall__Group_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0(), "rule__XMemberFeatureCall__Group_1_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0_0(), "rule__XMemberFeatureCall__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1_2(), "rule__XMemberFeatureCall__Group_1_1_1_2__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3(), "rule__XMemberFeatureCall__Group_1_1_3__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1_1__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup(), "rule__XSetLiteral__Group__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup_3(), "rule__XSetLiteral__Group_3__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup_3_1(), "rule__XSetLiteral__Group_3_1__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup(), "rule__XListLiteral__Group__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup_3(), "rule__XListLiteral__Group_3__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup_3_1(), "rule__XListLiteral__Group_3_1__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup(), "rule__XClosure__Group__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_0(), "rule__XClosure__Group_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_0_0(), "rule__XClosure__Group_0_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1(), "rule__XClosure__Group_1__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0(), "rule__XClosure__Group_1_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0_0(), "rule__XClosure__Group_1_0_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0_0_1(), "rule__XClosure__Group_1_0_0_1__0"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getGroup(), "rule__XExpressionInClosure__Group__0"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getGroup_1(), "rule__XExpressionInClosure__Group_1__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup(), "rule__XShortClosure__Group__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0(), "rule__XShortClosure__Group_0__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0(), "rule__XShortClosure__Group_0_0__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1(), "rule__XShortClosure__Group_0_0_1__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1_1(), "rule__XShortClosure__Group_0_0_1_1__0"); + mappings.put(grammarAccess.getXParenthesizedExpressionAccess().getGroup(), "rule__XParenthesizedExpression__Group__0"); + mappings.put(grammarAccess.getXIfExpressionAccess().getGroup(), "rule__XIfExpression__Group__0"); + mappings.put(grammarAccess.getXIfExpressionAccess().getGroup_6(), "rule__XIfExpression__Group_6__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup(), "rule__XForLoopExpression__Group__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0(), "rule__XForLoopExpression__Group_0__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0_0(), "rule__XForLoopExpression__Group_0_0__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup(), "rule__XBasicForLoopExpression__Group__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3(), "rule__XBasicForLoopExpression__Group_3__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3_1(), "rule__XBasicForLoopExpression__Group_3_1__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7(), "rule__XBasicForLoopExpression__Group_7__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7_1(), "rule__XBasicForLoopExpression__Group_7_1__0"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getGroup(), "rule__XWhileExpression__Group__0"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getGroup(), "rule__XDoWhileExpression__Group__0"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getGroup(), "rule__XBlockExpression__Group__0"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getGroup_2(), "rule__XBlockExpression__Group_2__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup(), "rule__XFeatureCall__Group__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_1(), "rule__XFeatureCall__Group_1__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_1_2(), "rule__XFeatureCall__Group_1_2__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3(), "rule__XFeatureCall__Group_3__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1(), "rule__XFeatureCall__Group_3_1_1__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1_1(), "rule__XFeatureCall__Group_3_1_1_1__0"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getGroup(), "rule__XBooleanLiteral__Group__0"); + mappings.put(grammarAccess.getXNullLiteralAccess().getGroup(), "rule__XNullLiteral__Group__0"); + mappings.put(grammarAccess.getXNumberLiteralAccess().getGroup(), "rule__XNumberLiteral__Group__0"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getGroup(), "rule__XTypeLiteral__Group__0"); + mappings.put(grammarAccess.getXThrowExpressionAccess().getGroup(), "rule__XThrowExpression__Group__0"); + mappings.put(grammarAccess.getXReturnExpressionAccess().getGroup(), "rule__XReturnExpression__Group__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup(), "rule__XSynchronizedExpression__Group__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0(), "rule__XSynchronizedExpression__Group_0__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0_0(), "rule__XSynchronizedExpression__Group_0_0__0"); + mappings.put(grammarAccess.getXCatchClauseAccess().getGroup(), "rule__XCatchClause__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); + mappings.put(grammarAccess.getNumberAccess().getGroup_1(), "rule__Number__Group_1__0"); + mappings.put(grammarAccess.getNumberAccess().getGroup_1_1(), "rule__Number__Group_1_1__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0(), "rule__JvmTypeReference__Group_0__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1(), "rule__JvmTypeReference__Group_0_1__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0(), "rule__JvmTypeReference__Group_0_1_0__0"); + mappings.put(grammarAccess.getArrayBracketsAccess().getGroup(), "rule__ArrayBrackets__Group__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup(), "rule__XFunctionTypeRef__Group__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0(), "rule__XFunctionTypeRef__Group_0__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1(), "rule__XFunctionTypeRef__Group_0_1__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1(), "rule__XFunctionTypeRef__Group_0_1_1__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup(), "rule__JvmParameterizedTypeReference__Group__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1(), "rule__JvmParameterizedTypeReference__Group_1__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2(), "rule__JvmParameterizedTypeReference__Group_1_2__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4(), "rule__JvmParameterizedTypeReference__Group_1_4__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup(), "rule__JvmWildcardTypeReference__Group__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0(), "rule__JvmWildcardTypeReference__Group_2_0__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1(), "rule__JvmWildcardTypeReference__Group_2_1__0"); + mappings.put(grammarAccess.getJvmUpperBoundAccess().getGroup(), "rule__JvmUpperBound__Group__0"); + mappings.put(grammarAccess.getJvmUpperBoundAndedAccess().getGroup(), "rule__JvmUpperBoundAnded__Group__0"); + mappings.put(grammarAccess.getJvmLowerBoundAccess().getGroup(), "rule__JvmLowerBound__Group__0"); + mappings.put(grammarAccess.getJvmLowerBoundAndedAccess().getGroup(), "rule__JvmLowerBoundAnded__Group__0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getGroup(), "rule__JvmTypeParameter__Group__0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getGroup_1(), "rule__JvmTypeParameter__Group_1__0"); + mappings.put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup(), "rule__QualifiedNameWithWildcard__Group__0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getGroup(), "rule__XImportDeclaration__Group__0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getGroup_1_0(), "rule__XImportDeclaration__Group_1_0__0"); + mappings.put(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup(), "rule__QualifiedNameInStaticImport__Group__0"); + mappings.put(grammarAccess.getFileAccess().getPackageAssignment_0_1(), "rule__File__PackageAssignment_0_1"); + mappings.put(grammarAccess.getFileAccess().getImportSectionAssignment_1(), "rule__File__ImportSectionAssignment_1"); + mappings.put(grammarAccess.getFileAccess().getXtendTypesAssignment_2(), "rule__File__XtendTypesAssignment_2"); + mappings.put(grammarAccess.getTypeAccess().getAnnotationsAssignment_1(), "rule__Type__AnnotationsAssignment_1"); + mappings.put(grammarAccess.getTypeAccess().getModifiersAssignment_2_0_1(), "rule__Type__ModifiersAssignment_2_0_1"); + mappings.put(grammarAccess.getTypeAccess().getNameAssignment_2_0_3(), "rule__Type__NameAssignment_2_0_3"); + mappings.put(grammarAccess.getTypeAccess().getTypeParametersAssignment_2_0_4_1(), "rule__Type__TypeParametersAssignment_2_0_4_1"); + mappings.put(grammarAccess.getTypeAccess().getTypeParametersAssignment_2_0_4_2_1(), "rule__Type__TypeParametersAssignment_2_0_4_2_1"); + mappings.put(grammarAccess.getTypeAccess().getExtendsAssignment_2_0_5_1(), "rule__Type__ExtendsAssignment_2_0_5_1"); + mappings.put(grammarAccess.getTypeAccess().getImplementsAssignment_2_0_6_1(), "rule__Type__ImplementsAssignment_2_0_6_1"); + mappings.put(grammarAccess.getTypeAccess().getImplementsAssignment_2_0_6_2_1(), "rule__Type__ImplementsAssignment_2_0_6_2_1"); + mappings.put(grammarAccess.getTypeAccess().getMembersAssignment_2_0_8(), "rule__Type__MembersAssignment_2_0_8"); + mappings.put(grammarAccess.getTypeAccess().getModifiersAssignment_2_1_1(), "rule__Type__ModifiersAssignment_2_1_1"); + mappings.put(grammarAccess.getTypeAccess().getNameAssignment_2_1_3(), "rule__Type__NameAssignment_2_1_3"); + mappings.put(grammarAccess.getTypeAccess().getTypeParametersAssignment_2_1_4_1(), "rule__Type__TypeParametersAssignment_2_1_4_1"); + mappings.put(grammarAccess.getTypeAccess().getTypeParametersAssignment_2_1_4_2_1(), "rule__Type__TypeParametersAssignment_2_1_4_2_1"); + mappings.put(grammarAccess.getTypeAccess().getExtendsAssignment_2_1_5_1(), "rule__Type__ExtendsAssignment_2_1_5_1"); + mappings.put(grammarAccess.getTypeAccess().getExtendsAssignment_2_1_5_2_1(), "rule__Type__ExtendsAssignment_2_1_5_2_1"); + mappings.put(grammarAccess.getTypeAccess().getMembersAssignment_2_1_7(), "rule__Type__MembersAssignment_2_1_7"); + mappings.put(grammarAccess.getTypeAccess().getModifiersAssignment_2_2_1(), "rule__Type__ModifiersAssignment_2_2_1"); + mappings.put(grammarAccess.getTypeAccess().getNameAssignment_2_2_3(), "rule__Type__NameAssignment_2_2_3"); + mappings.put(grammarAccess.getTypeAccess().getMembersAssignment_2_2_5_0(), "rule__Type__MembersAssignment_2_2_5_0"); + mappings.put(grammarAccess.getTypeAccess().getMembersAssignment_2_2_5_1_1(), "rule__Type__MembersAssignment_2_2_5_1_1"); + mappings.put(grammarAccess.getTypeAccess().getModifiersAssignment_2_3_1(), "rule__Type__ModifiersAssignment_2_3_1"); + mappings.put(grammarAccess.getTypeAccess().getNameAssignment_2_3_3(), "rule__Type__NameAssignment_2_3_3"); + mappings.put(grammarAccess.getTypeAccess().getMembersAssignment_2_3_5(), "rule__Type__MembersAssignment_2_3_5"); + mappings.put(grammarAccess.getXFunctionSuperTypeRefAccess().getInstanceContextAssignment_0_0(), "rule__XFunctionSuperTypeRef__InstanceContextAssignment_0_0"); + mappings.put(grammarAccess.getXFunctionSuperTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionSuperTypeRef__ParamTypesAssignment_0_1_0"); + mappings.put(grammarAccess.getXFunctionSuperTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionSuperTypeRef__ParamTypesAssignment_0_1_1_1"); + mappings.put(grammarAccess.getXFunctionSuperTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionSuperTypeRef__ReturnTypeAssignment_2"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getAnnotationsAssignment_1(), "rule__AnnotationField__AnnotationsAssignment_1"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getModifiersAssignment_2_0_0_0_1(), "rule__AnnotationField__ModifiersAssignment_2_0_0_0_1"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getModifiersAssignment_2_0_0_0_2(), "rule__AnnotationField__ModifiersAssignment_2_0_0_0_2"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getModifiersAssignment_2_0_0_0_3(), "rule__AnnotationField__ModifiersAssignment_2_0_0_0_3"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getTypeAssignment_2_0_0_0_4(), "rule__AnnotationField__TypeAssignment_2_0_0_0_4"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getNameAssignment_2_0_0_0_5(), "rule__AnnotationField__NameAssignment_2_0_0_0_5"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getModifiersAssignment_2_0_0_1_1(), "rule__AnnotationField__ModifiersAssignment_2_0_0_1_1"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getTypeAssignment_2_0_0_1_2(), "rule__AnnotationField__TypeAssignment_2_0_0_1_2"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getNameAssignment_2_0_0_1_3(), "rule__AnnotationField__NameAssignment_2_0_0_1_3"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getInitialValueAssignment_2_0_1_1(), "rule__AnnotationField__InitialValueAssignment_2_0_1_1"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getModifiersAssignment_2_1_1(), "rule__AnnotationField__ModifiersAssignment_2_1_1"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getNameAssignment_2_1_3(), "rule__AnnotationField__NameAssignment_2_1_3"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getTypeParametersAssignment_2_1_4_1(), "rule__AnnotationField__TypeParametersAssignment_2_1_4_1"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getTypeParametersAssignment_2_1_4_2_1(), "rule__AnnotationField__TypeParametersAssignment_2_1_4_2_1"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getExtendsAssignment_2_1_5_1(), "rule__AnnotationField__ExtendsAssignment_2_1_5_1"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getImplementsAssignment_2_1_6_1(), "rule__AnnotationField__ImplementsAssignment_2_1_6_1"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getImplementsAssignment_2_1_6_2_1(), "rule__AnnotationField__ImplementsAssignment_2_1_6_2_1"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getMembersAssignment_2_1_8(), "rule__AnnotationField__MembersAssignment_2_1_8"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getModifiersAssignment_2_2_1(), "rule__AnnotationField__ModifiersAssignment_2_2_1"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getNameAssignment_2_2_3(), "rule__AnnotationField__NameAssignment_2_2_3"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getTypeParametersAssignment_2_2_4_1(), "rule__AnnotationField__TypeParametersAssignment_2_2_4_1"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getTypeParametersAssignment_2_2_4_2_1(), "rule__AnnotationField__TypeParametersAssignment_2_2_4_2_1"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getExtendsAssignment_2_2_5_1(), "rule__AnnotationField__ExtendsAssignment_2_2_5_1"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getExtendsAssignment_2_2_5_2_1(), "rule__AnnotationField__ExtendsAssignment_2_2_5_2_1"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getMembersAssignment_2_2_7(), "rule__AnnotationField__MembersAssignment_2_2_7"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getModifiersAssignment_2_3_1(), "rule__AnnotationField__ModifiersAssignment_2_3_1"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getNameAssignment_2_3_3(), "rule__AnnotationField__NameAssignment_2_3_3"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getMembersAssignment_2_3_5_0(), "rule__AnnotationField__MembersAssignment_2_3_5_0"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getMembersAssignment_2_3_5_1_1(), "rule__AnnotationField__MembersAssignment_2_3_5_1_1"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getModifiersAssignment_2_4_1(), "rule__AnnotationField__ModifiersAssignment_2_4_1"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getNameAssignment_2_4_3(), "rule__AnnotationField__NameAssignment_2_4_3"); + mappings.put(grammarAccess.getAnnotationFieldAccess().getMembersAssignment_2_4_5(), "rule__AnnotationField__MembersAssignment_2_4_5"); + mappings.put(grammarAccess.getMemberAccess().getAnnotationsAssignment_1(), "rule__Member__AnnotationsAssignment_1"); + mappings.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_0_1(), "rule__Member__ModifiersAssignment_2_0_1"); + mappings.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_0_2_0_0(), "rule__Member__ModifiersAssignment_2_0_2_0_0"); + mappings.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_0_2_0_1(), "rule__Member__ModifiersAssignment_2_0_2_0_1"); + mappings.put(grammarAccess.getMemberAccess().getTypeAssignment_2_0_2_0_2(), "rule__Member__TypeAssignment_2_0_2_0_2"); + mappings.put(grammarAccess.getMemberAccess().getNameAssignment_2_0_2_0_3(), "rule__Member__NameAssignment_2_0_2_0_3"); + mappings.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_0_2_1_0(), "rule__Member__ModifiersAssignment_2_0_2_1_0"); + mappings.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_0_2_1_1_0(), "rule__Member__ModifiersAssignment_2_0_2_1_1_0"); + mappings.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_0_2_1_1_1(), "rule__Member__ModifiersAssignment_2_0_2_1_1_1"); + mappings.put(grammarAccess.getMemberAccess().getTypeAssignment_2_0_2_1_2(), "rule__Member__TypeAssignment_2_0_2_1_2"); + mappings.put(grammarAccess.getMemberAccess().getNameAssignment_2_0_2_1_3(), "rule__Member__NameAssignment_2_0_2_1_3"); + mappings.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_0_2_2_0(), "rule__Member__ModifiersAssignment_2_0_2_2_0"); + mappings.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_0_2_2_1(), "rule__Member__ModifiersAssignment_2_0_2_2_1"); + mappings.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_0_2_2_2(), "rule__Member__ModifiersAssignment_2_0_2_2_2"); + mappings.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_0_2_2_3(), "rule__Member__ModifiersAssignment_2_0_2_2_3"); + mappings.put(grammarAccess.getMemberAccess().getTypeAssignment_2_0_2_2_4(), "rule__Member__TypeAssignment_2_0_2_2_4"); + mappings.put(grammarAccess.getMemberAccess().getNameAssignment_2_0_2_2_5(), "rule__Member__NameAssignment_2_0_2_2_5"); + mappings.put(grammarAccess.getMemberAccess().getTypeAssignment_2_0_2_3_0(), "rule__Member__TypeAssignment_2_0_2_3_0"); + mappings.put(grammarAccess.getMemberAccess().getNameAssignment_2_0_2_3_1(), "rule__Member__NameAssignment_2_0_2_3_1"); + mappings.put(grammarAccess.getMemberAccess().getInitialValueAssignment_2_0_3_1(), "rule__Member__InitialValueAssignment_2_0_3_1"); + mappings.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_1_1(), "rule__Member__ModifiersAssignment_2_1_1"); + mappings.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_1_2(), "rule__Member__ModifiersAssignment_2_1_2"); + mappings.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_1_3_0(), "rule__Member__ModifiersAssignment_2_1_3_0"); + mappings.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_1_3_1(), "rule__Member__ModifiersAssignment_2_1_3_1"); + mappings.put(grammarAccess.getMemberAccess().getTypeParametersAssignment_2_1_4_1(), "rule__Member__TypeParametersAssignment_2_1_4_1"); + mappings.put(grammarAccess.getMemberAccess().getTypeParametersAssignment_2_1_4_2_1(), "rule__Member__TypeParametersAssignment_2_1_4_2_1"); + mappings.put(grammarAccess.getMemberAccess().getReturnTypeAssignment_2_1_5_0_0_0(), "rule__Member__ReturnTypeAssignment_2_1_5_0_0_0"); + mappings.put(grammarAccess.getMemberAccess().getCreateExtensionInfoAssignment_2_1_5_0_0_1(), "rule__Member__CreateExtensionInfoAssignment_2_1_5_0_0_1"); + mappings.put(grammarAccess.getMemberAccess().getNameAssignment_2_1_5_0_0_2(), "rule__Member__NameAssignment_2_1_5_0_0_2"); + mappings.put(grammarAccess.getMemberAccess().getReturnTypeAssignment_2_1_5_1_0_0(), "rule__Member__ReturnTypeAssignment_2_1_5_1_0_0"); + mappings.put(grammarAccess.getMemberAccess().getNameAssignment_2_1_5_1_0_1(), "rule__Member__NameAssignment_2_1_5_1_0_1"); + mappings.put(grammarAccess.getMemberAccess().getReturnTypeAssignment_2_1_5_2_0_0(), "rule__Member__ReturnTypeAssignment_2_1_5_2_0_0"); + mappings.put(grammarAccess.getMemberAccess().getNameAssignment_2_1_5_2_0_1(), "rule__Member__NameAssignment_2_1_5_2_0_1"); + mappings.put(grammarAccess.getMemberAccess().getCreateExtensionInfoAssignment_2_1_5_3_0_0(), "rule__Member__CreateExtensionInfoAssignment_2_1_5_3_0_0"); + mappings.put(grammarAccess.getMemberAccess().getNameAssignment_2_1_5_3_0_1(), "rule__Member__NameAssignment_2_1_5_3_0_1"); + mappings.put(grammarAccess.getMemberAccess().getNameAssignment_2_1_5_4_0(), "rule__Member__NameAssignment_2_1_5_4_0"); + mappings.put(grammarAccess.getMemberAccess().getParametersAssignment_2_1_6_0(), "rule__Member__ParametersAssignment_2_1_6_0"); + mappings.put(grammarAccess.getMemberAccess().getParametersAssignment_2_1_6_1_1(), "rule__Member__ParametersAssignment_2_1_6_1_1"); + mappings.put(grammarAccess.getMemberAccess().getExceptionsAssignment_2_1_8_1(), "rule__Member__ExceptionsAssignment_2_1_8_1"); + mappings.put(grammarAccess.getMemberAccess().getExceptionsAssignment_2_1_8_2_1(), "rule__Member__ExceptionsAssignment_2_1_8_2_1"); + mappings.put(grammarAccess.getMemberAccess().getExpressionAssignment_2_1_9_0(), "rule__Member__ExpressionAssignment_2_1_9_0"); + mappings.put(grammarAccess.getMemberAccess().getExpressionAssignment_2_1_9_1(), "rule__Member__ExpressionAssignment_2_1_9_1"); + mappings.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_2_1(), "rule__Member__ModifiersAssignment_2_2_1"); + mappings.put(grammarAccess.getMemberAccess().getTypeParametersAssignment_2_2_3_1(), "rule__Member__TypeParametersAssignment_2_2_3_1"); + mappings.put(grammarAccess.getMemberAccess().getTypeParametersAssignment_2_2_3_2_1(), "rule__Member__TypeParametersAssignment_2_2_3_2_1"); + mappings.put(grammarAccess.getMemberAccess().getParametersAssignment_2_2_5_0(), "rule__Member__ParametersAssignment_2_2_5_0"); + mappings.put(grammarAccess.getMemberAccess().getParametersAssignment_2_2_5_1_1(), "rule__Member__ParametersAssignment_2_2_5_1_1"); + mappings.put(grammarAccess.getMemberAccess().getExceptionsAssignment_2_2_7_1(), "rule__Member__ExceptionsAssignment_2_2_7_1"); + mappings.put(grammarAccess.getMemberAccess().getExceptionsAssignment_2_2_7_2_1(), "rule__Member__ExceptionsAssignment_2_2_7_2_1"); + mappings.put(grammarAccess.getMemberAccess().getExpressionAssignment_2_2_8(), "rule__Member__ExpressionAssignment_2_2_8"); + mappings.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_3_1(), "rule__Member__ModifiersAssignment_2_3_1"); + mappings.put(grammarAccess.getMemberAccess().getNameAssignment_2_3_3(), "rule__Member__NameAssignment_2_3_3"); + mappings.put(grammarAccess.getMemberAccess().getTypeParametersAssignment_2_3_4_1(), "rule__Member__TypeParametersAssignment_2_3_4_1"); + mappings.put(grammarAccess.getMemberAccess().getTypeParametersAssignment_2_3_4_2_1(), "rule__Member__TypeParametersAssignment_2_3_4_2_1"); + mappings.put(grammarAccess.getMemberAccess().getExtendsAssignment_2_3_5_1(), "rule__Member__ExtendsAssignment_2_3_5_1"); + mappings.put(grammarAccess.getMemberAccess().getImplementsAssignment_2_3_6_1(), "rule__Member__ImplementsAssignment_2_3_6_1"); + mappings.put(grammarAccess.getMemberAccess().getImplementsAssignment_2_3_6_2_1(), "rule__Member__ImplementsAssignment_2_3_6_2_1"); + mappings.put(grammarAccess.getMemberAccess().getMembersAssignment_2_3_8(), "rule__Member__MembersAssignment_2_3_8"); + mappings.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_4_1(), "rule__Member__ModifiersAssignment_2_4_1"); + mappings.put(grammarAccess.getMemberAccess().getNameAssignment_2_4_3(), "rule__Member__NameAssignment_2_4_3"); + mappings.put(grammarAccess.getMemberAccess().getTypeParametersAssignment_2_4_4_1(), "rule__Member__TypeParametersAssignment_2_4_4_1"); + mappings.put(grammarAccess.getMemberAccess().getTypeParametersAssignment_2_4_4_2_1(), "rule__Member__TypeParametersAssignment_2_4_4_2_1"); + mappings.put(grammarAccess.getMemberAccess().getExtendsAssignment_2_4_5_1(), "rule__Member__ExtendsAssignment_2_4_5_1"); + mappings.put(grammarAccess.getMemberAccess().getExtendsAssignment_2_4_5_2_1(), "rule__Member__ExtendsAssignment_2_4_5_2_1"); + mappings.put(grammarAccess.getMemberAccess().getMembersAssignment_2_4_7(), "rule__Member__MembersAssignment_2_4_7"); + mappings.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_5_1(), "rule__Member__ModifiersAssignment_2_5_1"); + mappings.put(grammarAccess.getMemberAccess().getNameAssignment_2_5_3(), "rule__Member__NameAssignment_2_5_3"); + mappings.put(grammarAccess.getMemberAccess().getMembersAssignment_2_5_5_0(), "rule__Member__MembersAssignment_2_5_5_0"); + mappings.put(grammarAccess.getMemberAccess().getMembersAssignment_2_5_5_1_1(), "rule__Member__MembersAssignment_2_5_5_1_1"); + mappings.put(grammarAccess.getMemberAccess().getModifiersAssignment_2_6_1(), "rule__Member__ModifiersAssignment_2_6_1"); + mappings.put(grammarAccess.getMemberAccess().getNameAssignment_2_6_3(), "rule__Member__NameAssignment_2_6_3"); + mappings.put(grammarAccess.getMemberAccess().getMembersAssignment_2_6_5(), "rule__Member__MembersAssignment_2_6_5"); + mappings.put(grammarAccess.getTypeReferenceNoTypeArgsAccess().getTypeAssignment(), "rule__TypeReferenceNoTypeArgs__TypeAssignment"); + mappings.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getTypeAssignment_0(), "rule__ParameterizedTypeReferenceWithTypeArgs__TypeAssignment_0"); + mappings.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getArgumentsAssignment_1_1(), "rule__ParameterizedTypeReferenceWithTypeArgs__ArgumentsAssignment_1_1"); + mappings.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getArgumentsAssignment_1_2_1(), "rule__ParameterizedTypeReferenceWithTypeArgs__ArgumentsAssignment_1_2_1"); + mappings.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getTypeAssignment_1_4_1(), "rule__ParameterizedTypeReferenceWithTypeArgs__TypeAssignment_1_4_1"); + mappings.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getArgumentsAssignment_1_4_2_1(), "rule__ParameterizedTypeReferenceWithTypeArgs__ArgumentsAssignment_1_4_2_1"); + mappings.put(grammarAccess.getParameterizedTypeReferenceWithTypeArgsAccess().getArgumentsAssignment_1_4_2_2_1(), "rule__ParameterizedTypeReferenceWithTypeArgs__ArgumentsAssignment_1_4_2_2_1"); + mappings.put(grammarAccess.getXtendEnumLiteralAccess().getAnnotationsAssignment_0(), "rule__XtendEnumLiteral__AnnotationsAssignment_0"); + mappings.put(grammarAccess.getXtendEnumLiteralAccess().getNameAssignment_1(), "rule__XtendEnumLiteral__NameAssignment_1"); + mappings.put(grammarAccess.getCreateExtensionInfoAccess().getNameAssignment_1_0(), "rule__CreateExtensionInfo__NameAssignment_1_0"); + mappings.put(grammarAccess.getCreateExtensionInfoAccess().getCreateExpressionAssignment_2(), "rule__CreateExtensionInfo__CreateExpressionAssignment_2"); + mappings.put(grammarAccess.getParameterAccess().getAnnotationsAssignment_0(), "rule__Parameter__AnnotationsAssignment_0"); + mappings.put(grammarAccess.getParameterAccess().getExtensionAssignment_1_0(), "rule__Parameter__ExtensionAssignment_1_0"); + mappings.put(grammarAccess.getParameterAccess().getAnnotationsAssignment_1_1(), "rule__Parameter__AnnotationsAssignment_1_1"); + mappings.put(grammarAccess.getParameterAccess().getParameterTypeAssignment_2(), "rule__Parameter__ParameterTypeAssignment_2"); + mappings.put(grammarAccess.getParameterAccess().getVarArgAssignment_3(), "rule__Parameter__VarArgAssignment_3"); + mappings.put(grammarAccess.getParameterAccess().getNameAssignment_4(), "rule__Parameter__NameAssignment_4"); + mappings.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_0_1(), "rule__XAssignment__FeatureAssignment_0_1"); + mappings.put(grammarAccess.getXAssignmentAccess().getValueAssignment_0_3(), "rule__XAssignment__ValueAssignment_0_3"); + mappings.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XAssignment__FeatureAssignment_1_1_0_0_1"); + mappings.put(grammarAccess.getXAssignmentAccess().getRightOperandAssignment_1_1_1(), "rule__XAssignment__RightOperandAssignment_1_1_1"); + mappings.put(grammarAccess.getXConditionalExpressionAccess().getConditionalExpressionAssignment_1_0_0_1(), "rule__XConditionalExpression__ConditionalExpressionAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXConditionalExpressionAccess().getThenAssignment_1_1(), "rule__XConditionalExpression__ThenAssignment_1_1"); + mappings.put(grammarAccess.getXConditionalExpressionAccess().getElseAssignment_1_2_1(), "rule__XConditionalExpression__ElseAssignment_1_2_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getResourcesAssignment_2_0_1(), "rule__XTryCatchFinallyExpression__ResourcesAssignment_2_0_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getResourcesAssignment_2_0_2_1(), "rule__XTryCatchFinallyExpression__ResourcesAssignment_2_0_2_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionAssignment_2_0_5(), "rule__XTryCatchFinallyExpression__ExpressionAssignment_2_0_5"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesAssignment_2_0_6_0_0_0(), "rule__XTryCatchFinallyExpression__CatchClausesAssignment_2_0_6_0_0_0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_2_0_6_0_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_2_0_6_0_0_1_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_2_0_6_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_2_0_6_0_1_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionAssignment_2_1_0(), "rule__XTryCatchFinallyExpression__ExpressionAssignment_2_1_0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesAssignment_2_1_1_0_0(), "rule__XTryCatchFinallyExpression__CatchClausesAssignment_2_1_1_0_0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_2_1_1_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_2_1_1_0_1_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_2_1_1_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_2_1_1_1_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getTypeAssignment_1_0_0_0(), "rule__XVariableDeclaration__TypeAssignment_1_0_0_0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_1_0_0_1(), "rule__XVariableDeclaration__NameAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_1_1(), "rule__XVariableDeclaration__NameAssignment_1_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getRightAssignment_2_1(), "rule__XVariableDeclaration__RightAssignment_2_1"); + mappings.put(grammarAccess.getInitializedVariableDeclarationAccess().getTypeAssignment_2_0_0_0(), "rule__InitializedVariableDeclaration__TypeAssignment_2_0_0_0"); + mappings.put(grammarAccess.getInitializedVariableDeclarationAccess().getNameAssignment_2_0_0_1(), "rule__InitializedVariableDeclaration__NameAssignment_2_0_0_1"); + mappings.put(grammarAccess.getInitializedVariableDeclarationAccess().getNameAssignment_2_1(), "rule__InitializedVariableDeclaration__NameAssignment_2_1"); + mappings.put(grammarAccess.getInitializedVariableDeclarationAccess().getRightAssignment_4(), "rule__InitializedVariableDeclaration__RightAssignment_4"); + mappings.put(grammarAccess.getVariableModifierAccess().getWriteableAssignment_0_0_0(), "rule__VariableModifier__WriteableAssignment_0_0_0"); + mappings.put(grammarAccess.getVariableModifierAccess().getExtensionAssignment_0_1(), "rule__VariableModifier__ExtensionAssignment_0_1"); + mappings.put(grammarAccess.getVariableModifierAccess().getExtensionAssignment_1_0(), "rule__VariableModifier__ExtensionAssignment_1_0"); + mappings.put(grammarAccess.getVariableModifierAccess().getWriteableAssignment_1_1_0(), "rule__VariableModifier__WriteableAssignment_1_1_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getMembersAssignment_1_1(), "rule__XConstructorCall__MembersAssignment_1_1"); + mappings.put(grammarAccess.getXbaseConstructorCallAccess().getConstructorAssignment_2(), "rule__XbaseConstructorCall__ConstructorAssignment_2"); + mappings.put(grammarAccess.getXbaseConstructorCallAccess().getTypeArgumentsAssignment_3_1(), "rule__XbaseConstructorCall__TypeArgumentsAssignment_3_1"); + mappings.put(grammarAccess.getXbaseConstructorCallAccess().getTypeArgumentsAssignment_3_2_1(), "rule__XbaseConstructorCall__TypeArgumentsAssignment_3_2_1"); + mappings.put(grammarAccess.getXbaseConstructorCallAccess().getExplicitConstructorCallAssignment_4_0(), "rule__XbaseConstructorCall__ExplicitConstructorCallAssignment_4_0"); + mappings.put(grammarAccess.getXbaseConstructorCallAccess().getArgumentsAssignment_4_1_0(), "rule__XbaseConstructorCall__ArgumentsAssignment_4_1_0"); + mappings.put(grammarAccess.getXbaseConstructorCallAccess().getArgumentsAssignment_4_1_1_0(), "rule__XbaseConstructorCall__ArgumentsAssignment_4_1_1_0"); + mappings.put(grammarAccess.getXbaseConstructorCallAccess().getArgumentsAssignment_4_1_1_1_1(), "rule__XbaseConstructorCall__ArgumentsAssignment_4_1_1_1_1"); + mappings.put(grammarAccess.getXbaseConstructorCallAccess().getArgumentsAssignment_5(), "rule__XbaseConstructorCall__ArgumentsAssignment_5"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getExtensionAssignment_0(), "rule__JvmFormalParameter__ExtensionAssignment_0"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getParameterTypeAssignment_1(), "rule__JvmFormalParameter__ParameterTypeAssignment_1"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getNameAssignment_2(), "rule__JvmFormalParameter__NameAssignment_2"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getExtensionAssignment_0(), "rule__FullJvmFormalParameter__ExtensionAssignment_0"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeAssignment_1(), "rule__FullJvmFormalParameter__ParameterTypeAssignment_1"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getNameAssignment_2(), "rule__FullJvmFormalParameter__NameAssignment_2"); + mappings.put(grammarAccess.getMultiTypeReferenceAccess().getReferencesAssignment_1_1_1(), "rule__MultiTypeReference__ReferencesAssignment_1_1_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_0_0_0_1(), "rule__XSwitchExpression__DeclaredParamAssignment_2_0_0_0_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1(), "rule__XSwitchExpression__SwitchAssignment_2_0_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_1_0_0_0(), "rule__XSwitchExpression__DeclaredParamAssignment_2_1_0_0_0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1(), "rule__XSwitchExpression__SwitchAssignment_2_1_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4(), "rule__XSwitchExpression__CasesAssignment_4"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDefaultAssignment_5_2(), "rule__XSwitchExpression__DefaultAssignment_5_2"); + mappings.put(grammarAccess.getXCasePartAccess().getTypeGuardAssignment_1(), "rule__XCasePart__TypeGuardAssignment_1"); + mappings.put(grammarAccess.getXCasePartAccess().getCaseAssignment_2_1(), "rule__XCasePart__CaseAssignment_2_1"); + mappings.put(grammarAccess.getXCasePartAccess().getThenAssignment_3_0_1(), "rule__XCasePart__ThenAssignment_3_0_1"); + mappings.put(grammarAccess.getXCasePartAccess().getFallThroughAssignment_3_1(), "rule__XCasePart__FallThroughAssignment_3_1"); + mappings.put(grammarAccess.getSimpleStringLiteralAccess().getValueAssignment_1(), "rule__SimpleStringLiteral__ValueAssignment_1"); + mappings.put(grammarAccess.getRichStringAccess().getExpressionsAssignment_1_0(), "rule__RichString__ExpressionsAssignment_1_0"); + mappings.put(grammarAccess.getRichStringAccess().getExpressionsAssignment_1_1_0(), "rule__RichString__ExpressionsAssignment_1_1_0"); + mappings.put(grammarAccess.getRichStringAccess().getExpressionsAssignment_1_1_1(), "rule__RichString__ExpressionsAssignment_1_1_1"); + mappings.put(grammarAccess.getRichStringAccess().getExpressionsAssignment_1_1_2_0(), "rule__RichString__ExpressionsAssignment_1_1_2_0"); + mappings.put(grammarAccess.getRichStringAccess().getExpressionsAssignment_1_1_2_1(), "rule__RichString__ExpressionsAssignment_1_1_2_1"); + mappings.put(grammarAccess.getRichStringAccess().getExpressionsAssignment_1_1_3(), "rule__RichString__ExpressionsAssignment_1_1_3"); + mappings.put(grammarAccess.getRichStringLiteralAccess().getValueAssignment_1(), "rule__RichStringLiteral__ValueAssignment_1"); + mappings.put(grammarAccess.getRichStringLiteralStartAccess().getValueAssignment_1(), "rule__RichStringLiteralStart__ValueAssignment_1"); + mappings.put(grammarAccess.getRichStringLiteralInbetweenAccess().getValueAssignment_1_0(), "rule__RichStringLiteralInbetween__ValueAssignment_1_0"); + mappings.put(grammarAccess.getRichStringLiteralInbetweenAccess().getValueAssignment_1_1(), "rule__RichStringLiteralInbetween__ValueAssignment_1_1"); + mappings.put(grammarAccess.getRichStringLiteralEndAccess().getValueAssignment_1_0(), "rule__RichStringLiteralEnd__ValueAssignment_1_0"); + mappings.put(grammarAccess.getRichStringLiteralEndAccess().getValueAssignment_1_1(), "rule__RichStringLiteralEnd__ValueAssignment_1_1"); + mappings.put(grammarAccess.getInternalRichStringAccess().getExpressionsAssignment_1_0(), "rule__InternalRichString__ExpressionsAssignment_1_0"); + mappings.put(grammarAccess.getInternalRichStringAccess().getExpressionsAssignment_1_1_0(), "rule__InternalRichString__ExpressionsAssignment_1_1_0"); + mappings.put(grammarAccess.getInternalRichStringAccess().getExpressionsAssignment_1_1_1(), "rule__InternalRichString__ExpressionsAssignment_1_1_1"); + mappings.put(grammarAccess.getRichStringForLoopAccess().getDeclaredParamAssignment_2(), "rule__RichStringForLoop__DeclaredParamAssignment_2"); + mappings.put(grammarAccess.getRichStringForLoopAccess().getForExpressionAssignment_4(), "rule__RichStringForLoop__ForExpressionAssignment_4"); + mappings.put(grammarAccess.getRichStringForLoopAccess().getBeforeAssignment_5_1(), "rule__RichStringForLoop__BeforeAssignment_5_1"); + mappings.put(grammarAccess.getRichStringForLoopAccess().getSeparatorAssignment_6_1(), "rule__RichStringForLoop__SeparatorAssignment_6_1"); + mappings.put(grammarAccess.getRichStringForLoopAccess().getAfterAssignment_7_1(), "rule__RichStringForLoop__AfterAssignment_7_1"); + mappings.put(grammarAccess.getRichStringForLoopAccess().getEachExpressionAssignment_8(), "rule__RichStringForLoop__EachExpressionAssignment_8"); + mappings.put(grammarAccess.getRichStringIfAccess().getIfAssignment_2(), "rule__RichStringIf__IfAssignment_2"); + mappings.put(grammarAccess.getRichStringIfAccess().getThenAssignment_3(), "rule__RichStringIf__ThenAssignment_3"); + mappings.put(grammarAccess.getRichStringIfAccess().getElseIfsAssignment_4(), "rule__RichStringIf__ElseIfsAssignment_4"); + mappings.put(grammarAccess.getRichStringIfAccess().getElseAssignment_5_1(), "rule__RichStringIf__ElseAssignment_5_1"); + mappings.put(grammarAccess.getRichStringElseIfAccess().getIfAssignment_1(), "rule__RichStringElseIf__IfAssignment_1"); + mappings.put(grammarAccess.getRichStringElseIfAccess().getThenAssignment_2(), "rule__RichStringElseIf__ThenAssignment_2"); + mappings.put(grammarAccess.getXAnnotationAccess().getAnnotationTypeAssignment_2(), "rule__XAnnotation__AnnotationTypeAssignment_2"); + mappings.put(grammarAccess.getXAnnotationAccess().getElementValuePairsAssignment_3_1_0_0(), "rule__XAnnotation__ElementValuePairsAssignment_3_1_0_0"); + mappings.put(grammarAccess.getXAnnotationAccess().getElementValuePairsAssignment_3_1_0_1_1(), "rule__XAnnotation__ElementValuePairsAssignment_3_1_0_1_1"); + mappings.put(grammarAccess.getXAnnotationAccess().getValueAssignment_3_1_1(), "rule__XAnnotation__ValueAssignment_3_1_1"); + mappings.put(grammarAccess.getXAnnotationElementValuePairAccess().getElementAssignment_0_0_0(), "rule__XAnnotationElementValuePair__ElementAssignment_0_0_0"); + mappings.put(grammarAccess.getXAnnotationElementValuePairAccess().getValueAssignment_1(), "rule__XAnnotationElementValuePair__ValueAssignment_1"); + mappings.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsAssignment_0_1_0(), "rule__XAnnotationElementValueOrCommaList__ElementsAssignment_0_1_0"); + mappings.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsAssignment_0_1_1_1(), "rule__XAnnotationElementValueOrCommaList__ElementsAssignment_0_1_1_1"); + mappings.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsAssignment_1_1_1_1(), "rule__XAnnotationElementValueOrCommaList__ElementsAssignment_1_1_1_1"); + mappings.put(grammarAccess.getXAnnotationElementValueAccess().getElementsAssignment_0_1_0(), "rule__XAnnotationElementValue__ElementsAssignment_0_1_0"); + mappings.put(grammarAccess.getXAnnotationElementValueAccess().getElementsAssignment_0_1_1_1(), "rule__XAnnotationElementValue__ElementsAssignment_0_1_1_1"); + mappings.put(grammarAccess.getXOrExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOrExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXOrExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOrExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXAndExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAndExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXAndExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAndExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XEqualityExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getRightOperandAssignment_1_1(), "rule__XEqualityExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getTypeAssignment_1_0_1(), "rule__XRelationalExpression__TypeAssignment_1_0_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XRelationalExpression__FeatureAssignment_1_1_0_0_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getRightOperandAssignment_1_1_1(), "rule__XRelationalExpression__RightOperandAssignment_1_1_1"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOtherOperatorExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOtherOperatorExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAdditiveExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAdditiveExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XMultiplicativeExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandAssignment_1_1(), "rule__XMultiplicativeExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getFeatureAssignment_0_1(), "rule__XUnaryOperation__FeatureAssignment_0_1"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getOperandAssignment_0_2(), "rule__XUnaryOperation__OperandAssignment_0_2"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getTypeAssignment_1_1(), "rule__XCastedExpression__TypeAssignment_1_1"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getFeatureAssignment_1_0_1(), "rule__XPostfixOperation__FeatureAssignment_1_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_0_0_0_1_1(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_0_0_0_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_0_0_0_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getValueAssignment_1_0_1(), "rule__XMemberFeatureCall__ValueAssignment_1_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getNullSafeAssignment_1_1_0_0_1_1(), "rule__XMemberFeatureCall__NullSafeAssignment_1_1_0_0_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_1_0_0_1_2(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_1_0_0_1_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_2_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_2_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_1_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_1_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallAssignment_1_1_3_0(), "rule__XMemberFeatureCall__ExplicitOperationCallAssignment_1_1_3_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_1_1(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_4(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4"); + mappings.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_0(), "rule__XSetLiteral__ElementsAssignment_3_0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_1_1(), "rule__XSetLiteral__ElementsAssignment_3_1_1"); + mappings.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_0(), "rule__XListLiteral__ElementsAssignment_3_0"); + mappings.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_1_1(), "rule__XListLiteral__ElementsAssignment_3_1_1"); + mappings.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_0(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_0"); + mappings.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_1_1(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_1_1"); + mappings.put(grammarAccess.getXClosureAccess().getExplicitSyntaxAssignment_1_0_1(), "rule__XClosure__ExplicitSyntaxAssignment_1_0_1"); + mappings.put(grammarAccess.getXClosureAccess().getExpressionAssignment_2(), "rule__XClosure__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getExpressionsAssignment_1_0(), "rule__XExpressionInClosure__ExpressionsAssignment_1_0"); + mappings.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_0(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0"); + mappings.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_1_1(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1"); + mappings.put(grammarAccess.getXShortClosureAccess().getExplicitSyntaxAssignment_0_0_2(), "rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2"); + mappings.put(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1(), "rule__XShortClosure__ExpressionAssignment_1"); + mappings.put(grammarAccess.getXIfExpressionAccess().getIfAssignment_3(), "rule__XIfExpression__IfAssignment_3"); + mappings.put(grammarAccess.getXIfExpressionAccess().getThenAssignment_5(), "rule__XIfExpression__ThenAssignment_5"); + mappings.put(grammarAccess.getXIfExpressionAccess().getElseAssignment_6_1(), "rule__XIfExpression__ElseAssignment_6_1"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamAssignment_0_0_3(), "rule__XForLoopExpression__DeclaredParamAssignment_0_0_3"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getForExpressionAssignment_1(), "rule__XForLoopExpression__ForExpressionAssignment_1"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getEachExpressionAssignment_3(), "rule__XForLoopExpression__EachExpressionAssignment_3"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_0(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_1_1(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_1_1"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getExpressionAssignment_5(), "rule__XBasicForLoopExpression__ExpressionAssignment_5"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_0(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_1_1(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_1_1"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getEachExpressionAssignment_9(), "rule__XBasicForLoopExpression__EachExpressionAssignment_9"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getPredicateAssignment_3(), "rule__XWhileExpression__PredicateAssignment_3"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getBodyAssignment_5(), "rule__XWhileExpression__BodyAssignment_5"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getBodyAssignment_2(), "rule__XDoWhileExpression__BodyAssignment_2"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getPredicateAssignment_5(), "rule__XDoWhileExpression__PredicateAssignment_5"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__XBlockExpression__ExpressionsAssignment_2_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_2_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_2_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureAssignment_2(), "rule__XFeatureCall__FeatureAssignment_2"); + mappings.put(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallAssignment_3_0(), "rule__XFeatureCall__ExplicitOperationCallAssignment_3_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_1_1(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_4"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1(), "rule__XBooleanLiteral__IsTrueAssignment_1_1"); + mappings.put(grammarAccess.getXNumberLiteralAccess().getValueAssignment_1(), "rule__XNumberLiteral__ValueAssignment_1"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getTypeAssignment_3(), "rule__XTypeLiteral__TypeAssignment_3"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getArrayDimensionsAssignment_4(), "rule__XTypeLiteral__ArrayDimensionsAssignment_4"); + mappings.put(grammarAccess.getXThrowExpressionAccess().getExpressionAssignment_2(), "rule__XThrowExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXReturnExpressionAccess().getExpressionAssignment_2(), "rule__XReturnExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getParamAssignment_1(), "rule__XSynchronizedExpression__ParamAssignment_1"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getExpressionAssignment_3(), "rule__XSynchronizedExpression__ExpressionAssignment_3"); + mappings.put(grammarAccess.getXCatchClauseAccess().getDeclaredParamAssignment_2(), "rule__XCatchClause__DeclaredParamAssignment_2"); + mappings.put(grammarAccess.getXCatchClauseAccess().getExpressionAssignment_4(), "rule__XCatchClause__ExpressionAssignment_4"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionTypeRef__ReturnTypeAssignment_2"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0(), "rule__JvmParameterizedTypeReference__TypeAssignment_0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1(), "rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1"); + mappings.put(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBound__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBoundAnded__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBound__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBoundAnded__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getNameAssignment_0(), "rule__JvmTypeParameter__NameAssignment_0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_0(), "rule__JvmTypeParameter__ConstraintsAssignment_1_0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_1(), "rule__JvmTypeParameter__ConstraintsAssignment_1_1"); + mappings.put(grammarAccess.getXImportSectionAccess().getImportDeclarationsAssignment(), "rule__XImportSection__ImportDeclarationsAssignment"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0(), "rule__XImportDeclaration__StaticAssignment_1_0_0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1(), "rule__XImportDeclaration__ExtensionAssignment_1_0_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2(), "rule__XImportDeclaration__ImportedTypeAssignment_1_0_2"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0(), "rule__XImportDeclaration__WildcardAssignment_1_0_3_0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1(), "rule__XImportDeclaration__MemberNameAssignment_1_0_3_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1(), "rule__XImportDeclaration__ImportedTypeAssignment_1_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2(), "rule__XImportDeclaration__ImportedNamespaceAssignment_1_2"); } } diff --git a/org.eclipse.xtext.builder.tests/src-gen/org/eclipse/xtext/builder/tests/ide/contentassist/antlr/BuilderTestLanguageParser.java b/org.eclipse.xtext.builder.tests/src-gen/org/eclipse/xtext/builder/tests/ide/contentassist/antlr/BuilderTestLanguageParser.java index 31f4284893a..5341a8b451f 100644 --- a/org.eclipse.xtext.builder.tests/src-gen/org/eclipse/xtext/builder/tests/ide/contentassist/antlr/BuilderTestLanguageParser.java +++ b/org.eclipse.xtext.builder.tests/src-gen/org/eclipse/xtext/builder/tests/ide/contentassist/antlr/BuilderTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.builder.tests.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.builder.tests.ide.contentassist.antlr.internal.InternalBuilderTestLanguageParser; @@ -26,33 +26,33 @@ public static final class NameMappings { @Inject public NameMappings(BuilderTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, BuilderTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getNamedElementAccess().getAlternatives(), "rule__NamedElement__Alternatives"); - builder.put(grammarAccess.getNamespaceAccess().getGroup(), "rule__Namespace__Group__0"); - builder.put(grammarAccess.getImportAccess().getGroup(), "rule__Import__Group__0"); - builder.put(grammarAccess.getElementAccess().getGroup(), "rule__Element__Group__0"); - builder.put(grammarAccess.getElementAccess().getGroup_2(), "rule__Element__Group_2__0"); - builder.put(grammarAccess.getElementAccess().getGroup_3(), "rule__Element__Group_3__0"); - builder.put(grammarAccess.getElementAccess().getGroup_3_2(), "rule__Element__Group_3_2__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); - builder.put(grammarAccess.getNamespaceAccess().getNameAssignment_1(), "rule__Namespace__NameAssignment_1"); - builder.put(grammarAccess.getNamespaceAccess().getImportsAssignment_3(), "rule__Namespace__ImportsAssignment_3"); - builder.put(grammarAccess.getNamespaceAccess().getElementsAssignment_4(), "rule__Namespace__ElementsAssignment_4"); - builder.put(grammarAccess.getImportAccess().getImportedNamespaceAssignment_1(), "rule__Import__ImportedNamespaceAssignment_1"); - builder.put(grammarAccess.getElementAccess().getNameAssignment_1(), "rule__Element__NameAssignment_1"); - builder.put(grammarAccess.getElementAccess().getReferencesAssignment_2_1(), "rule__Element__ReferencesAssignment_2_1"); - builder.put(grammarAccess.getElementAccess().getOtherRefsAssignment_3_1(), "rule__Element__OtherRefsAssignment_3_1"); - builder.put(grammarAccess.getElementAccess().getOtherRefsAssignment_3_2_1(), "rule__Element__OtherRefsAssignment_3_2_1"); + private static void init(Map mappings, BuilderTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getNamedElementAccess().getAlternatives(), "rule__NamedElement__Alternatives"); + mappings.put(grammarAccess.getNamespaceAccess().getGroup(), "rule__Namespace__Group__0"); + mappings.put(grammarAccess.getImportAccess().getGroup(), "rule__Import__Group__0"); + mappings.put(grammarAccess.getElementAccess().getGroup(), "rule__Element__Group__0"); + mappings.put(grammarAccess.getElementAccess().getGroup_2(), "rule__Element__Group_2__0"); + mappings.put(grammarAccess.getElementAccess().getGroup_3(), "rule__Element__Group_3__0"); + mappings.put(grammarAccess.getElementAccess().getGroup_3_2(), "rule__Element__Group_3_2__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); + mappings.put(grammarAccess.getNamespaceAccess().getNameAssignment_1(), "rule__Namespace__NameAssignment_1"); + mappings.put(grammarAccess.getNamespaceAccess().getImportsAssignment_3(), "rule__Namespace__ImportsAssignment_3"); + mappings.put(grammarAccess.getNamespaceAccess().getElementsAssignment_4(), "rule__Namespace__ElementsAssignment_4"); + mappings.put(grammarAccess.getImportAccess().getImportedNamespaceAssignment_1(), "rule__Import__ImportedNamespaceAssignment_1"); + mappings.put(grammarAccess.getElementAccess().getNameAssignment_1(), "rule__Element__NameAssignment_1"); + mappings.put(grammarAccess.getElementAccess().getReferencesAssignment_2_1(), "rule__Element__ReferencesAssignment_2_1"); + mappings.put(grammarAccess.getElementAccess().getOtherRefsAssignment_3_1(), "rule__Element__OtherRefsAssignment_3_1"); + mappings.put(grammarAccess.getElementAccess().getOtherRefsAssignment_3_2_1(), "rule__Element__OtherRefsAssignment_3_2_1"); } } diff --git a/org.eclipse.xtext.common.types.eclipse.tests/src-gen/org/eclipse/xtext/common/types/xtext/ui/ide/contentassist/antlr/ContentAssistTestLanguageParser.java b/org.eclipse.xtext.common.types.eclipse.tests/src-gen/org/eclipse/xtext/common/types/xtext/ui/ide/contentassist/antlr/ContentAssistTestLanguageParser.java index fdd8a3ce452..eb4bc0cfa29 100644 --- a/org.eclipse.xtext.common.types.eclipse.tests/src-gen/org/eclipse/xtext/common/types/xtext/ui/ide/contentassist/antlr/ContentAssistTestLanguageParser.java +++ b/org.eclipse.xtext.common.types.eclipse.tests/src-gen/org/eclipse/xtext/common/types/xtext/ui/ide/contentassist/antlr/ContentAssistTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.common.types.xtext.ui.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.common.types.xtext.ui.ide.contentassist.antlr.internal.InternalContentAssistTestLanguageParser; @@ -26,36 +26,36 @@ public static final class NameMappings { @Inject public NameMappings(ContentAssistTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, ContentAssistTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getReferenceHolderAccess().getAlternatives(), "rule__ReferenceHolder__Alternatives"); - builder.put(grammarAccess.getModelAccess().getGroup(), "rule__Model__Group__0"); - builder.put(grammarAccess.getReferenceHolderAccess().getGroup_0(), "rule__ReferenceHolder__Group_0__0"); - builder.put(grammarAccess.getReferenceHolderAccess().getGroup_1(), "rule__ReferenceHolder__Group_1__0"); - builder.put(grammarAccess.getReferenceHolderAccess().getGroup_2(), "rule__ReferenceHolder__Group_2__0"); - builder.put(grammarAccess.getGenerateDirectiveAccess().getGroup(), "rule__GenerateDirective__Group__0"); - builder.put(grammarAccess.getImportAccess().getGroup(), "rule__Import__Group__0"); - builder.put(grammarAccess.getImportedFQNAccess().getGroup(), "rule__ImportedFQN__Group__0"); - builder.put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); - builder.put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); - builder.put(grammarAccess.getQNAccess().getGroup(), "rule__QN__Group__0"); - builder.put(grammarAccess.getQNAccess().getGroup_1(), "rule__QN__Group_1__0"); - builder.put(grammarAccess.getModelAccess().getImportsAssignment_0(), "rule__Model__ImportsAssignment_0"); - builder.put(grammarAccess.getModelAccess().getGenerateDirectiveAssignment_1(), "rule__Model__GenerateDirectiveAssignment_1"); - builder.put(grammarAccess.getModelAccess().getReferenceHolderAssignment_2(), "rule__Model__ReferenceHolderAssignment_2"); - builder.put(grammarAccess.getReferenceHolderAccess().getDefaultReferenceAssignment_0_1(), "rule__ReferenceHolder__DefaultReferenceAssignment_0_1"); - builder.put(grammarAccess.getReferenceHolderAccess().getCustomizedReferenceAssignment_1_1(), "rule__ReferenceHolder__CustomizedReferenceAssignment_1_1"); - builder.put(grammarAccess.getReferenceHolderAccess().getSubtypeReferenceAssignment_2_1(), "rule__ReferenceHolder__SubtypeReferenceAssignment_2_1"); - builder.put(grammarAccess.getGenerateDirectiveAccess().getTypeNameAssignment_1(), "rule__GenerateDirective__TypeNameAssignment_1"); - builder.put(grammarAccess.getImportAccess().getImportedNamespaceAssignment_1(), "rule__Import__ImportedNamespaceAssignment_1"); + private static void init(Map mappings, ContentAssistTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getReferenceHolderAccess().getAlternatives(), "rule__ReferenceHolder__Alternatives"); + mappings.put(grammarAccess.getModelAccess().getGroup(), "rule__Model__Group__0"); + mappings.put(grammarAccess.getReferenceHolderAccess().getGroup_0(), "rule__ReferenceHolder__Group_0__0"); + mappings.put(grammarAccess.getReferenceHolderAccess().getGroup_1(), "rule__ReferenceHolder__Group_1__0"); + mappings.put(grammarAccess.getReferenceHolderAccess().getGroup_2(), "rule__ReferenceHolder__Group_2__0"); + mappings.put(grammarAccess.getGenerateDirectiveAccess().getGroup(), "rule__GenerateDirective__Group__0"); + mappings.put(grammarAccess.getImportAccess().getGroup(), "rule__Import__Group__0"); + mappings.put(grammarAccess.getImportedFQNAccess().getGroup(), "rule__ImportedFQN__Group__0"); + mappings.put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); + mappings.put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); + mappings.put(grammarAccess.getQNAccess().getGroup(), "rule__QN__Group__0"); + mappings.put(grammarAccess.getQNAccess().getGroup_1(), "rule__QN__Group_1__0"); + mappings.put(grammarAccess.getModelAccess().getImportsAssignment_0(), "rule__Model__ImportsAssignment_0"); + mappings.put(grammarAccess.getModelAccess().getGenerateDirectiveAssignment_1(), "rule__Model__GenerateDirectiveAssignment_1"); + mappings.put(grammarAccess.getModelAccess().getReferenceHolderAssignment_2(), "rule__Model__ReferenceHolderAssignment_2"); + mappings.put(grammarAccess.getReferenceHolderAccess().getDefaultReferenceAssignment_0_1(), "rule__ReferenceHolder__DefaultReferenceAssignment_0_1"); + mappings.put(grammarAccess.getReferenceHolderAccess().getCustomizedReferenceAssignment_1_1(), "rule__ReferenceHolder__CustomizedReferenceAssignment_1_1"); + mappings.put(grammarAccess.getReferenceHolderAccess().getSubtypeReferenceAssignment_2_1(), "rule__ReferenceHolder__SubtypeReferenceAssignment_2_1"); + mappings.put(grammarAccess.getGenerateDirectiveAccess().getTypeNameAssignment_1(), "rule__GenerateDirective__TypeNameAssignment_1"); + mappings.put(grammarAccess.getImportAccess().getImportedNamespaceAssignment_1(), "rule__Import__ImportedNamespaceAssignment_1"); } } diff --git a/org.eclipse.xtext.common.types.eclipse.tests/src-gen/org/eclipse/xtext/common/types/xtext/ui/ide/contentassist/antlr/RefactoringTestLanguage1Parser.java b/org.eclipse.xtext.common.types.eclipse.tests/src-gen/org/eclipse/xtext/common/types/xtext/ui/ide/contentassist/antlr/RefactoringTestLanguage1Parser.java index e7b83b509c1..f64e3868602 100644 --- a/org.eclipse.xtext.common.types.eclipse.tests/src-gen/org/eclipse/xtext/common/types/xtext/ui/ide/contentassist/antlr/RefactoringTestLanguage1Parser.java +++ b/org.eclipse.xtext.common.types.eclipse.tests/src-gen/org/eclipse/xtext/common/types/xtext/ui/ide/contentassist/antlr/RefactoringTestLanguage1Parser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.common.types.xtext.ui.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.common.types.xtext.ui.ide.contentassist.antlr.internal.InternalRefactoringTestLanguage1Parser; @@ -26,23 +26,23 @@ public static final class NameMappings { @Inject public NameMappings(RefactoringTestLanguage1GrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, RefactoringTestLanguage1GrammarAccess grammarAccess) { - builder.put(grammarAccess.getReferenceHolderAccess().getGroup(), "rule__ReferenceHolder__Group__0"); - builder.put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); - builder.put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); - builder.put(grammarAccess.getFQNAccess().getGroup_2(), "rule__FQN__Group_2__0"); - builder.put(grammarAccess.getModelAccess().getReferenceHolderAssignment(), "rule__Model__ReferenceHolderAssignment"); - builder.put(grammarAccess.getReferenceHolderAccess().getNameAssignment_0(), "rule__ReferenceHolder__NameAssignment_0"); - builder.put(grammarAccess.getReferenceHolderAccess().getDefaultReferenceAssignment_1(), "rule__ReferenceHolder__DefaultReferenceAssignment_1"); + private static void init(Map mappings, RefactoringTestLanguage1GrammarAccess grammarAccess) { + mappings.put(grammarAccess.getReferenceHolderAccess().getGroup(), "rule__ReferenceHolder__Group__0"); + mappings.put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); + mappings.put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); + mappings.put(grammarAccess.getFQNAccess().getGroup_2(), "rule__FQN__Group_2__0"); + mappings.put(grammarAccess.getModelAccess().getReferenceHolderAssignment(), "rule__Model__ReferenceHolderAssignment"); + mappings.put(grammarAccess.getReferenceHolderAccess().getNameAssignment_0(), "rule__ReferenceHolder__NameAssignment_0"); + mappings.put(grammarAccess.getReferenceHolderAccess().getDefaultReferenceAssignment_1(), "rule__ReferenceHolder__DefaultReferenceAssignment_1"); } } diff --git a/org.eclipse.xtext.common.types.eclipse.tests/src-gen/org/eclipse/xtext/common/types/xtext/ui/ide/contentassist/antlr/RefactoringTestLanguage2Parser.java b/org.eclipse.xtext.common.types.eclipse.tests/src-gen/org/eclipse/xtext/common/types/xtext/ui/ide/contentassist/antlr/RefactoringTestLanguage2Parser.java index c30a18080cd..90250de2004 100644 --- a/org.eclipse.xtext.common.types.eclipse.tests/src-gen/org/eclipse/xtext/common/types/xtext/ui/ide/contentassist/antlr/RefactoringTestLanguage2Parser.java +++ b/org.eclipse.xtext.common.types.eclipse.tests/src-gen/org/eclipse/xtext/common/types/xtext/ui/ide/contentassist/antlr/RefactoringTestLanguage2Parser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.common.types.xtext.ui.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.common.types.xtext.ui.ide.contentassist.antlr.internal.InternalRefactoringTestLanguage2Parser; @@ -26,23 +26,23 @@ public static final class NameMappings { @Inject public NameMappings(RefactoringTestLanguage2GrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, RefactoringTestLanguage2GrammarAccess grammarAccess) { - builder.put(grammarAccess.getReferenceHolderAccess().getGroup(), "rule__ReferenceHolder__Group__0"); - builder.put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); - builder.put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); - builder.put(grammarAccess.getFQNAccess().getGroup_2(), "rule__FQN__Group_2__0"); - builder.put(grammarAccess.getModelAccess().getReferenceHolderAssignment(), "rule__Model__ReferenceHolderAssignment"); - builder.put(grammarAccess.getReferenceHolderAccess().getNameAssignment_0(), "rule__ReferenceHolder__NameAssignment_0"); - builder.put(grammarAccess.getReferenceHolderAccess().getDefaultReferenceAssignment_1(), "rule__ReferenceHolder__DefaultReferenceAssignment_1"); + private static void init(Map mappings, RefactoringTestLanguage2GrammarAccess grammarAccess) { + mappings.put(grammarAccess.getReferenceHolderAccess().getGroup(), "rule__ReferenceHolder__Group__0"); + mappings.put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); + mappings.put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); + mappings.put(grammarAccess.getFQNAccess().getGroup_2(), "rule__FQN__Group_2__0"); + mappings.put(grammarAccess.getModelAccess().getReferenceHolderAssignment(), "rule__Model__ReferenceHolderAssignment"); + mappings.put(grammarAccess.getReferenceHolderAccess().getNameAssignment_0(), "rule__ReferenceHolder__NameAssignment_0"); + mappings.put(grammarAccess.getReferenceHolderAccess().getDefaultReferenceAssignment_1(), "rule__ReferenceHolder__DefaultReferenceAssignment_1"); } } diff --git a/org.eclipse.xtext.common.types.eclipse.tests/src-gen/org/eclipse/xtext/common/types/xtext/ui/ide/contentassist/antlr/RefactoringTestLanguageParser.java b/org.eclipse.xtext.common.types.eclipse.tests/src-gen/org/eclipse/xtext/common/types/xtext/ui/ide/contentassist/antlr/RefactoringTestLanguageParser.java index dfb3f9bfcae..94aa2e6b80e 100644 --- a/org.eclipse.xtext.common.types.eclipse.tests/src-gen/org/eclipse/xtext/common/types/xtext/ui/ide/contentassist/antlr/RefactoringTestLanguageParser.java +++ b/org.eclipse.xtext.common.types.eclipse.tests/src-gen/org/eclipse/xtext/common/types/xtext/ui/ide/contentassist/antlr/RefactoringTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.common.types.xtext.ui.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.common.types.xtext.ui.ide.contentassist.antlr.internal.InternalRefactoringTestLanguageParser; @@ -26,23 +26,23 @@ public static final class NameMappings { @Inject public NameMappings(RefactoringTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, RefactoringTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getReferenceHolderAccess().getGroup(), "rule__ReferenceHolder__Group__0"); - builder.put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); - builder.put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); - builder.put(grammarAccess.getFQNAccess().getGroup_2(), "rule__FQN__Group_2__0"); - builder.put(grammarAccess.getModelAccess().getReferenceHolderAssignment(), "rule__Model__ReferenceHolderAssignment"); - builder.put(grammarAccess.getReferenceHolderAccess().getNameAssignment_0(), "rule__ReferenceHolder__NameAssignment_0"); - builder.put(grammarAccess.getReferenceHolderAccess().getDefaultReferenceAssignment_1(), "rule__ReferenceHolder__DefaultReferenceAssignment_1"); + private static void init(Map mappings, RefactoringTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getReferenceHolderAccess().getGroup(), "rule__ReferenceHolder__Group__0"); + mappings.put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); + mappings.put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); + mappings.put(grammarAccess.getFQNAccess().getGroup_2(), "rule__FQN__Group_2__0"); + mappings.put(grammarAccess.getModelAccess().getReferenceHolderAssignment(), "rule__Model__ReferenceHolderAssignment"); + mappings.put(grammarAccess.getReferenceHolderAccess().getNameAssignment_0(), "rule__ReferenceHolder__NameAssignment_0"); + mappings.put(grammarAccess.getReferenceHolderAccess().getDefaultReferenceAssignment_1(), "rule__ReferenceHolder__DefaultReferenceAssignment_1"); } } diff --git a/org.eclipse.xtext.ide.tests/testlang-src-gen/org/eclipse/xtext/ide/tests/testlanguage/ide/contentassist/antlr/IndentationAwareUiTestLanguageParser.java b/org.eclipse.xtext.ide.tests/testlang-src-gen/org/eclipse/xtext/ide/tests/testlanguage/ide/contentassist/antlr/IndentationAwareUiTestLanguageParser.java index 03f3de7c61e..0f6d18ce016 100644 --- a/org.eclipse.xtext.ide.tests/testlang-src-gen/org/eclipse/xtext/ide/tests/testlanguage/ide/contentassist/antlr/IndentationAwareUiTestLanguageParser.java +++ b/org.eclipse.xtext.ide.tests/testlang-src-gen/org/eclipse/xtext/ide/tests/testlanguage/ide/contentassist/antlr/IndentationAwareUiTestLanguageParser.java @@ -8,9 +8,9 @@ */ package org.eclipse.xtext.ide.tests.testlanguage.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.antlr.runtime.CharStream; import org.antlr.runtime.TokenSource; @@ -28,28 +28,28 @@ public static final class NameMappings { @Inject public NameMappings(IndentationAwareUiTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, IndentationAwareUiTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getTreeAccess().getGroup(), "rule__Tree__Group__0"); - builder.put(grammarAccess.getTreeNodeAccess().getGroup(), "rule__TreeNode__Group__0"); - builder.put(grammarAccess.getTreeNodeAccess().getGroup_1(), "rule__TreeNode__Group_1__0"); - builder.put(grammarAccess.getOtherTreeNodeAccess().getGroup(), "rule__OtherTreeNode__Group__0"); - builder.put(grammarAccess.getChildListAccess().getGroup(), "rule__ChildList__Group__0"); - builder.put(grammarAccess.getTreeAccess().getNodesAssignment_1(), "rule__Tree__NodesAssignment_1"); - builder.put(grammarAccess.getTreeAccess().getMoreNodesAssignment_2(), "rule__Tree__MoreNodesAssignment_2"); - builder.put(grammarAccess.getTreeNodeAccess().getNameAssignment_0(), "rule__TreeNode__NameAssignment_0"); - builder.put(grammarAccess.getTreeNodeAccess().getChildrenAssignment_1_1(), "rule__TreeNode__ChildrenAssignment_1_1"); - builder.put(grammarAccess.getOtherTreeNodeAccess().getNameAssignment_0(), "rule__OtherTreeNode__NameAssignment_0"); - builder.put(grammarAccess.getOtherTreeNodeAccess().getChildListAssignment_1(), "rule__OtherTreeNode__ChildListAssignment_1"); - builder.put(grammarAccess.getChildListAccess().getChildrenAssignment_2(), "rule__ChildList__ChildrenAssignment_2"); + private static void init(Map mappings, IndentationAwareUiTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getTreeAccess().getGroup(), "rule__Tree__Group__0"); + mappings.put(grammarAccess.getTreeNodeAccess().getGroup(), "rule__TreeNode__Group__0"); + mappings.put(grammarAccess.getTreeNodeAccess().getGroup_1(), "rule__TreeNode__Group_1__0"); + mappings.put(grammarAccess.getOtherTreeNodeAccess().getGroup(), "rule__OtherTreeNode__Group__0"); + mappings.put(grammarAccess.getChildListAccess().getGroup(), "rule__ChildList__Group__0"); + mappings.put(grammarAccess.getTreeAccess().getNodesAssignment_1(), "rule__Tree__NodesAssignment_1"); + mappings.put(grammarAccess.getTreeAccess().getMoreNodesAssignment_2(), "rule__Tree__MoreNodesAssignment_2"); + mappings.put(grammarAccess.getTreeNodeAccess().getNameAssignment_0(), "rule__TreeNode__NameAssignment_0"); + mappings.put(grammarAccess.getTreeNodeAccess().getChildrenAssignment_1_1(), "rule__TreeNode__ChildrenAssignment_1_1"); + mappings.put(grammarAccess.getOtherTreeNodeAccess().getNameAssignment_0(), "rule__OtherTreeNode__NameAssignment_0"); + mappings.put(grammarAccess.getOtherTreeNodeAccess().getChildListAssignment_1(), "rule__OtherTreeNode__ChildListAssignment_1"); + mappings.put(grammarAccess.getChildListAccess().getChildrenAssignment_2(), "rule__ChildList__ChildrenAssignment_2"); } } diff --git a/org.eclipse.xtext.ide.tests/testlang-src-gen/org/eclipse/xtext/ide/tests/testlanguage/ide/contentassist/antlr/PartialContentAssistTestLanguageParser.java b/org.eclipse.xtext.ide.tests/testlang-src-gen/org/eclipse/xtext/ide/tests/testlanguage/ide/contentassist/antlr/PartialContentAssistTestLanguageParser.java index 4d4c0aeb6e2..20f420d48cc 100644 --- a/org.eclipse.xtext.ide.tests/testlang-src-gen/org/eclipse/xtext/ide/tests/testlanguage/ide/contentassist/antlr/PartialContentAssistTestLanguageParser.java +++ b/org.eclipse.xtext.ide.tests/testlang-src-gen/org/eclipse/xtext/ide/tests/testlanguage/ide/contentassist/antlr/PartialContentAssistTestLanguageParser.java @@ -8,9 +8,9 @@ */ package org.eclipse.xtext.ide.tests.testlanguage.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractPartialContentAssistParser; @@ -26,25 +26,25 @@ public static final class NameMappings { @Inject public NameMappings(PartialContentAssistTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, PartialContentAssistTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getPropertyAccess().getTypeAlternatives_0_0(), "rule__Property__TypeAlternatives_0_0"); - builder.put(grammarAccess.getTypeDeclarationAccess().getGroup(), "rule__TypeDeclaration__Group__0"); - builder.put(grammarAccess.getTypeDeclarationAccess().getGroup_2(), "rule__TypeDeclaration__Group_2__0"); - builder.put(grammarAccess.getPropertyAccess().getGroup(), "rule__Property__Group__0"); - builder.put(grammarAccess.getTypeDeclarationAccess().getNameAssignment_1(), "rule__TypeDeclaration__NameAssignment_1"); - builder.put(grammarAccess.getTypeDeclarationAccess().getSuperTypeAssignment_2_1(), "rule__TypeDeclaration__SuperTypeAssignment_2_1"); - builder.put(grammarAccess.getTypeDeclarationAccess().getPropertiesAssignment_4(), "rule__TypeDeclaration__PropertiesAssignment_4"); - builder.put(grammarAccess.getPropertyAccess().getTypeAssignment_0(), "rule__Property__TypeAssignment_0"); - builder.put(grammarAccess.getPropertyAccess().getNameAssignment_1(), "rule__Property__NameAssignment_1"); + private static void init(Map mappings, PartialContentAssistTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getPropertyAccess().getTypeAlternatives_0_0(), "rule__Property__TypeAlternatives_0_0"); + mappings.put(grammarAccess.getTypeDeclarationAccess().getGroup(), "rule__TypeDeclaration__Group__0"); + mappings.put(grammarAccess.getTypeDeclarationAccess().getGroup_2(), "rule__TypeDeclaration__Group_2__0"); + mappings.put(grammarAccess.getPropertyAccess().getGroup(), "rule__Property__Group__0"); + mappings.put(grammarAccess.getTypeDeclarationAccess().getNameAssignment_1(), "rule__TypeDeclaration__NameAssignment_1"); + mappings.put(grammarAccess.getTypeDeclarationAccess().getSuperTypeAssignment_2_1(), "rule__TypeDeclaration__SuperTypeAssignment_2_1"); + mappings.put(grammarAccess.getTypeDeclarationAccess().getPropertiesAssignment_4(), "rule__TypeDeclaration__PropertiesAssignment_4"); + mappings.put(grammarAccess.getPropertyAccess().getTypeAssignment_0(), "rule__Property__TypeAssignment_0"); + mappings.put(grammarAccess.getPropertyAccess().getNameAssignment_1(), "rule__Property__NameAssignment_1"); } } diff --git a/org.eclipse.xtext.ide.tests/testlang-src-gen/org/eclipse/xtext/ide/tests/testlanguage/ide/contentassist/antlr/PartialSerializationTestLanguageParser.java b/org.eclipse.xtext.ide.tests/testlang-src-gen/org/eclipse/xtext/ide/tests/testlanguage/ide/contentassist/antlr/PartialSerializationTestLanguageParser.java index 78030caf2e1..22b44d59803 100644 --- a/org.eclipse.xtext.ide.tests/testlang-src-gen/org/eclipse/xtext/ide/tests/testlanguage/ide/contentassist/antlr/PartialSerializationTestLanguageParser.java +++ b/org.eclipse.xtext.ide.tests/testlang-src-gen/org/eclipse/xtext/ide/tests/testlanguage/ide/contentassist/antlr/PartialSerializationTestLanguageParser.java @@ -8,9 +8,9 @@ */ package org.eclipse.xtext.ide.tests.testlanguage.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractPartialContentAssistParser; @@ -26,74 +26,74 @@ public static final class NameMappings { @Inject public NameMappings(PartialSerializationTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, PartialSerializationTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getModelAccess().getAlternatives(), "rule__Model__Alternatives"); - builder.put(grammarAccess.getNodeAccess().getAlternatives_4(), "rule__Node__Alternatives_4"); - builder.put(grammarAccess.getModelAccess().getGroup_0(), "rule__Model__Group_0__0"); - builder.put(grammarAccess.getModelAccess().getGroup_1(), "rule__Model__Group_1__0"); - builder.put(grammarAccess.getModelAccess().getGroup_2(), "rule__Model__Group_2__0"); - builder.put(grammarAccess.getModelAccess().getGroup_3(), "rule__Model__Group_3__0"); - builder.put(grammarAccess.getModelAccess().getGroup_4(), "rule__Model__Group_4__0"); - builder.put(grammarAccess.getModelAccess().getGroup_5(), "rule__Model__Group_5__0"); - builder.put(grammarAccess.getModelAccess().getGroup_6(), "rule__Model__Group_6__0"); - builder.put(grammarAccess.getModelAccess().getGroup_7(), "rule__Model__Group_7__0"); - builder.put(grammarAccess.getModelAccess().getGroup_8(), "rule__Model__Group_8__0"); - builder.put(grammarAccess.getModelAccess().getGroup_9(), "rule__Model__Group_9__0"); - builder.put(grammarAccess.getModelAccess().getGroup_10(), "rule__Model__Group_10__0"); - builder.put(grammarAccess.getModelAccess().getGroup_11(), "rule__Model__Group_11__0"); - builder.put(grammarAccess.getModelAccess().getGroup_12(), "rule__Model__Group_12__0"); - builder.put(grammarAccess.getModelAccess().getGroup_13(), "rule__Model__Group_13__0"); - builder.put(grammarAccess.getModelAccess().getGroup_14(), "rule__Model__Group_14__0"); - builder.put(grammarAccess.getOptionalValueAccess().getGroup(), "rule__OptionalValue__Group__0"); - builder.put(grammarAccess.getManyOptionalValuesAccess().getGroup(), "rule__ManyOptionalValues__Group__0"); - builder.put(grammarAccess.getOptionalChildAccess().getGroup(), "rule__OptionalChild__Group__0"); - builder.put(grammarAccess.getTwoChildListsAccess().getGroup(), "rule__TwoChildLists__Group__0"); - builder.put(grammarAccess.getTwoChildsAccess().getGroup(), "rule__TwoChilds__Group__0"); - builder.put(grammarAccess.getChildWithSubChildsAccess().getGroup(), "rule__ChildWithSubChilds__Group__0"); - builder.put(grammarAccess.getChildWithSubChildAccess().getGroup(), "rule__ChildWithSubChild__Group__0"); - builder.put(grammarAccess.getOptionalChildListAccess().getGroup(), "rule__OptionalChildList__Group__0"); - builder.put(grammarAccess.getImportAccess().getGroup(), "rule__Import__Group__0"); - builder.put(grammarAccess.getNodeAccess().getGroup(), "rule__Node__Group__0"); - builder.put(grammarAccess.getNodeAccess().getGroup_3(), "rule__Node__Group_3__0"); - builder.put(grammarAccess.getNodeAccess().getGroup_4_0(), "rule__Node__Group_4_0__0"); - builder.put(grammarAccess.getNodeAccess().getGroup_4_0_2(), "rule__Node__Group_4_0_2__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); - builder.put(grammarAccess.getModelAccess().getClazzAssignment_9_1(), "rule__Model__ClazzAssignment_9_1"); - builder.put(grammarAccess.getMandatoryValueAccess().getNameAssignment(), "rule__MandatoryValue__NameAssignment"); - builder.put(grammarAccess.getOptionalValueAccess().getNameAssignment_2(), "rule__OptionalValue__NameAssignment_2"); - builder.put(grammarAccess.getManyOptionalValuesAccess().getNameAssignment_1(), "rule__ManyOptionalValues__NameAssignment_1"); - builder.put(grammarAccess.getManyMandatoryValuesAccess().getNameAssignment(), "rule__ManyMandatoryValues__NameAssignment"); - builder.put(grammarAccess.getMandatoryChildAccess().getChildAssignment(), "rule__MandatoryChild__ChildAssignment"); - builder.put(grammarAccess.getOptionalChildAccess().getChildAssignment_1(), "rule__OptionalChild__ChildAssignment_1"); - builder.put(grammarAccess.getTwoChildListsAccess().getDirectChildrenAssignment_1(), "rule__TwoChildLists__DirectChildrenAssignment_1"); - builder.put(grammarAccess.getTwoChildListsAccess().getChildsListAssignment_4(), "rule__TwoChildLists__ChildsListAssignment_4"); - builder.put(grammarAccess.getTwoChildsAccess().getDirectChildAssignment_3(), "rule__TwoChilds__DirectChildAssignment_3"); - builder.put(grammarAccess.getTwoChildsAccess().getOptChildAssignment_6(), "rule__TwoChilds__OptChildAssignment_6"); - builder.put(grammarAccess.getChildWithSubChildsAccess().getChildrenAssignment_1(), "rule__ChildWithSubChilds__ChildrenAssignment_1"); - builder.put(grammarAccess.getChildWithSubChildAccess().getSubChildsAssignment_2(), "rule__ChildWithSubChild__SubChildsAssignment_2"); - builder.put(grammarAccess.getSubChildAccess().getNameAssignment(), "rule__SubChild__NameAssignment"); - builder.put(grammarAccess.getMandatoryChildListAccess().getChildrenAssignment(), "rule__MandatoryChildList__ChildrenAssignment"); - builder.put(grammarAccess.getOptionalChildListAccess().getChildrenAssignment_1(), "rule__OptionalChildList__ChildrenAssignment_1"); - builder.put(grammarAccess.getImportAccess().getImportedNamespaceAssignment_1(), "rule__Import__ImportedNamespaceAssignment_1"); - builder.put(grammarAccess.getNodeAccess().getImportsAssignment_1(), "rule__Node__ImportsAssignment_1"); - builder.put(grammarAccess.getNodeAccess().getNameAssignment_2(), "rule__Node__NameAssignment_2"); - builder.put(grammarAccess.getNodeAccess().getRefsAssignment_3_1(), "rule__Node__RefsAssignment_3_1"); - builder.put(grammarAccess.getNodeAccess().getChildrenAssignment_4_0_1(), "rule__Node__ChildrenAssignment_4_0_1"); - builder.put(grammarAccess.getNodeAccess().getRefAssignment_4_0_2_1(), "rule__Node__RefAssignment_4_0_2_1"); - builder.put(grammarAccess.getEClassDeclAccess().getNameAssignment(), "rule__EClassDecl__NameAssignment"); - builder.put(grammarAccess.getEClassRefAccess().getRefAssignment(), "rule__EClassRef__RefAssignment"); - builder.put(grammarAccess.getWithTransientContainerAccess().getChildAssignment(), "rule__WithTransientContainer__ChildAssignment"); - builder.put(grammarAccess.getWithTransientAccess().getNameAssignment(), "rule__WithTransient__NameAssignment"); + private static void init(Map mappings, PartialSerializationTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getModelAccess().getAlternatives(), "rule__Model__Alternatives"); + mappings.put(grammarAccess.getNodeAccess().getAlternatives_4(), "rule__Node__Alternatives_4"); + mappings.put(grammarAccess.getModelAccess().getGroup_0(), "rule__Model__Group_0__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_1(), "rule__Model__Group_1__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_2(), "rule__Model__Group_2__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_3(), "rule__Model__Group_3__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_4(), "rule__Model__Group_4__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_5(), "rule__Model__Group_5__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_6(), "rule__Model__Group_6__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_7(), "rule__Model__Group_7__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_8(), "rule__Model__Group_8__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_9(), "rule__Model__Group_9__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_10(), "rule__Model__Group_10__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_11(), "rule__Model__Group_11__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_12(), "rule__Model__Group_12__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_13(), "rule__Model__Group_13__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_14(), "rule__Model__Group_14__0"); + mappings.put(grammarAccess.getOptionalValueAccess().getGroup(), "rule__OptionalValue__Group__0"); + mappings.put(grammarAccess.getManyOptionalValuesAccess().getGroup(), "rule__ManyOptionalValues__Group__0"); + mappings.put(grammarAccess.getOptionalChildAccess().getGroup(), "rule__OptionalChild__Group__0"); + mappings.put(grammarAccess.getTwoChildListsAccess().getGroup(), "rule__TwoChildLists__Group__0"); + mappings.put(grammarAccess.getTwoChildsAccess().getGroup(), "rule__TwoChilds__Group__0"); + mappings.put(grammarAccess.getChildWithSubChildsAccess().getGroup(), "rule__ChildWithSubChilds__Group__0"); + mappings.put(grammarAccess.getChildWithSubChildAccess().getGroup(), "rule__ChildWithSubChild__Group__0"); + mappings.put(grammarAccess.getOptionalChildListAccess().getGroup(), "rule__OptionalChildList__Group__0"); + mappings.put(grammarAccess.getImportAccess().getGroup(), "rule__Import__Group__0"); + mappings.put(grammarAccess.getNodeAccess().getGroup(), "rule__Node__Group__0"); + mappings.put(grammarAccess.getNodeAccess().getGroup_3(), "rule__Node__Group_3__0"); + mappings.put(grammarAccess.getNodeAccess().getGroup_4_0(), "rule__Node__Group_4_0__0"); + mappings.put(grammarAccess.getNodeAccess().getGroup_4_0_2(), "rule__Node__Group_4_0_2__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); + mappings.put(grammarAccess.getModelAccess().getClazzAssignment_9_1(), "rule__Model__ClazzAssignment_9_1"); + mappings.put(grammarAccess.getMandatoryValueAccess().getNameAssignment(), "rule__MandatoryValue__NameAssignment"); + mappings.put(grammarAccess.getOptionalValueAccess().getNameAssignment_2(), "rule__OptionalValue__NameAssignment_2"); + mappings.put(grammarAccess.getManyOptionalValuesAccess().getNameAssignment_1(), "rule__ManyOptionalValues__NameAssignment_1"); + mappings.put(grammarAccess.getManyMandatoryValuesAccess().getNameAssignment(), "rule__ManyMandatoryValues__NameAssignment"); + mappings.put(grammarAccess.getMandatoryChildAccess().getChildAssignment(), "rule__MandatoryChild__ChildAssignment"); + mappings.put(grammarAccess.getOptionalChildAccess().getChildAssignment_1(), "rule__OptionalChild__ChildAssignment_1"); + mappings.put(grammarAccess.getTwoChildListsAccess().getDirectChildrenAssignment_1(), "rule__TwoChildLists__DirectChildrenAssignment_1"); + mappings.put(grammarAccess.getTwoChildListsAccess().getChildsListAssignment_4(), "rule__TwoChildLists__ChildsListAssignment_4"); + mappings.put(grammarAccess.getTwoChildsAccess().getDirectChildAssignment_3(), "rule__TwoChilds__DirectChildAssignment_3"); + mappings.put(grammarAccess.getTwoChildsAccess().getOptChildAssignment_6(), "rule__TwoChilds__OptChildAssignment_6"); + mappings.put(grammarAccess.getChildWithSubChildsAccess().getChildrenAssignment_1(), "rule__ChildWithSubChilds__ChildrenAssignment_1"); + mappings.put(grammarAccess.getChildWithSubChildAccess().getSubChildsAssignment_2(), "rule__ChildWithSubChild__SubChildsAssignment_2"); + mappings.put(grammarAccess.getSubChildAccess().getNameAssignment(), "rule__SubChild__NameAssignment"); + mappings.put(grammarAccess.getMandatoryChildListAccess().getChildrenAssignment(), "rule__MandatoryChildList__ChildrenAssignment"); + mappings.put(grammarAccess.getOptionalChildListAccess().getChildrenAssignment_1(), "rule__OptionalChildList__ChildrenAssignment_1"); + mappings.put(grammarAccess.getImportAccess().getImportedNamespaceAssignment_1(), "rule__Import__ImportedNamespaceAssignment_1"); + mappings.put(grammarAccess.getNodeAccess().getImportsAssignment_1(), "rule__Node__ImportsAssignment_1"); + mappings.put(grammarAccess.getNodeAccess().getNameAssignment_2(), "rule__Node__NameAssignment_2"); + mappings.put(grammarAccess.getNodeAccess().getRefsAssignment_3_1(), "rule__Node__RefsAssignment_3_1"); + mappings.put(grammarAccess.getNodeAccess().getChildrenAssignment_4_0_1(), "rule__Node__ChildrenAssignment_4_0_1"); + mappings.put(grammarAccess.getNodeAccess().getRefAssignment_4_0_2_1(), "rule__Node__RefAssignment_4_0_2_1"); + mappings.put(grammarAccess.getEClassDeclAccess().getNameAssignment(), "rule__EClassDecl__NameAssignment"); + mappings.put(grammarAccess.getEClassRefAccess().getRefAssignment(), "rule__EClassRef__RefAssignment"); + mappings.put(grammarAccess.getWithTransientContainerAccess().getChildAssignment(), "rule__WithTransientContainer__ChildAssignment"); + mappings.put(grammarAccess.getWithTransientAccess().getNameAssignment(), "rule__WithTransient__NameAssignment"); } } diff --git a/org.eclipse.xtext.ide.tests/testlang-src-gen/org/eclipse/xtext/ide/tests/testlanguage/ide/contentassist/antlr/RenameTestLanguageParser.java b/org.eclipse.xtext.ide.tests/testlang-src-gen/org/eclipse/xtext/ide/tests/testlanguage/ide/contentassist/antlr/RenameTestLanguageParser.java index 35f7ea02335..b6a1f336850 100644 --- a/org.eclipse.xtext.ide.tests/testlang-src-gen/org/eclipse/xtext/ide/tests/testlanguage/ide/contentassist/antlr/RenameTestLanguageParser.java +++ b/org.eclipse.xtext.ide.tests/testlang-src-gen/org/eclipse/xtext/ide/tests/testlanguage/ide/contentassist/antlr/RenameTestLanguageParser.java @@ -8,9 +8,9 @@ */ package org.eclipse.xtext.ide.tests.testlanguage.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,22 +26,22 @@ public static final class NameMappings { @Inject public NameMappings(RenameTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, RenameTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getTypeDeclarationAccess().getGroup(), "rule__TypeDeclaration__Group__0"); - builder.put(grammarAccess.getTypeDeclarationAccess().getGroup_2(), "rule__TypeDeclaration__Group_2__0"); - builder.put(grammarAccess.getTypeDeclarationAccess().getGroup_3(), "rule__TypeDeclaration__Group_3__0"); - builder.put(grammarAccess.getModelAccess().getTypesAssignment(), "rule__Model__TypesAssignment"); - builder.put(grammarAccess.getTypeDeclarationAccess().getNameAssignment_1(), "rule__TypeDeclaration__NameAssignment_1"); - builder.put(grammarAccess.getTypeDeclarationAccess().getSuperTypeAssignment_2_1(), "rule__TypeDeclaration__SuperTypeAssignment_2_1"); + private static void init(Map mappings, RenameTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getTypeDeclarationAccess().getGroup(), "rule__TypeDeclaration__Group__0"); + mappings.put(grammarAccess.getTypeDeclarationAccess().getGroup_2(), "rule__TypeDeclaration__Group_2__0"); + mappings.put(grammarAccess.getTypeDeclarationAccess().getGroup_3(), "rule__TypeDeclaration__Group_3__0"); + mappings.put(grammarAccess.getModelAccess().getTypesAssignment(), "rule__Model__TypesAssignment"); + mappings.put(grammarAccess.getTypeDeclarationAccess().getNameAssignment_1(), "rule__TypeDeclaration__NameAssignment_1"); + mappings.put(grammarAccess.getTypeDeclarationAccess().getSuperTypeAssignment_2_1(), "rule__TypeDeclaration__SuperTypeAssignment_2_1"); } } diff --git a/org.eclipse.xtext.ide.tests/testlang-src-gen/org/eclipse/xtext/ide/tests/testlanguage/ide/contentassist/antlr/TestLanguageParser.java b/org.eclipse.xtext.ide.tests/testlang-src-gen/org/eclipse/xtext/ide/tests/testlanguage/ide/contentassist/antlr/TestLanguageParser.java index d4b17b138ab..9cb2d55e4fe 100644 --- a/org.eclipse.xtext.ide.tests/testlang-src-gen/org/eclipse/xtext/ide/tests/testlanguage/ide/contentassist/antlr/TestLanguageParser.java +++ b/org.eclipse.xtext.ide.tests/testlang-src-gen/org/eclipse/xtext/ide/tests/testlanguage/ide/contentassist/antlr/TestLanguageParser.java @@ -8,9 +8,9 @@ */ package org.eclipse.xtext.ide.tests.testlanguage.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,57 +26,57 @@ public static final class NameMappings { @Inject public NameMappings(TestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, TestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getAbstractElementAccess().getAlternatives(), "rule__AbstractElement__Alternatives"); - builder.put(grammarAccess.getMemberAccess().getAlternatives(), "rule__Member__Alternatives"); - builder.put(grammarAccess.getTypeAccess().getAlternatives_0(), "rule__Type__Alternatives_0"); - builder.put(grammarAccess.getPrimitiveTypeAccess().getNameAlternatives_0(), "rule__PrimitiveType__NameAlternatives_0"); - builder.put(grammarAccess.getPackageDeclarationAccess().getGroup(), "rule__PackageDeclaration__Group__0"); - builder.put(grammarAccess.getTypeDeclarationAccess().getGroup(), "rule__TypeDeclaration__Group__0"); - builder.put(grammarAccess.getTypeDeclarationAccess().getGroup_2(), "rule__TypeDeclaration__Group_2__0"); - builder.put(grammarAccess.getPropertyAccess().getGroup(), "rule__Property__Group__0"); - builder.put(grammarAccess.getTypeAccess().getGroup(), "rule__Type__Group__0"); - builder.put(grammarAccess.getTypeAccess().getGroup_1(), "rule__Type__Group_1__0"); - builder.put(grammarAccess.getOperationAccess().getGroup(), "rule__Operation__Group__0"); - builder.put(grammarAccess.getOperationAccess().getGroup_4(), "rule__Operation__Group_4__0"); - builder.put(grammarAccess.getOperationAccess().getGroup_4_1(), "rule__Operation__Group_4_1__0"); - builder.put(grammarAccess.getOperationAccess().getGroup_6(), "rule__Operation__Group_6__0"); - builder.put(grammarAccess.getOperationCallAccess().getGroup(), "rule__OperationCall__Group__0"); - builder.put(grammarAccess.getOperationCallAccess().getGroup_2(), "rule__OperationCall__Group_2__0"); - builder.put(grammarAccess.getOperationCallAccess().getGroup_2_1(), "rule__OperationCall__Group_2_1__0"); - builder.put(grammarAccess.getParameterAccess().getGroup(), "rule__Parameter__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); - builder.put(grammarAccess.getModelAccess().getElementsAssignment(), "rule__Model__ElementsAssignment"); - builder.put(grammarAccess.getPackageDeclarationAccess().getNameAssignment_1(), "rule__PackageDeclaration__NameAssignment_1"); - builder.put(grammarAccess.getPackageDeclarationAccess().getElementsAssignment_3(), "rule__PackageDeclaration__ElementsAssignment_3"); - builder.put(grammarAccess.getTypeDeclarationAccess().getNameAssignment_1(), "rule__TypeDeclaration__NameAssignment_1"); - builder.put(grammarAccess.getTypeDeclarationAccess().getSuperTypeAssignment_2_1(), "rule__TypeDeclaration__SuperTypeAssignment_2_1"); - builder.put(grammarAccess.getTypeDeclarationAccess().getMembersAssignment_4(), "rule__TypeDeclaration__MembersAssignment_4"); - builder.put(grammarAccess.getPropertyAccess().getTypeAssignment_0(), "rule__Property__TypeAssignment_0"); - builder.put(grammarAccess.getPropertyAccess().getNameAssignment_1(), "rule__Property__NameAssignment_1"); - builder.put(grammarAccess.getTypeAccess().getArrayDiemensionsAssignment_1_0(), "rule__Type__ArrayDiemensionsAssignment_1_0"); - builder.put(grammarAccess.getOperationAccess().getNameAssignment_2(), "rule__Operation__NameAssignment_2"); - builder.put(grammarAccess.getOperationAccess().getParamsAssignment_4_0(), "rule__Operation__ParamsAssignment_4_0"); - builder.put(grammarAccess.getOperationAccess().getParamsAssignment_4_1_1(), "rule__Operation__ParamsAssignment_4_1_1"); - builder.put(grammarAccess.getOperationAccess().getReturnTypeAssignment_6_1(), "rule__Operation__ReturnTypeAssignment_6_1"); - builder.put(grammarAccess.getOperationAccess().getOperationCallAssignment_8(), "rule__Operation__OperationCallAssignment_8"); - builder.put(grammarAccess.getOperationCallAccess().getOperationAssignment_0(), "rule__OperationCall__OperationAssignment_0"); - builder.put(grammarAccess.getOperationCallAccess().getParamsAssignment_2_0(), "rule__OperationCall__ParamsAssignment_2_0"); - builder.put(grammarAccess.getOperationCallAccess().getParamsAssignment_2_1_1(), "rule__OperationCall__ParamsAssignment_2_1_1"); - builder.put(grammarAccess.getParameterAccess().getNameAssignment_1(), "rule__Parameter__NameAssignment_1"); - builder.put(grammarAccess.getParameterAccess().getTypeAssignment_3(), "rule__Parameter__TypeAssignment_3"); - builder.put(grammarAccess.getTypeReferenceAccess().getTypeRefAssignment(), "rule__TypeReference__TypeRefAssignment"); - builder.put(grammarAccess.getPrimitiveTypeAccess().getNameAssignment(), "rule__PrimitiveType__NameAssignment"); + private static void init(Map mappings, TestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getAbstractElementAccess().getAlternatives(), "rule__AbstractElement__Alternatives"); + mappings.put(grammarAccess.getMemberAccess().getAlternatives(), "rule__Member__Alternatives"); + mappings.put(grammarAccess.getTypeAccess().getAlternatives_0(), "rule__Type__Alternatives_0"); + mappings.put(grammarAccess.getPrimitiveTypeAccess().getNameAlternatives_0(), "rule__PrimitiveType__NameAlternatives_0"); + mappings.put(grammarAccess.getPackageDeclarationAccess().getGroup(), "rule__PackageDeclaration__Group__0"); + mappings.put(grammarAccess.getTypeDeclarationAccess().getGroup(), "rule__TypeDeclaration__Group__0"); + mappings.put(grammarAccess.getTypeDeclarationAccess().getGroup_2(), "rule__TypeDeclaration__Group_2__0"); + mappings.put(grammarAccess.getPropertyAccess().getGroup(), "rule__Property__Group__0"); + mappings.put(grammarAccess.getTypeAccess().getGroup(), "rule__Type__Group__0"); + mappings.put(grammarAccess.getTypeAccess().getGroup_1(), "rule__Type__Group_1__0"); + mappings.put(grammarAccess.getOperationAccess().getGroup(), "rule__Operation__Group__0"); + mappings.put(grammarAccess.getOperationAccess().getGroup_4(), "rule__Operation__Group_4__0"); + mappings.put(grammarAccess.getOperationAccess().getGroup_4_1(), "rule__Operation__Group_4_1__0"); + mappings.put(grammarAccess.getOperationAccess().getGroup_6(), "rule__Operation__Group_6__0"); + mappings.put(grammarAccess.getOperationCallAccess().getGroup(), "rule__OperationCall__Group__0"); + mappings.put(grammarAccess.getOperationCallAccess().getGroup_2(), "rule__OperationCall__Group_2__0"); + mappings.put(grammarAccess.getOperationCallAccess().getGroup_2_1(), "rule__OperationCall__Group_2_1__0"); + mappings.put(grammarAccess.getParameterAccess().getGroup(), "rule__Parameter__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); + mappings.put(grammarAccess.getModelAccess().getElementsAssignment(), "rule__Model__ElementsAssignment"); + mappings.put(grammarAccess.getPackageDeclarationAccess().getNameAssignment_1(), "rule__PackageDeclaration__NameAssignment_1"); + mappings.put(grammarAccess.getPackageDeclarationAccess().getElementsAssignment_3(), "rule__PackageDeclaration__ElementsAssignment_3"); + mappings.put(grammarAccess.getTypeDeclarationAccess().getNameAssignment_1(), "rule__TypeDeclaration__NameAssignment_1"); + mappings.put(grammarAccess.getTypeDeclarationAccess().getSuperTypeAssignment_2_1(), "rule__TypeDeclaration__SuperTypeAssignment_2_1"); + mappings.put(grammarAccess.getTypeDeclarationAccess().getMembersAssignment_4(), "rule__TypeDeclaration__MembersAssignment_4"); + mappings.put(grammarAccess.getPropertyAccess().getTypeAssignment_0(), "rule__Property__TypeAssignment_0"); + mappings.put(grammarAccess.getPropertyAccess().getNameAssignment_1(), "rule__Property__NameAssignment_1"); + mappings.put(grammarAccess.getTypeAccess().getArrayDiemensionsAssignment_1_0(), "rule__Type__ArrayDiemensionsAssignment_1_0"); + mappings.put(grammarAccess.getOperationAccess().getNameAssignment_2(), "rule__Operation__NameAssignment_2"); + mappings.put(grammarAccess.getOperationAccess().getParamsAssignment_4_0(), "rule__Operation__ParamsAssignment_4_0"); + mappings.put(grammarAccess.getOperationAccess().getParamsAssignment_4_1_1(), "rule__Operation__ParamsAssignment_4_1_1"); + mappings.put(grammarAccess.getOperationAccess().getReturnTypeAssignment_6_1(), "rule__Operation__ReturnTypeAssignment_6_1"); + mappings.put(grammarAccess.getOperationAccess().getOperationCallAssignment_8(), "rule__Operation__OperationCallAssignment_8"); + mappings.put(grammarAccess.getOperationCallAccess().getOperationAssignment_0(), "rule__OperationCall__OperationAssignment_0"); + mappings.put(grammarAccess.getOperationCallAccess().getParamsAssignment_2_0(), "rule__OperationCall__ParamsAssignment_2_0"); + mappings.put(grammarAccess.getOperationCallAccess().getParamsAssignment_2_1_1(), "rule__OperationCall__ParamsAssignment_2_1_1"); + mappings.put(grammarAccess.getParameterAccess().getNameAssignment_1(), "rule__Parameter__NameAssignment_1"); + mappings.put(grammarAccess.getParameterAccess().getTypeAssignment_3(), "rule__Parameter__TypeAssignment_3"); + mappings.put(grammarAccess.getTypeReferenceAccess().getTypeRefAssignment(), "rule__TypeReference__TypeRefAssignment"); + mappings.put(grammarAccess.getPrimitiveTypeAccess().getNameAssignment(), "rule__PrimitiveType__NameAssignment"); } } diff --git a/org.eclipse.xtext.purexbase.ide/src-gen/org/eclipse/xtext/purexbase/ide/contentassist/antlr/PureXbaseParser.java b/org.eclipse.xtext.purexbase.ide/src-gen/org/eclipse/xtext/purexbase/ide/contentassist/antlr/PureXbaseParser.java index 6ec5f5f3ebd..df6c5624a96 100644 --- a/org.eclipse.xtext.purexbase.ide/src-gen/org/eclipse/xtext/purexbase/ide/contentassist/antlr/PureXbaseParser.java +++ b/org.eclipse.xtext.purexbase.ide/src-gen/org/eclipse/xtext/purexbase/ide/contentassist/antlr/PureXbaseParser.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2011, 2023 itemis AG (http://www.itemis.eu) and others. + * Copyright (c) 2011, 2024 itemis AG (http://www.itemis.eu) and others. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0. @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.purexbase.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,416 +26,416 @@ public static final class NameMappings { @Inject public NameMappings(PureXbaseGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, PureXbaseGrammarAccess grammarAccess) { - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_2(), "rule__XTryCatchFinallyExpression__Alternatives_2"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_2_0_6_0(), "rule__XTryCatchFinallyExpression__Alternatives_2_0_6_0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_2_1_1(), "rule__XTryCatchFinallyExpression__Alternatives_2_1_1"); - builder.put(grammarAccess.getInitialisedVariableDeclarationAccess().getAlternatives_1(), "rule__InitialisedVariableDeclaration__Alternatives_1"); - builder.put(grammarAccess.getInitialisedVariableDeclarationAccess().getAlternatives_2(), "rule__InitialisedVariableDeclaration__Alternatives_2"); - builder.put(grammarAccess.getXAssignmentAccess().getAlternatives(), "rule__XAssignment__Alternatives"); - builder.put(grammarAccess.getOpMultiAssignAccess().getAlternatives(), "rule__OpMultiAssign__Alternatives"); - builder.put(grammarAccess.getOpEqualityAccess().getAlternatives(), "rule__OpEquality__Alternatives"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getAlternatives_1(), "rule__XRelationalExpression__Alternatives_1"); - builder.put(grammarAccess.getOpCompareAccess().getAlternatives(), "rule__OpCompare__Alternatives"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives(), "rule__OpOther__Alternatives"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives_5_1(), "rule__OpOther__Alternatives_5_1"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives_6_1(), "rule__OpOther__Alternatives_6_1"); - builder.put(grammarAccess.getOpAddAccess().getAlternatives(), "rule__OpAdd__Alternatives"); - builder.put(grammarAccess.getOpMultiAccess().getAlternatives(), "rule__OpMulti__Alternatives"); - builder.put(grammarAccess.getXUnaryOperationAccess().getAlternatives(), "rule__XUnaryOperation__Alternatives"); - builder.put(grammarAccess.getOpUnaryAccess().getAlternatives(), "rule__OpUnary__Alternatives"); - builder.put(grammarAccess.getOpPostfixAccess().getAlternatives(), "rule__OpPostfix__Alternatives"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1(), "rule__XMemberFeatureCall__Alternatives_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_0_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_0_0_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_1_0_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_3_1(), "rule__XMemberFeatureCall__Alternatives_1_1_3_1"); - builder.put(grammarAccess.getXPrimaryExpressionAccess().getAlternatives(), "rule__XPrimaryExpression__Alternatives"); - builder.put(grammarAccess.getXLiteralAccess().getAlternatives(), "rule__XLiteral__Alternatives"); - builder.put(grammarAccess.getXCollectionLiteralAccess().getAlternatives(), "rule__XCollectionLiteral__Alternatives"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2(), "rule__XSwitchExpression__Alternatives_2"); - builder.put(grammarAccess.getXCasePartAccess().getAlternatives_3(), "rule__XCasePart__Alternatives_3"); - builder.put(grammarAccess.getXExpressionOrVarDeclarationAccess().getAlternatives(), "rule__XExpressionOrVarDeclaration__Alternatives"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_1(), "rule__XVariableDeclaration__Alternatives_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_2(), "rule__XVariableDeclaration__Alternatives_2"); - builder.put(grammarAccess.getXFeatureCallAccess().getAlternatives_3_1(), "rule__XFeatureCall__Alternatives_3_1"); - builder.put(grammarAccess.getIdOrSuperAccess().getAlternatives(), "rule__IdOrSuper__Alternatives"); - builder.put(grammarAccess.getXConstructorCallAccess().getAlternatives_4_1(), "rule__XConstructorCall__Alternatives_4_1"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1(), "rule__XBooleanLiteral__Alternatives_1"); - builder.put(grammarAccess.getNumberAccess().getAlternatives(), "rule__Number__Alternatives"); - builder.put(grammarAccess.getNumberAccess().getAlternatives_1_0(), "rule__Number__Alternatives_1_0"); - builder.put(grammarAccess.getNumberAccess().getAlternatives_1_1_1(), "rule__Number__Alternatives_1_1_1"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getAlternatives(), "rule__JvmTypeReference__Alternatives"); - builder.put(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives(), "rule__JvmArgumentTypeReference__Alternatives"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2(), "rule__JvmWildcardTypeReference__Alternatives_2"); - builder.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1(), "rule__XImportDeclaration__Alternatives_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3(), "rule__XImportDeclaration__Alternatives_1_0_3"); - builder.put(grammarAccess.getModelAccess().getGroup(), "rule__Model__Group__0"); - builder.put(grammarAccess.getSpecialBlockExpressionAccess().getGroup(), "rule__SpecialBlockExpression__Group__0"); - builder.put(grammarAccess.getSpecialBlockExpressionAccess().getGroup_1(), "rule__SpecialBlockExpression__Group_1__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup(), "rule__XTryCatchFinallyExpression__Group__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_0(), "rule__XTryCatchFinallyExpression__Group_2_0__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_0_2(), "rule__XTryCatchFinallyExpression__Group_2_0_2__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_0_6(), "rule__XTryCatchFinallyExpression__Group_2_0_6__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_0_6_0_0(), "rule__XTryCatchFinallyExpression__Group_2_0_6_0_0__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_0_6_0_0_1(), "rule__XTryCatchFinallyExpression__Group_2_0_6_0_0_1__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_0_6_0_1(), "rule__XTryCatchFinallyExpression__Group_2_0_6_0_1__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_1(), "rule__XTryCatchFinallyExpression__Group_2_1__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_1_1_0(), "rule__XTryCatchFinallyExpression__Group_2_1_1_0__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_1_1_0_1(), "rule__XTryCatchFinallyExpression__Group_2_1_1_0_1__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_1_1_1(), "rule__XTryCatchFinallyExpression__Group_2_1_1_1__0"); - builder.put(grammarAccess.getInitialisedVariableDeclarationAccess().getGroup(), "rule__InitialisedVariableDeclaration__Group__0"); - builder.put(grammarAccess.getInitialisedVariableDeclarationAccess().getGroup_2_0(), "rule__InitialisedVariableDeclaration__Group_2_0__0"); - builder.put(grammarAccess.getInitialisedVariableDeclarationAccess().getGroup_2_0_0(), "rule__InitialisedVariableDeclaration__Group_2_0_0__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_0(), "rule__XAssignment__Group_0__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1(), "rule__XAssignment__Group_1__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1(), "rule__XAssignment__Group_1_1__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0(), "rule__XAssignment__Group_1_1_0__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0_0(), "rule__XAssignment__Group_1_1_0_0__0"); - builder.put(grammarAccess.getXConditionalExpressionAccess().getGroup(), "rule__XConditionalExpression__Group__0"); - builder.put(grammarAccess.getXConditionalExpressionAccess().getGroup_1(), "rule__XConditionalExpression__Group_1__0"); - builder.put(grammarAccess.getXConditionalExpressionAccess().getGroup_1_0(), "rule__XConditionalExpression__Group_1_0__0"); - builder.put(grammarAccess.getXConditionalExpressionAccess().getGroup_1_0_0(), "rule__XConditionalExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXConditionalExpressionAccess().getGroup_1_2(), "rule__XConditionalExpression__Group_1_2__0"); - builder.put(grammarAccess.getOpMultiAssignAccess().getGroup_5(), "rule__OpMultiAssign__Group_5__0"); - builder.put(grammarAccess.getOpMultiAssignAccess().getGroup_6(), "rule__OpMultiAssign__Group_6__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup(), "rule__XOrExpression__Group__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1(), "rule__XOrExpression__Group_1__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0(), "rule__XOrExpression__Group_1_0__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0_0(), "rule__XOrExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup(), "rule__XAndExpression__Group__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1(), "rule__XAndExpression__Group_1__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0(), "rule__XAndExpression__Group_1_0__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0_0(), "rule__XAndExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup(), "rule__XEqualityExpression__Group__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1(), "rule__XEqualityExpression__Group_1__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0(), "rule__XEqualityExpression__Group_1_0__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0_0(), "rule__XEqualityExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup(), "rule__XRelationalExpression__Group__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0(), "rule__XRelationalExpression__Group_1_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0(), "rule__XRelationalExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0_0(), "rule__XRelationalExpression__Group_1_0_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1(), "rule__XRelationalExpression__Group_1_1__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0(), "rule__XRelationalExpression__Group_1_1_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0_0(), "rule__XRelationalExpression__Group_1_1_0_0__0"); - builder.put(grammarAccess.getOpCompareAccess().getGroup_1(), "rule__OpCompare__Group_1__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup(), "rule__XOtherOperatorExpression__Group__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1(), "rule__XOtherOperatorExpression__Group_1__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0(), "rule__XOtherOperatorExpression__Group_1_0__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0_0(), "rule__XOtherOperatorExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_2(), "rule__OpOther__Group_2__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5(), "rule__OpOther__Group_5__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0(), "rule__OpOther__Group_5_1_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0_0(), "rule__OpOther__Group_5_1_0_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6(), "rule__OpOther__Group_6__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0(), "rule__OpOther__Group_6_1_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0_0(), "rule__OpOther__Group_6_1_0_0__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup(), "rule__XAdditiveExpression__Group__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1(), "rule__XAdditiveExpression__Group_1__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0(), "rule__XAdditiveExpression__Group_1_0__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0_0(), "rule__XAdditiveExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup(), "rule__XMultiplicativeExpression__Group__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1(), "rule__XMultiplicativeExpression__Group_1__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0(), "rule__XMultiplicativeExpression__Group_1_0__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0_0(), "rule__XMultiplicativeExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXUnaryOperationAccess().getGroup_0(), "rule__XUnaryOperation__Group_0__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup(), "rule__XCastedExpression__Group__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1(), "rule__XCastedExpression__Group_1__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0(), "rule__XCastedExpression__Group_1_0__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0_0(), "rule__XCastedExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup(), "rule__XPostfixOperation__Group__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup_1(), "rule__XPostfixOperation__Group_1__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup_1_0(), "rule__XPostfixOperation__Group_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup(), "rule__XMemberFeatureCall__Group__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0(), "rule__XMemberFeatureCall__Group_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0(), "rule__XMemberFeatureCall__Group_1_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0_0(), "rule__XMemberFeatureCall__Group_1_0_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1(), "rule__XMemberFeatureCall__Group_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0(), "rule__XMemberFeatureCall__Group_1_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0_0(), "rule__XMemberFeatureCall__Group_1_1_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1_2(), "rule__XMemberFeatureCall__Group_1_1_1_2__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3(), "rule__XMemberFeatureCall__Group_1_1_3__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1_1__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup(), "rule__XSetLiteral__Group__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup_3(), "rule__XSetLiteral__Group_3__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup_3_1(), "rule__XSetLiteral__Group_3_1__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup(), "rule__XListLiteral__Group__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup_3(), "rule__XListLiteral__Group_3__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup_3_1(), "rule__XListLiteral__Group_3_1__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup(), "rule__XClosure__Group__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_0(), "rule__XClosure__Group_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_0_0(), "rule__XClosure__Group_0_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1(), "rule__XClosure__Group_1__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0(), "rule__XClosure__Group_1_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0_0(), "rule__XClosure__Group_1_0_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0_0_1(), "rule__XClosure__Group_1_0_0_1__0"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getGroup(), "rule__XExpressionInClosure__Group__0"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getGroup_1(), "rule__XExpressionInClosure__Group_1__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup(), "rule__XShortClosure__Group__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0(), "rule__XShortClosure__Group_0__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0(), "rule__XShortClosure__Group_0_0__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1(), "rule__XShortClosure__Group_0_0_1__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1_1(), "rule__XShortClosure__Group_0_0_1_1__0"); - builder.put(grammarAccess.getXParenthesizedExpressionAccess().getGroup(), "rule__XParenthesizedExpression__Group__0"); - builder.put(grammarAccess.getXIfExpressionAccess().getGroup(), "rule__XIfExpression__Group__0"); - builder.put(grammarAccess.getXIfExpressionAccess().getGroup_6(), "rule__XIfExpression__Group_6__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup(), "rule__XSwitchExpression__Group__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0(), "rule__XSwitchExpression__Group_2_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0(), "rule__XSwitchExpression__Group_2_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0(), "rule__XSwitchExpression__Group_2_0_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1(), "rule__XSwitchExpression__Group_2_1__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0(), "rule__XSwitchExpression__Group_2_1_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0(), "rule__XSwitchExpression__Group_2_1_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_5(), "rule__XSwitchExpression__Group_5__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup(), "rule__XCasePart__Group__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup_2(), "rule__XCasePart__Group_2__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup_3_0(), "rule__XCasePart__Group_3_0__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup(), "rule__XForLoopExpression__Group__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0(), "rule__XForLoopExpression__Group_0__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0_0(), "rule__XForLoopExpression__Group_0_0__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup(), "rule__XBasicForLoopExpression__Group__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3(), "rule__XBasicForLoopExpression__Group_3__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3_1(), "rule__XBasicForLoopExpression__Group_3_1__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7(), "rule__XBasicForLoopExpression__Group_7__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7_1(), "rule__XBasicForLoopExpression__Group_7_1__0"); - builder.put(grammarAccess.getXWhileExpressionAccess().getGroup(), "rule__XWhileExpression__Group__0"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getGroup(), "rule__XDoWhileExpression__Group__0"); - builder.put(grammarAccess.getXBlockExpressionAccess().getGroup(), "rule__XBlockExpression__Group__0"); - builder.put(grammarAccess.getXBlockExpressionAccess().getGroup_2(), "rule__XBlockExpression__Group_2__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup(), "rule__XVariableDeclaration__Group__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0(), "rule__XVariableDeclaration__Group_2_0__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0_0(), "rule__XVariableDeclaration__Group_2_0_0__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_3(), "rule__XVariableDeclaration__Group_3__0"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getGroup(), "rule__JvmFormalParameter__Group__0"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getGroup(), "rule__FullJvmFormalParameter__Group__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup(), "rule__XFeatureCall__Group__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_1(), "rule__XFeatureCall__Group_1__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_1_2(), "rule__XFeatureCall__Group_1_2__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3(), "rule__XFeatureCall__Group_3__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1(), "rule__XFeatureCall__Group_3_1_1__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1_1(), "rule__XFeatureCall__Group_3_1_1_1__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup(), "rule__XConstructorCall__Group__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_3(), "rule__XConstructorCall__Group_3__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_3_2(), "rule__XConstructorCall__Group_3_2__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4(), "rule__XConstructorCall__Group_4__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1(), "rule__XConstructorCall__Group_4_1_1__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1_1(), "rule__XConstructorCall__Group_4_1_1_1__0"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getGroup(), "rule__XBooleanLiteral__Group__0"); - builder.put(grammarAccess.getXNullLiteralAccess().getGroup(), "rule__XNullLiteral__Group__0"); - builder.put(grammarAccess.getXNumberLiteralAccess().getGroup(), "rule__XNumberLiteral__Group__0"); - builder.put(grammarAccess.getXStringLiteralAccess().getGroup(), "rule__XStringLiteral__Group__0"); - builder.put(grammarAccess.getXTypeLiteralAccess().getGroup(), "rule__XTypeLiteral__Group__0"); - builder.put(grammarAccess.getXThrowExpressionAccess().getGroup(), "rule__XThrowExpression__Group__0"); - builder.put(grammarAccess.getXReturnExpressionAccess().getGroup(), "rule__XReturnExpression__Group__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup(), "rule__XSynchronizedExpression__Group__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0(), "rule__XSynchronizedExpression__Group_0__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0_0(), "rule__XSynchronizedExpression__Group_0_0__0"); - builder.put(grammarAccess.getXCatchClauseAccess().getGroup(), "rule__XCatchClause__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); - builder.put(grammarAccess.getNumberAccess().getGroup_1(), "rule__Number__Group_1__0"); - builder.put(grammarAccess.getNumberAccess().getGroup_1_1(), "rule__Number__Group_1_1__0"); - builder.put(grammarAccess.getStaticQualifierAccess().getGroup(), "rule__StaticQualifier__Group__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0(), "rule__JvmTypeReference__Group_0__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1(), "rule__JvmTypeReference__Group_0_1__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0(), "rule__JvmTypeReference__Group_0_1_0__0"); - builder.put(grammarAccess.getArrayBracketsAccess().getGroup(), "rule__ArrayBrackets__Group__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup(), "rule__XFunctionTypeRef__Group__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0(), "rule__XFunctionTypeRef__Group_0__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1(), "rule__XFunctionTypeRef__Group_0_1__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1(), "rule__XFunctionTypeRef__Group_0_1_1__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup(), "rule__JvmParameterizedTypeReference__Group__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1(), "rule__JvmParameterizedTypeReference__Group_1__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2(), "rule__JvmParameterizedTypeReference__Group_1_2__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4(), "rule__JvmParameterizedTypeReference__Group_1_4__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup(), "rule__JvmWildcardTypeReference__Group__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0(), "rule__JvmWildcardTypeReference__Group_2_0__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1(), "rule__JvmWildcardTypeReference__Group_2_1__0"); - builder.put(grammarAccess.getJvmUpperBoundAccess().getGroup(), "rule__JvmUpperBound__Group__0"); - builder.put(grammarAccess.getJvmUpperBoundAndedAccess().getGroup(), "rule__JvmUpperBoundAnded__Group__0"); - builder.put(grammarAccess.getJvmLowerBoundAccess().getGroup(), "rule__JvmLowerBound__Group__0"); - builder.put(grammarAccess.getJvmLowerBoundAndedAccess().getGroup(), "rule__JvmLowerBoundAnded__Group__0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getGroup(), "rule__JvmTypeParameter__Group__0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getGroup_1(), "rule__JvmTypeParameter__Group_1__0"); - builder.put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup(), "rule__QualifiedNameWithWildcard__Group__0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getGroup(), "rule__XImportDeclaration__Group__0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getGroup_1_0(), "rule__XImportDeclaration__Group_1_0__0"); - builder.put(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup(), "rule__QualifiedNameInStaticImport__Group__0"); - builder.put(grammarAccess.getModelAccess().getImportSectionAssignment_0(), "rule__Model__ImportSectionAssignment_0"); - builder.put(grammarAccess.getModelAccess().getBlockAssignment_1(), "rule__Model__BlockAssignment_1"); - builder.put(grammarAccess.getSpecialBlockExpressionAccess().getExpressionsAssignment_1_0(), "rule__SpecialBlockExpression__ExpressionsAssignment_1_0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getResourcesAssignment_2_0_1(), "rule__XTryCatchFinallyExpression__ResourcesAssignment_2_0_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getResourcesAssignment_2_0_2_1(), "rule__XTryCatchFinallyExpression__ResourcesAssignment_2_0_2_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionAssignment_2_0_5(), "rule__XTryCatchFinallyExpression__ExpressionAssignment_2_0_5"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesAssignment_2_0_6_0_0_0(), "rule__XTryCatchFinallyExpression__CatchClausesAssignment_2_0_6_0_0_0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_2_0_6_0_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_2_0_6_0_0_1_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_2_0_6_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_2_0_6_0_1_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionAssignment_2_1_0(), "rule__XTryCatchFinallyExpression__ExpressionAssignment_2_1_0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesAssignment_2_1_1_0_0(), "rule__XTryCatchFinallyExpression__CatchClausesAssignment_2_1_1_0_0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_2_1_1_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_2_1_1_0_1_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_2_1_1_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_2_1_1_1_1"); - builder.put(grammarAccess.getInitialisedVariableDeclarationAccess().getWriteableAssignment_1_0(), "rule__InitialisedVariableDeclaration__WriteableAssignment_1_0"); - builder.put(grammarAccess.getInitialisedVariableDeclarationAccess().getTypeAssignment_2_0_0_0(), "rule__InitialisedVariableDeclaration__TypeAssignment_2_0_0_0"); - builder.put(grammarAccess.getInitialisedVariableDeclarationAccess().getNameAssignment_2_0_0_1(), "rule__InitialisedVariableDeclaration__NameAssignment_2_0_0_1"); - builder.put(grammarAccess.getInitialisedVariableDeclarationAccess().getNameAssignment_2_1(), "rule__InitialisedVariableDeclaration__NameAssignment_2_1"); - builder.put(grammarAccess.getInitialisedVariableDeclarationAccess().getRightAssignment_4(), "rule__InitialisedVariableDeclaration__RightAssignment_4"); - builder.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_0_1(), "rule__XAssignment__FeatureAssignment_0_1"); - builder.put(grammarAccess.getXAssignmentAccess().getValueAssignment_0_3(), "rule__XAssignment__ValueAssignment_0_3"); - builder.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XAssignment__FeatureAssignment_1_1_0_0_1"); - builder.put(grammarAccess.getXAssignmentAccess().getRightOperandAssignment_1_1_1(), "rule__XAssignment__RightOperandAssignment_1_1_1"); - builder.put(grammarAccess.getXConditionalExpressionAccess().getConditionalExpressionAssignment_1_0_0_1(), "rule__XConditionalExpression__ConditionalExpressionAssignment_1_0_0_1"); - builder.put(grammarAccess.getXConditionalExpressionAccess().getThenAssignment_1_1(), "rule__XConditionalExpression__ThenAssignment_1_1"); - builder.put(grammarAccess.getXConditionalExpressionAccess().getElseAssignment_1_2_1(), "rule__XConditionalExpression__ElseAssignment_1_2_1"); - builder.put(grammarAccess.getXOrExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOrExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXOrExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOrExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXAndExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAndExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXAndExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAndExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XEqualityExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getRightOperandAssignment_1_1(), "rule__XEqualityExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getTypeAssignment_1_0_1(), "rule__XRelationalExpression__TypeAssignment_1_0_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XRelationalExpression__FeatureAssignment_1_1_0_0_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getRightOperandAssignment_1_1_1(), "rule__XRelationalExpression__RightOperandAssignment_1_1_1"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOtherOperatorExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOtherOperatorExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAdditiveExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAdditiveExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XMultiplicativeExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandAssignment_1_1(), "rule__XMultiplicativeExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXUnaryOperationAccess().getFeatureAssignment_0_1(), "rule__XUnaryOperation__FeatureAssignment_0_1"); - builder.put(grammarAccess.getXUnaryOperationAccess().getOperandAssignment_0_2(), "rule__XUnaryOperation__OperandAssignment_0_2"); - builder.put(grammarAccess.getXCastedExpressionAccess().getTypeAssignment_1_1(), "rule__XCastedExpression__TypeAssignment_1_1"); - builder.put(grammarAccess.getXPostfixOperationAccess().getFeatureAssignment_1_0_1(), "rule__XPostfixOperation__FeatureAssignment_1_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_0_0_0_1_1(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_0_0_0_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_0_0_0_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getValueAssignment_1_0_1(), "rule__XMemberFeatureCall__ValueAssignment_1_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getNullSafeAssignment_1_1_0_0_1_1(), "rule__XMemberFeatureCall__NullSafeAssignment_1_1_0_0_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_1_0_0_1_2(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_1_0_0_1_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_2_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_2_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_1_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_1_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallAssignment_1_1_3_0(), "rule__XMemberFeatureCall__ExplicitOperationCallAssignment_1_1_3_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_1_1(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_4(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4"); - builder.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_0(), "rule__XSetLiteral__ElementsAssignment_3_0"); - builder.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_1_1(), "rule__XSetLiteral__ElementsAssignment_3_1_1"); - builder.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_0(), "rule__XListLiteral__ElementsAssignment_3_0"); - builder.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_1_1(), "rule__XListLiteral__ElementsAssignment_3_1_1"); - builder.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_0(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_0"); - builder.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_1_1(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_1_1"); - builder.put(grammarAccess.getXClosureAccess().getExplicitSyntaxAssignment_1_0_1(), "rule__XClosure__ExplicitSyntaxAssignment_1_0_1"); - builder.put(grammarAccess.getXClosureAccess().getExpressionAssignment_2(), "rule__XClosure__ExpressionAssignment_2"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getExpressionsAssignment_1_0(), "rule__XExpressionInClosure__ExpressionsAssignment_1_0"); - builder.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_0(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0"); - builder.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_1_1(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1"); - builder.put(grammarAccess.getXShortClosureAccess().getExplicitSyntaxAssignment_0_0_2(), "rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2"); - builder.put(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1(), "rule__XShortClosure__ExpressionAssignment_1"); - builder.put(grammarAccess.getXIfExpressionAccess().getIfAssignment_3(), "rule__XIfExpression__IfAssignment_3"); - builder.put(grammarAccess.getXIfExpressionAccess().getThenAssignment_5(), "rule__XIfExpression__ThenAssignment_5"); - builder.put(grammarAccess.getXIfExpressionAccess().getElseAssignment_6_1(), "rule__XIfExpression__ElseAssignment_6_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_0_0_0_1(), "rule__XSwitchExpression__DeclaredParamAssignment_2_0_0_0_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1(), "rule__XSwitchExpression__SwitchAssignment_2_0_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_1_0_0_0(), "rule__XSwitchExpression__DeclaredParamAssignment_2_1_0_0_0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1(), "rule__XSwitchExpression__SwitchAssignment_2_1_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4(), "rule__XSwitchExpression__CasesAssignment_4"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDefaultAssignment_5_2(), "rule__XSwitchExpression__DefaultAssignment_5_2"); - builder.put(grammarAccess.getXCasePartAccess().getTypeGuardAssignment_1(), "rule__XCasePart__TypeGuardAssignment_1"); - builder.put(grammarAccess.getXCasePartAccess().getCaseAssignment_2_1(), "rule__XCasePart__CaseAssignment_2_1"); - builder.put(grammarAccess.getXCasePartAccess().getThenAssignment_3_0_1(), "rule__XCasePart__ThenAssignment_3_0_1"); - builder.put(grammarAccess.getXCasePartAccess().getFallThroughAssignment_3_1(), "rule__XCasePart__FallThroughAssignment_3_1"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamAssignment_0_0_3(), "rule__XForLoopExpression__DeclaredParamAssignment_0_0_3"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getForExpressionAssignment_1(), "rule__XForLoopExpression__ForExpressionAssignment_1"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getEachExpressionAssignment_3(), "rule__XForLoopExpression__EachExpressionAssignment_3"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_0(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_1_1(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_1_1"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getExpressionAssignment_5(), "rule__XBasicForLoopExpression__ExpressionAssignment_5"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_0(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_1_1(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_1_1"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getEachExpressionAssignment_9(), "rule__XBasicForLoopExpression__EachExpressionAssignment_9"); - builder.put(grammarAccess.getXWhileExpressionAccess().getPredicateAssignment_3(), "rule__XWhileExpression__PredicateAssignment_3"); - builder.put(grammarAccess.getXWhileExpressionAccess().getBodyAssignment_5(), "rule__XWhileExpression__BodyAssignment_5"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getBodyAssignment_2(), "rule__XDoWhileExpression__BodyAssignment_2"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getPredicateAssignment_5(), "rule__XDoWhileExpression__PredicateAssignment_5"); - builder.put(grammarAccess.getXBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__XBlockExpression__ExpressionsAssignment_2_0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getWriteableAssignment_1_0(), "rule__XVariableDeclaration__WriteableAssignment_1_0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getTypeAssignment_2_0_0_0(), "rule__XVariableDeclaration__TypeAssignment_2_0_0_0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_0_0_1(), "rule__XVariableDeclaration__NameAssignment_2_0_0_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_1(), "rule__XVariableDeclaration__NameAssignment_2_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getRightAssignment_3_1(), "rule__XVariableDeclaration__RightAssignment_3_1"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__JvmFormalParameter__ParameterTypeAssignment_0"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getNameAssignment_1(), "rule__JvmFormalParameter__NameAssignment_1"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__FullJvmFormalParameter__ParameterTypeAssignment_0"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getNameAssignment_1(), "rule__FullJvmFormalParameter__NameAssignment_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_2_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_2_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureAssignment_2(), "rule__XFeatureCall__FeatureAssignment_2"); - builder.put(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallAssignment_3_0(), "rule__XFeatureCall__ExplicitOperationCallAssignment_3_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_1_1(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_4"); - builder.put(grammarAccess.getXConstructorCallAccess().getConstructorAssignment_2(), "rule__XConstructorCall__ConstructorAssignment_2"); - builder.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_2_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_2_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getExplicitConstructorCallAssignment_4_0(), "rule__XConstructorCall__ExplicitConstructorCallAssignment_4_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_1_1(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_1_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_5(), "rule__XConstructorCall__ArgumentsAssignment_5"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1(), "rule__XBooleanLiteral__IsTrueAssignment_1_1"); - builder.put(grammarAccess.getXNumberLiteralAccess().getValueAssignment_1(), "rule__XNumberLiteral__ValueAssignment_1"); - builder.put(grammarAccess.getXStringLiteralAccess().getValueAssignment_1(), "rule__XStringLiteral__ValueAssignment_1"); - builder.put(grammarAccess.getXTypeLiteralAccess().getTypeAssignment_3(), "rule__XTypeLiteral__TypeAssignment_3"); - builder.put(grammarAccess.getXTypeLiteralAccess().getArrayDimensionsAssignment_4(), "rule__XTypeLiteral__ArrayDimensionsAssignment_4"); - builder.put(grammarAccess.getXThrowExpressionAccess().getExpressionAssignment_2(), "rule__XThrowExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXReturnExpressionAccess().getExpressionAssignment_2(), "rule__XReturnExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getParamAssignment_1(), "rule__XSynchronizedExpression__ParamAssignment_1"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getExpressionAssignment_3(), "rule__XSynchronizedExpression__ExpressionAssignment_3"); - builder.put(grammarAccess.getXCatchClauseAccess().getDeclaredParamAssignment_2(), "rule__XCatchClause__DeclaredParamAssignment_2"); - builder.put(grammarAccess.getXCatchClauseAccess().getExpressionAssignment_4(), "rule__XCatchClause__ExpressionAssignment_4"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionTypeRef__ReturnTypeAssignment_2"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0(), "rule__JvmParameterizedTypeReference__TypeAssignment_0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1(), "rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1"); - builder.put(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBound__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBoundAnded__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBound__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBoundAnded__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getNameAssignment_0(), "rule__JvmTypeParameter__NameAssignment_0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_0(), "rule__JvmTypeParameter__ConstraintsAssignment_1_0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_1(), "rule__JvmTypeParameter__ConstraintsAssignment_1_1"); - builder.put(grammarAccess.getXImportSectionAccess().getImportDeclarationsAssignment(), "rule__XImportSection__ImportDeclarationsAssignment"); - builder.put(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0(), "rule__XImportDeclaration__StaticAssignment_1_0_0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1(), "rule__XImportDeclaration__ExtensionAssignment_1_0_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2(), "rule__XImportDeclaration__ImportedTypeAssignment_1_0_2"); - builder.put(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0(), "rule__XImportDeclaration__WildcardAssignment_1_0_3_0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1(), "rule__XImportDeclaration__MemberNameAssignment_1_0_3_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1(), "rule__XImportDeclaration__ImportedTypeAssignment_1_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2(), "rule__XImportDeclaration__ImportedNamespaceAssignment_1_2"); + private static void init(Map mappings, PureXbaseGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_2(), "rule__XTryCatchFinallyExpression__Alternatives_2"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_2_0_6_0(), "rule__XTryCatchFinallyExpression__Alternatives_2_0_6_0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_2_1_1(), "rule__XTryCatchFinallyExpression__Alternatives_2_1_1"); + mappings.put(grammarAccess.getInitialisedVariableDeclarationAccess().getAlternatives_1(), "rule__InitialisedVariableDeclaration__Alternatives_1"); + mappings.put(grammarAccess.getInitialisedVariableDeclarationAccess().getAlternatives_2(), "rule__InitialisedVariableDeclaration__Alternatives_2"); + mappings.put(grammarAccess.getXAssignmentAccess().getAlternatives(), "rule__XAssignment__Alternatives"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getAlternatives(), "rule__OpMultiAssign__Alternatives"); + mappings.put(grammarAccess.getOpEqualityAccess().getAlternatives(), "rule__OpEquality__Alternatives"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getAlternatives_1(), "rule__XRelationalExpression__Alternatives_1"); + mappings.put(grammarAccess.getOpCompareAccess().getAlternatives(), "rule__OpCompare__Alternatives"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives(), "rule__OpOther__Alternatives"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives_5_1(), "rule__OpOther__Alternatives_5_1"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives_6_1(), "rule__OpOther__Alternatives_6_1"); + mappings.put(grammarAccess.getOpAddAccess().getAlternatives(), "rule__OpAdd__Alternatives"); + mappings.put(grammarAccess.getOpMultiAccess().getAlternatives(), "rule__OpMulti__Alternatives"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getAlternatives(), "rule__XUnaryOperation__Alternatives"); + mappings.put(grammarAccess.getOpUnaryAccess().getAlternatives(), "rule__OpUnary__Alternatives"); + mappings.put(grammarAccess.getOpPostfixAccess().getAlternatives(), "rule__OpPostfix__Alternatives"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1(), "rule__XMemberFeatureCall__Alternatives_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_0_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_0_0_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_1_0_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_3_1(), "rule__XMemberFeatureCall__Alternatives_1_1_3_1"); + mappings.put(grammarAccess.getXPrimaryExpressionAccess().getAlternatives(), "rule__XPrimaryExpression__Alternatives"); + mappings.put(grammarAccess.getXLiteralAccess().getAlternatives(), "rule__XLiteral__Alternatives"); + mappings.put(grammarAccess.getXCollectionLiteralAccess().getAlternatives(), "rule__XCollectionLiteral__Alternatives"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2(), "rule__XSwitchExpression__Alternatives_2"); + mappings.put(grammarAccess.getXCasePartAccess().getAlternatives_3(), "rule__XCasePart__Alternatives_3"); + mappings.put(grammarAccess.getXExpressionOrVarDeclarationAccess().getAlternatives(), "rule__XExpressionOrVarDeclaration__Alternatives"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_1(), "rule__XVariableDeclaration__Alternatives_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_2(), "rule__XVariableDeclaration__Alternatives_2"); + mappings.put(grammarAccess.getXFeatureCallAccess().getAlternatives_3_1(), "rule__XFeatureCall__Alternatives_3_1"); + mappings.put(grammarAccess.getIdOrSuperAccess().getAlternatives(), "rule__IdOrSuper__Alternatives"); + mappings.put(grammarAccess.getXConstructorCallAccess().getAlternatives_4_1(), "rule__XConstructorCall__Alternatives_4_1"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1(), "rule__XBooleanLiteral__Alternatives_1"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives(), "rule__Number__Alternatives"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives_1_0(), "rule__Number__Alternatives_1_0"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives_1_1_1(), "rule__Number__Alternatives_1_1_1"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getAlternatives(), "rule__JvmTypeReference__Alternatives"); + mappings.put(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives(), "rule__JvmArgumentTypeReference__Alternatives"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2(), "rule__JvmWildcardTypeReference__Alternatives_2"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1(), "rule__XImportDeclaration__Alternatives_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3(), "rule__XImportDeclaration__Alternatives_1_0_3"); + mappings.put(grammarAccess.getModelAccess().getGroup(), "rule__Model__Group__0"); + mappings.put(grammarAccess.getSpecialBlockExpressionAccess().getGroup(), "rule__SpecialBlockExpression__Group__0"); + mappings.put(grammarAccess.getSpecialBlockExpressionAccess().getGroup_1(), "rule__SpecialBlockExpression__Group_1__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup(), "rule__XTryCatchFinallyExpression__Group__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_0(), "rule__XTryCatchFinallyExpression__Group_2_0__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_0_2(), "rule__XTryCatchFinallyExpression__Group_2_0_2__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_0_6(), "rule__XTryCatchFinallyExpression__Group_2_0_6__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_0_6_0_0(), "rule__XTryCatchFinallyExpression__Group_2_0_6_0_0__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_0_6_0_0_1(), "rule__XTryCatchFinallyExpression__Group_2_0_6_0_0_1__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_0_6_0_1(), "rule__XTryCatchFinallyExpression__Group_2_0_6_0_1__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_1(), "rule__XTryCatchFinallyExpression__Group_2_1__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_1_1_0(), "rule__XTryCatchFinallyExpression__Group_2_1_1_0__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_1_1_0_1(), "rule__XTryCatchFinallyExpression__Group_2_1_1_0_1__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_2_1_1_1(), "rule__XTryCatchFinallyExpression__Group_2_1_1_1__0"); + mappings.put(grammarAccess.getInitialisedVariableDeclarationAccess().getGroup(), "rule__InitialisedVariableDeclaration__Group__0"); + mappings.put(grammarAccess.getInitialisedVariableDeclarationAccess().getGroup_2_0(), "rule__InitialisedVariableDeclaration__Group_2_0__0"); + mappings.put(grammarAccess.getInitialisedVariableDeclarationAccess().getGroup_2_0_0(), "rule__InitialisedVariableDeclaration__Group_2_0_0__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_0(), "rule__XAssignment__Group_0__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1(), "rule__XAssignment__Group_1__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1(), "rule__XAssignment__Group_1_1__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0(), "rule__XAssignment__Group_1_1_0__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0_0(), "rule__XAssignment__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getXConditionalExpressionAccess().getGroup(), "rule__XConditionalExpression__Group__0"); + mappings.put(grammarAccess.getXConditionalExpressionAccess().getGroup_1(), "rule__XConditionalExpression__Group_1__0"); + mappings.put(grammarAccess.getXConditionalExpressionAccess().getGroup_1_0(), "rule__XConditionalExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXConditionalExpressionAccess().getGroup_1_0_0(), "rule__XConditionalExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXConditionalExpressionAccess().getGroup_1_2(), "rule__XConditionalExpression__Group_1_2__0"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getGroup_5(), "rule__OpMultiAssign__Group_5__0"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getGroup_6(), "rule__OpMultiAssign__Group_6__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup(), "rule__XOrExpression__Group__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1(), "rule__XOrExpression__Group_1__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0(), "rule__XOrExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0_0(), "rule__XOrExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup(), "rule__XAndExpression__Group__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1(), "rule__XAndExpression__Group_1__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0(), "rule__XAndExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0_0(), "rule__XAndExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup(), "rule__XEqualityExpression__Group__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1(), "rule__XEqualityExpression__Group_1__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0(), "rule__XEqualityExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0_0(), "rule__XEqualityExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup(), "rule__XRelationalExpression__Group__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0(), "rule__XRelationalExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0(), "rule__XRelationalExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0_0(), "rule__XRelationalExpression__Group_1_0_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1(), "rule__XRelationalExpression__Group_1_1__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0(), "rule__XRelationalExpression__Group_1_1_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0_0(), "rule__XRelationalExpression__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getOpCompareAccess().getGroup_1(), "rule__OpCompare__Group_1__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup(), "rule__XOtherOperatorExpression__Group__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1(), "rule__XOtherOperatorExpression__Group_1__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0(), "rule__XOtherOperatorExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0_0(), "rule__XOtherOperatorExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_2(), "rule__OpOther__Group_2__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5(), "rule__OpOther__Group_5__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0(), "rule__OpOther__Group_5_1_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0_0(), "rule__OpOther__Group_5_1_0_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6(), "rule__OpOther__Group_6__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0(), "rule__OpOther__Group_6_1_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0_0(), "rule__OpOther__Group_6_1_0_0__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup(), "rule__XAdditiveExpression__Group__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1(), "rule__XAdditiveExpression__Group_1__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0(), "rule__XAdditiveExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0_0(), "rule__XAdditiveExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup(), "rule__XMultiplicativeExpression__Group__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1(), "rule__XMultiplicativeExpression__Group_1__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0(), "rule__XMultiplicativeExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0_0(), "rule__XMultiplicativeExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getGroup_0(), "rule__XUnaryOperation__Group_0__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup(), "rule__XCastedExpression__Group__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1(), "rule__XCastedExpression__Group_1__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0(), "rule__XCastedExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0_0(), "rule__XCastedExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup(), "rule__XPostfixOperation__Group__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup_1(), "rule__XPostfixOperation__Group_1__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup_1_0(), "rule__XPostfixOperation__Group_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup(), "rule__XMemberFeatureCall__Group__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0(), "rule__XMemberFeatureCall__Group_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0(), "rule__XMemberFeatureCall__Group_1_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0_0(), "rule__XMemberFeatureCall__Group_1_0_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1(), "rule__XMemberFeatureCall__Group_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0(), "rule__XMemberFeatureCall__Group_1_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0_0(), "rule__XMemberFeatureCall__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1_2(), "rule__XMemberFeatureCall__Group_1_1_1_2__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3(), "rule__XMemberFeatureCall__Group_1_1_3__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1_1__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup(), "rule__XSetLiteral__Group__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup_3(), "rule__XSetLiteral__Group_3__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup_3_1(), "rule__XSetLiteral__Group_3_1__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup(), "rule__XListLiteral__Group__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup_3(), "rule__XListLiteral__Group_3__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup_3_1(), "rule__XListLiteral__Group_3_1__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup(), "rule__XClosure__Group__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_0(), "rule__XClosure__Group_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_0_0(), "rule__XClosure__Group_0_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1(), "rule__XClosure__Group_1__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0(), "rule__XClosure__Group_1_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0_0(), "rule__XClosure__Group_1_0_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0_0_1(), "rule__XClosure__Group_1_0_0_1__0"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getGroup(), "rule__XExpressionInClosure__Group__0"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getGroup_1(), "rule__XExpressionInClosure__Group_1__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup(), "rule__XShortClosure__Group__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0(), "rule__XShortClosure__Group_0__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0(), "rule__XShortClosure__Group_0_0__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1(), "rule__XShortClosure__Group_0_0_1__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1_1(), "rule__XShortClosure__Group_0_0_1_1__0"); + mappings.put(grammarAccess.getXParenthesizedExpressionAccess().getGroup(), "rule__XParenthesizedExpression__Group__0"); + mappings.put(grammarAccess.getXIfExpressionAccess().getGroup(), "rule__XIfExpression__Group__0"); + mappings.put(grammarAccess.getXIfExpressionAccess().getGroup_6(), "rule__XIfExpression__Group_6__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup(), "rule__XSwitchExpression__Group__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0(), "rule__XSwitchExpression__Group_2_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0(), "rule__XSwitchExpression__Group_2_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0(), "rule__XSwitchExpression__Group_2_0_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1(), "rule__XSwitchExpression__Group_2_1__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0(), "rule__XSwitchExpression__Group_2_1_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0(), "rule__XSwitchExpression__Group_2_1_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_5(), "rule__XSwitchExpression__Group_5__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup(), "rule__XCasePart__Group__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup_2(), "rule__XCasePart__Group_2__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup_3_0(), "rule__XCasePart__Group_3_0__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup(), "rule__XForLoopExpression__Group__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0(), "rule__XForLoopExpression__Group_0__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0_0(), "rule__XForLoopExpression__Group_0_0__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup(), "rule__XBasicForLoopExpression__Group__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3(), "rule__XBasicForLoopExpression__Group_3__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3_1(), "rule__XBasicForLoopExpression__Group_3_1__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7(), "rule__XBasicForLoopExpression__Group_7__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7_1(), "rule__XBasicForLoopExpression__Group_7_1__0"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getGroup(), "rule__XWhileExpression__Group__0"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getGroup(), "rule__XDoWhileExpression__Group__0"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getGroup(), "rule__XBlockExpression__Group__0"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getGroup_2(), "rule__XBlockExpression__Group_2__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup(), "rule__XVariableDeclaration__Group__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0(), "rule__XVariableDeclaration__Group_2_0__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0_0(), "rule__XVariableDeclaration__Group_2_0_0__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_3(), "rule__XVariableDeclaration__Group_3__0"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getGroup(), "rule__JvmFormalParameter__Group__0"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getGroup(), "rule__FullJvmFormalParameter__Group__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup(), "rule__XFeatureCall__Group__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_1(), "rule__XFeatureCall__Group_1__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_1_2(), "rule__XFeatureCall__Group_1_2__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3(), "rule__XFeatureCall__Group_3__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1(), "rule__XFeatureCall__Group_3_1_1__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1_1(), "rule__XFeatureCall__Group_3_1_1_1__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup(), "rule__XConstructorCall__Group__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_3(), "rule__XConstructorCall__Group_3__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_3_2(), "rule__XConstructorCall__Group_3_2__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4(), "rule__XConstructorCall__Group_4__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1(), "rule__XConstructorCall__Group_4_1_1__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1_1(), "rule__XConstructorCall__Group_4_1_1_1__0"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getGroup(), "rule__XBooleanLiteral__Group__0"); + mappings.put(grammarAccess.getXNullLiteralAccess().getGroup(), "rule__XNullLiteral__Group__0"); + mappings.put(grammarAccess.getXNumberLiteralAccess().getGroup(), "rule__XNumberLiteral__Group__0"); + mappings.put(grammarAccess.getXStringLiteralAccess().getGroup(), "rule__XStringLiteral__Group__0"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getGroup(), "rule__XTypeLiteral__Group__0"); + mappings.put(grammarAccess.getXThrowExpressionAccess().getGroup(), "rule__XThrowExpression__Group__0"); + mappings.put(grammarAccess.getXReturnExpressionAccess().getGroup(), "rule__XReturnExpression__Group__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup(), "rule__XSynchronizedExpression__Group__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0(), "rule__XSynchronizedExpression__Group_0__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0_0(), "rule__XSynchronizedExpression__Group_0_0__0"); + mappings.put(grammarAccess.getXCatchClauseAccess().getGroup(), "rule__XCatchClause__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); + mappings.put(grammarAccess.getNumberAccess().getGroup_1(), "rule__Number__Group_1__0"); + mappings.put(grammarAccess.getNumberAccess().getGroup_1_1(), "rule__Number__Group_1_1__0"); + mappings.put(grammarAccess.getStaticQualifierAccess().getGroup(), "rule__StaticQualifier__Group__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0(), "rule__JvmTypeReference__Group_0__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1(), "rule__JvmTypeReference__Group_0_1__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0(), "rule__JvmTypeReference__Group_0_1_0__0"); + mappings.put(grammarAccess.getArrayBracketsAccess().getGroup(), "rule__ArrayBrackets__Group__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup(), "rule__XFunctionTypeRef__Group__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0(), "rule__XFunctionTypeRef__Group_0__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1(), "rule__XFunctionTypeRef__Group_0_1__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1(), "rule__XFunctionTypeRef__Group_0_1_1__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup(), "rule__JvmParameterizedTypeReference__Group__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1(), "rule__JvmParameterizedTypeReference__Group_1__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2(), "rule__JvmParameterizedTypeReference__Group_1_2__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4(), "rule__JvmParameterizedTypeReference__Group_1_4__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup(), "rule__JvmWildcardTypeReference__Group__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0(), "rule__JvmWildcardTypeReference__Group_2_0__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1(), "rule__JvmWildcardTypeReference__Group_2_1__0"); + mappings.put(grammarAccess.getJvmUpperBoundAccess().getGroup(), "rule__JvmUpperBound__Group__0"); + mappings.put(grammarAccess.getJvmUpperBoundAndedAccess().getGroup(), "rule__JvmUpperBoundAnded__Group__0"); + mappings.put(grammarAccess.getJvmLowerBoundAccess().getGroup(), "rule__JvmLowerBound__Group__0"); + mappings.put(grammarAccess.getJvmLowerBoundAndedAccess().getGroup(), "rule__JvmLowerBoundAnded__Group__0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getGroup(), "rule__JvmTypeParameter__Group__0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getGroup_1(), "rule__JvmTypeParameter__Group_1__0"); + mappings.put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup(), "rule__QualifiedNameWithWildcard__Group__0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getGroup(), "rule__XImportDeclaration__Group__0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getGroup_1_0(), "rule__XImportDeclaration__Group_1_0__0"); + mappings.put(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup(), "rule__QualifiedNameInStaticImport__Group__0"); + mappings.put(grammarAccess.getModelAccess().getImportSectionAssignment_0(), "rule__Model__ImportSectionAssignment_0"); + mappings.put(grammarAccess.getModelAccess().getBlockAssignment_1(), "rule__Model__BlockAssignment_1"); + mappings.put(grammarAccess.getSpecialBlockExpressionAccess().getExpressionsAssignment_1_0(), "rule__SpecialBlockExpression__ExpressionsAssignment_1_0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getResourcesAssignment_2_0_1(), "rule__XTryCatchFinallyExpression__ResourcesAssignment_2_0_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getResourcesAssignment_2_0_2_1(), "rule__XTryCatchFinallyExpression__ResourcesAssignment_2_0_2_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionAssignment_2_0_5(), "rule__XTryCatchFinallyExpression__ExpressionAssignment_2_0_5"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesAssignment_2_0_6_0_0_0(), "rule__XTryCatchFinallyExpression__CatchClausesAssignment_2_0_6_0_0_0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_2_0_6_0_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_2_0_6_0_0_1_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_2_0_6_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_2_0_6_0_1_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionAssignment_2_1_0(), "rule__XTryCatchFinallyExpression__ExpressionAssignment_2_1_0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesAssignment_2_1_1_0_0(), "rule__XTryCatchFinallyExpression__CatchClausesAssignment_2_1_1_0_0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_2_1_1_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_2_1_1_0_1_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_2_1_1_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_2_1_1_1_1"); + mappings.put(grammarAccess.getInitialisedVariableDeclarationAccess().getWriteableAssignment_1_0(), "rule__InitialisedVariableDeclaration__WriteableAssignment_1_0"); + mappings.put(grammarAccess.getInitialisedVariableDeclarationAccess().getTypeAssignment_2_0_0_0(), "rule__InitialisedVariableDeclaration__TypeAssignment_2_0_0_0"); + mappings.put(grammarAccess.getInitialisedVariableDeclarationAccess().getNameAssignment_2_0_0_1(), "rule__InitialisedVariableDeclaration__NameAssignment_2_0_0_1"); + mappings.put(grammarAccess.getInitialisedVariableDeclarationAccess().getNameAssignment_2_1(), "rule__InitialisedVariableDeclaration__NameAssignment_2_1"); + mappings.put(grammarAccess.getInitialisedVariableDeclarationAccess().getRightAssignment_4(), "rule__InitialisedVariableDeclaration__RightAssignment_4"); + mappings.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_0_1(), "rule__XAssignment__FeatureAssignment_0_1"); + mappings.put(grammarAccess.getXAssignmentAccess().getValueAssignment_0_3(), "rule__XAssignment__ValueAssignment_0_3"); + mappings.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XAssignment__FeatureAssignment_1_1_0_0_1"); + mappings.put(grammarAccess.getXAssignmentAccess().getRightOperandAssignment_1_1_1(), "rule__XAssignment__RightOperandAssignment_1_1_1"); + mappings.put(grammarAccess.getXConditionalExpressionAccess().getConditionalExpressionAssignment_1_0_0_1(), "rule__XConditionalExpression__ConditionalExpressionAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXConditionalExpressionAccess().getThenAssignment_1_1(), "rule__XConditionalExpression__ThenAssignment_1_1"); + mappings.put(grammarAccess.getXConditionalExpressionAccess().getElseAssignment_1_2_1(), "rule__XConditionalExpression__ElseAssignment_1_2_1"); + mappings.put(grammarAccess.getXOrExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOrExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXOrExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOrExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXAndExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAndExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXAndExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAndExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XEqualityExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getRightOperandAssignment_1_1(), "rule__XEqualityExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getTypeAssignment_1_0_1(), "rule__XRelationalExpression__TypeAssignment_1_0_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XRelationalExpression__FeatureAssignment_1_1_0_0_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getRightOperandAssignment_1_1_1(), "rule__XRelationalExpression__RightOperandAssignment_1_1_1"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOtherOperatorExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOtherOperatorExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAdditiveExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAdditiveExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XMultiplicativeExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandAssignment_1_1(), "rule__XMultiplicativeExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getFeatureAssignment_0_1(), "rule__XUnaryOperation__FeatureAssignment_0_1"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getOperandAssignment_0_2(), "rule__XUnaryOperation__OperandAssignment_0_2"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getTypeAssignment_1_1(), "rule__XCastedExpression__TypeAssignment_1_1"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getFeatureAssignment_1_0_1(), "rule__XPostfixOperation__FeatureAssignment_1_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_0_0_0_1_1(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_0_0_0_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_0_0_0_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getValueAssignment_1_0_1(), "rule__XMemberFeatureCall__ValueAssignment_1_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getNullSafeAssignment_1_1_0_0_1_1(), "rule__XMemberFeatureCall__NullSafeAssignment_1_1_0_0_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_1_0_0_1_2(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_1_0_0_1_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_2_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_2_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_1_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_1_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallAssignment_1_1_3_0(), "rule__XMemberFeatureCall__ExplicitOperationCallAssignment_1_1_3_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_1_1(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_4(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4"); + mappings.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_0(), "rule__XSetLiteral__ElementsAssignment_3_0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_1_1(), "rule__XSetLiteral__ElementsAssignment_3_1_1"); + mappings.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_0(), "rule__XListLiteral__ElementsAssignment_3_0"); + mappings.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_1_1(), "rule__XListLiteral__ElementsAssignment_3_1_1"); + mappings.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_0(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_0"); + mappings.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_1_1(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_1_1"); + mappings.put(grammarAccess.getXClosureAccess().getExplicitSyntaxAssignment_1_0_1(), "rule__XClosure__ExplicitSyntaxAssignment_1_0_1"); + mappings.put(grammarAccess.getXClosureAccess().getExpressionAssignment_2(), "rule__XClosure__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getExpressionsAssignment_1_0(), "rule__XExpressionInClosure__ExpressionsAssignment_1_0"); + mappings.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_0(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0"); + mappings.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_1_1(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1"); + mappings.put(grammarAccess.getXShortClosureAccess().getExplicitSyntaxAssignment_0_0_2(), "rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2"); + mappings.put(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1(), "rule__XShortClosure__ExpressionAssignment_1"); + mappings.put(grammarAccess.getXIfExpressionAccess().getIfAssignment_3(), "rule__XIfExpression__IfAssignment_3"); + mappings.put(grammarAccess.getXIfExpressionAccess().getThenAssignment_5(), "rule__XIfExpression__ThenAssignment_5"); + mappings.put(grammarAccess.getXIfExpressionAccess().getElseAssignment_6_1(), "rule__XIfExpression__ElseAssignment_6_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_0_0_0_1(), "rule__XSwitchExpression__DeclaredParamAssignment_2_0_0_0_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1(), "rule__XSwitchExpression__SwitchAssignment_2_0_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_1_0_0_0(), "rule__XSwitchExpression__DeclaredParamAssignment_2_1_0_0_0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1(), "rule__XSwitchExpression__SwitchAssignment_2_1_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4(), "rule__XSwitchExpression__CasesAssignment_4"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDefaultAssignment_5_2(), "rule__XSwitchExpression__DefaultAssignment_5_2"); + mappings.put(grammarAccess.getXCasePartAccess().getTypeGuardAssignment_1(), "rule__XCasePart__TypeGuardAssignment_1"); + mappings.put(grammarAccess.getXCasePartAccess().getCaseAssignment_2_1(), "rule__XCasePart__CaseAssignment_2_1"); + mappings.put(grammarAccess.getXCasePartAccess().getThenAssignment_3_0_1(), "rule__XCasePart__ThenAssignment_3_0_1"); + mappings.put(grammarAccess.getXCasePartAccess().getFallThroughAssignment_3_1(), "rule__XCasePart__FallThroughAssignment_3_1"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamAssignment_0_0_3(), "rule__XForLoopExpression__DeclaredParamAssignment_0_0_3"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getForExpressionAssignment_1(), "rule__XForLoopExpression__ForExpressionAssignment_1"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getEachExpressionAssignment_3(), "rule__XForLoopExpression__EachExpressionAssignment_3"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_0(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_1_1(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_1_1"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getExpressionAssignment_5(), "rule__XBasicForLoopExpression__ExpressionAssignment_5"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_0(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_1_1(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_1_1"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getEachExpressionAssignment_9(), "rule__XBasicForLoopExpression__EachExpressionAssignment_9"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getPredicateAssignment_3(), "rule__XWhileExpression__PredicateAssignment_3"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getBodyAssignment_5(), "rule__XWhileExpression__BodyAssignment_5"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getBodyAssignment_2(), "rule__XDoWhileExpression__BodyAssignment_2"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getPredicateAssignment_5(), "rule__XDoWhileExpression__PredicateAssignment_5"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__XBlockExpression__ExpressionsAssignment_2_0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getWriteableAssignment_1_0(), "rule__XVariableDeclaration__WriteableAssignment_1_0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getTypeAssignment_2_0_0_0(), "rule__XVariableDeclaration__TypeAssignment_2_0_0_0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_0_0_1(), "rule__XVariableDeclaration__NameAssignment_2_0_0_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_1(), "rule__XVariableDeclaration__NameAssignment_2_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getRightAssignment_3_1(), "rule__XVariableDeclaration__RightAssignment_3_1"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__JvmFormalParameter__ParameterTypeAssignment_0"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getNameAssignment_1(), "rule__JvmFormalParameter__NameAssignment_1"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__FullJvmFormalParameter__ParameterTypeAssignment_0"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getNameAssignment_1(), "rule__FullJvmFormalParameter__NameAssignment_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_2_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_2_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureAssignment_2(), "rule__XFeatureCall__FeatureAssignment_2"); + mappings.put(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallAssignment_3_0(), "rule__XFeatureCall__ExplicitOperationCallAssignment_3_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_1_1(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_4"); + mappings.put(grammarAccess.getXConstructorCallAccess().getConstructorAssignment_2(), "rule__XConstructorCall__ConstructorAssignment_2"); + mappings.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_2_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_2_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getExplicitConstructorCallAssignment_4_0(), "rule__XConstructorCall__ExplicitConstructorCallAssignment_4_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_1_1(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_1_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_5(), "rule__XConstructorCall__ArgumentsAssignment_5"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1(), "rule__XBooleanLiteral__IsTrueAssignment_1_1"); + mappings.put(grammarAccess.getXNumberLiteralAccess().getValueAssignment_1(), "rule__XNumberLiteral__ValueAssignment_1"); + mappings.put(grammarAccess.getXStringLiteralAccess().getValueAssignment_1(), "rule__XStringLiteral__ValueAssignment_1"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getTypeAssignment_3(), "rule__XTypeLiteral__TypeAssignment_3"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getArrayDimensionsAssignment_4(), "rule__XTypeLiteral__ArrayDimensionsAssignment_4"); + mappings.put(grammarAccess.getXThrowExpressionAccess().getExpressionAssignment_2(), "rule__XThrowExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXReturnExpressionAccess().getExpressionAssignment_2(), "rule__XReturnExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getParamAssignment_1(), "rule__XSynchronizedExpression__ParamAssignment_1"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getExpressionAssignment_3(), "rule__XSynchronizedExpression__ExpressionAssignment_3"); + mappings.put(grammarAccess.getXCatchClauseAccess().getDeclaredParamAssignment_2(), "rule__XCatchClause__DeclaredParamAssignment_2"); + mappings.put(grammarAccess.getXCatchClauseAccess().getExpressionAssignment_4(), "rule__XCatchClause__ExpressionAssignment_4"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionTypeRef__ReturnTypeAssignment_2"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0(), "rule__JvmParameterizedTypeReference__TypeAssignment_0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1(), "rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1"); + mappings.put(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBound__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBoundAnded__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBound__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBoundAnded__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getNameAssignment_0(), "rule__JvmTypeParameter__NameAssignment_0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_0(), "rule__JvmTypeParameter__ConstraintsAssignment_1_0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_1(), "rule__JvmTypeParameter__ConstraintsAssignment_1_1"); + mappings.put(grammarAccess.getXImportSectionAccess().getImportDeclarationsAssignment(), "rule__XImportSection__ImportDeclarationsAssignment"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0(), "rule__XImportDeclaration__StaticAssignment_1_0_0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1(), "rule__XImportDeclaration__ExtensionAssignment_1_0_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2(), "rule__XImportDeclaration__ImportedTypeAssignment_1_0_2"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0(), "rule__XImportDeclaration__WildcardAssignment_1_0_3_0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1(), "rule__XImportDeclaration__MemberNameAssignment_1_0_3_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1(), "rule__XImportDeclaration__ImportedTypeAssignment_1_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2(), "rule__XImportDeclaration__ImportedNamespaceAssignment_1_2"); } } diff --git a/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/backtracking/ide/contentassist/antlr/BeeLangTestLanguageParser.java b/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/backtracking/ide/contentassist/antlr/BeeLangTestLanguageParser.java index c0a052c89d9..d1b4507716b 100644 --- a/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/backtracking/ide/contentassist/antlr/BeeLangTestLanguageParser.java +++ b/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/backtracking/ide/contentassist/antlr/BeeLangTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.testlanguages.backtracking.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,289 +26,289 @@ public static final class NameMappings { @Inject public NameMappings(BeeLangTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, BeeLangTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getModelAccess().getAlternatives(), "rule__Model__Alternatives"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getAlternatives_1(), "rule__ProvidedCapability__Alternatives_1"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getAlternatives_0(), "rule__AliasedRequiredCapability__Alternatives_0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getAlternatives_1(), "rule__RequiredCapability__Alternatives_1"); - builder.put(grammarAccess.getPathAccess().getAlternatives(), "rule__Path__Alternatives"); - builder.put(grammarAccess.getFirstParameterAccess().getAlternatives(), "rule__FirstParameter__Alternatives"); - builder.put(grammarAccess.getFunctionAccess().getAlternatives_6_1(), "rule__Function__Alternatives_6_1"); - builder.put(grammarAccess.getFunctionAccess().getAlternatives_8(), "rule__Function__Alternatives_8"); - builder.put(grammarAccess.getGuardExpressionAccess().getAlternatives(), "rule__GuardExpression__Alternatives"); - builder.put(grammarAccess.getAssignmentOperatorAccess().getAlternatives(), "rule__AssignmentOperator__Alternatives"); - builder.put(grammarAccess.getRelationalOperatorAccess().getAlternatives(), "rule__RelationalOperator__Alternatives"); - builder.put(grammarAccess.getTopLevelExpressionAccess().getAlternatives(), "rule__TopLevelExpression__Alternatives"); - builder.put(grammarAccess.getVarDeclarationAccess().getAlternatives_2_0(), "rule__VarDeclaration__Alternatives_2_0"); - builder.put(grammarAccess.getTypeRefAccess().getAlternatives(), "rule__TypeRef__Alternatives"); - builder.put(grammarAccess.getClosureTypeRefAccess().getAlternatives_1(), "rule__ClosureTypeRef__Alternatives_1"); - builder.put(grammarAccess.getCachedExpressionAccess().getAlternatives(), "rule__CachedExpression__Alternatives"); - builder.put(grammarAccess.getAdditiveExpressionAccess().getFunctionNameAlternatives_1_1_0(), "rule__AdditiveExpression__FunctionNameAlternatives_1_1_0"); - builder.put(grammarAccess.getMultiplicativeExpressionAccess().getFunctionNameAlternatives_1_1_0(), "rule__MultiplicativeExpression__FunctionNameAlternatives_1_1_0"); - builder.put(grammarAccess.getUnaryOrInfixExpressionAccess().getAlternatives(), "rule__UnaryOrInfixExpression__Alternatives"); - builder.put(grammarAccess.getUnaryExpressionAccess().getFunctionNameAlternatives_1_0(), "rule__UnaryExpression__FunctionNameAlternatives_1_0"); - builder.put(grammarAccess.getPreopExpressionAccess().getFunctionNameAlternatives_1_0(), "rule__PreopExpression__FunctionNameAlternatives_1_0"); - builder.put(grammarAccess.getPostopExpressionAccess().getFunctionNameAlternatives_1_1_0(), "rule__PostopExpression__FunctionNameAlternatives_1_1_0"); - builder.put(grammarAccess.getInfixExpressionAccess().getAlternatives_1(), "rule__InfixExpression__Alternatives_1"); - builder.put(grammarAccess.getPrimaryExpressionAccess().getAlternatives(), "rule__PrimaryExpression__Alternatives"); - builder.put(grammarAccess.getWithExpressionAccess().getAlternatives_2(), "rule__WithExpression__Alternatives_2"); - builder.put(grammarAccess.getKeywordVariablesAccess().getNameAlternatives_1_0(), "rule__KeywordVariables__NameAlternatives_1_0"); - builder.put(grammarAccess.getLiteralAccess().getAlternatives(), "rule__Literal__Alternatives"); - builder.put(grammarAccess.getClosureExpressionAccess().getAlternatives_2(), "rule__ClosureExpression__Alternatives_2"); - builder.put(grammarAccess.getOneOrManyExpressionsAccess().getAlternatives(), "rule__OneOrManyExpressions__Alternatives"); - builder.put(grammarAccess.getQIDAccess().getAlternatives_1(), "rule__QID__Alternatives_1"); - builder.put(grammarAccess.getQIDAccess().getAlternatives_2_2(), "rule__QID__Alternatives_2_2"); - builder.put(grammarAccess.getUnitAccess().getGroup(), "rule__Unit__Group__0"); - builder.put(grammarAccess.getUnitAccess().getGroup_4(), "rule__Unit__Group_4__0"); - builder.put(grammarAccess.getUnitAccess().getGroup_5(), "rule__Unit__Group_5__0"); - builder.put(grammarAccess.getUnitAccess().getGroup_5_2(), "rule__Unit__Group_5_2__0"); - builder.put(grammarAccess.getUnitAccess().getGroup_7_0(), "rule__Unit__Group_7_0__0"); - builder.put(grammarAccess.getUnitAccess().getGroup_7_1(), "rule__Unit__Group_7_1__0"); - builder.put(grammarAccess.getUnitAccess().getGroup_7_2(), "rule__Unit__Group_7_2__0"); - builder.put(grammarAccess.getUnitAccess().getGroup_7_3(), "rule__Unit__Group_7_3__0"); - builder.put(grammarAccess.getUnitAccess().getGroup_7_4(), "rule__Unit__Group_7_4__0"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getGroup(), "rule__ProvidedCapability__Group__0"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getGroup_2(), "rule__ProvidedCapability__Group_2__0"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getGroup_2_1_0(), "rule__ProvidedCapability__Group_2_1_0__0"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getGroup_2_1_1(), "rule__ProvidedCapability__Group_2_1_1__0"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getGroup_2_1_2(), "rule__ProvidedCapability__Group_2_1_2__0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup(), "rule__AliasedRequiredCapability__Group__0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_2(), "rule__AliasedRequiredCapability__Group_2__0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3(), "rule__AliasedRequiredCapability__Group_3__0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_0(), "rule__AliasedRequiredCapability__Group_3_1_0__0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_1(), "rule__AliasedRequiredCapability__Group_3_1_1__0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_2(), "rule__AliasedRequiredCapability__Group_3_1_2__0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_3(), "rule__AliasedRequiredCapability__Group_3_1_3__0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_4(), "rule__AliasedRequiredCapability__Group_3_1_4__0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getGroup(), "rule__RequiredCapability__Group__0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3(), "rule__RequiredCapability__Group_3__0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_0(), "rule__RequiredCapability__Group_3_1_0__0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_1(), "rule__RequiredCapability__Group_3_1_1__0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_2(), "rule__RequiredCapability__Group_3_1_2__0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_3(), "rule__RequiredCapability__Group_3_1_3__0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_4(), "rule__RequiredCapability__Group_3_1_4__0"); - builder.put(grammarAccess.getPathAccess().getGroup_1(), "rule__Path__Group_1__0"); - builder.put(grammarAccess.getPathAccess().getGroup_1_2(), "rule__Path__Group_1_2__0"); - builder.put(grammarAccess.getParameterListAccess().getGroup(), "rule__ParameterList__Group__0"); - builder.put(grammarAccess.getParameterListAccess().getGroup_1(), "rule__ParameterList__Group_1__0"); - builder.put(grammarAccess.getParameterDeclarationAccess().getGroup(), "rule__ParameterDeclaration__Group__0"); - builder.put(grammarAccess.getFunctionAccess().getGroup(), "rule__Function__Group__0"); - builder.put(grammarAccess.getFunctionAccess().getGroup_6(), "rule__Function__Group_6__0"); - builder.put(grammarAccess.getFunctionAccess().getGroup_6_1_0(), "rule__Function__Group_6_1_0__0"); - builder.put(grammarAccess.getFunctionAccess().getGroup_6_1_0_1(), "rule__Function__Group_6_1_0_1__0"); - builder.put(grammarAccess.getFunctionAccess().getGroup_6_1_0_2(), "rule__Function__Group_6_1_0_2__0"); - builder.put(grammarAccess.getFunctionAccess().getGroup_6_1_1(), "rule__Function__Group_6_1_1__0"); - builder.put(grammarAccess.getFunctionAccess().getGroup_7(), "rule__Function__Group_7__0"); - builder.put(grammarAccess.getFunctionAccess().getGroup_8_0(), "rule__Function__Group_8_0__0"); - builder.put(grammarAccess.getGuardExpressionAccess().getGroup_0(), "rule__GuardExpression__Group_0__0"); - builder.put(grammarAccess.getAssignmentExpressionAccess().getGroup(), "rule__AssignmentExpression__Group__0"); - builder.put(grammarAccess.getAssignmentExpressionAccess().getGroup_1(), "rule__AssignmentExpression__Group_1__0"); - builder.put(grammarAccess.getVarDeclarationAccess().getGroup(), "rule__VarDeclaration__Group__0"); - builder.put(grammarAccess.getVarDeclarationAccess().getGroup_2(), "rule__VarDeclaration__Group_2__0"); - builder.put(grammarAccess.getVarDeclarationAccess().getGroup_3(), "rule__VarDeclaration__Group_3__0"); - builder.put(grammarAccess.getValDeclarationAccess().getGroup(), "rule__ValDeclaration__Group__0"); - builder.put(grammarAccess.getSimpleTypeRefAccess().getGroup(), "rule__SimpleTypeRef__Group__0"); - builder.put(grammarAccess.getSimpleTypeRefAccess().getGroup_1(), "rule__SimpleTypeRef__Group_1__0"); - builder.put(grammarAccess.getSimpleTypeRefAccess().getGroup_1_2(), "rule__SimpleTypeRef__Group_1_2__0"); - builder.put(grammarAccess.getClosureTypeRefAccess().getGroup(), "rule__ClosureTypeRef__Group__0"); - builder.put(grammarAccess.getClosureTypeRefAccess().getGroup_1_0(), "rule__ClosureTypeRef__Group_1_0__0"); - builder.put(grammarAccess.getClosureTypeRefAccess().getGroup_1_0_1(), "rule__ClosureTypeRef__Group_1_0_1__0"); - builder.put(grammarAccess.getClosureTypeRefAccess().getGroup_1_0_2(), "rule__ClosureTypeRef__Group_1_0_2__0"); - builder.put(grammarAccess.getClosureTypeRefAccess().getGroup_1_1(), "rule__ClosureTypeRef__Group_1_1__0"); - builder.put(grammarAccess.getCachedExpressionAccess().getGroup_0(), "rule__CachedExpression__Group_0__0"); - builder.put(grammarAccess.getOrExpressionAccess().getGroup(), "rule__OrExpression__Group__0"); - builder.put(grammarAccess.getOrExpressionAccess().getGroup_1(), "rule__OrExpression__Group_1__0"); - builder.put(grammarAccess.getAndExpressionAccess().getGroup(), "rule__AndExpression__Group__0"); - builder.put(grammarAccess.getAndExpressionAccess().getGroup_1(), "rule__AndExpression__Group_1__0"); - builder.put(grammarAccess.getRelationalExpressionAccess().getGroup(), "rule__RelationalExpression__Group__0"); - builder.put(grammarAccess.getRelationalExpressionAccess().getGroup_1(), "rule__RelationalExpression__Group_1__0"); - builder.put(grammarAccess.getAdditiveExpressionAccess().getGroup(), "rule__AdditiveExpression__Group__0"); - builder.put(grammarAccess.getAdditiveExpressionAccess().getGroup_1(), "rule__AdditiveExpression__Group_1__0"); - builder.put(grammarAccess.getMultiplicativeExpressionAccess().getGroup(), "rule__MultiplicativeExpression__Group__0"); - builder.put(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1(), "rule__MultiplicativeExpression__Group_1__0"); - builder.put(grammarAccess.getSetExpressionAccess().getGroup(), "rule__SetExpression__Group__0"); - builder.put(grammarAccess.getSetExpressionAccess().getGroup_1(), "rule__SetExpression__Group_1__0"); - builder.put(grammarAccess.getUnaryExpressionAccess().getGroup(), "rule__UnaryExpression__Group__0"); - builder.put(grammarAccess.getPreopExpressionAccess().getGroup(), "rule__PreopExpression__Group__0"); - builder.put(grammarAccess.getPostopExpressionAccess().getGroup(), "rule__PostopExpression__Group__0"); - builder.put(grammarAccess.getPostopExpressionAccess().getGroup_1(), "rule__PostopExpression__Group_1__0"); - builder.put(grammarAccess.getInfixExpressionAccess().getGroup(), "rule__InfixExpression__Group__0"); - builder.put(grammarAccess.getInfixExpressionAccess().getGroup_1_0(), "rule__InfixExpression__Group_1_0__0"); - builder.put(grammarAccess.getInfixExpressionAccess().getGroup_1_1(), "rule__InfixExpression__Group_1_1__0"); - builder.put(grammarAccess.getInfixExpressionAccess().getGroup_1_2(), "rule__InfixExpression__Group_1_2__0"); - builder.put(grammarAccess.getCallExpressionAccess().getGroup(), "rule__CallExpression__Group__0"); - builder.put(grammarAccess.getCallExpressionAccess().getGroup_1(), "rule__CallExpression__Group_1__0"); - builder.put(grammarAccess.getWithExpressionAccess().getGroup(), "rule__WithExpression__Group__0"); - builder.put(grammarAccess.getWithExpressionAccess().getGroup_1(), "rule__WithExpression__Group_1__0"); - builder.put(grammarAccess.getWithExpressionAccess().getGroup_1_1(), "rule__WithExpression__Group_1_1__0"); - builder.put(grammarAccess.getWithExpressionAccess().getGroup_2_0(), "rule__WithExpression__Group_2_0__0"); - builder.put(grammarAccess.getWithExpressionAccess().getGroup_2_1(), "rule__WithExpression__Group_2_1__0"); - builder.put(grammarAccess.getWithContextExpressionAccess().getGroup(), "rule__WithContextExpression__Group__0"); - builder.put(grammarAccess.getWithContextExpressionAccess().getGroup_3(), "rule__WithContextExpression__Group_3__0"); - builder.put(grammarAccess.getBlockExpressionAccess().getGroup(), "rule__BlockExpression__Group__0"); - builder.put(grammarAccess.getBlockExpressionAccess().getGroup_2(), "rule__BlockExpression__Group_2__0"); - builder.put(grammarAccess.getValueAccess().getGroup(), "rule__Value__Group__0"); - builder.put(grammarAccess.getKeywordVariablesAccess().getGroup(), "rule__KeywordVariables__Group__0"); - builder.put(grammarAccess.getOperationCallAccess().getGroup(), "rule__OperationCall__Group__0"); - builder.put(grammarAccess.getConstructorCallExpressionAccess().getGroup(), "rule__ConstructorCallExpression__Group__0"); - builder.put(grammarAccess.getConstructorCallExpressionAccess().getGroup_3(), "rule__ConstructorCallExpression__Group_3__0"); - builder.put(grammarAccess.getConstructorCallExpressionAccess().getGroup_4(), "rule__ConstructorCallExpression__Group_4__0"); - builder.put(grammarAccess.getInitializationBlockExpressionAccess().getGroup(), "rule__InitializationBlockExpression__Group__0"); - builder.put(grammarAccess.getInitializationExpressionAccess().getGroup(), "rule__InitializationExpression__Group__0"); - builder.put(grammarAccess.getFeatureOfThisAccess().getGroup(), "rule__FeatureOfThis__Group__0"); - builder.put(grammarAccess.getLiteralFunctionAccess().getGroup(), "rule__LiteralFunction__Group__0"); - builder.put(grammarAccess.getClosureExpressionAccess().getGroup(), "rule__ClosureExpression__Group__0"); - builder.put(grammarAccess.getClosureExpressionAccess().getGroup_1(), "rule__ClosureExpression__Group_1__0"); - builder.put(grammarAccess.getClosureExpressionAccess().getGroup_2_0(), "rule__ClosureExpression__Group_2_0__0"); - builder.put(grammarAccess.getClosureExpressionAccess().getGroup_2_0_1(), "rule__ClosureExpression__Group_2_0_1__0"); - builder.put(grammarAccess.getClosureExpressionAccess().getGroup_2_0_1_1(), "rule__ClosureExpression__Group_2_0_1_1__0"); - builder.put(grammarAccess.getClosureExpressionAccess().getGroup_2_0_1_2(), "rule__ClosureExpression__Group_2_0_1_2__0"); - builder.put(grammarAccess.getClosureExpressionAccess().getGroup_2_1(), "rule__ClosureExpression__Group_2_1__0"); - builder.put(grammarAccess.getBlockExpressionWithoutBracketsAccess().getGroup(), "rule__BlockExpressionWithoutBrackets__Group__0"); - builder.put(grammarAccess.getBlockExpressionWithoutBracketsAccess().getGroup_1(), "rule__BlockExpressionWithoutBrackets__Group_1__0"); - builder.put(grammarAccess.getParanthesizedExpressionAccess().getGroup(), "rule__ParanthesizedExpression__Group__0"); - builder.put(grammarAccess.getQIDAccess().getGroup(), "rule__QID__Group__0"); - builder.put(grammarAccess.getQIDAccess().getGroup_2(), "rule__QID__Group_2__0"); - builder.put(grammarAccess.getModelAccess().getUnitsAssignment_0(), "rule__Model__UnitsAssignment_0"); - builder.put(grammarAccess.getModelAccess().getFunctionsAssignment_1(), "rule__Model__FunctionsAssignment_1"); - builder.put(grammarAccess.getUnitAccess().getDocumentationAssignment_1(), "rule__Unit__DocumentationAssignment_1"); - builder.put(grammarAccess.getUnitAccess().getNameAssignment_3(), "rule__Unit__NameAssignment_3"); - builder.put(grammarAccess.getUnitAccess().getVersionAssignment_4_1(), "rule__Unit__VersionAssignment_4_1"); - builder.put(grammarAccess.getUnitAccess().getImplementsAssignment_5_1(), "rule__Unit__ImplementsAssignment_5_1"); - builder.put(grammarAccess.getUnitAccess().getImplementsAssignment_5_2_1(), "rule__Unit__ImplementsAssignment_5_2_1"); - builder.put(grammarAccess.getUnitAccess().getSourceLocationAssignment_7_0_2(), "rule__Unit__SourceLocationAssignment_7_0_2"); - builder.put(grammarAccess.getUnitAccess().getOutputLocationAssignment_7_1_2(), "rule__Unit__OutputLocationAssignment_7_1_2"); - builder.put(grammarAccess.getUnitAccess().getProvidedCapabilitiesAssignment_7_2_2(), "rule__Unit__ProvidedCapabilitiesAssignment_7_2_2"); - builder.put(grammarAccess.getUnitAccess().getRequiredCapabilitiesAssignment_7_3_2(), "rule__Unit__RequiredCapabilitiesAssignment_7_3_2"); - builder.put(grammarAccess.getUnitAccess().getMetaRequiredCapabilitiesAssignment_7_4_3(), "rule__Unit__MetaRequiredCapabilitiesAssignment_7_4_3"); - builder.put(grammarAccess.getUnitAccess().getFunctionsAssignment_7_5(), "rule__Unit__FunctionsAssignment_7_5"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getNameSpaceAssignment_1_0(), "rule__ProvidedCapability__NameSpaceAssignment_1_0"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getCondExprAssignment_2_1_0_2(), "rule__ProvidedCapability__CondExprAssignment_2_1_0_2"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getNameAssignment_2_1_1_2(), "rule__ProvidedCapability__NameAssignment_2_1_1_2"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getVersionAssignment_2_1_2_2(), "rule__ProvidedCapability__VersionAssignment_2_1_2_2"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getNameSpaceAssignment_0_0(), "rule__AliasedRequiredCapability__NameSpaceAssignment_0_0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getNameAssignment_1(), "rule__AliasedRequiredCapability__NameAssignment_1"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getAliasAssignment_2_1(), "rule__AliasedRequiredCapability__AliasAssignment_2_1"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getCondExprAssignment_3_1_0_2(), "rule__AliasedRequiredCapability__CondExprAssignment_3_1_0_2"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGreedyAssignment_3_1_1_0(), "rule__AliasedRequiredCapability__GreedyAssignment_3_1_1_0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getMinAssignment_3_1_2_2(), "rule__AliasedRequiredCapability__MinAssignment_3_1_2_2"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getMaxAssignment_3_1_3_2(), "rule__AliasedRequiredCapability__MaxAssignment_3_1_3_2"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getVersionRangeAssignment_3_1_4_2(), "rule__AliasedRequiredCapability__VersionRangeAssignment_3_1_4_2"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getNameSpaceAssignment_1_0(), "rule__RequiredCapability__NameSpaceAssignment_1_0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getNameAssignment_2(), "rule__RequiredCapability__NameAssignment_2"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getCondExprAssignment_3_1_0_2(), "rule__RequiredCapability__CondExprAssignment_3_1_0_2"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getGreedyAssignment_3_1_1_0(), "rule__RequiredCapability__GreedyAssignment_3_1_1_0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getMinAssignment_3_1_2_2(), "rule__RequiredCapability__MinAssignment_3_1_2_2"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getMaxAssignment_3_1_3_2(), "rule__RequiredCapability__MaxAssignment_3_1_3_2"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getVersionRangeAssignment_3_1_4_2(), "rule__RequiredCapability__VersionRangeAssignment_3_1_4_2"); - builder.put(grammarAccess.getParameterListAccess().getParametersAssignment_0(), "rule__ParameterList__ParametersAssignment_0"); - builder.put(grammarAccess.getParameterListAccess().getParametersAssignment_1_1(), "rule__ParameterList__ParametersAssignment_1_1"); - builder.put(grammarAccess.getParameterAccess().getExprAssignment(), "rule__Parameter__ExprAssignment"); - builder.put(grammarAccess.getClosureParameterAccess().getExprAssignment(), "rule__ClosureParameter__ExprAssignment"); - builder.put(grammarAccess.getParameterDeclarationAccess().getTypeAssignment_0(), "rule__ParameterDeclaration__TypeAssignment_0"); - builder.put(grammarAccess.getParameterDeclarationAccess().getNameAssignment_1(), "rule__ParameterDeclaration__NameAssignment_1"); - builder.put(grammarAccess.getFunctionAccess().getDocumentationAssignment_0(), "rule__Function__DocumentationAssignment_0"); - builder.put(grammarAccess.getFunctionAccess().getVisibilityAssignment_1(), "rule__Function__VisibilityAssignment_1"); - builder.put(grammarAccess.getFunctionAccess().getFinalAssignment_2(), "rule__Function__FinalAssignment_2"); - builder.put(grammarAccess.getFunctionAccess().getReturnTypeAssignment_4(), "rule__Function__ReturnTypeAssignment_4"); - builder.put(grammarAccess.getFunctionAccess().getNameAssignment_5(), "rule__Function__NameAssignment_5"); - builder.put(grammarAccess.getFunctionAccess().getParametersAssignment_6_1_0_0(), "rule__Function__ParametersAssignment_6_1_0_0"); - builder.put(grammarAccess.getFunctionAccess().getParametersAssignment_6_1_0_1_1(), "rule__Function__ParametersAssignment_6_1_0_1_1"); - builder.put(grammarAccess.getFunctionAccess().getVarArgsAssignment_6_1_0_2_1(), "rule__Function__VarArgsAssignment_6_1_0_2_1"); - builder.put(grammarAccess.getFunctionAccess().getParametersAssignment_6_1_0_2_2(), "rule__Function__ParametersAssignment_6_1_0_2_2"); - builder.put(grammarAccess.getFunctionAccess().getVarArgsAssignment_6_1_1_0(), "rule__Function__VarArgsAssignment_6_1_1_0"); - builder.put(grammarAccess.getFunctionAccess().getParametersAssignment_6_1_1_1(), "rule__Function__ParametersAssignment_6_1_1_1"); - builder.put(grammarAccess.getFunctionAccess().getGuardAssignment_7_1(), "rule__Function__GuardAssignment_7_1"); - builder.put(grammarAccess.getFunctionAccess().getFuncExprAssignment_8_0_1(), "rule__Function__FuncExprAssignment_8_0_1"); - builder.put(grammarAccess.getFunctionAccess().getFuncExprAssignment_8_1(), "rule__Function__FuncExprAssignment_8_1"); - builder.put(grammarAccess.getGuardExpressionAccess().getGuardExprAssignment_0_1(), "rule__GuardExpression__GuardExprAssignment_0_1"); - builder.put(grammarAccess.getGuardExpressionAccess().getGuardExprAssignment_1(), "rule__GuardExpression__GuardExprAssignment_1"); - builder.put(grammarAccess.getAssignmentExpressionAccess().getFunctionNameAssignment_1_1(), "rule__AssignmentExpression__FunctionNameAssignment_1_1"); - builder.put(grammarAccess.getAssignmentExpressionAccess().getRightExprAssignment_1_2(), "rule__AssignmentExpression__RightExprAssignment_1_2"); - builder.put(grammarAccess.getVarDeclarationAccess().getFinalAssignment_1(), "rule__VarDeclaration__FinalAssignment_1"); - builder.put(grammarAccess.getVarDeclarationAccess().getTypeAssignment_2_0_1(), "rule__VarDeclaration__TypeAssignment_2_0_1"); - builder.put(grammarAccess.getVarDeclarationAccess().getNameAssignment_2_1(), "rule__VarDeclaration__NameAssignment_2_1"); - builder.put(grammarAccess.getVarDeclarationAccess().getValueExprAssignment_3_1(), "rule__VarDeclaration__ValueExprAssignment_3_1"); - builder.put(grammarAccess.getValDeclarationAccess().getFinalAssignment_1(), "rule__ValDeclaration__FinalAssignment_1"); - builder.put(grammarAccess.getValDeclarationAccess().getImmutableAssignment_2(), "rule__ValDeclaration__ImmutableAssignment_2"); - builder.put(grammarAccess.getValDeclarationAccess().getTypeAssignment_3(), "rule__ValDeclaration__TypeAssignment_3"); - builder.put(grammarAccess.getValDeclarationAccess().getNameAssignment_4(), "rule__ValDeclaration__NameAssignment_4"); - builder.put(grammarAccess.getValDeclarationAccess().getValueExprAssignment_6(), "rule__ValDeclaration__ValueExprAssignment_6"); - builder.put(grammarAccess.getSimpleTypeRefAccess().getRawTypeAssignment_0(), "rule__SimpleTypeRef__RawTypeAssignment_0"); - builder.put(grammarAccess.getSimpleTypeRefAccess().getActualArgumentsListAssignment_1_1(), "rule__SimpleTypeRef__ActualArgumentsListAssignment_1_1"); - builder.put(grammarAccess.getSimpleTypeRefAccess().getActualArgumentsListAssignment_1_2_1(), "rule__SimpleTypeRef__ActualArgumentsListAssignment_1_2_1"); - builder.put(grammarAccess.getClosureTypeRefAccess().getParameterTypesAssignment_1_0_0(), "rule__ClosureTypeRef__ParameterTypesAssignment_1_0_0"); - builder.put(grammarAccess.getClosureTypeRefAccess().getParameterTypesAssignment_1_0_1_1(), "rule__ClosureTypeRef__ParameterTypesAssignment_1_0_1_1"); - builder.put(grammarAccess.getClosureTypeRefAccess().getVarArgsAssignment_1_0_2_1(), "rule__ClosureTypeRef__VarArgsAssignment_1_0_2_1"); - builder.put(grammarAccess.getClosureTypeRefAccess().getParameterTypesAssignment_1_0_2_2(), "rule__ClosureTypeRef__ParameterTypesAssignment_1_0_2_2"); - builder.put(grammarAccess.getClosureTypeRefAccess().getVarArgsAssignment_1_1_0(), "rule__ClosureTypeRef__VarArgsAssignment_1_1_0"); - builder.put(grammarAccess.getClosureTypeRefAccess().getParameterTypesAssignment_1_1_1(), "rule__ClosureTypeRef__ParameterTypesAssignment_1_1_1"); - builder.put(grammarAccess.getClosureTypeRefAccess().getReturnTypeAssignment_4(), "rule__ClosureTypeRef__ReturnTypeAssignment_4"); - builder.put(grammarAccess.getCachedExpressionAccess().getExprAssignment_0_2(), "rule__CachedExpression__ExprAssignment_0_2"); - builder.put(grammarAccess.getOrExpressionAccess().getRightExprAssignment_1_2(), "rule__OrExpression__RightExprAssignment_1_2"); - builder.put(grammarAccess.getAndExpressionAccess().getRightExprAssignment_1_2(), "rule__AndExpression__RightExprAssignment_1_2"); - builder.put(grammarAccess.getRelationalExpressionAccess().getFunctionNameAssignment_1_1(), "rule__RelationalExpression__FunctionNameAssignment_1_1"); - builder.put(grammarAccess.getRelationalExpressionAccess().getRightExprAssignment_1_2(), "rule__RelationalExpression__RightExprAssignment_1_2"); - builder.put(grammarAccess.getAdditiveExpressionAccess().getFunctionNameAssignment_1_1(), "rule__AdditiveExpression__FunctionNameAssignment_1_1"); - builder.put(grammarAccess.getAdditiveExpressionAccess().getRightExprAssignment_1_2(), "rule__AdditiveExpression__RightExprAssignment_1_2"); - builder.put(grammarAccess.getMultiplicativeExpressionAccess().getFunctionNameAssignment_1_1(), "rule__MultiplicativeExpression__FunctionNameAssignment_1_1"); - builder.put(grammarAccess.getMultiplicativeExpressionAccess().getRightExprAssignment_1_2(), "rule__MultiplicativeExpression__RightExprAssignment_1_2"); - builder.put(grammarAccess.getSetExpressionAccess().getFunctionNameAssignment_1_1(), "rule__SetExpression__FunctionNameAssignment_1_1"); - builder.put(grammarAccess.getSetExpressionAccess().getRightExprAssignment_1_2(), "rule__SetExpression__RightExprAssignment_1_2"); - builder.put(grammarAccess.getUnaryExpressionAccess().getFunctionNameAssignment_1(), "rule__UnaryExpression__FunctionNameAssignment_1"); - builder.put(grammarAccess.getUnaryExpressionAccess().getExprAssignment_2(), "rule__UnaryExpression__ExprAssignment_2"); - builder.put(grammarAccess.getPreopExpressionAccess().getFunctionNameAssignment_1(), "rule__PreopExpression__FunctionNameAssignment_1"); - builder.put(grammarAccess.getPreopExpressionAccess().getExprAssignment_2(), "rule__PreopExpression__ExprAssignment_2"); - builder.put(grammarAccess.getPostopExpressionAccess().getFunctionNameAssignment_1_1(), "rule__PostopExpression__FunctionNameAssignment_1_1"); - builder.put(grammarAccess.getInfixExpressionAccess().getNameAssignment_1_0_2(), "rule__InfixExpression__NameAssignment_1_0_2"); - builder.put(grammarAccess.getInfixExpressionAccess().getParameterListAssignment_1_0_4(), "rule__InfixExpression__ParameterListAssignment_1_0_4"); - builder.put(grammarAccess.getInfixExpressionAccess().getIndexExprAssignment_1_1_2(), "rule__InfixExpression__IndexExprAssignment_1_1_2"); - builder.put(grammarAccess.getInfixExpressionAccess().getFeatureNameAssignment_1_2_2(), "rule__InfixExpression__FeatureNameAssignment_1_2_2"); - builder.put(grammarAccess.getCallExpressionAccess().getParameterListAssignment_1_2(), "rule__CallExpression__ParameterListAssignment_1_2"); - builder.put(grammarAccess.getWithExpressionAccess().getReferencedAdviceAssignment_1_0(), "rule__WithExpression__ReferencedAdviceAssignment_1_0"); - builder.put(grammarAccess.getWithExpressionAccess().getReferencedAdviceAssignment_1_1_1(), "rule__WithExpression__ReferencedAdviceAssignment_1_1_1"); - builder.put(grammarAccess.getWithExpressionAccess().getFuncExprAssignment_2_0_1(), "rule__WithExpression__FuncExprAssignment_2_0_1"); - builder.put(grammarAccess.getWithExpressionAccess().getFuncExprAssignment_2_1_1(), "rule__WithExpression__FuncExprAssignment_2_1_1"); - builder.put(grammarAccess.getWithContextExpressionAccess().getExprAssignment_2(), "rule__WithContextExpression__ExprAssignment_2"); - builder.put(grammarAccess.getWithContextExpressionAccess().getAliasAssignment_3_1(), "rule__WithContextExpression__AliasAssignment_3_1"); - builder.put(grammarAccess.getWithContextExpressionAccess().getContextBlockAssignment_4(), "rule__WithContextExpression__ContextBlockAssignment_4"); - builder.put(grammarAccess.getBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__BlockExpression__ExpressionsAssignment_2_0"); - builder.put(grammarAccess.getValueAccess().getNameAssignment_1(), "rule__Value__NameAssignment_1"); - builder.put(grammarAccess.getKeywordVariablesAccess().getNameAssignment_1(), "rule__KeywordVariables__NameAssignment_1"); - builder.put(grammarAccess.getOperationCallAccess().getNameAssignment_1(), "rule__OperationCall__NameAssignment_1"); - builder.put(grammarAccess.getOperationCallAccess().getParameterListAssignment_3(), "rule__OperationCall__ParameterListAssignment_3"); - builder.put(grammarAccess.getConstructorCallExpressionAccess().getTypeExprAssignment_2(), "rule__ConstructorCallExpression__TypeExprAssignment_2"); - builder.put(grammarAccess.getConstructorCallExpressionAccess().getParameterListAssignment_3_1(), "rule__ConstructorCallExpression__ParameterListAssignment_3_1"); - builder.put(grammarAccess.getConstructorCallExpressionAccess().getAliasAssignment_4_1(), "rule__ConstructorCallExpression__AliasAssignment_4_1"); - builder.put(grammarAccess.getConstructorCallExpressionAccess().getContextBlockAssignment_5(), "rule__ConstructorCallExpression__ContextBlockAssignment_5"); - builder.put(grammarAccess.getInitializationBlockExpressionAccess().getExpressionsAssignment_2(), "rule__InitializationBlockExpression__ExpressionsAssignment_2"); - builder.put(grammarAccess.getInitializationExpressionAccess().getLeftExprAssignment_1(), "rule__InitializationExpression__LeftExprAssignment_1"); - builder.put(grammarAccess.getInitializationExpressionAccess().getFunctionNameAssignment_2(), "rule__InitializationExpression__FunctionNameAssignment_2"); - builder.put(grammarAccess.getInitializationExpressionAccess().getRightExprAssignment_3(), "rule__InitializationExpression__RightExprAssignment_3"); - builder.put(grammarAccess.getFeatureOfThisAccess().getFeatureNameAssignment_1(), "rule__FeatureOfThis__FeatureNameAssignment_1"); - builder.put(grammarAccess.getClosureExpressionAccess().getReturnTypeAssignment_1_1(), "rule__ClosureExpression__ReturnTypeAssignment_1_1"); - builder.put(grammarAccess.getClosureExpressionAccess().getParametersAssignment_2_0_1_0(), "rule__ClosureExpression__ParametersAssignment_2_0_1_0"); - builder.put(grammarAccess.getClosureExpressionAccess().getParametersAssignment_2_0_1_1_1(), "rule__ClosureExpression__ParametersAssignment_2_0_1_1_1"); - builder.put(grammarAccess.getClosureExpressionAccess().getVarArgsAssignment_2_0_1_2_1(), "rule__ClosureExpression__VarArgsAssignment_2_0_1_2_1"); - builder.put(grammarAccess.getClosureExpressionAccess().getParametersAssignment_2_0_1_2_2(), "rule__ClosureExpression__ParametersAssignment_2_0_1_2_2"); - builder.put(grammarAccess.getClosureExpressionAccess().getVarArgsAssignment_2_1_0(), "rule__ClosureExpression__VarArgsAssignment_2_1_0"); - builder.put(grammarAccess.getClosureExpressionAccess().getParametersAssignment_2_1_1(), "rule__ClosureExpression__ParametersAssignment_2_1_1"); - builder.put(grammarAccess.getClosureExpressionAccess().getFuncExprAssignment_4(), "rule__ClosureExpression__FuncExprAssignment_4"); - builder.put(grammarAccess.getBlockExpressionWithoutBracketsAccess().getExpressionsAssignment_1_0(), "rule__BlockExpressionWithoutBrackets__ExpressionsAssignment_1_0"); - builder.put(grammarAccess.getValueLiteralAccess().getValueAssignment(), "rule__ValueLiteral__ValueAssignment"); - builder.put(grammarAccess.getUnitAccess().getUnorderedGroup_7(), "rule__Unit__UnorderedGroup_7"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getUnorderedGroup_2_1(), "rule__ProvidedCapability__UnorderedGroup_2_1"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getUnorderedGroup_3_1(), "rule__AliasedRequiredCapability__UnorderedGroup_3_1"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getUnorderedGroup_3_1(), "rule__RequiredCapability__UnorderedGroup_3_1"); + private static void init(Map mappings, BeeLangTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getModelAccess().getAlternatives(), "rule__Model__Alternatives"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getAlternatives_1(), "rule__ProvidedCapability__Alternatives_1"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getAlternatives_0(), "rule__AliasedRequiredCapability__Alternatives_0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getAlternatives_1(), "rule__RequiredCapability__Alternatives_1"); + mappings.put(grammarAccess.getPathAccess().getAlternatives(), "rule__Path__Alternatives"); + mappings.put(grammarAccess.getFirstParameterAccess().getAlternatives(), "rule__FirstParameter__Alternatives"); + mappings.put(grammarAccess.getFunctionAccess().getAlternatives_6_1(), "rule__Function__Alternatives_6_1"); + mappings.put(grammarAccess.getFunctionAccess().getAlternatives_8(), "rule__Function__Alternatives_8"); + mappings.put(grammarAccess.getGuardExpressionAccess().getAlternatives(), "rule__GuardExpression__Alternatives"); + mappings.put(grammarAccess.getAssignmentOperatorAccess().getAlternatives(), "rule__AssignmentOperator__Alternatives"); + mappings.put(grammarAccess.getRelationalOperatorAccess().getAlternatives(), "rule__RelationalOperator__Alternatives"); + mappings.put(grammarAccess.getTopLevelExpressionAccess().getAlternatives(), "rule__TopLevelExpression__Alternatives"); + mappings.put(grammarAccess.getVarDeclarationAccess().getAlternatives_2_0(), "rule__VarDeclaration__Alternatives_2_0"); + mappings.put(grammarAccess.getTypeRefAccess().getAlternatives(), "rule__TypeRef__Alternatives"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getAlternatives_1(), "rule__ClosureTypeRef__Alternatives_1"); + mappings.put(grammarAccess.getCachedExpressionAccess().getAlternatives(), "rule__CachedExpression__Alternatives"); + mappings.put(grammarAccess.getAdditiveExpressionAccess().getFunctionNameAlternatives_1_1_0(), "rule__AdditiveExpression__FunctionNameAlternatives_1_1_0"); + mappings.put(grammarAccess.getMultiplicativeExpressionAccess().getFunctionNameAlternatives_1_1_0(), "rule__MultiplicativeExpression__FunctionNameAlternatives_1_1_0"); + mappings.put(grammarAccess.getUnaryOrInfixExpressionAccess().getAlternatives(), "rule__UnaryOrInfixExpression__Alternatives"); + mappings.put(grammarAccess.getUnaryExpressionAccess().getFunctionNameAlternatives_1_0(), "rule__UnaryExpression__FunctionNameAlternatives_1_0"); + mappings.put(grammarAccess.getPreopExpressionAccess().getFunctionNameAlternatives_1_0(), "rule__PreopExpression__FunctionNameAlternatives_1_0"); + mappings.put(grammarAccess.getPostopExpressionAccess().getFunctionNameAlternatives_1_1_0(), "rule__PostopExpression__FunctionNameAlternatives_1_1_0"); + mappings.put(grammarAccess.getInfixExpressionAccess().getAlternatives_1(), "rule__InfixExpression__Alternatives_1"); + mappings.put(grammarAccess.getPrimaryExpressionAccess().getAlternatives(), "rule__PrimaryExpression__Alternatives"); + mappings.put(grammarAccess.getWithExpressionAccess().getAlternatives_2(), "rule__WithExpression__Alternatives_2"); + mappings.put(grammarAccess.getKeywordVariablesAccess().getNameAlternatives_1_0(), "rule__KeywordVariables__NameAlternatives_1_0"); + mappings.put(grammarAccess.getLiteralAccess().getAlternatives(), "rule__Literal__Alternatives"); + mappings.put(grammarAccess.getClosureExpressionAccess().getAlternatives_2(), "rule__ClosureExpression__Alternatives_2"); + mappings.put(grammarAccess.getOneOrManyExpressionsAccess().getAlternatives(), "rule__OneOrManyExpressions__Alternatives"); + mappings.put(grammarAccess.getQIDAccess().getAlternatives_1(), "rule__QID__Alternatives_1"); + mappings.put(grammarAccess.getQIDAccess().getAlternatives_2_2(), "rule__QID__Alternatives_2_2"); + mappings.put(grammarAccess.getUnitAccess().getGroup(), "rule__Unit__Group__0"); + mappings.put(grammarAccess.getUnitAccess().getGroup_4(), "rule__Unit__Group_4__0"); + mappings.put(grammarAccess.getUnitAccess().getGroup_5(), "rule__Unit__Group_5__0"); + mappings.put(grammarAccess.getUnitAccess().getGroup_5_2(), "rule__Unit__Group_5_2__0"); + mappings.put(grammarAccess.getUnitAccess().getGroup_7_0(), "rule__Unit__Group_7_0__0"); + mappings.put(grammarAccess.getUnitAccess().getGroup_7_1(), "rule__Unit__Group_7_1__0"); + mappings.put(grammarAccess.getUnitAccess().getGroup_7_2(), "rule__Unit__Group_7_2__0"); + mappings.put(grammarAccess.getUnitAccess().getGroup_7_3(), "rule__Unit__Group_7_3__0"); + mappings.put(grammarAccess.getUnitAccess().getGroup_7_4(), "rule__Unit__Group_7_4__0"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getGroup(), "rule__ProvidedCapability__Group__0"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getGroup_2(), "rule__ProvidedCapability__Group_2__0"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getGroup_2_1_0(), "rule__ProvidedCapability__Group_2_1_0__0"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getGroup_2_1_1(), "rule__ProvidedCapability__Group_2_1_1__0"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getGroup_2_1_2(), "rule__ProvidedCapability__Group_2_1_2__0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup(), "rule__AliasedRequiredCapability__Group__0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_2(), "rule__AliasedRequiredCapability__Group_2__0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3(), "rule__AliasedRequiredCapability__Group_3__0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_0(), "rule__AliasedRequiredCapability__Group_3_1_0__0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_1(), "rule__AliasedRequiredCapability__Group_3_1_1__0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_2(), "rule__AliasedRequiredCapability__Group_3_1_2__0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_3(), "rule__AliasedRequiredCapability__Group_3_1_3__0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_4(), "rule__AliasedRequiredCapability__Group_3_1_4__0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getGroup(), "rule__RequiredCapability__Group__0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3(), "rule__RequiredCapability__Group_3__0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_0(), "rule__RequiredCapability__Group_3_1_0__0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_1(), "rule__RequiredCapability__Group_3_1_1__0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_2(), "rule__RequiredCapability__Group_3_1_2__0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_3(), "rule__RequiredCapability__Group_3_1_3__0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_4(), "rule__RequiredCapability__Group_3_1_4__0"); + mappings.put(grammarAccess.getPathAccess().getGroup_1(), "rule__Path__Group_1__0"); + mappings.put(grammarAccess.getPathAccess().getGroup_1_2(), "rule__Path__Group_1_2__0"); + mappings.put(grammarAccess.getParameterListAccess().getGroup(), "rule__ParameterList__Group__0"); + mappings.put(grammarAccess.getParameterListAccess().getGroup_1(), "rule__ParameterList__Group_1__0"); + mappings.put(grammarAccess.getParameterDeclarationAccess().getGroup(), "rule__ParameterDeclaration__Group__0"); + mappings.put(grammarAccess.getFunctionAccess().getGroup(), "rule__Function__Group__0"); + mappings.put(grammarAccess.getFunctionAccess().getGroup_6(), "rule__Function__Group_6__0"); + mappings.put(grammarAccess.getFunctionAccess().getGroup_6_1_0(), "rule__Function__Group_6_1_0__0"); + mappings.put(grammarAccess.getFunctionAccess().getGroup_6_1_0_1(), "rule__Function__Group_6_1_0_1__0"); + mappings.put(grammarAccess.getFunctionAccess().getGroup_6_1_0_2(), "rule__Function__Group_6_1_0_2__0"); + mappings.put(grammarAccess.getFunctionAccess().getGroup_6_1_1(), "rule__Function__Group_6_1_1__0"); + mappings.put(grammarAccess.getFunctionAccess().getGroup_7(), "rule__Function__Group_7__0"); + mappings.put(grammarAccess.getFunctionAccess().getGroup_8_0(), "rule__Function__Group_8_0__0"); + mappings.put(grammarAccess.getGuardExpressionAccess().getGroup_0(), "rule__GuardExpression__Group_0__0"); + mappings.put(grammarAccess.getAssignmentExpressionAccess().getGroup(), "rule__AssignmentExpression__Group__0"); + mappings.put(grammarAccess.getAssignmentExpressionAccess().getGroup_1(), "rule__AssignmentExpression__Group_1__0"); + mappings.put(grammarAccess.getVarDeclarationAccess().getGroup(), "rule__VarDeclaration__Group__0"); + mappings.put(grammarAccess.getVarDeclarationAccess().getGroup_2(), "rule__VarDeclaration__Group_2__0"); + mappings.put(grammarAccess.getVarDeclarationAccess().getGroup_3(), "rule__VarDeclaration__Group_3__0"); + mappings.put(grammarAccess.getValDeclarationAccess().getGroup(), "rule__ValDeclaration__Group__0"); + mappings.put(grammarAccess.getSimpleTypeRefAccess().getGroup(), "rule__SimpleTypeRef__Group__0"); + mappings.put(grammarAccess.getSimpleTypeRefAccess().getGroup_1(), "rule__SimpleTypeRef__Group_1__0"); + mappings.put(grammarAccess.getSimpleTypeRefAccess().getGroup_1_2(), "rule__SimpleTypeRef__Group_1_2__0"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getGroup(), "rule__ClosureTypeRef__Group__0"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getGroup_1_0(), "rule__ClosureTypeRef__Group_1_0__0"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getGroup_1_0_1(), "rule__ClosureTypeRef__Group_1_0_1__0"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getGroup_1_0_2(), "rule__ClosureTypeRef__Group_1_0_2__0"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getGroup_1_1(), "rule__ClosureTypeRef__Group_1_1__0"); + mappings.put(grammarAccess.getCachedExpressionAccess().getGroup_0(), "rule__CachedExpression__Group_0__0"); + mappings.put(grammarAccess.getOrExpressionAccess().getGroup(), "rule__OrExpression__Group__0"); + mappings.put(grammarAccess.getOrExpressionAccess().getGroup_1(), "rule__OrExpression__Group_1__0"); + mappings.put(grammarAccess.getAndExpressionAccess().getGroup(), "rule__AndExpression__Group__0"); + mappings.put(grammarAccess.getAndExpressionAccess().getGroup_1(), "rule__AndExpression__Group_1__0"); + mappings.put(grammarAccess.getRelationalExpressionAccess().getGroup(), "rule__RelationalExpression__Group__0"); + mappings.put(grammarAccess.getRelationalExpressionAccess().getGroup_1(), "rule__RelationalExpression__Group_1__0"); + mappings.put(grammarAccess.getAdditiveExpressionAccess().getGroup(), "rule__AdditiveExpression__Group__0"); + mappings.put(grammarAccess.getAdditiveExpressionAccess().getGroup_1(), "rule__AdditiveExpression__Group_1__0"); + mappings.put(grammarAccess.getMultiplicativeExpressionAccess().getGroup(), "rule__MultiplicativeExpression__Group__0"); + mappings.put(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1(), "rule__MultiplicativeExpression__Group_1__0"); + mappings.put(grammarAccess.getSetExpressionAccess().getGroup(), "rule__SetExpression__Group__0"); + mappings.put(grammarAccess.getSetExpressionAccess().getGroup_1(), "rule__SetExpression__Group_1__0"); + mappings.put(grammarAccess.getUnaryExpressionAccess().getGroup(), "rule__UnaryExpression__Group__0"); + mappings.put(grammarAccess.getPreopExpressionAccess().getGroup(), "rule__PreopExpression__Group__0"); + mappings.put(grammarAccess.getPostopExpressionAccess().getGroup(), "rule__PostopExpression__Group__0"); + mappings.put(grammarAccess.getPostopExpressionAccess().getGroup_1(), "rule__PostopExpression__Group_1__0"); + mappings.put(grammarAccess.getInfixExpressionAccess().getGroup(), "rule__InfixExpression__Group__0"); + mappings.put(grammarAccess.getInfixExpressionAccess().getGroup_1_0(), "rule__InfixExpression__Group_1_0__0"); + mappings.put(grammarAccess.getInfixExpressionAccess().getGroup_1_1(), "rule__InfixExpression__Group_1_1__0"); + mappings.put(grammarAccess.getInfixExpressionAccess().getGroup_1_2(), "rule__InfixExpression__Group_1_2__0"); + mappings.put(grammarAccess.getCallExpressionAccess().getGroup(), "rule__CallExpression__Group__0"); + mappings.put(grammarAccess.getCallExpressionAccess().getGroup_1(), "rule__CallExpression__Group_1__0"); + mappings.put(grammarAccess.getWithExpressionAccess().getGroup(), "rule__WithExpression__Group__0"); + mappings.put(grammarAccess.getWithExpressionAccess().getGroup_1(), "rule__WithExpression__Group_1__0"); + mappings.put(grammarAccess.getWithExpressionAccess().getGroup_1_1(), "rule__WithExpression__Group_1_1__0"); + mappings.put(grammarAccess.getWithExpressionAccess().getGroup_2_0(), "rule__WithExpression__Group_2_0__0"); + mappings.put(grammarAccess.getWithExpressionAccess().getGroup_2_1(), "rule__WithExpression__Group_2_1__0"); + mappings.put(grammarAccess.getWithContextExpressionAccess().getGroup(), "rule__WithContextExpression__Group__0"); + mappings.put(grammarAccess.getWithContextExpressionAccess().getGroup_3(), "rule__WithContextExpression__Group_3__0"); + mappings.put(grammarAccess.getBlockExpressionAccess().getGroup(), "rule__BlockExpression__Group__0"); + mappings.put(grammarAccess.getBlockExpressionAccess().getGroup_2(), "rule__BlockExpression__Group_2__0"); + mappings.put(grammarAccess.getValueAccess().getGroup(), "rule__Value__Group__0"); + mappings.put(grammarAccess.getKeywordVariablesAccess().getGroup(), "rule__KeywordVariables__Group__0"); + mappings.put(grammarAccess.getOperationCallAccess().getGroup(), "rule__OperationCall__Group__0"); + mappings.put(grammarAccess.getConstructorCallExpressionAccess().getGroup(), "rule__ConstructorCallExpression__Group__0"); + mappings.put(grammarAccess.getConstructorCallExpressionAccess().getGroup_3(), "rule__ConstructorCallExpression__Group_3__0"); + mappings.put(grammarAccess.getConstructorCallExpressionAccess().getGroup_4(), "rule__ConstructorCallExpression__Group_4__0"); + mappings.put(grammarAccess.getInitializationBlockExpressionAccess().getGroup(), "rule__InitializationBlockExpression__Group__0"); + mappings.put(grammarAccess.getInitializationExpressionAccess().getGroup(), "rule__InitializationExpression__Group__0"); + mappings.put(grammarAccess.getFeatureOfThisAccess().getGroup(), "rule__FeatureOfThis__Group__0"); + mappings.put(grammarAccess.getLiteralFunctionAccess().getGroup(), "rule__LiteralFunction__Group__0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getGroup(), "rule__ClosureExpression__Group__0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getGroup_1(), "rule__ClosureExpression__Group_1__0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getGroup_2_0(), "rule__ClosureExpression__Group_2_0__0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getGroup_2_0_1(), "rule__ClosureExpression__Group_2_0_1__0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getGroup_2_0_1_1(), "rule__ClosureExpression__Group_2_0_1_1__0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getGroup_2_0_1_2(), "rule__ClosureExpression__Group_2_0_1_2__0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getGroup_2_1(), "rule__ClosureExpression__Group_2_1__0"); + mappings.put(grammarAccess.getBlockExpressionWithoutBracketsAccess().getGroup(), "rule__BlockExpressionWithoutBrackets__Group__0"); + mappings.put(grammarAccess.getBlockExpressionWithoutBracketsAccess().getGroup_1(), "rule__BlockExpressionWithoutBrackets__Group_1__0"); + mappings.put(grammarAccess.getParanthesizedExpressionAccess().getGroup(), "rule__ParanthesizedExpression__Group__0"); + mappings.put(grammarAccess.getQIDAccess().getGroup(), "rule__QID__Group__0"); + mappings.put(grammarAccess.getQIDAccess().getGroup_2(), "rule__QID__Group_2__0"); + mappings.put(grammarAccess.getModelAccess().getUnitsAssignment_0(), "rule__Model__UnitsAssignment_0"); + mappings.put(grammarAccess.getModelAccess().getFunctionsAssignment_1(), "rule__Model__FunctionsAssignment_1"); + mappings.put(grammarAccess.getUnitAccess().getDocumentationAssignment_1(), "rule__Unit__DocumentationAssignment_1"); + mappings.put(grammarAccess.getUnitAccess().getNameAssignment_3(), "rule__Unit__NameAssignment_3"); + mappings.put(grammarAccess.getUnitAccess().getVersionAssignment_4_1(), "rule__Unit__VersionAssignment_4_1"); + mappings.put(grammarAccess.getUnitAccess().getImplementsAssignment_5_1(), "rule__Unit__ImplementsAssignment_5_1"); + mappings.put(grammarAccess.getUnitAccess().getImplementsAssignment_5_2_1(), "rule__Unit__ImplementsAssignment_5_2_1"); + mappings.put(grammarAccess.getUnitAccess().getSourceLocationAssignment_7_0_2(), "rule__Unit__SourceLocationAssignment_7_0_2"); + mappings.put(grammarAccess.getUnitAccess().getOutputLocationAssignment_7_1_2(), "rule__Unit__OutputLocationAssignment_7_1_2"); + mappings.put(grammarAccess.getUnitAccess().getProvidedCapabilitiesAssignment_7_2_2(), "rule__Unit__ProvidedCapabilitiesAssignment_7_2_2"); + mappings.put(grammarAccess.getUnitAccess().getRequiredCapabilitiesAssignment_7_3_2(), "rule__Unit__RequiredCapabilitiesAssignment_7_3_2"); + mappings.put(grammarAccess.getUnitAccess().getMetaRequiredCapabilitiesAssignment_7_4_3(), "rule__Unit__MetaRequiredCapabilitiesAssignment_7_4_3"); + mappings.put(grammarAccess.getUnitAccess().getFunctionsAssignment_7_5(), "rule__Unit__FunctionsAssignment_7_5"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getNameSpaceAssignment_1_0(), "rule__ProvidedCapability__NameSpaceAssignment_1_0"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getCondExprAssignment_2_1_0_2(), "rule__ProvidedCapability__CondExprAssignment_2_1_0_2"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getNameAssignment_2_1_1_2(), "rule__ProvidedCapability__NameAssignment_2_1_1_2"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getVersionAssignment_2_1_2_2(), "rule__ProvidedCapability__VersionAssignment_2_1_2_2"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getNameSpaceAssignment_0_0(), "rule__AliasedRequiredCapability__NameSpaceAssignment_0_0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getNameAssignment_1(), "rule__AliasedRequiredCapability__NameAssignment_1"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getAliasAssignment_2_1(), "rule__AliasedRequiredCapability__AliasAssignment_2_1"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getCondExprAssignment_3_1_0_2(), "rule__AliasedRequiredCapability__CondExprAssignment_3_1_0_2"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGreedyAssignment_3_1_1_0(), "rule__AliasedRequiredCapability__GreedyAssignment_3_1_1_0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getMinAssignment_3_1_2_2(), "rule__AliasedRequiredCapability__MinAssignment_3_1_2_2"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getMaxAssignment_3_1_3_2(), "rule__AliasedRequiredCapability__MaxAssignment_3_1_3_2"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getVersionRangeAssignment_3_1_4_2(), "rule__AliasedRequiredCapability__VersionRangeAssignment_3_1_4_2"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getNameSpaceAssignment_1_0(), "rule__RequiredCapability__NameSpaceAssignment_1_0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getNameAssignment_2(), "rule__RequiredCapability__NameAssignment_2"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getCondExprAssignment_3_1_0_2(), "rule__RequiredCapability__CondExprAssignment_3_1_0_2"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getGreedyAssignment_3_1_1_0(), "rule__RequiredCapability__GreedyAssignment_3_1_1_0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getMinAssignment_3_1_2_2(), "rule__RequiredCapability__MinAssignment_3_1_2_2"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getMaxAssignment_3_1_3_2(), "rule__RequiredCapability__MaxAssignment_3_1_3_2"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getVersionRangeAssignment_3_1_4_2(), "rule__RequiredCapability__VersionRangeAssignment_3_1_4_2"); + mappings.put(grammarAccess.getParameterListAccess().getParametersAssignment_0(), "rule__ParameterList__ParametersAssignment_0"); + mappings.put(grammarAccess.getParameterListAccess().getParametersAssignment_1_1(), "rule__ParameterList__ParametersAssignment_1_1"); + mappings.put(grammarAccess.getParameterAccess().getExprAssignment(), "rule__Parameter__ExprAssignment"); + mappings.put(grammarAccess.getClosureParameterAccess().getExprAssignment(), "rule__ClosureParameter__ExprAssignment"); + mappings.put(grammarAccess.getParameterDeclarationAccess().getTypeAssignment_0(), "rule__ParameterDeclaration__TypeAssignment_0"); + mappings.put(grammarAccess.getParameterDeclarationAccess().getNameAssignment_1(), "rule__ParameterDeclaration__NameAssignment_1"); + mappings.put(grammarAccess.getFunctionAccess().getDocumentationAssignment_0(), "rule__Function__DocumentationAssignment_0"); + mappings.put(grammarAccess.getFunctionAccess().getVisibilityAssignment_1(), "rule__Function__VisibilityAssignment_1"); + mappings.put(grammarAccess.getFunctionAccess().getFinalAssignment_2(), "rule__Function__FinalAssignment_2"); + mappings.put(grammarAccess.getFunctionAccess().getReturnTypeAssignment_4(), "rule__Function__ReturnTypeAssignment_4"); + mappings.put(grammarAccess.getFunctionAccess().getNameAssignment_5(), "rule__Function__NameAssignment_5"); + mappings.put(grammarAccess.getFunctionAccess().getParametersAssignment_6_1_0_0(), "rule__Function__ParametersAssignment_6_1_0_0"); + mappings.put(grammarAccess.getFunctionAccess().getParametersAssignment_6_1_0_1_1(), "rule__Function__ParametersAssignment_6_1_0_1_1"); + mappings.put(grammarAccess.getFunctionAccess().getVarArgsAssignment_6_1_0_2_1(), "rule__Function__VarArgsAssignment_6_1_0_2_1"); + mappings.put(grammarAccess.getFunctionAccess().getParametersAssignment_6_1_0_2_2(), "rule__Function__ParametersAssignment_6_1_0_2_2"); + mappings.put(grammarAccess.getFunctionAccess().getVarArgsAssignment_6_1_1_0(), "rule__Function__VarArgsAssignment_6_1_1_0"); + mappings.put(grammarAccess.getFunctionAccess().getParametersAssignment_6_1_1_1(), "rule__Function__ParametersAssignment_6_1_1_1"); + mappings.put(grammarAccess.getFunctionAccess().getGuardAssignment_7_1(), "rule__Function__GuardAssignment_7_1"); + mappings.put(grammarAccess.getFunctionAccess().getFuncExprAssignment_8_0_1(), "rule__Function__FuncExprAssignment_8_0_1"); + mappings.put(grammarAccess.getFunctionAccess().getFuncExprAssignment_8_1(), "rule__Function__FuncExprAssignment_8_1"); + mappings.put(grammarAccess.getGuardExpressionAccess().getGuardExprAssignment_0_1(), "rule__GuardExpression__GuardExprAssignment_0_1"); + mappings.put(grammarAccess.getGuardExpressionAccess().getGuardExprAssignment_1(), "rule__GuardExpression__GuardExprAssignment_1"); + mappings.put(grammarAccess.getAssignmentExpressionAccess().getFunctionNameAssignment_1_1(), "rule__AssignmentExpression__FunctionNameAssignment_1_1"); + mappings.put(grammarAccess.getAssignmentExpressionAccess().getRightExprAssignment_1_2(), "rule__AssignmentExpression__RightExprAssignment_1_2"); + mappings.put(grammarAccess.getVarDeclarationAccess().getFinalAssignment_1(), "rule__VarDeclaration__FinalAssignment_1"); + mappings.put(grammarAccess.getVarDeclarationAccess().getTypeAssignment_2_0_1(), "rule__VarDeclaration__TypeAssignment_2_0_1"); + mappings.put(grammarAccess.getVarDeclarationAccess().getNameAssignment_2_1(), "rule__VarDeclaration__NameAssignment_2_1"); + mappings.put(grammarAccess.getVarDeclarationAccess().getValueExprAssignment_3_1(), "rule__VarDeclaration__ValueExprAssignment_3_1"); + mappings.put(grammarAccess.getValDeclarationAccess().getFinalAssignment_1(), "rule__ValDeclaration__FinalAssignment_1"); + mappings.put(grammarAccess.getValDeclarationAccess().getImmutableAssignment_2(), "rule__ValDeclaration__ImmutableAssignment_2"); + mappings.put(grammarAccess.getValDeclarationAccess().getTypeAssignment_3(), "rule__ValDeclaration__TypeAssignment_3"); + mappings.put(grammarAccess.getValDeclarationAccess().getNameAssignment_4(), "rule__ValDeclaration__NameAssignment_4"); + mappings.put(grammarAccess.getValDeclarationAccess().getValueExprAssignment_6(), "rule__ValDeclaration__ValueExprAssignment_6"); + mappings.put(grammarAccess.getSimpleTypeRefAccess().getRawTypeAssignment_0(), "rule__SimpleTypeRef__RawTypeAssignment_0"); + mappings.put(grammarAccess.getSimpleTypeRefAccess().getActualArgumentsListAssignment_1_1(), "rule__SimpleTypeRef__ActualArgumentsListAssignment_1_1"); + mappings.put(grammarAccess.getSimpleTypeRefAccess().getActualArgumentsListAssignment_1_2_1(), "rule__SimpleTypeRef__ActualArgumentsListAssignment_1_2_1"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getParameterTypesAssignment_1_0_0(), "rule__ClosureTypeRef__ParameterTypesAssignment_1_0_0"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getParameterTypesAssignment_1_0_1_1(), "rule__ClosureTypeRef__ParameterTypesAssignment_1_0_1_1"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getVarArgsAssignment_1_0_2_1(), "rule__ClosureTypeRef__VarArgsAssignment_1_0_2_1"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getParameterTypesAssignment_1_0_2_2(), "rule__ClosureTypeRef__ParameterTypesAssignment_1_0_2_2"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getVarArgsAssignment_1_1_0(), "rule__ClosureTypeRef__VarArgsAssignment_1_1_0"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getParameterTypesAssignment_1_1_1(), "rule__ClosureTypeRef__ParameterTypesAssignment_1_1_1"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getReturnTypeAssignment_4(), "rule__ClosureTypeRef__ReturnTypeAssignment_4"); + mappings.put(grammarAccess.getCachedExpressionAccess().getExprAssignment_0_2(), "rule__CachedExpression__ExprAssignment_0_2"); + mappings.put(grammarAccess.getOrExpressionAccess().getRightExprAssignment_1_2(), "rule__OrExpression__RightExprAssignment_1_2"); + mappings.put(grammarAccess.getAndExpressionAccess().getRightExprAssignment_1_2(), "rule__AndExpression__RightExprAssignment_1_2"); + mappings.put(grammarAccess.getRelationalExpressionAccess().getFunctionNameAssignment_1_1(), "rule__RelationalExpression__FunctionNameAssignment_1_1"); + mappings.put(grammarAccess.getRelationalExpressionAccess().getRightExprAssignment_1_2(), "rule__RelationalExpression__RightExprAssignment_1_2"); + mappings.put(grammarAccess.getAdditiveExpressionAccess().getFunctionNameAssignment_1_1(), "rule__AdditiveExpression__FunctionNameAssignment_1_1"); + mappings.put(grammarAccess.getAdditiveExpressionAccess().getRightExprAssignment_1_2(), "rule__AdditiveExpression__RightExprAssignment_1_2"); + mappings.put(grammarAccess.getMultiplicativeExpressionAccess().getFunctionNameAssignment_1_1(), "rule__MultiplicativeExpression__FunctionNameAssignment_1_1"); + mappings.put(grammarAccess.getMultiplicativeExpressionAccess().getRightExprAssignment_1_2(), "rule__MultiplicativeExpression__RightExprAssignment_1_2"); + mappings.put(grammarAccess.getSetExpressionAccess().getFunctionNameAssignment_1_1(), "rule__SetExpression__FunctionNameAssignment_1_1"); + mappings.put(grammarAccess.getSetExpressionAccess().getRightExprAssignment_1_2(), "rule__SetExpression__RightExprAssignment_1_2"); + mappings.put(grammarAccess.getUnaryExpressionAccess().getFunctionNameAssignment_1(), "rule__UnaryExpression__FunctionNameAssignment_1"); + mappings.put(grammarAccess.getUnaryExpressionAccess().getExprAssignment_2(), "rule__UnaryExpression__ExprAssignment_2"); + mappings.put(grammarAccess.getPreopExpressionAccess().getFunctionNameAssignment_1(), "rule__PreopExpression__FunctionNameAssignment_1"); + mappings.put(grammarAccess.getPreopExpressionAccess().getExprAssignment_2(), "rule__PreopExpression__ExprAssignment_2"); + mappings.put(grammarAccess.getPostopExpressionAccess().getFunctionNameAssignment_1_1(), "rule__PostopExpression__FunctionNameAssignment_1_1"); + mappings.put(grammarAccess.getInfixExpressionAccess().getNameAssignment_1_0_2(), "rule__InfixExpression__NameAssignment_1_0_2"); + mappings.put(grammarAccess.getInfixExpressionAccess().getParameterListAssignment_1_0_4(), "rule__InfixExpression__ParameterListAssignment_1_0_4"); + mappings.put(grammarAccess.getInfixExpressionAccess().getIndexExprAssignment_1_1_2(), "rule__InfixExpression__IndexExprAssignment_1_1_2"); + mappings.put(grammarAccess.getInfixExpressionAccess().getFeatureNameAssignment_1_2_2(), "rule__InfixExpression__FeatureNameAssignment_1_2_2"); + mappings.put(grammarAccess.getCallExpressionAccess().getParameterListAssignment_1_2(), "rule__CallExpression__ParameterListAssignment_1_2"); + mappings.put(grammarAccess.getWithExpressionAccess().getReferencedAdviceAssignment_1_0(), "rule__WithExpression__ReferencedAdviceAssignment_1_0"); + mappings.put(grammarAccess.getWithExpressionAccess().getReferencedAdviceAssignment_1_1_1(), "rule__WithExpression__ReferencedAdviceAssignment_1_1_1"); + mappings.put(grammarAccess.getWithExpressionAccess().getFuncExprAssignment_2_0_1(), "rule__WithExpression__FuncExprAssignment_2_0_1"); + mappings.put(grammarAccess.getWithExpressionAccess().getFuncExprAssignment_2_1_1(), "rule__WithExpression__FuncExprAssignment_2_1_1"); + mappings.put(grammarAccess.getWithContextExpressionAccess().getExprAssignment_2(), "rule__WithContextExpression__ExprAssignment_2"); + mappings.put(grammarAccess.getWithContextExpressionAccess().getAliasAssignment_3_1(), "rule__WithContextExpression__AliasAssignment_3_1"); + mappings.put(grammarAccess.getWithContextExpressionAccess().getContextBlockAssignment_4(), "rule__WithContextExpression__ContextBlockAssignment_4"); + mappings.put(grammarAccess.getBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__BlockExpression__ExpressionsAssignment_2_0"); + mappings.put(grammarAccess.getValueAccess().getNameAssignment_1(), "rule__Value__NameAssignment_1"); + mappings.put(grammarAccess.getKeywordVariablesAccess().getNameAssignment_1(), "rule__KeywordVariables__NameAssignment_1"); + mappings.put(grammarAccess.getOperationCallAccess().getNameAssignment_1(), "rule__OperationCall__NameAssignment_1"); + mappings.put(grammarAccess.getOperationCallAccess().getParameterListAssignment_3(), "rule__OperationCall__ParameterListAssignment_3"); + mappings.put(grammarAccess.getConstructorCallExpressionAccess().getTypeExprAssignment_2(), "rule__ConstructorCallExpression__TypeExprAssignment_2"); + mappings.put(grammarAccess.getConstructorCallExpressionAccess().getParameterListAssignment_3_1(), "rule__ConstructorCallExpression__ParameterListAssignment_3_1"); + mappings.put(grammarAccess.getConstructorCallExpressionAccess().getAliasAssignment_4_1(), "rule__ConstructorCallExpression__AliasAssignment_4_1"); + mappings.put(grammarAccess.getConstructorCallExpressionAccess().getContextBlockAssignment_5(), "rule__ConstructorCallExpression__ContextBlockAssignment_5"); + mappings.put(grammarAccess.getInitializationBlockExpressionAccess().getExpressionsAssignment_2(), "rule__InitializationBlockExpression__ExpressionsAssignment_2"); + mappings.put(grammarAccess.getInitializationExpressionAccess().getLeftExprAssignment_1(), "rule__InitializationExpression__LeftExprAssignment_1"); + mappings.put(grammarAccess.getInitializationExpressionAccess().getFunctionNameAssignment_2(), "rule__InitializationExpression__FunctionNameAssignment_2"); + mappings.put(grammarAccess.getInitializationExpressionAccess().getRightExprAssignment_3(), "rule__InitializationExpression__RightExprAssignment_3"); + mappings.put(grammarAccess.getFeatureOfThisAccess().getFeatureNameAssignment_1(), "rule__FeatureOfThis__FeatureNameAssignment_1"); + mappings.put(grammarAccess.getClosureExpressionAccess().getReturnTypeAssignment_1_1(), "rule__ClosureExpression__ReturnTypeAssignment_1_1"); + mappings.put(grammarAccess.getClosureExpressionAccess().getParametersAssignment_2_0_1_0(), "rule__ClosureExpression__ParametersAssignment_2_0_1_0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getParametersAssignment_2_0_1_1_1(), "rule__ClosureExpression__ParametersAssignment_2_0_1_1_1"); + mappings.put(grammarAccess.getClosureExpressionAccess().getVarArgsAssignment_2_0_1_2_1(), "rule__ClosureExpression__VarArgsAssignment_2_0_1_2_1"); + mappings.put(grammarAccess.getClosureExpressionAccess().getParametersAssignment_2_0_1_2_2(), "rule__ClosureExpression__ParametersAssignment_2_0_1_2_2"); + mappings.put(grammarAccess.getClosureExpressionAccess().getVarArgsAssignment_2_1_0(), "rule__ClosureExpression__VarArgsAssignment_2_1_0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getParametersAssignment_2_1_1(), "rule__ClosureExpression__ParametersAssignment_2_1_1"); + mappings.put(grammarAccess.getClosureExpressionAccess().getFuncExprAssignment_4(), "rule__ClosureExpression__FuncExprAssignment_4"); + mappings.put(grammarAccess.getBlockExpressionWithoutBracketsAccess().getExpressionsAssignment_1_0(), "rule__BlockExpressionWithoutBrackets__ExpressionsAssignment_1_0"); + mappings.put(grammarAccess.getValueLiteralAccess().getValueAssignment(), "rule__ValueLiteral__ValueAssignment"); + mappings.put(grammarAccess.getUnitAccess().getUnorderedGroup_7(), "rule__Unit__UnorderedGroup_7"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getUnorderedGroup_2_1(), "rule__ProvidedCapability__UnorderedGroup_2_1"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getUnorderedGroup_3_1(), "rule__AliasedRequiredCapability__UnorderedGroup_3_1"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getUnorderedGroup_3_1(), "rule__RequiredCapability__UnorderedGroup_3_1"); } } diff --git a/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/backtracking/ide/contentassist/antlr/ExBeeLangTestLanguageParser.java b/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/backtracking/ide/contentassist/antlr/ExBeeLangTestLanguageParser.java index c5b0ec9a88a..3354f0609dd 100644 --- a/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/backtracking/ide/contentassist/antlr/ExBeeLangTestLanguageParser.java +++ b/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/backtracking/ide/contentassist/antlr/ExBeeLangTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.testlanguages.backtracking.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,289 +26,289 @@ public static final class NameMappings { @Inject public NameMappings(ExBeeLangTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, ExBeeLangTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getModelAccess().getAlternatives(), "rule__Model__Alternatives"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getAlternatives_1(), "rule__ProvidedCapability__Alternatives_1"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getAlternatives_0(), "rule__AliasedRequiredCapability__Alternatives_0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getAlternatives_1(), "rule__RequiredCapability__Alternatives_1"); - builder.put(grammarAccess.getPathAccess().getAlternatives(), "rule__Path__Alternatives"); - builder.put(grammarAccess.getFirstParameterAccess().getAlternatives(), "rule__FirstParameter__Alternatives"); - builder.put(grammarAccess.getFunctionAccess().getAlternatives_6_1(), "rule__Function__Alternatives_6_1"); - builder.put(grammarAccess.getFunctionAccess().getAlternatives_8(), "rule__Function__Alternatives_8"); - builder.put(grammarAccess.getGuardExpressionAccess().getAlternatives(), "rule__GuardExpression__Alternatives"); - builder.put(grammarAccess.getAssignmentOperatorAccess().getAlternatives(), "rule__AssignmentOperator__Alternatives"); - builder.put(grammarAccess.getRelationalOperatorAccess().getAlternatives(), "rule__RelationalOperator__Alternatives"); - builder.put(grammarAccess.getTopLevelExpressionAccess().getAlternatives(), "rule__TopLevelExpression__Alternatives"); - builder.put(grammarAccess.getVarDeclarationAccess().getAlternatives_2_0(), "rule__VarDeclaration__Alternatives_2_0"); - builder.put(grammarAccess.getTypeRefAccess().getAlternatives(), "rule__TypeRef__Alternatives"); - builder.put(grammarAccess.getClosureTypeRefAccess().getAlternatives_1(), "rule__ClosureTypeRef__Alternatives_1"); - builder.put(grammarAccess.getCachedExpressionAccess().getAlternatives(), "rule__CachedExpression__Alternatives"); - builder.put(grammarAccess.getAdditiveExpressionAccess().getFunctionNameAlternatives_1_1_0(), "rule__AdditiveExpression__FunctionNameAlternatives_1_1_0"); - builder.put(grammarAccess.getMultiplicativeExpressionAccess().getFunctionNameAlternatives_1_1_0(), "rule__MultiplicativeExpression__FunctionNameAlternatives_1_1_0"); - builder.put(grammarAccess.getUnaryOrInfixExpressionAccess().getAlternatives(), "rule__UnaryOrInfixExpression__Alternatives"); - builder.put(grammarAccess.getUnaryExpressionAccess().getFunctionNameAlternatives_1_0(), "rule__UnaryExpression__FunctionNameAlternatives_1_0"); - builder.put(grammarAccess.getPreopExpressionAccess().getFunctionNameAlternatives_1_0(), "rule__PreopExpression__FunctionNameAlternatives_1_0"); - builder.put(grammarAccess.getPostopExpressionAccess().getFunctionNameAlternatives_1_1_0(), "rule__PostopExpression__FunctionNameAlternatives_1_1_0"); - builder.put(grammarAccess.getInfixExpressionAccess().getAlternatives_1(), "rule__InfixExpression__Alternatives_1"); - builder.put(grammarAccess.getPrimaryExpressionAccess().getAlternatives(), "rule__PrimaryExpression__Alternatives"); - builder.put(grammarAccess.getWithExpressionAccess().getAlternatives_2(), "rule__WithExpression__Alternatives_2"); - builder.put(grammarAccess.getKeywordVariablesAccess().getNameAlternatives_1_0(), "rule__KeywordVariables__NameAlternatives_1_0"); - builder.put(grammarAccess.getLiteralAccess().getAlternatives(), "rule__Literal__Alternatives"); - builder.put(grammarAccess.getClosureExpressionAccess().getAlternatives_2(), "rule__ClosureExpression__Alternatives_2"); - builder.put(grammarAccess.getOneOrManyExpressionsAccess().getAlternatives(), "rule__OneOrManyExpressions__Alternatives"); - builder.put(grammarAccess.getQIDAccess().getAlternatives_1(), "rule__QID__Alternatives_1"); - builder.put(grammarAccess.getQIDAccess().getAlternatives_2_2(), "rule__QID__Alternatives_2_2"); - builder.put(grammarAccess.getUnitAccess().getGroup(), "rule__Unit__Group__0"); - builder.put(grammarAccess.getUnitAccess().getGroup_4(), "rule__Unit__Group_4__0"); - builder.put(grammarAccess.getUnitAccess().getGroup_5(), "rule__Unit__Group_5__0"); - builder.put(grammarAccess.getUnitAccess().getGroup_5_2(), "rule__Unit__Group_5_2__0"); - builder.put(grammarAccess.getUnitAccess().getGroup_7_0(), "rule__Unit__Group_7_0__0"); - builder.put(grammarAccess.getUnitAccess().getGroup_7_1(), "rule__Unit__Group_7_1__0"); - builder.put(grammarAccess.getUnitAccess().getGroup_7_2(), "rule__Unit__Group_7_2__0"); - builder.put(grammarAccess.getUnitAccess().getGroup_7_3(), "rule__Unit__Group_7_3__0"); - builder.put(grammarAccess.getUnitAccess().getGroup_7_4(), "rule__Unit__Group_7_4__0"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getGroup(), "rule__ProvidedCapability__Group__0"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getGroup_2(), "rule__ProvidedCapability__Group_2__0"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getGroup_2_1_0(), "rule__ProvidedCapability__Group_2_1_0__0"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getGroup_2_1_1(), "rule__ProvidedCapability__Group_2_1_1__0"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getGroup_2_1_2(), "rule__ProvidedCapability__Group_2_1_2__0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup(), "rule__AliasedRequiredCapability__Group__0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_2(), "rule__AliasedRequiredCapability__Group_2__0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3(), "rule__AliasedRequiredCapability__Group_3__0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_0(), "rule__AliasedRequiredCapability__Group_3_1_0__0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_1(), "rule__AliasedRequiredCapability__Group_3_1_1__0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_2(), "rule__AliasedRequiredCapability__Group_3_1_2__0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_3(), "rule__AliasedRequiredCapability__Group_3_1_3__0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_4(), "rule__AliasedRequiredCapability__Group_3_1_4__0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getGroup(), "rule__RequiredCapability__Group__0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3(), "rule__RequiredCapability__Group_3__0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_0(), "rule__RequiredCapability__Group_3_1_0__0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_1(), "rule__RequiredCapability__Group_3_1_1__0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_2(), "rule__RequiredCapability__Group_3_1_2__0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_3(), "rule__RequiredCapability__Group_3_1_3__0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_4(), "rule__RequiredCapability__Group_3_1_4__0"); - builder.put(grammarAccess.getPathAccess().getGroup_1(), "rule__Path__Group_1__0"); - builder.put(grammarAccess.getPathAccess().getGroup_1_2(), "rule__Path__Group_1_2__0"); - builder.put(grammarAccess.getParameterListAccess().getGroup(), "rule__ParameterList__Group__0"); - builder.put(grammarAccess.getParameterListAccess().getGroup_1(), "rule__ParameterList__Group_1__0"); - builder.put(grammarAccess.getParameterDeclarationAccess().getGroup(), "rule__ParameterDeclaration__Group__0"); - builder.put(grammarAccess.getFunctionAccess().getGroup(), "rule__Function__Group__0"); - builder.put(grammarAccess.getFunctionAccess().getGroup_6(), "rule__Function__Group_6__0"); - builder.put(grammarAccess.getFunctionAccess().getGroup_6_1_0(), "rule__Function__Group_6_1_0__0"); - builder.put(grammarAccess.getFunctionAccess().getGroup_6_1_0_1(), "rule__Function__Group_6_1_0_1__0"); - builder.put(grammarAccess.getFunctionAccess().getGroup_6_1_0_2(), "rule__Function__Group_6_1_0_2__0"); - builder.put(grammarAccess.getFunctionAccess().getGroup_6_1_1(), "rule__Function__Group_6_1_1__0"); - builder.put(grammarAccess.getFunctionAccess().getGroup_7(), "rule__Function__Group_7__0"); - builder.put(grammarAccess.getFunctionAccess().getGroup_8_0(), "rule__Function__Group_8_0__0"); - builder.put(grammarAccess.getGuardExpressionAccess().getGroup_0(), "rule__GuardExpression__Group_0__0"); - builder.put(grammarAccess.getAssignmentExpressionAccess().getGroup(), "rule__AssignmentExpression__Group__0"); - builder.put(grammarAccess.getAssignmentExpressionAccess().getGroup_1(), "rule__AssignmentExpression__Group_1__0"); - builder.put(grammarAccess.getVarDeclarationAccess().getGroup(), "rule__VarDeclaration__Group__0"); - builder.put(grammarAccess.getVarDeclarationAccess().getGroup_2(), "rule__VarDeclaration__Group_2__0"); - builder.put(grammarAccess.getVarDeclarationAccess().getGroup_3(), "rule__VarDeclaration__Group_3__0"); - builder.put(grammarAccess.getValDeclarationAccess().getGroup(), "rule__ValDeclaration__Group__0"); - builder.put(grammarAccess.getSimpleTypeRefAccess().getGroup(), "rule__SimpleTypeRef__Group__0"); - builder.put(grammarAccess.getSimpleTypeRefAccess().getGroup_1(), "rule__SimpleTypeRef__Group_1__0"); - builder.put(grammarAccess.getSimpleTypeRefAccess().getGroup_1_2(), "rule__SimpleTypeRef__Group_1_2__0"); - builder.put(grammarAccess.getClosureTypeRefAccess().getGroup(), "rule__ClosureTypeRef__Group__0"); - builder.put(grammarAccess.getClosureTypeRefAccess().getGroup_1_0(), "rule__ClosureTypeRef__Group_1_0__0"); - builder.put(grammarAccess.getClosureTypeRefAccess().getGroup_1_0_1(), "rule__ClosureTypeRef__Group_1_0_1__0"); - builder.put(grammarAccess.getClosureTypeRefAccess().getGroup_1_0_2(), "rule__ClosureTypeRef__Group_1_0_2__0"); - builder.put(grammarAccess.getClosureTypeRefAccess().getGroup_1_1(), "rule__ClosureTypeRef__Group_1_1__0"); - builder.put(grammarAccess.getCachedExpressionAccess().getGroup_0(), "rule__CachedExpression__Group_0__0"); - builder.put(grammarAccess.getOrExpressionAccess().getGroup(), "rule__OrExpression__Group__0"); - builder.put(grammarAccess.getOrExpressionAccess().getGroup_1(), "rule__OrExpression__Group_1__0"); - builder.put(grammarAccess.getAndExpressionAccess().getGroup(), "rule__AndExpression__Group__0"); - builder.put(grammarAccess.getAndExpressionAccess().getGroup_1(), "rule__AndExpression__Group_1__0"); - builder.put(grammarAccess.getRelationalExpressionAccess().getGroup(), "rule__RelationalExpression__Group__0"); - builder.put(grammarAccess.getRelationalExpressionAccess().getGroup_1(), "rule__RelationalExpression__Group_1__0"); - builder.put(grammarAccess.getAdditiveExpressionAccess().getGroup(), "rule__AdditiveExpression__Group__0"); - builder.put(grammarAccess.getAdditiveExpressionAccess().getGroup_1(), "rule__AdditiveExpression__Group_1__0"); - builder.put(grammarAccess.getMultiplicativeExpressionAccess().getGroup(), "rule__MultiplicativeExpression__Group__0"); - builder.put(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1(), "rule__MultiplicativeExpression__Group_1__0"); - builder.put(grammarAccess.getSetExpressionAccess().getGroup(), "rule__SetExpression__Group__0"); - builder.put(grammarAccess.getSetExpressionAccess().getGroup_1(), "rule__SetExpression__Group_1__0"); - builder.put(grammarAccess.getUnaryExpressionAccess().getGroup(), "rule__UnaryExpression__Group__0"); - builder.put(grammarAccess.getPreopExpressionAccess().getGroup(), "rule__PreopExpression__Group__0"); - builder.put(grammarAccess.getPostopExpressionAccess().getGroup(), "rule__PostopExpression__Group__0"); - builder.put(grammarAccess.getPostopExpressionAccess().getGroup_1(), "rule__PostopExpression__Group_1__0"); - builder.put(grammarAccess.getInfixExpressionAccess().getGroup(), "rule__InfixExpression__Group__0"); - builder.put(grammarAccess.getInfixExpressionAccess().getGroup_1_0(), "rule__InfixExpression__Group_1_0__0"); - builder.put(grammarAccess.getInfixExpressionAccess().getGroup_1_1(), "rule__InfixExpression__Group_1_1__0"); - builder.put(grammarAccess.getInfixExpressionAccess().getGroup_1_2(), "rule__InfixExpression__Group_1_2__0"); - builder.put(grammarAccess.getCallExpressionAccess().getGroup(), "rule__CallExpression__Group__0"); - builder.put(grammarAccess.getCallExpressionAccess().getGroup_1(), "rule__CallExpression__Group_1__0"); - builder.put(grammarAccess.getWithExpressionAccess().getGroup(), "rule__WithExpression__Group__0"); - builder.put(grammarAccess.getWithExpressionAccess().getGroup_1(), "rule__WithExpression__Group_1__0"); - builder.put(grammarAccess.getWithExpressionAccess().getGroup_1_1(), "rule__WithExpression__Group_1_1__0"); - builder.put(grammarAccess.getWithExpressionAccess().getGroup_2_0(), "rule__WithExpression__Group_2_0__0"); - builder.put(grammarAccess.getWithExpressionAccess().getGroup_2_1(), "rule__WithExpression__Group_2_1__0"); - builder.put(grammarAccess.getWithContextExpressionAccess().getGroup(), "rule__WithContextExpression__Group__0"); - builder.put(grammarAccess.getWithContextExpressionAccess().getGroup_3(), "rule__WithContextExpression__Group_3__0"); - builder.put(grammarAccess.getBlockExpressionAccess().getGroup(), "rule__BlockExpression__Group__0"); - builder.put(grammarAccess.getBlockExpressionAccess().getGroup_2(), "rule__BlockExpression__Group_2__0"); - builder.put(grammarAccess.getValueAccess().getGroup(), "rule__Value__Group__0"); - builder.put(grammarAccess.getKeywordVariablesAccess().getGroup(), "rule__KeywordVariables__Group__0"); - builder.put(grammarAccess.getOperationCallAccess().getGroup(), "rule__OperationCall__Group__0"); - builder.put(grammarAccess.getConstructorCallExpressionAccess().getGroup(), "rule__ConstructorCallExpression__Group__0"); - builder.put(grammarAccess.getConstructorCallExpressionAccess().getGroup_3(), "rule__ConstructorCallExpression__Group_3__0"); - builder.put(grammarAccess.getConstructorCallExpressionAccess().getGroup_4(), "rule__ConstructorCallExpression__Group_4__0"); - builder.put(grammarAccess.getInitializationBlockExpressionAccess().getGroup(), "rule__InitializationBlockExpression__Group__0"); - builder.put(grammarAccess.getInitializationExpressionAccess().getGroup(), "rule__InitializationExpression__Group__0"); - builder.put(grammarAccess.getFeatureOfThisAccess().getGroup(), "rule__FeatureOfThis__Group__0"); - builder.put(grammarAccess.getLiteralFunctionAccess().getGroup(), "rule__LiteralFunction__Group__0"); - builder.put(grammarAccess.getClosureExpressionAccess().getGroup(), "rule__ClosureExpression__Group__0"); - builder.put(grammarAccess.getClosureExpressionAccess().getGroup_1(), "rule__ClosureExpression__Group_1__0"); - builder.put(grammarAccess.getClosureExpressionAccess().getGroup_2_0(), "rule__ClosureExpression__Group_2_0__0"); - builder.put(grammarAccess.getClosureExpressionAccess().getGroup_2_0_1(), "rule__ClosureExpression__Group_2_0_1__0"); - builder.put(grammarAccess.getClosureExpressionAccess().getGroup_2_0_1_1(), "rule__ClosureExpression__Group_2_0_1_1__0"); - builder.put(grammarAccess.getClosureExpressionAccess().getGroup_2_0_1_2(), "rule__ClosureExpression__Group_2_0_1_2__0"); - builder.put(grammarAccess.getClosureExpressionAccess().getGroup_2_1(), "rule__ClosureExpression__Group_2_1__0"); - builder.put(grammarAccess.getBlockExpressionWithoutBracketsAccess().getGroup(), "rule__BlockExpressionWithoutBrackets__Group__0"); - builder.put(grammarAccess.getBlockExpressionWithoutBracketsAccess().getGroup_1(), "rule__BlockExpressionWithoutBrackets__Group_1__0"); - builder.put(grammarAccess.getParanthesizedExpressionAccess().getGroup(), "rule__ParanthesizedExpression__Group__0"); - builder.put(grammarAccess.getQIDAccess().getGroup(), "rule__QID__Group__0"); - builder.put(grammarAccess.getQIDAccess().getGroup_2(), "rule__QID__Group_2__0"); - builder.put(grammarAccess.getModelAccess().getUnitsAssignment_0(), "rule__Model__UnitsAssignment_0"); - builder.put(grammarAccess.getModelAccess().getFunctionsAssignment_1(), "rule__Model__FunctionsAssignment_1"); - builder.put(grammarAccess.getUnitAccess().getDocumentationAssignment_1(), "rule__Unit__DocumentationAssignment_1"); - builder.put(grammarAccess.getUnitAccess().getNameAssignment_3(), "rule__Unit__NameAssignment_3"); - builder.put(grammarAccess.getUnitAccess().getVersionAssignment_4_1(), "rule__Unit__VersionAssignment_4_1"); - builder.put(grammarAccess.getUnitAccess().getImplementsAssignment_5_1(), "rule__Unit__ImplementsAssignment_5_1"); - builder.put(grammarAccess.getUnitAccess().getImplementsAssignment_5_2_1(), "rule__Unit__ImplementsAssignment_5_2_1"); - builder.put(grammarAccess.getUnitAccess().getSourceLocationAssignment_7_0_2(), "rule__Unit__SourceLocationAssignment_7_0_2"); - builder.put(grammarAccess.getUnitAccess().getOutputLocationAssignment_7_1_2(), "rule__Unit__OutputLocationAssignment_7_1_2"); - builder.put(grammarAccess.getUnitAccess().getProvidedCapabilitiesAssignment_7_2_2(), "rule__Unit__ProvidedCapabilitiesAssignment_7_2_2"); - builder.put(grammarAccess.getUnitAccess().getRequiredCapabilitiesAssignment_7_3_2(), "rule__Unit__RequiredCapabilitiesAssignment_7_3_2"); - builder.put(grammarAccess.getUnitAccess().getMetaRequiredCapabilitiesAssignment_7_4_3(), "rule__Unit__MetaRequiredCapabilitiesAssignment_7_4_3"); - builder.put(grammarAccess.getUnitAccess().getFunctionsAssignment_7_5(), "rule__Unit__FunctionsAssignment_7_5"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getNameSpaceAssignment_1_0(), "rule__ProvidedCapability__NameSpaceAssignment_1_0"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getCondExprAssignment_2_1_0_2(), "rule__ProvidedCapability__CondExprAssignment_2_1_0_2"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getNameAssignment_2_1_1_2(), "rule__ProvidedCapability__NameAssignment_2_1_1_2"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getVersionAssignment_2_1_2_2(), "rule__ProvidedCapability__VersionAssignment_2_1_2_2"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getNameSpaceAssignment_0_0(), "rule__AliasedRequiredCapability__NameSpaceAssignment_0_0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getNameAssignment_1(), "rule__AliasedRequiredCapability__NameAssignment_1"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getAliasAssignment_2_1(), "rule__AliasedRequiredCapability__AliasAssignment_2_1"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getCondExprAssignment_3_1_0_2(), "rule__AliasedRequiredCapability__CondExprAssignment_3_1_0_2"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGreedyAssignment_3_1_1_0(), "rule__AliasedRequiredCapability__GreedyAssignment_3_1_1_0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getMinAssignment_3_1_2_2(), "rule__AliasedRequiredCapability__MinAssignment_3_1_2_2"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getMaxAssignment_3_1_3_2(), "rule__AliasedRequiredCapability__MaxAssignment_3_1_3_2"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getVersionRangeAssignment_3_1_4_2(), "rule__AliasedRequiredCapability__VersionRangeAssignment_3_1_4_2"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getNameSpaceAssignment_1_0(), "rule__RequiredCapability__NameSpaceAssignment_1_0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getNameAssignment_2(), "rule__RequiredCapability__NameAssignment_2"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getCondExprAssignment_3_1_0_2(), "rule__RequiredCapability__CondExprAssignment_3_1_0_2"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getGreedyAssignment_3_1_1_0(), "rule__RequiredCapability__GreedyAssignment_3_1_1_0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getMinAssignment_3_1_2_2(), "rule__RequiredCapability__MinAssignment_3_1_2_2"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getMaxAssignment_3_1_3_2(), "rule__RequiredCapability__MaxAssignment_3_1_3_2"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getVersionRangeAssignment_3_1_4_2(), "rule__RequiredCapability__VersionRangeAssignment_3_1_4_2"); - builder.put(grammarAccess.getParameterListAccess().getParametersAssignment_0(), "rule__ParameterList__ParametersAssignment_0"); - builder.put(grammarAccess.getParameterListAccess().getParametersAssignment_1_1(), "rule__ParameterList__ParametersAssignment_1_1"); - builder.put(grammarAccess.getParameterAccess().getExprAssignment(), "rule__Parameter__ExprAssignment"); - builder.put(grammarAccess.getClosureParameterAccess().getExprAssignment(), "rule__ClosureParameter__ExprAssignment"); - builder.put(grammarAccess.getParameterDeclarationAccess().getTypeAssignment_0(), "rule__ParameterDeclaration__TypeAssignment_0"); - builder.put(grammarAccess.getParameterDeclarationAccess().getNameAssignment_1(), "rule__ParameterDeclaration__NameAssignment_1"); - builder.put(grammarAccess.getFunctionAccess().getDocumentationAssignment_0(), "rule__Function__DocumentationAssignment_0"); - builder.put(grammarAccess.getFunctionAccess().getVisibilityAssignment_1(), "rule__Function__VisibilityAssignment_1"); - builder.put(grammarAccess.getFunctionAccess().getFinalAssignment_2(), "rule__Function__FinalAssignment_2"); - builder.put(grammarAccess.getFunctionAccess().getReturnTypeAssignment_4(), "rule__Function__ReturnTypeAssignment_4"); - builder.put(grammarAccess.getFunctionAccess().getNameAssignment_5(), "rule__Function__NameAssignment_5"); - builder.put(grammarAccess.getFunctionAccess().getParametersAssignment_6_1_0_0(), "rule__Function__ParametersAssignment_6_1_0_0"); - builder.put(grammarAccess.getFunctionAccess().getParametersAssignment_6_1_0_1_1(), "rule__Function__ParametersAssignment_6_1_0_1_1"); - builder.put(grammarAccess.getFunctionAccess().getVarArgsAssignment_6_1_0_2_1(), "rule__Function__VarArgsAssignment_6_1_0_2_1"); - builder.put(grammarAccess.getFunctionAccess().getParametersAssignment_6_1_0_2_2(), "rule__Function__ParametersAssignment_6_1_0_2_2"); - builder.put(grammarAccess.getFunctionAccess().getVarArgsAssignment_6_1_1_0(), "rule__Function__VarArgsAssignment_6_1_1_0"); - builder.put(grammarAccess.getFunctionAccess().getParametersAssignment_6_1_1_1(), "rule__Function__ParametersAssignment_6_1_1_1"); - builder.put(grammarAccess.getFunctionAccess().getGuardAssignment_7_1(), "rule__Function__GuardAssignment_7_1"); - builder.put(grammarAccess.getFunctionAccess().getFuncExprAssignment_8_0_1(), "rule__Function__FuncExprAssignment_8_0_1"); - builder.put(grammarAccess.getFunctionAccess().getFuncExprAssignment_8_1(), "rule__Function__FuncExprAssignment_8_1"); - builder.put(grammarAccess.getGuardExpressionAccess().getGuardExprAssignment_0_1(), "rule__GuardExpression__GuardExprAssignment_0_1"); - builder.put(grammarAccess.getGuardExpressionAccess().getGuardExprAssignment_1(), "rule__GuardExpression__GuardExprAssignment_1"); - builder.put(grammarAccess.getAssignmentExpressionAccess().getFunctionNameAssignment_1_1(), "rule__AssignmentExpression__FunctionNameAssignment_1_1"); - builder.put(grammarAccess.getAssignmentExpressionAccess().getRightExprAssignment_1_2(), "rule__AssignmentExpression__RightExprAssignment_1_2"); - builder.put(grammarAccess.getVarDeclarationAccess().getFinalAssignment_1(), "rule__VarDeclaration__FinalAssignment_1"); - builder.put(grammarAccess.getVarDeclarationAccess().getTypeAssignment_2_0_1(), "rule__VarDeclaration__TypeAssignment_2_0_1"); - builder.put(grammarAccess.getVarDeclarationAccess().getNameAssignment_2_1(), "rule__VarDeclaration__NameAssignment_2_1"); - builder.put(grammarAccess.getVarDeclarationAccess().getValueExprAssignment_3_1(), "rule__VarDeclaration__ValueExprAssignment_3_1"); - builder.put(grammarAccess.getValDeclarationAccess().getFinalAssignment_1(), "rule__ValDeclaration__FinalAssignment_1"); - builder.put(grammarAccess.getValDeclarationAccess().getImmutableAssignment_2(), "rule__ValDeclaration__ImmutableAssignment_2"); - builder.put(grammarAccess.getValDeclarationAccess().getTypeAssignment_3(), "rule__ValDeclaration__TypeAssignment_3"); - builder.put(grammarAccess.getValDeclarationAccess().getNameAssignment_4(), "rule__ValDeclaration__NameAssignment_4"); - builder.put(grammarAccess.getValDeclarationAccess().getValueExprAssignment_6(), "rule__ValDeclaration__ValueExprAssignment_6"); - builder.put(grammarAccess.getSimpleTypeRefAccess().getRawTypeAssignment_0(), "rule__SimpleTypeRef__RawTypeAssignment_0"); - builder.put(grammarAccess.getSimpleTypeRefAccess().getActualArgumentsListAssignment_1_1(), "rule__SimpleTypeRef__ActualArgumentsListAssignment_1_1"); - builder.put(grammarAccess.getSimpleTypeRefAccess().getActualArgumentsListAssignment_1_2_1(), "rule__SimpleTypeRef__ActualArgumentsListAssignment_1_2_1"); - builder.put(grammarAccess.getClosureTypeRefAccess().getParameterTypesAssignment_1_0_0(), "rule__ClosureTypeRef__ParameterTypesAssignment_1_0_0"); - builder.put(grammarAccess.getClosureTypeRefAccess().getParameterTypesAssignment_1_0_1_1(), "rule__ClosureTypeRef__ParameterTypesAssignment_1_0_1_1"); - builder.put(grammarAccess.getClosureTypeRefAccess().getVarArgsAssignment_1_0_2_1(), "rule__ClosureTypeRef__VarArgsAssignment_1_0_2_1"); - builder.put(grammarAccess.getClosureTypeRefAccess().getParameterTypesAssignment_1_0_2_2(), "rule__ClosureTypeRef__ParameterTypesAssignment_1_0_2_2"); - builder.put(grammarAccess.getClosureTypeRefAccess().getVarArgsAssignment_1_1_0(), "rule__ClosureTypeRef__VarArgsAssignment_1_1_0"); - builder.put(grammarAccess.getClosureTypeRefAccess().getParameterTypesAssignment_1_1_1(), "rule__ClosureTypeRef__ParameterTypesAssignment_1_1_1"); - builder.put(grammarAccess.getClosureTypeRefAccess().getReturnTypeAssignment_4(), "rule__ClosureTypeRef__ReturnTypeAssignment_4"); - builder.put(grammarAccess.getCachedExpressionAccess().getExprAssignment_0_2(), "rule__CachedExpression__ExprAssignment_0_2"); - builder.put(grammarAccess.getOrExpressionAccess().getRightExprAssignment_1_2(), "rule__OrExpression__RightExprAssignment_1_2"); - builder.put(grammarAccess.getAndExpressionAccess().getRightExprAssignment_1_2(), "rule__AndExpression__RightExprAssignment_1_2"); - builder.put(grammarAccess.getRelationalExpressionAccess().getFunctionNameAssignment_1_1(), "rule__RelationalExpression__FunctionNameAssignment_1_1"); - builder.put(grammarAccess.getRelationalExpressionAccess().getRightExprAssignment_1_2(), "rule__RelationalExpression__RightExprAssignment_1_2"); - builder.put(grammarAccess.getAdditiveExpressionAccess().getFunctionNameAssignment_1_1(), "rule__AdditiveExpression__FunctionNameAssignment_1_1"); - builder.put(grammarAccess.getAdditiveExpressionAccess().getRightExprAssignment_1_2(), "rule__AdditiveExpression__RightExprAssignment_1_2"); - builder.put(grammarAccess.getMultiplicativeExpressionAccess().getFunctionNameAssignment_1_1(), "rule__MultiplicativeExpression__FunctionNameAssignment_1_1"); - builder.put(grammarAccess.getMultiplicativeExpressionAccess().getRightExprAssignment_1_2(), "rule__MultiplicativeExpression__RightExprAssignment_1_2"); - builder.put(grammarAccess.getSetExpressionAccess().getFunctionNameAssignment_1_1(), "rule__SetExpression__FunctionNameAssignment_1_1"); - builder.put(grammarAccess.getSetExpressionAccess().getRightExprAssignment_1_2(), "rule__SetExpression__RightExprAssignment_1_2"); - builder.put(grammarAccess.getUnaryExpressionAccess().getFunctionNameAssignment_1(), "rule__UnaryExpression__FunctionNameAssignment_1"); - builder.put(grammarAccess.getUnaryExpressionAccess().getExprAssignment_2(), "rule__UnaryExpression__ExprAssignment_2"); - builder.put(grammarAccess.getPreopExpressionAccess().getFunctionNameAssignment_1(), "rule__PreopExpression__FunctionNameAssignment_1"); - builder.put(grammarAccess.getPreopExpressionAccess().getExprAssignment_2(), "rule__PreopExpression__ExprAssignment_2"); - builder.put(grammarAccess.getPostopExpressionAccess().getFunctionNameAssignment_1_1(), "rule__PostopExpression__FunctionNameAssignment_1_1"); - builder.put(grammarAccess.getInfixExpressionAccess().getNameAssignment_1_0_2(), "rule__InfixExpression__NameAssignment_1_0_2"); - builder.put(grammarAccess.getInfixExpressionAccess().getParameterListAssignment_1_0_4(), "rule__InfixExpression__ParameterListAssignment_1_0_4"); - builder.put(grammarAccess.getInfixExpressionAccess().getIndexExprAssignment_1_1_2(), "rule__InfixExpression__IndexExprAssignment_1_1_2"); - builder.put(grammarAccess.getInfixExpressionAccess().getFeatureNameAssignment_1_2_2(), "rule__InfixExpression__FeatureNameAssignment_1_2_2"); - builder.put(grammarAccess.getCallExpressionAccess().getParameterListAssignment_1_2(), "rule__CallExpression__ParameterListAssignment_1_2"); - builder.put(grammarAccess.getWithExpressionAccess().getReferencedAdviceAssignment_1_0(), "rule__WithExpression__ReferencedAdviceAssignment_1_0"); - builder.put(grammarAccess.getWithExpressionAccess().getReferencedAdviceAssignment_1_1_1(), "rule__WithExpression__ReferencedAdviceAssignment_1_1_1"); - builder.put(grammarAccess.getWithExpressionAccess().getFuncExprAssignment_2_0_1(), "rule__WithExpression__FuncExprAssignment_2_0_1"); - builder.put(grammarAccess.getWithExpressionAccess().getFuncExprAssignment_2_1_1(), "rule__WithExpression__FuncExprAssignment_2_1_1"); - builder.put(grammarAccess.getWithContextExpressionAccess().getExprAssignment_2(), "rule__WithContextExpression__ExprAssignment_2"); - builder.put(grammarAccess.getWithContextExpressionAccess().getAliasAssignment_3_1(), "rule__WithContextExpression__AliasAssignment_3_1"); - builder.put(grammarAccess.getWithContextExpressionAccess().getContextBlockAssignment_4(), "rule__WithContextExpression__ContextBlockAssignment_4"); - builder.put(grammarAccess.getBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__BlockExpression__ExpressionsAssignment_2_0"); - builder.put(grammarAccess.getValueAccess().getNameAssignment_1(), "rule__Value__NameAssignment_1"); - builder.put(grammarAccess.getKeywordVariablesAccess().getNameAssignment_1(), "rule__KeywordVariables__NameAssignment_1"); - builder.put(grammarAccess.getOperationCallAccess().getNameAssignment_1(), "rule__OperationCall__NameAssignment_1"); - builder.put(grammarAccess.getOperationCallAccess().getParameterListAssignment_3(), "rule__OperationCall__ParameterListAssignment_3"); - builder.put(grammarAccess.getConstructorCallExpressionAccess().getTypeExprAssignment_2(), "rule__ConstructorCallExpression__TypeExprAssignment_2"); - builder.put(grammarAccess.getConstructorCallExpressionAccess().getParameterListAssignment_3_1(), "rule__ConstructorCallExpression__ParameterListAssignment_3_1"); - builder.put(grammarAccess.getConstructorCallExpressionAccess().getAliasAssignment_4_1(), "rule__ConstructorCallExpression__AliasAssignment_4_1"); - builder.put(grammarAccess.getConstructorCallExpressionAccess().getContextBlockAssignment_5(), "rule__ConstructorCallExpression__ContextBlockAssignment_5"); - builder.put(grammarAccess.getInitializationBlockExpressionAccess().getExpressionsAssignment_2(), "rule__InitializationBlockExpression__ExpressionsAssignment_2"); - builder.put(grammarAccess.getInitializationExpressionAccess().getLeftExprAssignment_1(), "rule__InitializationExpression__LeftExprAssignment_1"); - builder.put(grammarAccess.getInitializationExpressionAccess().getFunctionNameAssignment_2(), "rule__InitializationExpression__FunctionNameAssignment_2"); - builder.put(grammarAccess.getInitializationExpressionAccess().getRightExprAssignment_3(), "rule__InitializationExpression__RightExprAssignment_3"); - builder.put(grammarAccess.getFeatureOfThisAccess().getFeatureNameAssignment_1(), "rule__FeatureOfThis__FeatureNameAssignment_1"); - builder.put(grammarAccess.getClosureExpressionAccess().getReturnTypeAssignment_1_1(), "rule__ClosureExpression__ReturnTypeAssignment_1_1"); - builder.put(grammarAccess.getClosureExpressionAccess().getParametersAssignment_2_0_1_0(), "rule__ClosureExpression__ParametersAssignment_2_0_1_0"); - builder.put(grammarAccess.getClosureExpressionAccess().getParametersAssignment_2_0_1_1_1(), "rule__ClosureExpression__ParametersAssignment_2_0_1_1_1"); - builder.put(grammarAccess.getClosureExpressionAccess().getVarArgsAssignment_2_0_1_2_1(), "rule__ClosureExpression__VarArgsAssignment_2_0_1_2_1"); - builder.put(grammarAccess.getClosureExpressionAccess().getParametersAssignment_2_0_1_2_2(), "rule__ClosureExpression__ParametersAssignment_2_0_1_2_2"); - builder.put(grammarAccess.getClosureExpressionAccess().getVarArgsAssignment_2_1_0(), "rule__ClosureExpression__VarArgsAssignment_2_1_0"); - builder.put(grammarAccess.getClosureExpressionAccess().getParametersAssignment_2_1_1(), "rule__ClosureExpression__ParametersAssignment_2_1_1"); - builder.put(grammarAccess.getClosureExpressionAccess().getFuncExprAssignment_4(), "rule__ClosureExpression__FuncExprAssignment_4"); - builder.put(grammarAccess.getBlockExpressionWithoutBracketsAccess().getExpressionsAssignment_1_0(), "rule__BlockExpressionWithoutBrackets__ExpressionsAssignment_1_0"); - builder.put(grammarAccess.getValueLiteralAccess().getValueAssignment(), "rule__ValueLiteral__ValueAssignment"); - builder.put(grammarAccess.getUnitAccess().getUnorderedGroup_7(), "rule__Unit__UnorderedGroup_7"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getUnorderedGroup_2_1(), "rule__ProvidedCapability__UnorderedGroup_2_1"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getUnorderedGroup_3_1(), "rule__AliasedRequiredCapability__UnorderedGroup_3_1"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getUnorderedGroup_3_1(), "rule__RequiredCapability__UnorderedGroup_3_1"); + private static void init(Map mappings, ExBeeLangTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getModelAccess().getAlternatives(), "rule__Model__Alternatives"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getAlternatives_1(), "rule__ProvidedCapability__Alternatives_1"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getAlternatives_0(), "rule__AliasedRequiredCapability__Alternatives_0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getAlternatives_1(), "rule__RequiredCapability__Alternatives_1"); + mappings.put(grammarAccess.getPathAccess().getAlternatives(), "rule__Path__Alternatives"); + mappings.put(grammarAccess.getFirstParameterAccess().getAlternatives(), "rule__FirstParameter__Alternatives"); + mappings.put(grammarAccess.getFunctionAccess().getAlternatives_6_1(), "rule__Function__Alternatives_6_1"); + mappings.put(grammarAccess.getFunctionAccess().getAlternatives_8(), "rule__Function__Alternatives_8"); + mappings.put(grammarAccess.getGuardExpressionAccess().getAlternatives(), "rule__GuardExpression__Alternatives"); + mappings.put(grammarAccess.getAssignmentOperatorAccess().getAlternatives(), "rule__AssignmentOperator__Alternatives"); + mappings.put(grammarAccess.getRelationalOperatorAccess().getAlternatives(), "rule__RelationalOperator__Alternatives"); + mappings.put(grammarAccess.getTopLevelExpressionAccess().getAlternatives(), "rule__TopLevelExpression__Alternatives"); + mappings.put(grammarAccess.getVarDeclarationAccess().getAlternatives_2_0(), "rule__VarDeclaration__Alternatives_2_0"); + mappings.put(grammarAccess.getTypeRefAccess().getAlternatives(), "rule__TypeRef__Alternatives"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getAlternatives_1(), "rule__ClosureTypeRef__Alternatives_1"); + mappings.put(grammarAccess.getCachedExpressionAccess().getAlternatives(), "rule__CachedExpression__Alternatives"); + mappings.put(grammarAccess.getAdditiveExpressionAccess().getFunctionNameAlternatives_1_1_0(), "rule__AdditiveExpression__FunctionNameAlternatives_1_1_0"); + mappings.put(grammarAccess.getMultiplicativeExpressionAccess().getFunctionNameAlternatives_1_1_0(), "rule__MultiplicativeExpression__FunctionNameAlternatives_1_1_0"); + mappings.put(grammarAccess.getUnaryOrInfixExpressionAccess().getAlternatives(), "rule__UnaryOrInfixExpression__Alternatives"); + mappings.put(grammarAccess.getUnaryExpressionAccess().getFunctionNameAlternatives_1_0(), "rule__UnaryExpression__FunctionNameAlternatives_1_0"); + mappings.put(grammarAccess.getPreopExpressionAccess().getFunctionNameAlternatives_1_0(), "rule__PreopExpression__FunctionNameAlternatives_1_0"); + mappings.put(grammarAccess.getPostopExpressionAccess().getFunctionNameAlternatives_1_1_0(), "rule__PostopExpression__FunctionNameAlternatives_1_1_0"); + mappings.put(grammarAccess.getInfixExpressionAccess().getAlternatives_1(), "rule__InfixExpression__Alternatives_1"); + mappings.put(grammarAccess.getPrimaryExpressionAccess().getAlternatives(), "rule__PrimaryExpression__Alternatives"); + mappings.put(grammarAccess.getWithExpressionAccess().getAlternatives_2(), "rule__WithExpression__Alternatives_2"); + mappings.put(grammarAccess.getKeywordVariablesAccess().getNameAlternatives_1_0(), "rule__KeywordVariables__NameAlternatives_1_0"); + mappings.put(grammarAccess.getLiteralAccess().getAlternatives(), "rule__Literal__Alternatives"); + mappings.put(grammarAccess.getClosureExpressionAccess().getAlternatives_2(), "rule__ClosureExpression__Alternatives_2"); + mappings.put(grammarAccess.getOneOrManyExpressionsAccess().getAlternatives(), "rule__OneOrManyExpressions__Alternatives"); + mappings.put(grammarAccess.getQIDAccess().getAlternatives_1(), "rule__QID__Alternatives_1"); + mappings.put(grammarAccess.getQIDAccess().getAlternatives_2_2(), "rule__QID__Alternatives_2_2"); + mappings.put(grammarAccess.getUnitAccess().getGroup(), "rule__Unit__Group__0"); + mappings.put(grammarAccess.getUnitAccess().getGroup_4(), "rule__Unit__Group_4__0"); + mappings.put(grammarAccess.getUnitAccess().getGroup_5(), "rule__Unit__Group_5__0"); + mappings.put(grammarAccess.getUnitAccess().getGroup_5_2(), "rule__Unit__Group_5_2__0"); + mappings.put(grammarAccess.getUnitAccess().getGroup_7_0(), "rule__Unit__Group_7_0__0"); + mappings.put(grammarAccess.getUnitAccess().getGroup_7_1(), "rule__Unit__Group_7_1__0"); + mappings.put(grammarAccess.getUnitAccess().getGroup_7_2(), "rule__Unit__Group_7_2__0"); + mappings.put(grammarAccess.getUnitAccess().getGroup_7_3(), "rule__Unit__Group_7_3__0"); + mappings.put(grammarAccess.getUnitAccess().getGroup_7_4(), "rule__Unit__Group_7_4__0"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getGroup(), "rule__ProvidedCapability__Group__0"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getGroup_2(), "rule__ProvidedCapability__Group_2__0"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getGroup_2_1_0(), "rule__ProvidedCapability__Group_2_1_0__0"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getGroup_2_1_1(), "rule__ProvidedCapability__Group_2_1_1__0"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getGroup_2_1_2(), "rule__ProvidedCapability__Group_2_1_2__0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup(), "rule__AliasedRequiredCapability__Group__0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_2(), "rule__AliasedRequiredCapability__Group_2__0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3(), "rule__AliasedRequiredCapability__Group_3__0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_0(), "rule__AliasedRequiredCapability__Group_3_1_0__0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_1(), "rule__AliasedRequiredCapability__Group_3_1_1__0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_2(), "rule__AliasedRequiredCapability__Group_3_1_2__0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_3(), "rule__AliasedRequiredCapability__Group_3_1_3__0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_4(), "rule__AliasedRequiredCapability__Group_3_1_4__0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getGroup(), "rule__RequiredCapability__Group__0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3(), "rule__RequiredCapability__Group_3__0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_0(), "rule__RequiredCapability__Group_3_1_0__0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_1(), "rule__RequiredCapability__Group_3_1_1__0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_2(), "rule__RequiredCapability__Group_3_1_2__0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_3(), "rule__RequiredCapability__Group_3_1_3__0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_4(), "rule__RequiredCapability__Group_3_1_4__0"); + mappings.put(grammarAccess.getPathAccess().getGroup_1(), "rule__Path__Group_1__0"); + mappings.put(grammarAccess.getPathAccess().getGroup_1_2(), "rule__Path__Group_1_2__0"); + mappings.put(grammarAccess.getParameterListAccess().getGroup(), "rule__ParameterList__Group__0"); + mappings.put(grammarAccess.getParameterListAccess().getGroup_1(), "rule__ParameterList__Group_1__0"); + mappings.put(grammarAccess.getParameterDeclarationAccess().getGroup(), "rule__ParameterDeclaration__Group__0"); + mappings.put(grammarAccess.getFunctionAccess().getGroup(), "rule__Function__Group__0"); + mappings.put(grammarAccess.getFunctionAccess().getGroup_6(), "rule__Function__Group_6__0"); + mappings.put(grammarAccess.getFunctionAccess().getGroup_6_1_0(), "rule__Function__Group_6_1_0__0"); + mappings.put(grammarAccess.getFunctionAccess().getGroup_6_1_0_1(), "rule__Function__Group_6_1_0_1__0"); + mappings.put(grammarAccess.getFunctionAccess().getGroup_6_1_0_2(), "rule__Function__Group_6_1_0_2__0"); + mappings.put(grammarAccess.getFunctionAccess().getGroup_6_1_1(), "rule__Function__Group_6_1_1__0"); + mappings.put(grammarAccess.getFunctionAccess().getGroup_7(), "rule__Function__Group_7__0"); + mappings.put(grammarAccess.getFunctionAccess().getGroup_8_0(), "rule__Function__Group_8_0__0"); + mappings.put(grammarAccess.getGuardExpressionAccess().getGroup_0(), "rule__GuardExpression__Group_0__0"); + mappings.put(grammarAccess.getAssignmentExpressionAccess().getGroup(), "rule__AssignmentExpression__Group__0"); + mappings.put(grammarAccess.getAssignmentExpressionAccess().getGroup_1(), "rule__AssignmentExpression__Group_1__0"); + mappings.put(grammarAccess.getVarDeclarationAccess().getGroup(), "rule__VarDeclaration__Group__0"); + mappings.put(grammarAccess.getVarDeclarationAccess().getGroup_2(), "rule__VarDeclaration__Group_2__0"); + mappings.put(grammarAccess.getVarDeclarationAccess().getGroup_3(), "rule__VarDeclaration__Group_3__0"); + mappings.put(grammarAccess.getValDeclarationAccess().getGroup(), "rule__ValDeclaration__Group__0"); + mappings.put(grammarAccess.getSimpleTypeRefAccess().getGroup(), "rule__SimpleTypeRef__Group__0"); + mappings.put(grammarAccess.getSimpleTypeRefAccess().getGroup_1(), "rule__SimpleTypeRef__Group_1__0"); + mappings.put(grammarAccess.getSimpleTypeRefAccess().getGroup_1_2(), "rule__SimpleTypeRef__Group_1_2__0"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getGroup(), "rule__ClosureTypeRef__Group__0"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getGroup_1_0(), "rule__ClosureTypeRef__Group_1_0__0"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getGroup_1_0_1(), "rule__ClosureTypeRef__Group_1_0_1__0"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getGroup_1_0_2(), "rule__ClosureTypeRef__Group_1_0_2__0"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getGroup_1_1(), "rule__ClosureTypeRef__Group_1_1__0"); + mappings.put(grammarAccess.getCachedExpressionAccess().getGroup_0(), "rule__CachedExpression__Group_0__0"); + mappings.put(grammarAccess.getOrExpressionAccess().getGroup(), "rule__OrExpression__Group__0"); + mappings.put(grammarAccess.getOrExpressionAccess().getGroup_1(), "rule__OrExpression__Group_1__0"); + mappings.put(grammarAccess.getAndExpressionAccess().getGroup(), "rule__AndExpression__Group__0"); + mappings.put(grammarAccess.getAndExpressionAccess().getGroup_1(), "rule__AndExpression__Group_1__0"); + mappings.put(grammarAccess.getRelationalExpressionAccess().getGroup(), "rule__RelationalExpression__Group__0"); + mappings.put(grammarAccess.getRelationalExpressionAccess().getGroup_1(), "rule__RelationalExpression__Group_1__0"); + mappings.put(grammarAccess.getAdditiveExpressionAccess().getGroup(), "rule__AdditiveExpression__Group__0"); + mappings.put(grammarAccess.getAdditiveExpressionAccess().getGroup_1(), "rule__AdditiveExpression__Group_1__0"); + mappings.put(grammarAccess.getMultiplicativeExpressionAccess().getGroup(), "rule__MultiplicativeExpression__Group__0"); + mappings.put(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1(), "rule__MultiplicativeExpression__Group_1__0"); + mappings.put(grammarAccess.getSetExpressionAccess().getGroup(), "rule__SetExpression__Group__0"); + mappings.put(grammarAccess.getSetExpressionAccess().getGroup_1(), "rule__SetExpression__Group_1__0"); + mappings.put(grammarAccess.getUnaryExpressionAccess().getGroup(), "rule__UnaryExpression__Group__0"); + mappings.put(grammarAccess.getPreopExpressionAccess().getGroup(), "rule__PreopExpression__Group__0"); + mappings.put(grammarAccess.getPostopExpressionAccess().getGroup(), "rule__PostopExpression__Group__0"); + mappings.put(grammarAccess.getPostopExpressionAccess().getGroup_1(), "rule__PostopExpression__Group_1__0"); + mappings.put(grammarAccess.getInfixExpressionAccess().getGroup(), "rule__InfixExpression__Group__0"); + mappings.put(grammarAccess.getInfixExpressionAccess().getGroup_1_0(), "rule__InfixExpression__Group_1_0__0"); + mappings.put(grammarAccess.getInfixExpressionAccess().getGroup_1_1(), "rule__InfixExpression__Group_1_1__0"); + mappings.put(grammarAccess.getInfixExpressionAccess().getGroup_1_2(), "rule__InfixExpression__Group_1_2__0"); + mappings.put(grammarAccess.getCallExpressionAccess().getGroup(), "rule__CallExpression__Group__0"); + mappings.put(grammarAccess.getCallExpressionAccess().getGroup_1(), "rule__CallExpression__Group_1__0"); + mappings.put(grammarAccess.getWithExpressionAccess().getGroup(), "rule__WithExpression__Group__0"); + mappings.put(grammarAccess.getWithExpressionAccess().getGroup_1(), "rule__WithExpression__Group_1__0"); + mappings.put(grammarAccess.getWithExpressionAccess().getGroup_1_1(), "rule__WithExpression__Group_1_1__0"); + mappings.put(grammarAccess.getWithExpressionAccess().getGroup_2_0(), "rule__WithExpression__Group_2_0__0"); + mappings.put(grammarAccess.getWithExpressionAccess().getGroup_2_1(), "rule__WithExpression__Group_2_1__0"); + mappings.put(grammarAccess.getWithContextExpressionAccess().getGroup(), "rule__WithContextExpression__Group__0"); + mappings.put(grammarAccess.getWithContextExpressionAccess().getGroup_3(), "rule__WithContextExpression__Group_3__0"); + mappings.put(grammarAccess.getBlockExpressionAccess().getGroup(), "rule__BlockExpression__Group__0"); + mappings.put(grammarAccess.getBlockExpressionAccess().getGroup_2(), "rule__BlockExpression__Group_2__0"); + mappings.put(grammarAccess.getValueAccess().getGroup(), "rule__Value__Group__0"); + mappings.put(grammarAccess.getKeywordVariablesAccess().getGroup(), "rule__KeywordVariables__Group__0"); + mappings.put(grammarAccess.getOperationCallAccess().getGroup(), "rule__OperationCall__Group__0"); + mappings.put(grammarAccess.getConstructorCallExpressionAccess().getGroup(), "rule__ConstructorCallExpression__Group__0"); + mappings.put(grammarAccess.getConstructorCallExpressionAccess().getGroup_3(), "rule__ConstructorCallExpression__Group_3__0"); + mappings.put(grammarAccess.getConstructorCallExpressionAccess().getGroup_4(), "rule__ConstructorCallExpression__Group_4__0"); + mappings.put(grammarAccess.getInitializationBlockExpressionAccess().getGroup(), "rule__InitializationBlockExpression__Group__0"); + mappings.put(grammarAccess.getInitializationExpressionAccess().getGroup(), "rule__InitializationExpression__Group__0"); + mappings.put(grammarAccess.getFeatureOfThisAccess().getGroup(), "rule__FeatureOfThis__Group__0"); + mappings.put(grammarAccess.getLiteralFunctionAccess().getGroup(), "rule__LiteralFunction__Group__0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getGroup(), "rule__ClosureExpression__Group__0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getGroup_1(), "rule__ClosureExpression__Group_1__0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getGroup_2_0(), "rule__ClosureExpression__Group_2_0__0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getGroup_2_0_1(), "rule__ClosureExpression__Group_2_0_1__0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getGroup_2_0_1_1(), "rule__ClosureExpression__Group_2_0_1_1__0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getGroup_2_0_1_2(), "rule__ClosureExpression__Group_2_0_1_2__0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getGroup_2_1(), "rule__ClosureExpression__Group_2_1__0"); + mappings.put(grammarAccess.getBlockExpressionWithoutBracketsAccess().getGroup(), "rule__BlockExpressionWithoutBrackets__Group__0"); + mappings.put(grammarAccess.getBlockExpressionWithoutBracketsAccess().getGroup_1(), "rule__BlockExpressionWithoutBrackets__Group_1__0"); + mappings.put(grammarAccess.getParanthesizedExpressionAccess().getGroup(), "rule__ParanthesizedExpression__Group__0"); + mappings.put(grammarAccess.getQIDAccess().getGroup(), "rule__QID__Group__0"); + mappings.put(grammarAccess.getQIDAccess().getGroup_2(), "rule__QID__Group_2__0"); + mappings.put(grammarAccess.getModelAccess().getUnitsAssignment_0(), "rule__Model__UnitsAssignment_0"); + mappings.put(grammarAccess.getModelAccess().getFunctionsAssignment_1(), "rule__Model__FunctionsAssignment_1"); + mappings.put(grammarAccess.getUnitAccess().getDocumentationAssignment_1(), "rule__Unit__DocumentationAssignment_1"); + mappings.put(grammarAccess.getUnitAccess().getNameAssignment_3(), "rule__Unit__NameAssignment_3"); + mappings.put(grammarAccess.getUnitAccess().getVersionAssignment_4_1(), "rule__Unit__VersionAssignment_4_1"); + mappings.put(grammarAccess.getUnitAccess().getImplementsAssignment_5_1(), "rule__Unit__ImplementsAssignment_5_1"); + mappings.put(grammarAccess.getUnitAccess().getImplementsAssignment_5_2_1(), "rule__Unit__ImplementsAssignment_5_2_1"); + mappings.put(grammarAccess.getUnitAccess().getSourceLocationAssignment_7_0_2(), "rule__Unit__SourceLocationAssignment_7_0_2"); + mappings.put(grammarAccess.getUnitAccess().getOutputLocationAssignment_7_1_2(), "rule__Unit__OutputLocationAssignment_7_1_2"); + mappings.put(grammarAccess.getUnitAccess().getProvidedCapabilitiesAssignment_7_2_2(), "rule__Unit__ProvidedCapabilitiesAssignment_7_2_2"); + mappings.put(grammarAccess.getUnitAccess().getRequiredCapabilitiesAssignment_7_3_2(), "rule__Unit__RequiredCapabilitiesAssignment_7_3_2"); + mappings.put(grammarAccess.getUnitAccess().getMetaRequiredCapabilitiesAssignment_7_4_3(), "rule__Unit__MetaRequiredCapabilitiesAssignment_7_4_3"); + mappings.put(grammarAccess.getUnitAccess().getFunctionsAssignment_7_5(), "rule__Unit__FunctionsAssignment_7_5"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getNameSpaceAssignment_1_0(), "rule__ProvidedCapability__NameSpaceAssignment_1_0"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getCondExprAssignment_2_1_0_2(), "rule__ProvidedCapability__CondExprAssignment_2_1_0_2"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getNameAssignment_2_1_1_2(), "rule__ProvidedCapability__NameAssignment_2_1_1_2"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getVersionAssignment_2_1_2_2(), "rule__ProvidedCapability__VersionAssignment_2_1_2_2"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getNameSpaceAssignment_0_0(), "rule__AliasedRequiredCapability__NameSpaceAssignment_0_0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getNameAssignment_1(), "rule__AliasedRequiredCapability__NameAssignment_1"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getAliasAssignment_2_1(), "rule__AliasedRequiredCapability__AliasAssignment_2_1"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getCondExprAssignment_3_1_0_2(), "rule__AliasedRequiredCapability__CondExprAssignment_3_1_0_2"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGreedyAssignment_3_1_1_0(), "rule__AliasedRequiredCapability__GreedyAssignment_3_1_1_0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getMinAssignment_3_1_2_2(), "rule__AliasedRequiredCapability__MinAssignment_3_1_2_2"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getMaxAssignment_3_1_3_2(), "rule__AliasedRequiredCapability__MaxAssignment_3_1_3_2"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getVersionRangeAssignment_3_1_4_2(), "rule__AliasedRequiredCapability__VersionRangeAssignment_3_1_4_2"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getNameSpaceAssignment_1_0(), "rule__RequiredCapability__NameSpaceAssignment_1_0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getNameAssignment_2(), "rule__RequiredCapability__NameAssignment_2"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getCondExprAssignment_3_1_0_2(), "rule__RequiredCapability__CondExprAssignment_3_1_0_2"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getGreedyAssignment_3_1_1_0(), "rule__RequiredCapability__GreedyAssignment_3_1_1_0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getMinAssignment_3_1_2_2(), "rule__RequiredCapability__MinAssignment_3_1_2_2"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getMaxAssignment_3_1_3_2(), "rule__RequiredCapability__MaxAssignment_3_1_3_2"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getVersionRangeAssignment_3_1_4_2(), "rule__RequiredCapability__VersionRangeAssignment_3_1_4_2"); + mappings.put(grammarAccess.getParameterListAccess().getParametersAssignment_0(), "rule__ParameterList__ParametersAssignment_0"); + mappings.put(grammarAccess.getParameterListAccess().getParametersAssignment_1_1(), "rule__ParameterList__ParametersAssignment_1_1"); + mappings.put(grammarAccess.getParameterAccess().getExprAssignment(), "rule__Parameter__ExprAssignment"); + mappings.put(grammarAccess.getClosureParameterAccess().getExprAssignment(), "rule__ClosureParameter__ExprAssignment"); + mappings.put(grammarAccess.getParameterDeclarationAccess().getTypeAssignment_0(), "rule__ParameterDeclaration__TypeAssignment_0"); + mappings.put(grammarAccess.getParameterDeclarationAccess().getNameAssignment_1(), "rule__ParameterDeclaration__NameAssignment_1"); + mappings.put(grammarAccess.getFunctionAccess().getDocumentationAssignment_0(), "rule__Function__DocumentationAssignment_0"); + mappings.put(grammarAccess.getFunctionAccess().getVisibilityAssignment_1(), "rule__Function__VisibilityAssignment_1"); + mappings.put(grammarAccess.getFunctionAccess().getFinalAssignment_2(), "rule__Function__FinalAssignment_2"); + mappings.put(grammarAccess.getFunctionAccess().getReturnTypeAssignment_4(), "rule__Function__ReturnTypeAssignment_4"); + mappings.put(grammarAccess.getFunctionAccess().getNameAssignment_5(), "rule__Function__NameAssignment_5"); + mappings.put(grammarAccess.getFunctionAccess().getParametersAssignment_6_1_0_0(), "rule__Function__ParametersAssignment_6_1_0_0"); + mappings.put(grammarAccess.getFunctionAccess().getParametersAssignment_6_1_0_1_1(), "rule__Function__ParametersAssignment_6_1_0_1_1"); + mappings.put(grammarAccess.getFunctionAccess().getVarArgsAssignment_6_1_0_2_1(), "rule__Function__VarArgsAssignment_6_1_0_2_1"); + mappings.put(grammarAccess.getFunctionAccess().getParametersAssignment_6_1_0_2_2(), "rule__Function__ParametersAssignment_6_1_0_2_2"); + mappings.put(grammarAccess.getFunctionAccess().getVarArgsAssignment_6_1_1_0(), "rule__Function__VarArgsAssignment_6_1_1_0"); + mappings.put(grammarAccess.getFunctionAccess().getParametersAssignment_6_1_1_1(), "rule__Function__ParametersAssignment_6_1_1_1"); + mappings.put(grammarAccess.getFunctionAccess().getGuardAssignment_7_1(), "rule__Function__GuardAssignment_7_1"); + mappings.put(grammarAccess.getFunctionAccess().getFuncExprAssignment_8_0_1(), "rule__Function__FuncExprAssignment_8_0_1"); + mappings.put(grammarAccess.getFunctionAccess().getFuncExprAssignment_8_1(), "rule__Function__FuncExprAssignment_8_1"); + mappings.put(grammarAccess.getGuardExpressionAccess().getGuardExprAssignment_0_1(), "rule__GuardExpression__GuardExprAssignment_0_1"); + mappings.put(grammarAccess.getGuardExpressionAccess().getGuardExprAssignment_1(), "rule__GuardExpression__GuardExprAssignment_1"); + mappings.put(grammarAccess.getAssignmentExpressionAccess().getFunctionNameAssignment_1_1(), "rule__AssignmentExpression__FunctionNameAssignment_1_1"); + mappings.put(grammarAccess.getAssignmentExpressionAccess().getRightExprAssignment_1_2(), "rule__AssignmentExpression__RightExprAssignment_1_2"); + mappings.put(grammarAccess.getVarDeclarationAccess().getFinalAssignment_1(), "rule__VarDeclaration__FinalAssignment_1"); + mappings.put(grammarAccess.getVarDeclarationAccess().getTypeAssignment_2_0_1(), "rule__VarDeclaration__TypeAssignment_2_0_1"); + mappings.put(grammarAccess.getVarDeclarationAccess().getNameAssignment_2_1(), "rule__VarDeclaration__NameAssignment_2_1"); + mappings.put(grammarAccess.getVarDeclarationAccess().getValueExprAssignment_3_1(), "rule__VarDeclaration__ValueExprAssignment_3_1"); + mappings.put(grammarAccess.getValDeclarationAccess().getFinalAssignment_1(), "rule__ValDeclaration__FinalAssignment_1"); + mappings.put(grammarAccess.getValDeclarationAccess().getImmutableAssignment_2(), "rule__ValDeclaration__ImmutableAssignment_2"); + mappings.put(grammarAccess.getValDeclarationAccess().getTypeAssignment_3(), "rule__ValDeclaration__TypeAssignment_3"); + mappings.put(grammarAccess.getValDeclarationAccess().getNameAssignment_4(), "rule__ValDeclaration__NameAssignment_4"); + mappings.put(grammarAccess.getValDeclarationAccess().getValueExprAssignment_6(), "rule__ValDeclaration__ValueExprAssignment_6"); + mappings.put(grammarAccess.getSimpleTypeRefAccess().getRawTypeAssignment_0(), "rule__SimpleTypeRef__RawTypeAssignment_0"); + mappings.put(grammarAccess.getSimpleTypeRefAccess().getActualArgumentsListAssignment_1_1(), "rule__SimpleTypeRef__ActualArgumentsListAssignment_1_1"); + mappings.put(grammarAccess.getSimpleTypeRefAccess().getActualArgumentsListAssignment_1_2_1(), "rule__SimpleTypeRef__ActualArgumentsListAssignment_1_2_1"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getParameterTypesAssignment_1_0_0(), "rule__ClosureTypeRef__ParameterTypesAssignment_1_0_0"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getParameterTypesAssignment_1_0_1_1(), "rule__ClosureTypeRef__ParameterTypesAssignment_1_0_1_1"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getVarArgsAssignment_1_0_2_1(), "rule__ClosureTypeRef__VarArgsAssignment_1_0_2_1"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getParameterTypesAssignment_1_0_2_2(), "rule__ClosureTypeRef__ParameterTypesAssignment_1_0_2_2"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getVarArgsAssignment_1_1_0(), "rule__ClosureTypeRef__VarArgsAssignment_1_1_0"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getParameterTypesAssignment_1_1_1(), "rule__ClosureTypeRef__ParameterTypesAssignment_1_1_1"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getReturnTypeAssignment_4(), "rule__ClosureTypeRef__ReturnTypeAssignment_4"); + mappings.put(grammarAccess.getCachedExpressionAccess().getExprAssignment_0_2(), "rule__CachedExpression__ExprAssignment_0_2"); + mappings.put(grammarAccess.getOrExpressionAccess().getRightExprAssignment_1_2(), "rule__OrExpression__RightExprAssignment_1_2"); + mappings.put(grammarAccess.getAndExpressionAccess().getRightExprAssignment_1_2(), "rule__AndExpression__RightExprAssignment_1_2"); + mappings.put(grammarAccess.getRelationalExpressionAccess().getFunctionNameAssignment_1_1(), "rule__RelationalExpression__FunctionNameAssignment_1_1"); + mappings.put(grammarAccess.getRelationalExpressionAccess().getRightExprAssignment_1_2(), "rule__RelationalExpression__RightExprAssignment_1_2"); + mappings.put(grammarAccess.getAdditiveExpressionAccess().getFunctionNameAssignment_1_1(), "rule__AdditiveExpression__FunctionNameAssignment_1_1"); + mappings.put(grammarAccess.getAdditiveExpressionAccess().getRightExprAssignment_1_2(), "rule__AdditiveExpression__RightExprAssignment_1_2"); + mappings.put(grammarAccess.getMultiplicativeExpressionAccess().getFunctionNameAssignment_1_1(), "rule__MultiplicativeExpression__FunctionNameAssignment_1_1"); + mappings.put(grammarAccess.getMultiplicativeExpressionAccess().getRightExprAssignment_1_2(), "rule__MultiplicativeExpression__RightExprAssignment_1_2"); + mappings.put(grammarAccess.getSetExpressionAccess().getFunctionNameAssignment_1_1(), "rule__SetExpression__FunctionNameAssignment_1_1"); + mappings.put(grammarAccess.getSetExpressionAccess().getRightExprAssignment_1_2(), "rule__SetExpression__RightExprAssignment_1_2"); + mappings.put(grammarAccess.getUnaryExpressionAccess().getFunctionNameAssignment_1(), "rule__UnaryExpression__FunctionNameAssignment_1"); + mappings.put(grammarAccess.getUnaryExpressionAccess().getExprAssignment_2(), "rule__UnaryExpression__ExprAssignment_2"); + mappings.put(grammarAccess.getPreopExpressionAccess().getFunctionNameAssignment_1(), "rule__PreopExpression__FunctionNameAssignment_1"); + mappings.put(grammarAccess.getPreopExpressionAccess().getExprAssignment_2(), "rule__PreopExpression__ExprAssignment_2"); + mappings.put(grammarAccess.getPostopExpressionAccess().getFunctionNameAssignment_1_1(), "rule__PostopExpression__FunctionNameAssignment_1_1"); + mappings.put(grammarAccess.getInfixExpressionAccess().getNameAssignment_1_0_2(), "rule__InfixExpression__NameAssignment_1_0_2"); + mappings.put(grammarAccess.getInfixExpressionAccess().getParameterListAssignment_1_0_4(), "rule__InfixExpression__ParameterListAssignment_1_0_4"); + mappings.put(grammarAccess.getInfixExpressionAccess().getIndexExprAssignment_1_1_2(), "rule__InfixExpression__IndexExprAssignment_1_1_2"); + mappings.put(grammarAccess.getInfixExpressionAccess().getFeatureNameAssignment_1_2_2(), "rule__InfixExpression__FeatureNameAssignment_1_2_2"); + mappings.put(grammarAccess.getCallExpressionAccess().getParameterListAssignment_1_2(), "rule__CallExpression__ParameterListAssignment_1_2"); + mappings.put(grammarAccess.getWithExpressionAccess().getReferencedAdviceAssignment_1_0(), "rule__WithExpression__ReferencedAdviceAssignment_1_0"); + mappings.put(grammarAccess.getWithExpressionAccess().getReferencedAdviceAssignment_1_1_1(), "rule__WithExpression__ReferencedAdviceAssignment_1_1_1"); + mappings.put(grammarAccess.getWithExpressionAccess().getFuncExprAssignment_2_0_1(), "rule__WithExpression__FuncExprAssignment_2_0_1"); + mappings.put(grammarAccess.getWithExpressionAccess().getFuncExprAssignment_2_1_1(), "rule__WithExpression__FuncExprAssignment_2_1_1"); + mappings.put(grammarAccess.getWithContextExpressionAccess().getExprAssignment_2(), "rule__WithContextExpression__ExprAssignment_2"); + mappings.put(grammarAccess.getWithContextExpressionAccess().getAliasAssignment_3_1(), "rule__WithContextExpression__AliasAssignment_3_1"); + mappings.put(grammarAccess.getWithContextExpressionAccess().getContextBlockAssignment_4(), "rule__WithContextExpression__ContextBlockAssignment_4"); + mappings.put(grammarAccess.getBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__BlockExpression__ExpressionsAssignment_2_0"); + mappings.put(grammarAccess.getValueAccess().getNameAssignment_1(), "rule__Value__NameAssignment_1"); + mappings.put(grammarAccess.getKeywordVariablesAccess().getNameAssignment_1(), "rule__KeywordVariables__NameAssignment_1"); + mappings.put(grammarAccess.getOperationCallAccess().getNameAssignment_1(), "rule__OperationCall__NameAssignment_1"); + mappings.put(grammarAccess.getOperationCallAccess().getParameterListAssignment_3(), "rule__OperationCall__ParameterListAssignment_3"); + mappings.put(grammarAccess.getConstructorCallExpressionAccess().getTypeExprAssignment_2(), "rule__ConstructorCallExpression__TypeExprAssignment_2"); + mappings.put(grammarAccess.getConstructorCallExpressionAccess().getParameterListAssignment_3_1(), "rule__ConstructorCallExpression__ParameterListAssignment_3_1"); + mappings.put(grammarAccess.getConstructorCallExpressionAccess().getAliasAssignment_4_1(), "rule__ConstructorCallExpression__AliasAssignment_4_1"); + mappings.put(grammarAccess.getConstructorCallExpressionAccess().getContextBlockAssignment_5(), "rule__ConstructorCallExpression__ContextBlockAssignment_5"); + mappings.put(grammarAccess.getInitializationBlockExpressionAccess().getExpressionsAssignment_2(), "rule__InitializationBlockExpression__ExpressionsAssignment_2"); + mappings.put(grammarAccess.getInitializationExpressionAccess().getLeftExprAssignment_1(), "rule__InitializationExpression__LeftExprAssignment_1"); + mappings.put(grammarAccess.getInitializationExpressionAccess().getFunctionNameAssignment_2(), "rule__InitializationExpression__FunctionNameAssignment_2"); + mappings.put(grammarAccess.getInitializationExpressionAccess().getRightExprAssignment_3(), "rule__InitializationExpression__RightExprAssignment_3"); + mappings.put(grammarAccess.getFeatureOfThisAccess().getFeatureNameAssignment_1(), "rule__FeatureOfThis__FeatureNameAssignment_1"); + mappings.put(grammarAccess.getClosureExpressionAccess().getReturnTypeAssignment_1_1(), "rule__ClosureExpression__ReturnTypeAssignment_1_1"); + mappings.put(grammarAccess.getClosureExpressionAccess().getParametersAssignment_2_0_1_0(), "rule__ClosureExpression__ParametersAssignment_2_0_1_0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getParametersAssignment_2_0_1_1_1(), "rule__ClosureExpression__ParametersAssignment_2_0_1_1_1"); + mappings.put(grammarAccess.getClosureExpressionAccess().getVarArgsAssignment_2_0_1_2_1(), "rule__ClosureExpression__VarArgsAssignment_2_0_1_2_1"); + mappings.put(grammarAccess.getClosureExpressionAccess().getParametersAssignment_2_0_1_2_2(), "rule__ClosureExpression__ParametersAssignment_2_0_1_2_2"); + mappings.put(grammarAccess.getClosureExpressionAccess().getVarArgsAssignment_2_1_0(), "rule__ClosureExpression__VarArgsAssignment_2_1_0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getParametersAssignment_2_1_1(), "rule__ClosureExpression__ParametersAssignment_2_1_1"); + mappings.put(grammarAccess.getClosureExpressionAccess().getFuncExprAssignment_4(), "rule__ClosureExpression__FuncExprAssignment_4"); + mappings.put(grammarAccess.getBlockExpressionWithoutBracketsAccess().getExpressionsAssignment_1_0(), "rule__BlockExpressionWithoutBrackets__ExpressionsAssignment_1_0"); + mappings.put(grammarAccess.getValueLiteralAccess().getValueAssignment(), "rule__ValueLiteral__ValueAssignment"); + mappings.put(grammarAccess.getUnitAccess().getUnorderedGroup_7(), "rule__Unit__UnorderedGroup_7"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getUnorderedGroup_2_1(), "rule__ProvidedCapability__UnorderedGroup_2_1"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getUnorderedGroup_3_1(), "rule__AliasedRequiredCapability__UnorderedGroup_3_1"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getUnorderedGroup_3_1(), "rule__RequiredCapability__UnorderedGroup_3_1"); } } diff --git a/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/backtracking/ide/contentassist/antlr/SimpleBeeLangTestLanguageParser.java b/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/backtracking/ide/contentassist/antlr/SimpleBeeLangTestLanguageParser.java index 55e5dba1516..ea04e921054 100644 --- a/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/backtracking/ide/contentassist/antlr/SimpleBeeLangTestLanguageParser.java +++ b/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/backtracking/ide/contentassist/antlr/SimpleBeeLangTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.testlanguages.backtracking.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,289 +26,289 @@ public static final class NameMappings { @Inject public NameMappings(SimpleBeeLangTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, SimpleBeeLangTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getModelAccess().getAlternatives(), "rule__Model__Alternatives"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getAlternatives_1(), "rule__ProvidedCapability__Alternatives_1"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getAlternatives_0(), "rule__AliasedRequiredCapability__Alternatives_0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getAlternatives_1(), "rule__RequiredCapability__Alternatives_1"); - builder.put(grammarAccess.getPathAccess().getAlternatives(), "rule__Path__Alternatives"); - builder.put(grammarAccess.getFirstParameterAccess().getAlternatives(), "rule__FirstParameter__Alternatives"); - builder.put(grammarAccess.getFunctionAccess().getAlternatives_6_1(), "rule__Function__Alternatives_6_1"); - builder.put(grammarAccess.getFunctionAccess().getAlternatives_8(), "rule__Function__Alternatives_8"); - builder.put(grammarAccess.getGuardExpressionAccess().getAlternatives(), "rule__GuardExpression__Alternatives"); - builder.put(grammarAccess.getAssignmentOperatorAccess().getAlternatives(), "rule__AssignmentOperator__Alternatives"); - builder.put(grammarAccess.getRelationalOperatorAccess().getAlternatives(), "rule__RelationalOperator__Alternatives"); - builder.put(grammarAccess.getTopLevelExpressionAccess().getAlternatives(), "rule__TopLevelExpression__Alternatives"); - builder.put(grammarAccess.getVarDeclarationAccess().getAlternatives_2_0(), "rule__VarDeclaration__Alternatives_2_0"); - builder.put(grammarAccess.getTypeRefAccess().getAlternatives(), "rule__TypeRef__Alternatives"); - builder.put(grammarAccess.getClosureTypeRefAccess().getAlternatives_1(), "rule__ClosureTypeRef__Alternatives_1"); - builder.put(grammarAccess.getCachedExpressionAccess().getAlternatives(), "rule__CachedExpression__Alternatives"); - builder.put(grammarAccess.getAdditiveExpressionAccess().getFunctionNameAlternatives_1_1_0(), "rule__AdditiveExpression__FunctionNameAlternatives_1_1_0"); - builder.put(grammarAccess.getMultiplicativeExpressionAccess().getFunctionNameAlternatives_1_1_0(), "rule__MultiplicativeExpression__FunctionNameAlternatives_1_1_0"); - builder.put(grammarAccess.getUnaryOrInfixExpressionAccess().getAlternatives(), "rule__UnaryOrInfixExpression__Alternatives"); - builder.put(grammarAccess.getUnaryExpressionAccess().getFunctionNameAlternatives_1_0(), "rule__UnaryExpression__FunctionNameAlternatives_1_0"); - builder.put(grammarAccess.getPreopExpressionAccess().getFunctionNameAlternatives_1_0(), "rule__PreopExpression__FunctionNameAlternatives_1_0"); - builder.put(grammarAccess.getPostopExpressionAccess().getFunctionNameAlternatives_1_1_0(), "rule__PostopExpression__FunctionNameAlternatives_1_1_0"); - builder.put(grammarAccess.getInfixExpressionAccess().getAlternatives_1(), "rule__InfixExpression__Alternatives_1"); - builder.put(grammarAccess.getPrimaryExpressionAccess().getAlternatives(), "rule__PrimaryExpression__Alternatives"); - builder.put(grammarAccess.getWithExpressionAccess().getAlternatives_2(), "rule__WithExpression__Alternatives_2"); - builder.put(grammarAccess.getKeywordVariablesAccess().getNameAlternatives_1_0(), "rule__KeywordVariables__NameAlternatives_1_0"); - builder.put(grammarAccess.getLiteralAccess().getAlternatives(), "rule__Literal__Alternatives"); - builder.put(grammarAccess.getClosureExpressionAccess().getAlternatives_2(), "rule__ClosureExpression__Alternatives_2"); - builder.put(grammarAccess.getOneOrManyExpressionsAccess().getAlternatives(), "rule__OneOrManyExpressions__Alternatives"); - builder.put(grammarAccess.getQIDAccess().getAlternatives_1(), "rule__QID__Alternatives_1"); - builder.put(grammarAccess.getQIDAccess().getAlternatives_2_2(), "rule__QID__Alternatives_2_2"); - builder.put(grammarAccess.getUnitAccess().getGroup(), "rule__Unit__Group__0"); - builder.put(grammarAccess.getUnitAccess().getGroup_4(), "rule__Unit__Group_4__0"); - builder.put(grammarAccess.getUnitAccess().getGroup_5(), "rule__Unit__Group_5__0"); - builder.put(grammarAccess.getUnitAccess().getGroup_5_2(), "rule__Unit__Group_5_2__0"); - builder.put(grammarAccess.getUnitAccess().getGroup_7_0(), "rule__Unit__Group_7_0__0"); - builder.put(grammarAccess.getUnitAccess().getGroup_7_1(), "rule__Unit__Group_7_1__0"); - builder.put(grammarAccess.getUnitAccess().getGroup_7_2(), "rule__Unit__Group_7_2__0"); - builder.put(grammarAccess.getUnitAccess().getGroup_7_3(), "rule__Unit__Group_7_3__0"); - builder.put(grammarAccess.getUnitAccess().getGroup_7_4(), "rule__Unit__Group_7_4__0"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getGroup(), "rule__ProvidedCapability__Group__0"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getGroup_2(), "rule__ProvidedCapability__Group_2__0"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getGroup_2_1_0(), "rule__ProvidedCapability__Group_2_1_0__0"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getGroup_2_1_1(), "rule__ProvidedCapability__Group_2_1_1__0"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getGroup_2_1_2(), "rule__ProvidedCapability__Group_2_1_2__0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup(), "rule__AliasedRequiredCapability__Group__0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_2(), "rule__AliasedRequiredCapability__Group_2__0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3(), "rule__AliasedRequiredCapability__Group_3__0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_0(), "rule__AliasedRequiredCapability__Group_3_1_0__0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_1(), "rule__AliasedRequiredCapability__Group_3_1_1__0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_2(), "rule__AliasedRequiredCapability__Group_3_1_2__0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_3(), "rule__AliasedRequiredCapability__Group_3_1_3__0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_4(), "rule__AliasedRequiredCapability__Group_3_1_4__0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getGroup(), "rule__RequiredCapability__Group__0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3(), "rule__RequiredCapability__Group_3__0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_0(), "rule__RequiredCapability__Group_3_1_0__0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_1(), "rule__RequiredCapability__Group_3_1_1__0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_2(), "rule__RequiredCapability__Group_3_1_2__0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_3(), "rule__RequiredCapability__Group_3_1_3__0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_4(), "rule__RequiredCapability__Group_3_1_4__0"); - builder.put(grammarAccess.getPathAccess().getGroup_1(), "rule__Path__Group_1__0"); - builder.put(grammarAccess.getPathAccess().getGroup_1_2(), "rule__Path__Group_1_2__0"); - builder.put(grammarAccess.getParameterListAccess().getGroup(), "rule__ParameterList__Group__0"); - builder.put(grammarAccess.getParameterListAccess().getGroup_1(), "rule__ParameterList__Group_1__0"); - builder.put(grammarAccess.getParameterDeclarationAccess().getGroup(), "rule__ParameterDeclaration__Group__0"); - builder.put(grammarAccess.getFunctionAccess().getGroup(), "rule__Function__Group__0"); - builder.put(grammarAccess.getFunctionAccess().getGroup_6(), "rule__Function__Group_6__0"); - builder.put(grammarAccess.getFunctionAccess().getGroup_6_1_0(), "rule__Function__Group_6_1_0__0"); - builder.put(grammarAccess.getFunctionAccess().getGroup_6_1_0_1(), "rule__Function__Group_6_1_0_1__0"); - builder.put(grammarAccess.getFunctionAccess().getGroup_6_1_0_2(), "rule__Function__Group_6_1_0_2__0"); - builder.put(grammarAccess.getFunctionAccess().getGroup_6_1_1(), "rule__Function__Group_6_1_1__0"); - builder.put(grammarAccess.getFunctionAccess().getGroup_7(), "rule__Function__Group_7__0"); - builder.put(grammarAccess.getFunctionAccess().getGroup_8_0(), "rule__Function__Group_8_0__0"); - builder.put(grammarAccess.getGuardExpressionAccess().getGroup_0(), "rule__GuardExpression__Group_0__0"); - builder.put(grammarAccess.getAssignmentExpressionAccess().getGroup(), "rule__AssignmentExpression__Group__0"); - builder.put(grammarAccess.getAssignmentExpressionAccess().getGroup_1(), "rule__AssignmentExpression__Group_1__0"); - builder.put(grammarAccess.getVarDeclarationAccess().getGroup(), "rule__VarDeclaration__Group__0"); - builder.put(grammarAccess.getVarDeclarationAccess().getGroup_2(), "rule__VarDeclaration__Group_2__0"); - builder.put(grammarAccess.getVarDeclarationAccess().getGroup_3(), "rule__VarDeclaration__Group_3__0"); - builder.put(grammarAccess.getValDeclarationAccess().getGroup(), "rule__ValDeclaration__Group__0"); - builder.put(grammarAccess.getSimpleTypeRefAccess().getGroup(), "rule__SimpleTypeRef__Group__0"); - builder.put(grammarAccess.getSimpleTypeRefAccess().getGroup_1(), "rule__SimpleTypeRef__Group_1__0"); - builder.put(grammarAccess.getSimpleTypeRefAccess().getGroup_1_2(), "rule__SimpleTypeRef__Group_1_2__0"); - builder.put(grammarAccess.getClosureTypeRefAccess().getGroup(), "rule__ClosureTypeRef__Group__0"); - builder.put(grammarAccess.getClosureTypeRefAccess().getGroup_1_0(), "rule__ClosureTypeRef__Group_1_0__0"); - builder.put(grammarAccess.getClosureTypeRefAccess().getGroup_1_0_1(), "rule__ClosureTypeRef__Group_1_0_1__0"); - builder.put(grammarAccess.getClosureTypeRefAccess().getGroup_1_0_2(), "rule__ClosureTypeRef__Group_1_0_2__0"); - builder.put(grammarAccess.getClosureTypeRefAccess().getGroup_1_1(), "rule__ClosureTypeRef__Group_1_1__0"); - builder.put(grammarAccess.getCachedExpressionAccess().getGroup_0(), "rule__CachedExpression__Group_0__0"); - builder.put(grammarAccess.getOrExpressionAccess().getGroup(), "rule__OrExpression__Group__0"); - builder.put(grammarAccess.getOrExpressionAccess().getGroup_1(), "rule__OrExpression__Group_1__0"); - builder.put(grammarAccess.getAndExpressionAccess().getGroup(), "rule__AndExpression__Group__0"); - builder.put(grammarAccess.getAndExpressionAccess().getGroup_1(), "rule__AndExpression__Group_1__0"); - builder.put(grammarAccess.getRelationalExpressionAccess().getGroup(), "rule__RelationalExpression__Group__0"); - builder.put(grammarAccess.getRelationalExpressionAccess().getGroup_1(), "rule__RelationalExpression__Group_1__0"); - builder.put(grammarAccess.getAdditiveExpressionAccess().getGroup(), "rule__AdditiveExpression__Group__0"); - builder.put(grammarAccess.getAdditiveExpressionAccess().getGroup_1(), "rule__AdditiveExpression__Group_1__0"); - builder.put(grammarAccess.getMultiplicativeExpressionAccess().getGroup(), "rule__MultiplicativeExpression__Group__0"); - builder.put(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1(), "rule__MultiplicativeExpression__Group_1__0"); - builder.put(grammarAccess.getSetExpressionAccess().getGroup(), "rule__SetExpression__Group__0"); - builder.put(grammarAccess.getSetExpressionAccess().getGroup_1(), "rule__SetExpression__Group_1__0"); - builder.put(grammarAccess.getUnaryExpressionAccess().getGroup(), "rule__UnaryExpression__Group__0"); - builder.put(grammarAccess.getPreopExpressionAccess().getGroup(), "rule__PreopExpression__Group__0"); - builder.put(grammarAccess.getPostopExpressionAccess().getGroup(), "rule__PostopExpression__Group__0"); - builder.put(grammarAccess.getPostopExpressionAccess().getGroup_1(), "rule__PostopExpression__Group_1__0"); - builder.put(grammarAccess.getInfixExpressionAccess().getGroup(), "rule__InfixExpression__Group__0"); - builder.put(grammarAccess.getInfixExpressionAccess().getGroup_1_0(), "rule__InfixExpression__Group_1_0__0"); - builder.put(grammarAccess.getInfixExpressionAccess().getGroup_1_1(), "rule__InfixExpression__Group_1_1__0"); - builder.put(grammarAccess.getInfixExpressionAccess().getGroup_1_2(), "rule__InfixExpression__Group_1_2__0"); - builder.put(grammarAccess.getCallExpressionAccess().getGroup(), "rule__CallExpression__Group__0"); - builder.put(grammarAccess.getCallExpressionAccess().getGroup_1(), "rule__CallExpression__Group_1__0"); - builder.put(grammarAccess.getWithExpressionAccess().getGroup(), "rule__WithExpression__Group__0"); - builder.put(grammarAccess.getWithExpressionAccess().getGroup_1(), "rule__WithExpression__Group_1__0"); - builder.put(grammarAccess.getWithExpressionAccess().getGroup_1_1(), "rule__WithExpression__Group_1_1__0"); - builder.put(grammarAccess.getWithExpressionAccess().getGroup_2_0(), "rule__WithExpression__Group_2_0__0"); - builder.put(grammarAccess.getWithExpressionAccess().getGroup_2_1(), "rule__WithExpression__Group_2_1__0"); - builder.put(grammarAccess.getWithContextExpressionAccess().getGroup(), "rule__WithContextExpression__Group__0"); - builder.put(grammarAccess.getWithContextExpressionAccess().getGroup_3(), "rule__WithContextExpression__Group_3__0"); - builder.put(grammarAccess.getBlockExpressionAccess().getGroup(), "rule__BlockExpression__Group__0"); - builder.put(grammarAccess.getBlockExpressionAccess().getGroup_2(), "rule__BlockExpression__Group_2__0"); - builder.put(grammarAccess.getValueAccess().getGroup(), "rule__Value__Group__0"); - builder.put(grammarAccess.getKeywordVariablesAccess().getGroup(), "rule__KeywordVariables__Group__0"); - builder.put(grammarAccess.getOperationCallAccess().getGroup(), "rule__OperationCall__Group__0"); - builder.put(grammarAccess.getConstructorCallExpressionAccess().getGroup(), "rule__ConstructorCallExpression__Group__0"); - builder.put(grammarAccess.getConstructorCallExpressionAccess().getGroup_3(), "rule__ConstructorCallExpression__Group_3__0"); - builder.put(grammarAccess.getConstructorCallExpressionAccess().getGroup_4(), "rule__ConstructorCallExpression__Group_4__0"); - builder.put(grammarAccess.getInitializationBlockExpressionAccess().getGroup(), "rule__InitializationBlockExpression__Group__0"); - builder.put(grammarAccess.getInitializationExpressionAccess().getGroup(), "rule__InitializationExpression__Group__0"); - builder.put(grammarAccess.getFeatureOfThisAccess().getGroup(), "rule__FeatureOfThis__Group__0"); - builder.put(grammarAccess.getLiteralFunctionAccess().getGroup(), "rule__LiteralFunction__Group__0"); - builder.put(grammarAccess.getClosureExpressionAccess().getGroup(), "rule__ClosureExpression__Group__0"); - builder.put(grammarAccess.getClosureExpressionAccess().getGroup_1(), "rule__ClosureExpression__Group_1__0"); - builder.put(grammarAccess.getClosureExpressionAccess().getGroup_2_0(), "rule__ClosureExpression__Group_2_0__0"); - builder.put(grammarAccess.getClosureExpressionAccess().getGroup_2_0_1(), "rule__ClosureExpression__Group_2_0_1__0"); - builder.put(grammarAccess.getClosureExpressionAccess().getGroup_2_0_1_1(), "rule__ClosureExpression__Group_2_0_1_1__0"); - builder.put(grammarAccess.getClosureExpressionAccess().getGroup_2_0_1_2(), "rule__ClosureExpression__Group_2_0_1_2__0"); - builder.put(grammarAccess.getClosureExpressionAccess().getGroup_2_1(), "rule__ClosureExpression__Group_2_1__0"); - builder.put(grammarAccess.getBlockExpressionWithoutBracketsAccess().getGroup(), "rule__BlockExpressionWithoutBrackets__Group__0"); - builder.put(grammarAccess.getBlockExpressionWithoutBracketsAccess().getGroup_1(), "rule__BlockExpressionWithoutBrackets__Group_1__0"); - builder.put(grammarAccess.getParanthesizedExpressionAccess().getGroup(), "rule__ParanthesizedExpression__Group__0"); - builder.put(grammarAccess.getQIDAccess().getGroup(), "rule__QID__Group__0"); - builder.put(grammarAccess.getQIDAccess().getGroup_2(), "rule__QID__Group_2__0"); - builder.put(grammarAccess.getModelAccess().getUnitsAssignment_0(), "rule__Model__UnitsAssignment_0"); - builder.put(grammarAccess.getModelAccess().getFunctionsAssignment_1(), "rule__Model__FunctionsAssignment_1"); - builder.put(grammarAccess.getUnitAccess().getDocumentationAssignment_1(), "rule__Unit__DocumentationAssignment_1"); - builder.put(grammarAccess.getUnitAccess().getNameAssignment_3(), "rule__Unit__NameAssignment_3"); - builder.put(grammarAccess.getUnitAccess().getVersionAssignment_4_1(), "rule__Unit__VersionAssignment_4_1"); - builder.put(grammarAccess.getUnitAccess().getImplementsAssignment_5_1(), "rule__Unit__ImplementsAssignment_5_1"); - builder.put(grammarAccess.getUnitAccess().getImplementsAssignment_5_2_1(), "rule__Unit__ImplementsAssignment_5_2_1"); - builder.put(grammarAccess.getUnitAccess().getSourceLocationAssignment_7_0_2(), "rule__Unit__SourceLocationAssignment_7_0_2"); - builder.put(grammarAccess.getUnitAccess().getOutputLocationAssignment_7_1_2(), "rule__Unit__OutputLocationAssignment_7_1_2"); - builder.put(grammarAccess.getUnitAccess().getProvidedCapabilitiesAssignment_7_2_2(), "rule__Unit__ProvidedCapabilitiesAssignment_7_2_2"); - builder.put(grammarAccess.getUnitAccess().getRequiredCapabilitiesAssignment_7_3_2(), "rule__Unit__RequiredCapabilitiesAssignment_7_3_2"); - builder.put(grammarAccess.getUnitAccess().getMetaRequiredCapabilitiesAssignment_7_4_3(), "rule__Unit__MetaRequiredCapabilitiesAssignment_7_4_3"); - builder.put(grammarAccess.getUnitAccess().getFunctionsAssignment_7_5(), "rule__Unit__FunctionsAssignment_7_5"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getNameSpaceAssignment_1_0(), "rule__ProvidedCapability__NameSpaceAssignment_1_0"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getCondExprAssignment_2_1_0_2(), "rule__ProvidedCapability__CondExprAssignment_2_1_0_2"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getNameAssignment_2_1_1_2(), "rule__ProvidedCapability__NameAssignment_2_1_1_2"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getVersionAssignment_2_1_2_2(), "rule__ProvidedCapability__VersionAssignment_2_1_2_2"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getNameSpaceAssignment_0_0(), "rule__AliasedRequiredCapability__NameSpaceAssignment_0_0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getNameAssignment_1(), "rule__AliasedRequiredCapability__NameAssignment_1"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getAliasAssignment_2_1(), "rule__AliasedRequiredCapability__AliasAssignment_2_1"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getCondExprAssignment_3_1_0_2(), "rule__AliasedRequiredCapability__CondExprAssignment_3_1_0_2"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGreedyAssignment_3_1_1_0(), "rule__AliasedRequiredCapability__GreedyAssignment_3_1_1_0"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getMinAssignment_3_1_2_2(), "rule__AliasedRequiredCapability__MinAssignment_3_1_2_2"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getMaxAssignment_3_1_3_2(), "rule__AliasedRequiredCapability__MaxAssignment_3_1_3_2"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getVersionRangeAssignment_3_1_4_2(), "rule__AliasedRequiredCapability__VersionRangeAssignment_3_1_4_2"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getNameSpaceAssignment_1_0(), "rule__RequiredCapability__NameSpaceAssignment_1_0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getNameAssignment_2(), "rule__RequiredCapability__NameAssignment_2"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getCondExprAssignment_3_1_0_2(), "rule__RequiredCapability__CondExprAssignment_3_1_0_2"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getGreedyAssignment_3_1_1_0(), "rule__RequiredCapability__GreedyAssignment_3_1_1_0"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getMinAssignment_3_1_2_2(), "rule__RequiredCapability__MinAssignment_3_1_2_2"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getMaxAssignment_3_1_3_2(), "rule__RequiredCapability__MaxAssignment_3_1_3_2"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getVersionRangeAssignment_3_1_4_2(), "rule__RequiredCapability__VersionRangeAssignment_3_1_4_2"); - builder.put(grammarAccess.getParameterListAccess().getParametersAssignment_0(), "rule__ParameterList__ParametersAssignment_0"); - builder.put(grammarAccess.getParameterListAccess().getParametersAssignment_1_1(), "rule__ParameterList__ParametersAssignment_1_1"); - builder.put(grammarAccess.getParameterAccess().getExprAssignment(), "rule__Parameter__ExprAssignment"); - builder.put(grammarAccess.getClosureParameterAccess().getExprAssignment(), "rule__ClosureParameter__ExprAssignment"); - builder.put(grammarAccess.getParameterDeclarationAccess().getTypeAssignment_0(), "rule__ParameterDeclaration__TypeAssignment_0"); - builder.put(grammarAccess.getParameterDeclarationAccess().getNameAssignment_1(), "rule__ParameterDeclaration__NameAssignment_1"); - builder.put(grammarAccess.getFunctionAccess().getDocumentationAssignment_0(), "rule__Function__DocumentationAssignment_0"); - builder.put(grammarAccess.getFunctionAccess().getVisibilityAssignment_1(), "rule__Function__VisibilityAssignment_1"); - builder.put(grammarAccess.getFunctionAccess().getFinalAssignment_2(), "rule__Function__FinalAssignment_2"); - builder.put(grammarAccess.getFunctionAccess().getReturnTypeAssignment_4(), "rule__Function__ReturnTypeAssignment_4"); - builder.put(grammarAccess.getFunctionAccess().getNameAssignment_5(), "rule__Function__NameAssignment_5"); - builder.put(grammarAccess.getFunctionAccess().getParametersAssignment_6_1_0_0(), "rule__Function__ParametersAssignment_6_1_0_0"); - builder.put(grammarAccess.getFunctionAccess().getParametersAssignment_6_1_0_1_1(), "rule__Function__ParametersAssignment_6_1_0_1_1"); - builder.put(grammarAccess.getFunctionAccess().getVarArgsAssignment_6_1_0_2_1(), "rule__Function__VarArgsAssignment_6_1_0_2_1"); - builder.put(grammarAccess.getFunctionAccess().getParametersAssignment_6_1_0_2_2(), "rule__Function__ParametersAssignment_6_1_0_2_2"); - builder.put(grammarAccess.getFunctionAccess().getVarArgsAssignment_6_1_1_0(), "rule__Function__VarArgsAssignment_6_1_1_0"); - builder.put(grammarAccess.getFunctionAccess().getParametersAssignment_6_1_1_1(), "rule__Function__ParametersAssignment_6_1_1_1"); - builder.put(grammarAccess.getFunctionAccess().getGuardAssignment_7_1(), "rule__Function__GuardAssignment_7_1"); - builder.put(grammarAccess.getFunctionAccess().getFuncExprAssignment_8_0_1(), "rule__Function__FuncExprAssignment_8_0_1"); - builder.put(grammarAccess.getFunctionAccess().getFuncExprAssignment_8_1(), "rule__Function__FuncExprAssignment_8_1"); - builder.put(grammarAccess.getGuardExpressionAccess().getGuardExprAssignment_0_1(), "rule__GuardExpression__GuardExprAssignment_0_1"); - builder.put(grammarAccess.getGuardExpressionAccess().getGuardExprAssignment_1(), "rule__GuardExpression__GuardExprAssignment_1"); - builder.put(grammarAccess.getAssignmentExpressionAccess().getFunctionNameAssignment_1_1(), "rule__AssignmentExpression__FunctionNameAssignment_1_1"); - builder.put(grammarAccess.getAssignmentExpressionAccess().getRightExprAssignment_1_2(), "rule__AssignmentExpression__RightExprAssignment_1_2"); - builder.put(grammarAccess.getVarDeclarationAccess().getFinalAssignment_1(), "rule__VarDeclaration__FinalAssignment_1"); - builder.put(grammarAccess.getVarDeclarationAccess().getTypeAssignment_2_0_1(), "rule__VarDeclaration__TypeAssignment_2_0_1"); - builder.put(grammarAccess.getVarDeclarationAccess().getNameAssignment_2_1(), "rule__VarDeclaration__NameAssignment_2_1"); - builder.put(grammarAccess.getVarDeclarationAccess().getValueExprAssignment_3_1(), "rule__VarDeclaration__ValueExprAssignment_3_1"); - builder.put(grammarAccess.getValDeclarationAccess().getFinalAssignment_1(), "rule__ValDeclaration__FinalAssignment_1"); - builder.put(grammarAccess.getValDeclarationAccess().getImmutableAssignment_2(), "rule__ValDeclaration__ImmutableAssignment_2"); - builder.put(grammarAccess.getValDeclarationAccess().getTypeAssignment_3(), "rule__ValDeclaration__TypeAssignment_3"); - builder.put(grammarAccess.getValDeclarationAccess().getNameAssignment_4(), "rule__ValDeclaration__NameAssignment_4"); - builder.put(grammarAccess.getValDeclarationAccess().getValueExprAssignment_6(), "rule__ValDeclaration__ValueExprAssignment_6"); - builder.put(grammarAccess.getSimpleTypeRefAccess().getRawTypeAssignment_0(), "rule__SimpleTypeRef__RawTypeAssignment_0"); - builder.put(grammarAccess.getSimpleTypeRefAccess().getActualArgumentsListAssignment_1_1(), "rule__SimpleTypeRef__ActualArgumentsListAssignment_1_1"); - builder.put(grammarAccess.getSimpleTypeRefAccess().getActualArgumentsListAssignment_1_2_1(), "rule__SimpleTypeRef__ActualArgumentsListAssignment_1_2_1"); - builder.put(grammarAccess.getClosureTypeRefAccess().getParameterTypesAssignment_1_0_0(), "rule__ClosureTypeRef__ParameterTypesAssignment_1_0_0"); - builder.put(grammarAccess.getClosureTypeRefAccess().getParameterTypesAssignment_1_0_1_1(), "rule__ClosureTypeRef__ParameterTypesAssignment_1_0_1_1"); - builder.put(grammarAccess.getClosureTypeRefAccess().getVarArgsAssignment_1_0_2_1(), "rule__ClosureTypeRef__VarArgsAssignment_1_0_2_1"); - builder.put(grammarAccess.getClosureTypeRefAccess().getParameterTypesAssignment_1_0_2_2(), "rule__ClosureTypeRef__ParameterTypesAssignment_1_0_2_2"); - builder.put(grammarAccess.getClosureTypeRefAccess().getVarArgsAssignment_1_1_0(), "rule__ClosureTypeRef__VarArgsAssignment_1_1_0"); - builder.put(grammarAccess.getClosureTypeRefAccess().getParameterTypesAssignment_1_1_1(), "rule__ClosureTypeRef__ParameterTypesAssignment_1_1_1"); - builder.put(grammarAccess.getClosureTypeRefAccess().getReturnTypeAssignment_4(), "rule__ClosureTypeRef__ReturnTypeAssignment_4"); - builder.put(grammarAccess.getCachedExpressionAccess().getExprAssignment_0_2(), "rule__CachedExpression__ExprAssignment_0_2"); - builder.put(grammarAccess.getOrExpressionAccess().getRightExprAssignment_1_2(), "rule__OrExpression__RightExprAssignment_1_2"); - builder.put(grammarAccess.getAndExpressionAccess().getRightExprAssignment_1_2(), "rule__AndExpression__RightExprAssignment_1_2"); - builder.put(grammarAccess.getRelationalExpressionAccess().getFunctionNameAssignment_1_1(), "rule__RelationalExpression__FunctionNameAssignment_1_1"); - builder.put(grammarAccess.getRelationalExpressionAccess().getRightExprAssignment_1_2(), "rule__RelationalExpression__RightExprAssignment_1_2"); - builder.put(grammarAccess.getAdditiveExpressionAccess().getFunctionNameAssignment_1_1(), "rule__AdditiveExpression__FunctionNameAssignment_1_1"); - builder.put(grammarAccess.getAdditiveExpressionAccess().getRightExprAssignment_1_2(), "rule__AdditiveExpression__RightExprAssignment_1_2"); - builder.put(grammarAccess.getMultiplicativeExpressionAccess().getFunctionNameAssignment_1_1(), "rule__MultiplicativeExpression__FunctionNameAssignment_1_1"); - builder.put(grammarAccess.getMultiplicativeExpressionAccess().getRightExprAssignment_1_2(), "rule__MultiplicativeExpression__RightExprAssignment_1_2"); - builder.put(grammarAccess.getSetExpressionAccess().getFunctionNameAssignment_1_1(), "rule__SetExpression__FunctionNameAssignment_1_1"); - builder.put(grammarAccess.getSetExpressionAccess().getRightExprAssignment_1_2(), "rule__SetExpression__RightExprAssignment_1_2"); - builder.put(grammarAccess.getUnaryExpressionAccess().getFunctionNameAssignment_1(), "rule__UnaryExpression__FunctionNameAssignment_1"); - builder.put(grammarAccess.getUnaryExpressionAccess().getExprAssignment_2(), "rule__UnaryExpression__ExprAssignment_2"); - builder.put(grammarAccess.getPreopExpressionAccess().getFunctionNameAssignment_1(), "rule__PreopExpression__FunctionNameAssignment_1"); - builder.put(grammarAccess.getPreopExpressionAccess().getExprAssignment_2(), "rule__PreopExpression__ExprAssignment_2"); - builder.put(grammarAccess.getPostopExpressionAccess().getFunctionNameAssignment_1_1(), "rule__PostopExpression__FunctionNameAssignment_1_1"); - builder.put(grammarAccess.getInfixExpressionAccess().getNameAssignment_1_0_2(), "rule__InfixExpression__NameAssignment_1_0_2"); - builder.put(grammarAccess.getInfixExpressionAccess().getParameterListAssignment_1_0_4(), "rule__InfixExpression__ParameterListAssignment_1_0_4"); - builder.put(grammarAccess.getInfixExpressionAccess().getIndexExprAssignment_1_1_2(), "rule__InfixExpression__IndexExprAssignment_1_1_2"); - builder.put(grammarAccess.getInfixExpressionAccess().getFeatureNameAssignment_1_2_2(), "rule__InfixExpression__FeatureNameAssignment_1_2_2"); - builder.put(grammarAccess.getCallExpressionAccess().getParameterListAssignment_1_2(), "rule__CallExpression__ParameterListAssignment_1_2"); - builder.put(grammarAccess.getWithExpressionAccess().getReferencedAdviceAssignment_1_0(), "rule__WithExpression__ReferencedAdviceAssignment_1_0"); - builder.put(grammarAccess.getWithExpressionAccess().getReferencedAdviceAssignment_1_1_1(), "rule__WithExpression__ReferencedAdviceAssignment_1_1_1"); - builder.put(grammarAccess.getWithExpressionAccess().getFuncExprAssignment_2_0_1(), "rule__WithExpression__FuncExprAssignment_2_0_1"); - builder.put(grammarAccess.getWithExpressionAccess().getFuncExprAssignment_2_1_1(), "rule__WithExpression__FuncExprAssignment_2_1_1"); - builder.put(grammarAccess.getWithContextExpressionAccess().getExprAssignment_2(), "rule__WithContextExpression__ExprAssignment_2"); - builder.put(grammarAccess.getWithContextExpressionAccess().getAliasAssignment_3_1(), "rule__WithContextExpression__AliasAssignment_3_1"); - builder.put(grammarAccess.getWithContextExpressionAccess().getContextBlockAssignment_4(), "rule__WithContextExpression__ContextBlockAssignment_4"); - builder.put(grammarAccess.getBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__BlockExpression__ExpressionsAssignment_2_0"); - builder.put(grammarAccess.getValueAccess().getNameAssignment_1(), "rule__Value__NameAssignment_1"); - builder.put(grammarAccess.getKeywordVariablesAccess().getNameAssignment_1(), "rule__KeywordVariables__NameAssignment_1"); - builder.put(grammarAccess.getOperationCallAccess().getNameAssignment_1(), "rule__OperationCall__NameAssignment_1"); - builder.put(grammarAccess.getOperationCallAccess().getParameterListAssignment_3(), "rule__OperationCall__ParameterListAssignment_3"); - builder.put(grammarAccess.getConstructorCallExpressionAccess().getTypeExprAssignment_2(), "rule__ConstructorCallExpression__TypeExprAssignment_2"); - builder.put(grammarAccess.getConstructorCallExpressionAccess().getParameterListAssignment_3_1(), "rule__ConstructorCallExpression__ParameterListAssignment_3_1"); - builder.put(grammarAccess.getConstructorCallExpressionAccess().getAliasAssignment_4_1(), "rule__ConstructorCallExpression__AliasAssignment_4_1"); - builder.put(grammarAccess.getConstructorCallExpressionAccess().getContextBlockAssignment_5(), "rule__ConstructorCallExpression__ContextBlockAssignment_5"); - builder.put(grammarAccess.getInitializationBlockExpressionAccess().getExpressionsAssignment_2(), "rule__InitializationBlockExpression__ExpressionsAssignment_2"); - builder.put(grammarAccess.getInitializationExpressionAccess().getLeftExprAssignment_1(), "rule__InitializationExpression__LeftExprAssignment_1"); - builder.put(grammarAccess.getInitializationExpressionAccess().getFunctionNameAssignment_2(), "rule__InitializationExpression__FunctionNameAssignment_2"); - builder.put(grammarAccess.getInitializationExpressionAccess().getRightExprAssignment_3(), "rule__InitializationExpression__RightExprAssignment_3"); - builder.put(grammarAccess.getFeatureOfThisAccess().getFeatureNameAssignment_1(), "rule__FeatureOfThis__FeatureNameAssignment_1"); - builder.put(grammarAccess.getClosureExpressionAccess().getReturnTypeAssignment_1_1(), "rule__ClosureExpression__ReturnTypeAssignment_1_1"); - builder.put(grammarAccess.getClosureExpressionAccess().getParametersAssignment_2_0_1_0(), "rule__ClosureExpression__ParametersAssignment_2_0_1_0"); - builder.put(grammarAccess.getClosureExpressionAccess().getParametersAssignment_2_0_1_1_1(), "rule__ClosureExpression__ParametersAssignment_2_0_1_1_1"); - builder.put(grammarAccess.getClosureExpressionAccess().getVarArgsAssignment_2_0_1_2_1(), "rule__ClosureExpression__VarArgsAssignment_2_0_1_2_1"); - builder.put(grammarAccess.getClosureExpressionAccess().getParametersAssignment_2_0_1_2_2(), "rule__ClosureExpression__ParametersAssignment_2_0_1_2_2"); - builder.put(grammarAccess.getClosureExpressionAccess().getVarArgsAssignment_2_1_0(), "rule__ClosureExpression__VarArgsAssignment_2_1_0"); - builder.put(grammarAccess.getClosureExpressionAccess().getParametersAssignment_2_1_1(), "rule__ClosureExpression__ParametersAssignment_2_1_1"); - builder.put(grammarAccess.getClosureExpressionAccess().getFuncExprAssignment_4(), "rule__ClosureExpression__FuncExprAssignment_4"); - builder.put(grammarAccess.getBlockExpressionWithoutBracketsAccess().getExpressionsAssignment_1_0(), "rule__BlockExpressionWithoutBrackets__ExpressionsAssignment_1_0"); - builder.put(grammarAccess.getValueLiteralAccess().getValueAssignment(), "rule__ValueLiteral__ValueAssignment"); - builder.put(grammarAccess.getUnitAccess().getUnorderedGroup_7(), "rule__Unit__UnorderedGroup_7"); - builder.put(grammarAccess.getProvidedCapabilityAccess().getUnorderedGroup_2_1(), "rule__ProvidedCapability__UnorderedGroup_2_1"); - builder.put(grammarAccess.getAliasedRequiredCapabilityAccess().getUnorderedGroup_3_1(), "rule__AliasedRequiredCapability__UnorderedGroup_3_1"); - builder.put(grammarAccess.getRequiredCapabilityAccess().getUnorderedGroup_3_1(), "rule__RequiredCapability__UnorderedGroup_3_1"); + private static void init(Map mappings, SimpleBeeLangTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getModelAccess().getAlternatives(), "rule__Model__Alternatives"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getAlternatives_1(), "rule__ProvidedCapability__Alternatives_1"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getAlternatives_0(), "rule__AliasedRequiredCapability__Alternatives_0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getAlternatives_1(), "rule__RequiredCapability__Alternatives_1"); + mappings.put(grammarAccess.getPathAccess().getAlternatives(), "rule__Path__Alternatives"); + mappings.put(grammarAccess.getFirstParameterAccess().getAlternatives(), "rule__FirstParameter__Alternatives"); + mappings.put(grammarAccess.getFunctionAccess().getAlternatives_6_1(), "rule__Function__Alternatives_6_1"); + mappings.put(grammarAccess.getFunctionAccess().getAlternatives_8(), "rule__Function__Alternatives_8"); + mappings.put(grammarAccess.getGuardExpressionAccess().getAlternatives(), "rule__GuardExpression__Alternatives"); + mappings.put(grammarAccess.getAssignmentOperatorAccess().getAlternatives(), "rule__AssignmentOperator__Alternatives"); + mappings.put(grammarAccess.getRelationalOperatorAccess().getAlternatives(), "rule__RelationalOperator__Alternatives"); + mappings.put(grammarAccess.getTopLevelExpressionAccess().getAlternatives(), "rule__TopLevelExpression__Alternatives"); + mappings.put(grammarAccess.getVarDeclarationAccess().getAlternatives_2_0(), "rule__VarDeclaration__Alternatives_2_0"); + mappings.put(grammarAccess.getTypeRefAccess().getAlternatives(), "rule__TypeRef__Alternatives"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getAlternatives_1(), "rule__ClosureTypeRef__Alternatives_1"); + mappings.put(grammarAccess.getCachedExpressionAccess().getAlternatives(), "rule__CachedExpression__Alternatives"); + mappings.put(grammarAccess.getAdditiveExpressionAccess().getFunctionNameAlternatives_1_1_0(), "rule__AdditiveExpression__FunctionNameAlternatives_1_1_0"); + mappings.put(grammarAccess.getMultiplicativeExpressionAccess().getFunctionNameAlternatives_1_1_0(), "rule__MultiplicativeExpression__FunctionNameAlternatives_1_1_0"); + mappings.put(grammarAccess.getUnaryOrInfixExpressionAccess().getAlternatives(), "rule__UnaryOrInfixExpression__Alternatives"); + mappings.put(grammarAccess.getUnaryExpressionAccess().getFunctionNameAlternatives_1_0(), "rule__UnaryExpression__FunctionNameAlternatives_1_0"); + mappings.put(grammarAccess.getPreopExpressionAccess().getFunctionNameAlternatives_1_0(), "rule__PreopExpression__FunctionNameAlternatives_1_0"); + mappings.put(grammarAccess.getPostopExpressionAccess().getFunctionNameAlternatives_1_1_0(), "rule__PostopExpression__FunctionNameAlternatives_1_1_0"); + mappings.put(grammarAccess.getInfixExpressionAccess().getAlternatives_1(), "rule__InfixExpression__Alternatives_1"); + mappings.put(grammarAccess.getPrimaryExpressionAccess().getAlternatives(), "rule__PrimaryExpression__Alternatives"); + mappings.put(grammarAccess.getWithExpressionAccess().getAlternatives_2(), "rule__WithExpression__Alternatives_2"); + mappings.put(grammarAccess.getKeywordVariablesAccess().getNameAlternatives_1_0(), "rule__KeywordVariables__NameAlternatives_1_0"); + mappings.put(grammarAccess.getLiteralAccess().getAlternatives(), "rule__Literal__Alternatives"); + mappings.put(grammarAccess.getClosureExpressionAccess().getAlternatives_2(), "rule__ClosureExpression__Alternatives_2"); + mappings.put(grammarAccess.getOneOrManyExpressionsAccess().getAlternatives(), "rule__OneOrManyExpressions__Alternatives"); + mappings.put(grammarAccess.getQIDAccess().getAlternatives_1(), "rule__QID__Alternatives_1"); + mappings.put(grammarAccess.getQIDAccess().getAlternatives_2_2(), "rule__QID__Alternatives_2_2"); + mappings.put(grammarAccess.getUnitAccess().getGroup(), "rule__Unit__Group__0"); + mappings.put(grammarAccess.getUnitAccess().getGroup_4(), "rule__Unit__Group_4__0"); + mappings.put(grammarAccess.getUnitAccess().getGroup_5(), "rule__Unit__Group_5__0"); + mappings.put(grammarAccess.getUnitAccess().getGroup_5_2(), "rule__Unit__Group_5_2__0"); + mappings.put(grammarAccess.getUnitAccess().getGroup_7_0(), "rule__Unit__Group_7_0__0"); + mappings.put(grammarAccess.getUnitAccess().getGroup_7_1(), "rule__Unit__Group_7_1__0"); + mappings.put(grammarAccess.getUnitAccess().getGroup_7_2(), "rule__Unit__Group_7_2__0"); + mappings.put(grammarAccess.getUnitAccess().getGroup_7_3(), "rule__Unit__Group_7_3__0"); + mappings.put(grammarAccess.getUnitAccess().getGroup_7_4(), "rule__Unit__Group_7_4__0"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getGroup(), "rule__ProvidedCapability__Group__0"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getGroup_2(), "rule__ProvidedCapability__Group_2__0"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getGroup_2_1_0(), "rule__ProvidedCapability__Group_2_1_0__0"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getGroup_2_1_1(), "rule__ProvidedCapability__Group_2_1_1__0"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getGroup_2_1_2(), "rule__ProvidedCapability__Group_2_1_2__0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup(), "rule__AliasedRequiredCapability__Group__0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_2(), "rule__AliasedRequiredCapability__Group_2__0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3(), "rule__AliasedRequiredCapability__Group_3__0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_0(), "rule__AliasedRequiredCapability__Group_3_1_0__0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_1(), "rule__AliasedRequiredCapability__Group_3_1_1__0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_2(), "rule__AliasedRequiredCapability__Group_3_1_2__0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_3(), "rule__AliasedRequiredCapability__Group_3_1_3__0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGroup_3_1_4(), "rule__AliasedRequiredCapability__Group_3_1_4__0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getGroup(), "rule__RequiredCapability__Group__0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3(), "rule__RequiredCapability__Group_3__0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_0(), "rule__RequiredCapability__Group_3_1_0__0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_1(), "rule__RequiredCapability__Group_3_1_1__0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_2(), "rule__RequiredCapability__Group_3_1_2__0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_3(), "rule__RequiredCapability__Group_3_1_3__0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getGroup_3_1_4(), "rule__RequiredCapability__Group_3_1_4__0"); + mappings.put(grammarAccess.getPathAccess().getGroup_1(), "rule__Path__Group_1__0"); + mappings.put(grammarAccess.getPathAccess().getGroup_1_2(), "rule__Path__Group_1_2__0"); + mappings.put(grammarAccess.getParameterListAccess().getGroup(), "rule__ParameterList__Group__0"); + mappings.put(grammarAccess.getParameterListAccess().getGroup_1(), "rule__ParameterList__Group_1__0"); + mappings.put(grammarAccess.getParameterDeclarationAccess().getGroup(), "rule__ParameterDeclaration__Group__0"); + mappings.put(grammarAccess.getFunctionAccess().getGroup(), "rule__Function__Group__0"); + mappings.put(grammarAccess.getFunctionAccess().getGroup_6(), "rule__Function__Group_6__0"); + mappings.put(grammarAccess.getFunctionAccess().getGroup_6_1_0(), "rule__Function__Group_6_1_0__0"); + mappings.put(grammarAccess.getFunctionAccess().getGroup_6_1_0_1(), "rule__Function__Group_6_1_0_1__0"); + mappings.put(grammarAccess.getFunctionAccess().getGroup_6_1_0_2(), "rule__Function__Group_6_1_0_2__0"); + mappings.put(grammarAccess.getFunctionAccess().getGroup_6_1_1(), "rule__Function__Group_6_1_1__0"); + mappings.put(grammarAccess.getFunctionAccess().getGroup_7(), "rule__Function__Group_7__0"); + mappings.put(grammarAccess.getFunctionAccess().getGroup_8_0(), "rule__Function__Group_8_0__0"); + mappings.put(grammarAccess.getGuardExpressionAccess().getGroup_0(), "rule__GuardExpression__Group_0__0"); + mappings.put(grammarAccess.getAssignmentExpressionAccess().getGroup(), "rule__AssignmentExpression__Group__0"); + mappings.put(grammarAccess.getAssignmentExpressionAccess().getGroup_1(), "rule__AssignmentExpression__Group_1__0"); + mappings.put(grammarAccess.getVarDeclarationAccess().getGroup(), "rule__VarDeclaration__Group__0"); + mappings.put(grammarAccess.getVarDeclarationAccess().getGroup_2(), "rule__VarDeclaration__Group_2__0"); + mappings.put(grammarAccess.getVarDeclarationAccess().getGroup_3(), "rule__VarDeclaration__Group_3__0"); + mappings.put(grammarAccess.getValDeclarationAccess().getGroup(), "rule__ValDeclaration__Group__0"); + mappings.put(grammarAccess.getSimpleTypeRefAccess().getGroup(), "rule__SimpleTypeRef__Group__0"); + mappings.put(grammarAccess.getSimpleTypeRefAccess().getGroup_1(), "rule__SimpleTypeRef__Group_1__0"); + mappings.put(grammarAccess.getSimpleTypeRefAccess().getGroup_1_2(), "rule__SimpleTypeRef__Group_1_2__0"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getGroup(), "rule__ClosureTypeRef__Group__0"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getGroup_1_0(), "rule__ClosureTypeRef__Group_1_0__0"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getGroup_1_0_1(), "rule__ClosureTypeRef__Group_1_0_1__0"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getGroup_1_0_2(), "rule__ClosureTypeRef__Group_1_0_2__0"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getGroup_1_1(), "rule__ClosureTypeRef__Group_1_1__0"); + mappings.put(grammarAccess.getCachedExpressionAccess().getGroup_0(), "rule__CachedExpression__Group_0__0"); + mappings.put(grammarAccess.getOrExpressionAccess().getGroup(), "rule__OrExpression__Group__0"); + mappings.put(grammarAccess.getOrExpressionAccess().getGroup_1(), "rule__OrExpression__Group_1__0"); + mappings.put(grammarAccess.getAndExpressionAccess().getGroup(), "rule__AndExpression__Group__0"); + mappings.put(grammarAccess.getAndExpressionAccess().getGroup_1(), "rule__AndExpression__Group_1__0"); + mappings.put(grammarAccess.getRelationalExpressionAccess().getGroup(), "rule__RelationalExpression__Group__0"); + mappings.put(grammarAccess.getRelationalExpressionAccess().getGroup_1(), "rule__RelationalExpression__Group_1__0"); + mappings.put(grammarAccess.getAdditiveExpressionAccess().getGroup(), "rule__AdditiveExpression__Group__0"); + mappings.put(grammarAccess.getAdditiveExpressionAccess().getGroup_1(), "rule__AdditiveExpression__Group_1__0"); + mappings.put(grammarAccess.getMultiplicativeExpressionAccess().getGroup(), "rule__MultiplicativeExpression__Group__0"); + mappings.put(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1(), "rule__MultiplicativeExpression__Group_1__0"); + mappings.put(grammarAccess.getSetExpressionAccess().getGroup(), "rule__SetExpression__Group__0"); + mappings.put(grammarAccess.getSetExpressionAccess().getGroup_1(), "rule__SetExpression__Group_1__0"); + mappings.put(grammarAccess.getUnaryExpressionAccess().getGroup(), "rule__UnaryExpression__Group__0"); + mappings.put(grammarAccess.getPreopExpressionAccess().getGroup(), "rule__PreopExpression__Group__0"); + mappings.put(grammarAccess.getPostopExpressionAccess().getGroup(), "rule__PostopExpression__Group__0"); + mappings.put(grammarAccess.getPostopExpressionAccess().getGroup_1(), "rule__PostopExpression__Group_1__0"); + mappings.put(grammarAccess.getInfixExpressionAccess().getGroup(), "rule__InfixExpression__Group__0"); + mappings.put(grammarAccess.getInfixExpressionAccess().getGroup_1_0(), "rule__InfixExpression__Group_1_0__0"); + mappings.put(grammarAccess.getInfixExpressionAccess().getGroup_1_1(), "rule__InfixExpression__Group_1_1__0"); + mappings.put(grammarAccess.getInfixExpressionAccess().getGroup_1_2(), "rule__InfixExpression__Group_1_2__0"); + mappings.put(grammarAccess.getCallExpressionAccess().getGroup(), "rule__CallExpression__Group__0"); + mappings.put(grammarAccess.getCallExpressionAccess().getGroup_1(), "rule__CallExpression__Group_1__0"); + mappings.put(grammarAccess.getWithExpressionAccess().getGroup(), "rule__WithExpression__Group__0"); + mappings.put(grammarAccess.getWithExpressionAccess().getGroup_1(), "rule__WithExpression__Group_1__0"); + mappings.put(grammarAccess.getWithExpressionAccess().getGroup_1_1(), "rule__WithExpression__Group_1_1__0"); + mappings.put(grammarAccess.getWithExpressionAccess().getGroup_2_0(), "rule__WithExpression__Group_2_0__0"); + mappings.put(grammarAccess.getWithExpressionAccess().getGroup_2_1(), "rule__WithExpression__Group_2_1__0"); + mappings.put(grammarAccess.getWithContextExpressionAccess().getGroup(), "rule__WithContextExpression__Group__0"); + mappings.put(grammarAccess.getWithContextExpressionAccess().getGroup_3(), "rule__WithContextExpression__Group_3__0"); + mappings.put(grammarAccess.getBlockExpressionAccess().getGroup(), "rule__BlockExpression__Group__0"); + mappings.put(grammarAccess.getBlockExpressionAccess().getGroup_2(), "rule__BlockExpression__Group_2__0"); + mappings.put(grammarAccess.getValueAccess().getGroup(), "rule__Value__Group__0"); + mappings.put(grammarAccess.getKeywordVariablesAccess().getGroup(), "rule__KeywordVariables__Group__0"); + mappings.put(grammarAccess.getOperationCallAccess().getGroup(), "rule__OperationCall__Group__0"); + mappings.put(grammarAccess.getConstructorCallExpressionAccess().getGroup(), "rule__ConstructorCallExpression__Group__0"); + mappings.put(grammarAccess.getConstructorCallExpressionAccess().getGroup_3(), "rule__ConstructorCallExpression__Group_3__0"); + mappings.put(grammarAccess.getConstructorCallExpressionAccess().getGroup_4(), "rule__ConstructorCallExpression__Group_4__0"); + mappings.put(grammarAccess.getInitializationBlockExpressionAccess().getGroup(), "rule__InitializationBlockExpression__Group__0"); + mappings.put(grammarAccess.getInitializationExpressionAccess().getGroup(), "rule__InitializationExpression__Group__0"); + mappings.put(grammarAccess.getFeatureOfThisAccess().getGroup(), "rule__FeatureOfThis__Group__0"); + mappings.put(grammarAccess.getLiteralFunctionAccess().getGroup(), "rule__LiteralFunction__Group__0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getGroup(), "rule__ClosureExpression__Group__0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getGroup_1(), "rule__ClosureExpression__Group_1__0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getGroup_2_0(), "rule__ClosureExpression__Group_2_0__0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getGroup_2_0_1(), "rule__ClosureExpression__Group_2_0_1__0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getGroup_2_0_1_1(), "rule__ClosureExpression__Group_2_0_1_1__0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getGroup_2_0_1_2(), "rule__ClosureExpression__Group_2_0_1_2__0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getGroup_2_1(), "rule__ClosureExpression__Group_2_1__0"); + mappings.put(grammarAccess.getBlockExpressionWithoutBracketsAccess().getGroup(), "rule__BlockExpressionWithoutBrackets__Group__0"); + mappings.put(grammarAccess.getBlockExpressionWithoutBracketsAccess().getGroup_1(), "rule__BlockExpressionWithoutBrackets__Group_1__0"); + mappings.put(grammarAccess.getParanthesizedExpressionAccess().getGroup(), "rule__ParanthesizedExpression__Group__0"); + mappings.put(grammarAccess.getQIDAccess().getGroup(), "rule__QID__Group__0"); + mappings.put(grammarAccess.getQIDAccess().getGroup_2(), "rule__QID__Group_2__0"); + mappings.put(grammarAccess.getModelAccess().getUnitsAssignment_0(), "rule__Model__UnitsAssignment_0"); + mappings.put(grammarAccess.getModelAccess().getFunctionsAssignment_1(), "rule__Model__FunctionsAssignment_1"); + mappings.put(grammarAccess.getUnitAccess().getDocumentationAssignment_1(), "rule__Unit__DocumentationAssignment_1"); + mappings.put(grammarAccess.getUnitAccess().getNameAssignment_3(), "rule__Unit__NameAssignment_3"); + mappings.put(grammarAccess.getUnitAccess().getVersionAssignment_4_1(), "rule__Unit__VersionAssignment_4_1"); + mappings.put(grammarAccess.getUnitAccess().getImplementsAssignment_5_1(), "rule__Unit__ImplementsAssignment_5_1"); + mappings.put(grammarAccess.getUnitAccess().getImplementsAssignment_5_2_1(), "rule__Unit__ImplementsAssignment_5_2_1"); + mappings.put(grammarAccess.getUnitAccess().getSourceLocationAssignment_7_0_2(), "rule__Unit__SourceLocationAssignment_7_0_2"); + mappings.put(grammarAccess.getUnitAccess().getOutputLocationAssignment_7_1_2(), "rule__Unit__OutputLocationAssignment_7_1_2"); + mappings.put(grammarAccess.getUnitAccess().getProvidedCapabilitiesAssignment_7_2_2(), "rule__Unit__ProvidedCapabilitiesAssignment_7_2_2"); + mappings.put(grammarAccess.getUnitAccess().getRequiredCapabilitiesAssignment_7_3_2(), "rule__Unit__RequiredCapabilitiesAssignment_7_3_2"); + mappings.put(grammarAccess.getUnitAccess().getMetaRequiredCapabilitiesAssignment_7_4_3(), "rule__Unit__MetaRequiredCapabilitiesAssignment_7_4_3"); + mappings.put(grammarAccess.getUnitAccess().getFunctionsAssignment_7_5(), "rule__Unit__FunctionsAssignment_7_5"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getNameSpaceAssignment_1_0(), "rule__ProvidedCapability__NameSpaceAssignment_1_0"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getCondExprAssignment_2_1_0_2(), "rule__ProvidedCapability__CondExprAssignment_2_1_0_2"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getNameAssignment_2_1_1_2(), "rule__ProvidedCapability__NameAssignment_2_1_1_2"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getVersionAssignment_2_1_2_2(), "rule__ProvidedCapability__VersionAssignment_2_1_2_2"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getNameSpaceAssignment_0_0(), "rule__AliasedRequiredCapability__NameSpaceAssignment_0_0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getNameAssignment_1(), "rule__AliasedRequiredCapability__NameAssignment_1"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getAliasAssignment_2_1(), "rule__AliasedRequiredCapability__AliasAssignment_2_1"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getCondExprAssignment_3_1_0_2(), "rule__AliasedRequiredCapability__CondExprAssignment_3_1_0_2"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getGreedyAssignment_3_1_1_0(), "rule__AliasedRequiredCapability__GreedyAssignment_3_1_1_0"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getMinAssignment_3_1_2_2(), "rule__AliasedRequiredCapability__MinAssignment_3_1_2_2"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getMaxAssignment_3_1_3_2(), "rule__AliasedRequiredCapability__MaxAssignment_3_1_3_2"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getVersionRangeAssignment_3_1_4_2(), "rule__AliasedRequiredCapability__VersionRangeAssignment_3_1_4_2"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getNameSpaceAssignment_1_0(), "rule__RequiredCapability__NameSpaceAssignment_1_0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getNameAssignment_2(), "rule__RequiredCapability__NameAssignment_2"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getCondExprAssignment_3_1_0_2(), "rule__RequiredCapability__CondExprAssignment_3_1_0_2"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getGreedyAssignment_3_1_1_0(), "rule__RequiredCapability__GreedyAssignment_3_1_1_0"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getMinAssignment_3_1_2_2(), "rule__RequiredCapability__MinAssignment_3_1_2_2"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getMaxAssignment_3_1_3_2(), "rule__RequiredCapability__MaxAssignment_3_1_3_2"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getVersionRangeAssignment_3_1_4_2(), "rule__RequiredCapability__VersionRangeAssignment_3_1_4_2"); + mappings.put(grammarAccess.getParameterListAccess().getParametersAssignment_0(), "rule__ParameterList__ParametersAssignment_0"); + mappings.put(grammarAccess.getParameterListAccess().getParametersAssignment_1_1(), "rule__ParameterList__ParametersAssignment_1_1"); + mappings.put(grammarAccess.getParameterAccess().getExprAssignment(), "rule__Parameter__ExprAssignment"); + mappings.put(grammarAccess.getClosureParameterAccess().getExprAssignment(), "rule__ClosureParameter__ExprAssignment"); + mappings.put(grammarAccess.getParameterDeclarationAccess().getTypeAssignment_0(), "rule__ParameterDeclaration__TypeAssignment_0"); + mappings.put(grammarAccess.getParameterDeclarationAccess().getNameAssignment_1(), "rule__ParameterDeclaration__NameAssignment_1"); + mappings.put(grammarAccess.getFunctionAccess().getDocumentationAssignment_0(), "rule__Function__DocumentationAssignment_0"); + mappings.put(grammarAccess.getFunctionAccess().getVisibilityAssignment_1(), "rule__Function__VisibilityAssignment_1"); + mappings.put(grammarAccess.getFunctionAccess().getFinalAssignment_2(), "rule__Function__FinalAssignment_2"); + mappings.put(grammarAccess.getFunctionAccess().getReturnTypeAssignment_4(), "rule__Function__ReturnTypeAssignment_4"); + mappings.put(grammarAccess.getFunctionAccess().getNameAssignment_5(), "rule__Function__NameAssignment_5"); + mappings.put(grammarAccess.getFunctionAccess().getParametersAssignment_6_1_0_0(), "rule__Function__ParametersAssignment_6_1_0_0"); + mappings.put(grammarAccess.getFunctionAccess().getParametersAssignment_6_1_0_1_1(), "rule__Function__ParametersAssignment_6_1_0_1_1"); + mappings.put(grammarAccess.getFunctionAccess().getVarArgsAssignment_6_1_0_2_1(), "rule__Function__VarArgsAssignment_6_1_0_2_1"); + mappings.put(grammarAccess.getFunctionAccess().getParametersAssignment_6_1_0_2_2(), "rule__Function__ParametersAssignment_6_1_0_2_2"); + mappings.put(grammarAccess.getFunctionAccess().getVarArgsAssignment_6_1_1_0(), "rule__Function__VarArgsAssignment_6_1_1_0"); + mappings.put(grammarAccess.getFunctionAccess().getParametersAssignment_6_1_1_1(), "rule__Function__ParametersAssignment_6_1_1_1"); + mappings.put(grammarAccess.getFunctionAccess().getGuardAssignment_7_1(), "rule__Function__GuardAssignment_7_1"); + mappings.put(grammarAccess.getFunctionAccess().getFuncExprAssignment_8_0_1(), "rule__Function__FuncExprAssignment_8_0_1"); + mappings.put(grammarAccess.getFunctionAccess().getFuncExprAssignment_8_1(), "rule__Function__FuncExprAssignment_8_1"); + mappings.put(grammarAccess.getGuardExpressionAccess().getGuardExprAssignment_0_1(), "rule__GuardExpression__GuardExprAssignment_0_1"); + mappings.put(grammarAccess.getGuardExpressionAccess().getGuardExprAssignment_1(), "rule__GuardExpression__GuardExprAssignment_1"); + mappings.put(grammarAccess.getAssignmentExpressionAccess().getFunctionNameAssignment_1_1(), "rule__AssignmentExpression__FunctionNameAssignment_1_1"); + mappings.put(grammarAccess.getAssignmentExpressionAccess().getRightExprAssignment_1_2(), "rule__AssignmentExpression__RightExprAssignment_1_2"); + mappings.put(grammarAccess.getVarDeclarationAccess().getFinalAssignment_1(), "rule__VarDeclaration__FinalAssignment_1"); + mappings.put(grammarAccess.getVarDeclarationAccess().getTypeAssignment_2_0_1(), "rule__VarDeclaration__TypeAssignment_2_0_1"); + mappings.put(grammarAccess.getVarDeclarationAccess().getNameAssignment_2_1(), "rule__VarDeclaration__NameAssignment_2_1"); + mappings.put(grammarAccess.getVarDeclarationAccess().getValueExprAssignment_3_1(), "rule__VarDeclaration__ValueExprAssignment_3_1"); + mappings.put(grammarAccess.getValDeclarationAccess().getFinalAssignment_1(), "rule__ValDeclaration__FinalAssignment_1"); + mappings.put(grammarAccess.getValDeclarationAccess().getImmutableAssignment_2(), "rule__ValDeclaration__ImmutableAssignment_2"); + mappings.put(grammarAccess.getValDeclarationAccess().getTypeAssignment_3(), "rule__ValDeclaration__TypeAssignment_3"); + mappings.put(grammarAccess.getValDeclarationAccess().getNameAssignment_4(), "rule__ValDeclaration__NameAssignment_4"); + mappings.put(grammarAccess.getValDeclarationAccess().getValueExprAssignment_6(), "rule__ValDeclaration__ValueExprAssignment_6"); + mappings.put(grammarAccess.getSimpleTypeRefAccess().getRawTypeAssignment_0(), "rule__SimpleTypeRef__RawTypeAssignment_0"); + mappings.put(grammarAccess.getSimpleTypeRefAccess().getActualArgumentsListAssignment_1_1(), "rule__SimpleTypeRef__ActualArgumentsListAssignment_1_1"); + mappings.put(grammarAccess.getSimpleTypeRefAccess().getActualArgumentsListAssignment_1_2_1(), "rule__SimpleTypeRef__ActualArgumentsListAssignment_1_2_1"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getParameterTypesAssignment_1_0_0(), "rule__ClosureTypeRef__ParameterTypesAssignment_1_0_0"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getParameterTypesAssignment_1_0_1_1(), "rule__ClosureTypeRef__ParameterTypesAssignment_1_0_1_1"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getVarArgsAssignment_1_0_2_1(), "rule__ClosureTypeRef__VarArgsAssignment_1_0_2_1"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getParameterTypesAssignment_1_0_2_2(), "rule__ClosureTypeRef__ParameterTypesAssignment_1_0_2_2"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getVarArgsAssignment_1_1_0(), "rule__ClosureTypeRef__VarArgsAssignment_1_1_0"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getParameterTypesAssignment_1_1_1(), "rule__ClosureTypeRef__ParameterTypesAssignment_1_1_1"); + mappings.put(grammarAccess.getClosureTypeRefAccess().getReturnTypeAssignment_4(), "rule__ClosureTypeRef__ReturnTypeAssignment_4"); + mappings.put(grammarAccess.getCachedExpressionAccess().getExprAssignment_0_2(), "rule__CachedExpression__ExprAssignment_0_2"); + mappings.put(grammarAccess.getOrExpressionAccess().getRightExprAssignment_1_2(), "rule__OrExpression__RightExprAssignment_1_2"); + mappings.put(grammarAccess.getAndExpressionAccess().getRightExprAssignment_1_2(), "rule__AndExpression__RightExprAssignment_1_2"); + mappings.put(grammarAccess.getRelationalExpressionAccess().getFunctionNameAssignment_1_1(), "rule__RelationalExpression__FunctionNameAssignment_1_1"); + mappings.put(grammarAccess.getRelationalExpressionAccess().getRightExprAssignment_1_2(), "rule__RelationalExpression__RightExprAssignment_1_2"); + mappings.put(grammarAccess.getAdditiveExpressionAccess().getFunctionNameAssignment_1_1(), "rule__AdditiveExpression__FunctionNameAssignment_1_1"); + mappings.put(grammarAccess.getAdditiveExpressionAccess().getRightExprAssignment_1_2(), "rule__AdditiveExpression__RightExprAssignment_1_2"); + mappings.put(grammarAccess.getMultiplicativeExpressionAccess().getFunctionNameAssignment_1_1(), "rule__MultiplicativeExpression__FunctionNameAssignment_1_1"); + mappings.put(grammarAccess.getMultiplicativeExpressionAccess().getRightExprAssignment_1_2(), "rule__MultiplicativeExpression__RightExprAssignment_1_2"); + mappings.put(grammarAccess.getSetExpressionAccess().getFunctionNameAssignment_1_1(), "rule__SetExpression__FunctionNameAssignment_1_1"); + mappings.put(grammarAccess.getSetExpressionAccess().getRightExprAssignment_1_2(), "rule__SetExpression__RightExprAssignment_1_2"); + mappings.put(grammarAccess.getUnaryExpressionAccess().getFunctionNameAssignment_1(), "rule__UnaryExpression__FunctionNameAssignment_1"); + mappings.put(grammarAccess.getUnaryExpressionAccess().getExprAssignment_2(), "rule__UnaryExpression__ExprAssignment_2"); + mappings.put(grammarAccess.getPreopExpressionAccess().getFunctionNameAssignment_1(), "rule__PreopExpression__FunctionNameAssignment_1"); + mappings.put(grammarAccess.getPreopExpressionAccess().getExprAssignment_2(), "rule__PreopExpression__ExprAssignment_2"); + mappings.put(grammarAccess.getPostopExpressionAccess().getFunctionNameAssignment_1_1(), "rule__PostopExpression__FunctionNameAssignment_1_1"); + mappings.put(grammarAccess.getInfixExpressionAccess().getNameAssignment_1_0_2(), "rule__InfixExpression__NameAssignment_1_0_2"); + mappings.put(grammarAccess.getInfixExpressionAccess().getParameterListAssignment_1_0_4(), "rule__InfixExpression__ParameterListAssignment_1_0_4"); + mappings.put(grammarAccess.getInfixExpressionAccess().getIndexExprAssignment_1_1_2(), "rule__InfixExpression__IndexExprAssignment_1_1_2"); + mappings.put(grammarAccess.getInfixExpressionAccess().getFeatureNameAssignment_1_2_2(), "rule__InfixExpression__FeatureNameAssignment_1_2_2"); + mappings.put(grammarAccess.getCallExpressionAccess().getParameterListAssignment_1_2(), "rule__CallExpression__ParameterListAssignment_1_2"); + mappings.put(grammarAccess.getWithExpressionAccess().getReferencedAdviceAssignment_1_0(), "rule__WithExpression__ReferencedAdviceAssignment_1_0"); + mappings.put(grammarAccess.getWithExpressionAccess().getReferencedAdviceAssignment_1_1_1(), "rule__WithExpression__ReferencedAdviceAssignment_1_1_1"); + mappings.put(grammarAccess.getWithExpressionAccess().getFuncExprAssignment_2_0_1(), "rule__WithExpression__FuncExprAssignment_2_0_1"); + mappings.put(grammarAccess.getWithExpressionAccess().getFuncExprAssignment_2_1_1(), "rule__WithExpression__FuncExprAssignment_2_1_1"); + mappings.put(grammarAccess.getWithContextExpressionAccess().getExprAssignment_2(), "rule__WithContextExpression__ExprAssignment_2"); + mappings.put(grammarAccess.getWithContextExpressionAccess().getAliasAssignment_3_1(), "rule__WithContextExpression__AliasAssignment_3_1"); + mappings.put(grammarAccess.getWithContextExpressionAccess().getContextBlockAssignment_4(), "rule__WithContextExpression__ContextBlockAssignment_4"); + mappings.put(grammarAccess.getBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__BlockExpression__ExpressionsAssignment_2_0"); + mappings.put(grammarAccess.getValueAccess().getNameAssignment_1(), "rule__Value__NameAssignment_1"); + mappings.put(grammarAccess.getKeywordVariablesAccess().getNameAssignment_1(), "rule__KeywordVariables__NameAssignment_1"); + mappings.put(grammarAccess.getOperationCallAccess().getNameAssignment_1(), "rule__OperationCall__NameAssignment_1"); + mappings.put(grammarAccess.getOperationCallAccess().getParameterListAssignment_3(), "rule__OperationCall__ParameterListAssignment_3"); + mappings.put(grammarAccess.getConstructorCallExpressionAccess().getTypeExprAssignment_2(), "rule__ConstructorCallExpression__TypeExprAssignment_2"); + mappings.put(grammarAccess.getConstructorCallExpressionAccess().getParameterListAssignment_3_1(), "rule__ConstructorCallExpression__ParameterListAssignment_3_1"); + mappings.put(grammarAccess.getConstructorCallExpressionAccess().getAliasAssignment_4_1(), "rule__ConstructorCallExpression__AliasAssignment_4_1"); + mappings.put(grammarAccess.getConstructorCallExpressionAccess().getContextBlockAssignment_5(), "rule__ConstructorCallExpression__ContextBlockAssignment_5"); + mappings.put(grammarAccess.getInitializationBlockExpressionAccess().getExpressionsAssignment_2(), "rule__InitializationBlockExpression__ExpressionsAssignment_2"); + mappings.put(grammarAccess.getInitializationExpressionAccess().getLeftExprAssignment_1(), "rule__InitializationExpression__LeftExprAssignment_1"); + mappings.put(grammarAccess.getInitializationExpressionAccess().getFunctionNameAssignment_2(), "rule__InitializationExpression__FunctionNameAssignment_2"); + mappings.put(grammarAccess.getInitializationExpressionAccess().getRightExprAssignment_3(), "rule__InitializationExpression__RightExprAssignment_3"); + mappings.put(grammarAccess.getFeatureOfThisAccess().getFeatureNameAssignment_1(), "rule__FeatureOfThis__FeatureNameAssignment_1"); + mappings.put(grammarAccess.getClosureExpressionAccess().getReturnTypeAssignment_1_1(), "rule__ClosureExpression__ReturnTypeAssignment_1_1"); + mappings.put(grammarAccess.getClosureExpressionAccess().getParametersAssignment_2_0_1_0(), "rule__ClosureExpression__ParametersAssignment_2_0_1_0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getParametersAssignment_2_0_1_1_1(), "rule__ClosureExpression__ParametersAssignment_2_0_1_1_1"); + mappings.put(grammarAccess.getClosureExpressionAccess().getVarArgsAssignment_2_0_1_2_1(), "rule__ClosureExpression__VarArgsAssignment_2_0_1_2_1"); + mappings.put(grammarAccess.getClosureExpressionAccess().getParametersAssignment_2_0_1_2_2(), "rule__ClosureExpression__ParametersAssignment_2_0_1_2_2"); + mappings.put(grammarAccess.getClosureExpressionAccess().getVarArgsAssignment_2_1_0(), "rule__ClosureExpression__VarArgsAssignment_2_1_0"); + mappings.put(grammarAccess.getClosureExpressionAccess().getParametersAssignment_2_1_1(), "rule__ClosureExpression__ParametersAssignment_2_1_1"); + mappings.put(grammarAccess.getClosureExpressionAccess().getFuncExprAssignment_4(), "rule__ClosureExpression__FuncExprAssignment_4"); + mappings.put(grammarAccess.getBlockExpressionWithoutBracketsAccess().getExpressionsAssignment_1_0(), "rule__BlockExpressionWithoutBrackets__ExpressionsAssignment_1_0"); + mappings.put(grammarAccess.getValueLiteralAccess().getValueAssignment(), "rule__ValueLiteral__ValueAssignment"); + mappings.put(grammarAccess.getUnitAccess().getUnorderedGroup_7(), "rule__Unit__UnorderedGroup_7"); + mappings.put(grammarAccess.getProvidedCapabilityAccess().getUnorderedGroup_2_1(), "rule__ProvidedCapability__UnorderedGroup_2_1"); + mappings.put(grammarAccess.getAliasedRequiredCapabilityAccess().getUnorderedGroup_3_1(), "rule__AliasedRequiredCapability__UnorderedGroup_3_1"); + mappings.put(grammarAccess.getRequiredCapabilityAccess().getUnorderedGroup_3_1(), "rule__RequiredCapability__UnorderedGroup_3_1"); } } diff --git a/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/fileAware/ide/contentassist/antlr/FileAwareTestLanguageParser.java b/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/fileAware/ide/contentassist/antlr/FileAwareTestLanguageParser.java index 7fcfa23a166..3d4941536e5 100644 --- a/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/fileAware/ide/contentassist/antlr/FileAwareTestLanguageParser.java +++ b/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/fileAware/ide/contentassist/antlr/FileAwareTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.testlanguages.fileAware.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,30 +26,30 @@ public static final class NameMappings { @Inject public NameMappings(FileAwareTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, FileAwareTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getElementAccess().getAlternatives_3(), "rule__Element__Alternatives_3"); - builder.put(grammarAccess.getPackageDeclarationAccess().getGroup(), "rule__PackageDeclaration__Group__0"); - builder.put(grammarAccess.getImportAccess().getGroup(), "rule__Import__Group__0"); - builder.put(grammarAccess.getElementAccess().getGroup(), "rule__Element__Group__0"); - builder.put(grammarAccess.getElementAccess().getGroup_3_1(), "rule__Element__Group_3_1__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); - builder.put(grammarAccess.getPackageDeclarationAccess().getNameAssignment_1(), "rule__PackageDeclaration__NameAssignment_1"); - builder.put(grammarAccess.getPackageDeclarationAccess().getImportsAssignment_2(), "rule__PackageDeclaration__ImportsAssignment_2"); - builder.put(grammarAccess.getPackageDeclarationAccess().getContentsAssignment_3(), "rule__PackageDeclaration__ContentsAssignment_3"); - builder.put(grammarAccess.getImportAccess().getElementAssignment_1(), "rule__Import__ElementAssignment_1"); - builder.put(grammarAccess.getElementAccess().getNameAssignment_1(), "rule__Element__NameAssignment_1"); - builder.put(grammarAccess.getElementAccess().getContentsAssignment_3_0(), "rule__Element__ContentsAssignment_3_0"); - builder.put(grammarAccess.getElementAccess().getRefAssignment_3_1_1(), "rule__Element__RefAssignment_3_1_1"); + private static void init(Map mappings, FileAwareTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getElementAccess().getAlternatives_3(), "rule__Element__Alternatives_3"); + mappings.put(grammarAccess.getPackageDeclarationAccess().getGroup(), "rule__PackageDeclaration__Group__0"); + mappings.put(grammarAccess.getImportAccess().getGroup(), "rule__Import__Group__0"); + mappings.put(grammarAccess.getElementAccess().getGroup(), "rule__Element__Group__0"); + mappings.put(grammarAccess.getElementAccess().getGroup_3_1(), "rule__Element__Group_3_1__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); + mappings.put(grammarAccess.getPackageDeclarationAccess().getNameAssignment_1(), "rule__PackageDeclaration__NameAssignment_1"); + mappings.put(grammarAccess.getPackageDeclarationAccess().getImportsAssignment_2(), "rule__PackageDeclaration__ImportsAssignment_2"); + mappings.put(grammarAccess.getPackageDeclarationAccess().getContentsAssignment_3(), "rule__PackageDeclaration__ContentsAssignment_3"); + mappings.put(grammarAccess.getImportAccess().getElementAssignment_1(), "rule__Import__ElementAssignment_1"); + mappings.put(grammarAccess.getElementAccess().getNameAssignment_1(), "rule__Element__NameAssignment_1"); + mappings.put(grammarAccess.getElementAccess().getContentsAssignment_3_0(), "rule__Element__ContentsAssignment_3_0"); + mappings.put(grammarAccess.getElementAccess().getRefAssignment_3_1_1(), "rule__Element__RefAssignment_3_1_1"); } } diff --git a/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/nestedRefs/ide/contentassist/antlr/NestedRefsTestLanguageParser.java b/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/nestedRefs/ide/contentassist/antlr/NestedRefsTestLanguageParser.java index 98dfc86e4cf..9a21d4efa3f 100644 --- a/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/nestedRefs/ide/contentassist/antlr/NestedRefsTestLanguageParser.java +++ b/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/nestedRefs/ide/contentassist/antlr/NestedRefsTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.testlanguages.nestedRefs.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,22 +26,22 @@ public static final class NameMappings { @Inject public NameMappings(NestedRefsTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, NestedRefsTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getSelfReferingDeclAccess().getGroup(), "rule__SelfReferingDecl__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); - builder.put(grammarAccess.getDocAccess().getDeclarationsAssignment(), "rule__Doc__DeclarationsAssignment"); - builder.put(grammarAccess.getSelfReferingDeclAccess().getNameAssignment_1(), "rule__SelfReferingDecl__NameAssignment_1"); - builder.put(grammarAccess.getSelfReferingDeclAccess().getSelfRefAssignment_3(), "rule__SelfReferingDecl__SelfRefAssignment_3"); + private static void init(Map mappings, NestedRefsTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getSelfReferingDeclAccess().getGroup(), "rule__SelfReferingDecl__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); + mappings.put(grammarAccess.getDocAccess().getDeclarationsAssignment(), "rule__Doc__DeclarationsAssignment"); + mappings.put(grammarAccess.getSelfReferingDeclAccess().getNameAssignment_1(), "rule__SelfReferingDecl__NameAssignment_1"); + mappings.put(grammarAccess.getSelfReferingDeclAccess().getSelfRefAssignment_3(), "rule__SelfReferingDecl__SelfRefAssignment_3"); } } diff --git a/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/noJdt/ide/contentassist/antlr/NoJdtTestLanguageParser.java b/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/noJdt/ide/contentassist/antlr/NoJdtTestLanguageParser.java index 81c0f8f85d6..c8f457119ef 100644 --- a/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/noJdt/ide/contentassist/antlr/NoJdtTestLanguageParser.java +++ b/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/noJdt/ide/contentassist/antlr/NoJdtTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.testlanguages.noJdt.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,21 +26,21 @@ public static final class NameMappings { @Inject public NameMappings(NoJdtTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, NoJdtTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getGreetingAccess().getGroup(), "rule__Greeting__Group__0"); - builder.put(grammarAccess.getGreetingAccess().getGroup_2(), "rule__Greeting__Group_2__0"); - builder.put(grammarAccess.getModelAccess().getGreetingsAssignment(), "rule__Model__GreetingsAssignment"); - builder.put(grammarAccess.getGreetingAccess().getNameAssignment_1(), "rule__Greeting__NameAssignment_1"); - builder.put(grammarAccess.getGreetingAccess().getOtherAssignment_2_2(), "rule__Greeting__OtherAssignment_2_2"); + private static void init(Map mappings, NoJdtTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getGreetingAccess().getGroup(), "rule__Greeting__Group__0"); + mappings.put(grammarAccess.getGreetingAccess().getGroup_2(), "rule__Greeting__Group_2__0"); + mappings.put(grammarAccess.getModelAccess().getGreetingsAssignment(), "rule__Model__GreetingsAssignment"); + mappings.put(grammarAccess.getGreetingAccess().getNameAssignment_1(), "rule__Greeting__NameAssignment_1"); + mappings.put(grammarAccess.getGreetingAccess().getOtherAssignment_2_2(), "rule__Greeting__OtherAssignment_2_2"); } } diff --git a/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/xtextgrammar/ide/contentassist/antlr/XtextGrammarTestLanguageParser.java b/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/xtextgrammar/ide/contentassist/antlr/XtextGrammarTestLanguageParser.java index 8d4d41c4d8a..fb5454a8ef8 100644 --- a/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/xtextgrammar/ide/contentassist/antlr/XtextGrammarTestLanguageParser.java +++ b/org.eclipse.xtext.testlanguages.ide/src-gen/org/eclipse/xtext/testlanguages/xtextgrammar/ide/contentassist/antlr/XtextGrammarTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.testlanguages.xtextgrammar.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,140 +26,140 @@ public static final class NameMappings { @Inject public NameMappings(XtextGrammarTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, XtextGrammarTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getAbstractRuleAccess().getAlternatives(), "rule__AbstractRule__Alternatives"); - builder.put(grammarAccess.getAbstractMetamodelDeclarationAccess().getAlternatives(), "rule__AbstractMetamodelDeclaration__Alternatives"); - builder.put(grammarAccess.getAbstractTokenAccess().getAlternatives(), "rule__AbstractToken__Alternatives"); - builder.put(grammarAccess.getAbstractTokenWithCardinalityAccess().getAlternatives_0(), "rule__AbstractTokenWithCardinality__Alternatives_0"); - builder.put(grammarAccess.getAbstractTokenWithCardinalityAccess().getCardinalityAlternatives_1_0(), "rule__AbstractTokenWithCardinality__CardinalityAlternatives_1_0"); - builder.put(grammarAccess.getActionAccess().getOperatorAlternatives_2_2_0(), "rule__Action__OperatorAlternatives_2_2_0"); - builder.put(grammarAccess.getAbstractTerminalAccess().getAlternatives(), "rule__AbstractTerminal__Alternatives"); - builder.put(grammarAccess.getAssignmentAccess().getOperatorAlternatives_1_0(), "rule__Assignment__OperatorAlternatives_1_0"); - builder.put(grammarAccess.getAssignableTerminalAccess().getAlternatives(), "rule__AssignableTerminal__Alternatives"); - builder.put(grammarAccess.getCrossReferenceableTerminalAccess().getAlternatives(), "rule__CrossReferenceableTerminal__Alternatives"); - builder.put(grammarAccess.getTerminalTokenAccess().getCardinalityAlternatives_1_0(), "rule__TerminalToken__CardinalityAlternatives_1_0"); - builder.put(grammarAccess.getTerminalTokenElementAccess().getAlternatives(), "rule__TerminalTokenElement__Alternatives"); - builder.put(grammarAccess.getAbstractNegatedTokenAccess().getAlternatives(), "rule__AbstractNegatedToken__Alternatives"); - builder.put(grammarAccess.getGrammarAccess().getGroup(), "rule__Grammar__Group__0"); - builder.put(grammarAccess.getGrammarAccess().getGroup_2(), "rule__Grammar__Group_2__0"); - builder.put(grammarAccess.getGrammarAccess().getGroup_2_2(), "rule__Grammar__Group_2_2__0"); - builder.put(grammarAccess.getGrammarAccess().getGroup_3(), "rule__Grammar__Group_3__0"); - builder.put(grammarAccess.getGrammarAccess().getGroup_3_2(), "rule__Grammar__Group_3_2__0"); - builder.put(grammarAccess.getGrammarAccess().getGroup_3_2_1(), "rule__Grammar__Group_3_2_1__0"); - builder.put(grammarAccess.getGrammarIDAccess().getGroup(), "rule__GrammarID__Group__0"); - builder.put(grammarAccess.getGrammarIDAccess().getGroup_1(), "rule__GrammarID__Group_1__0"); - builder.put(grammarAccess.getGeneratedMetamodelAccess().getGroup(), "rule__GeneratedMetamodel__Group__0"); - builder.put(grammarAccess.getGeneratedMetamodelAccess().getGroup_3(), "rule__GeneratedMetamodel__Group_3__0"); - builder.put(grammarAccess.getReferencedMetamodelAccess().getGroup(), "rule__ReferencedMetamodel__Group__0"); - builder.put(grammarAccess.getReferencedMetamodelAccess().getGroup_2(), "rule__ReferencedMetamodel__Group_2__0"); - builder.put(grammarAccess.getParserRuleAccess().getGroup(), "rule__ParserRule__Group__0"); - builder.put(grammarAccess.getParserRuleAccess().getGroup_1(), "rule__ParserRule__Group_1__0"); - builder.put(grammarAccess.getParserRuleAccess().getGroup_2(), "rule__ParserRule__Group_2__0"); - builder.put(grammarAccess.getParserRuleAccess().getGroup_2_2(), "rule__ParserRule__Group_2_2__0"); - builder.put(grammarAccess.getParserRuleAccess().getGroup_2_2_1(), "rule__ParserRule__Group_2_2_1__0"); - builder.put(grammarAccess.getTypeRefAccess().getGroup(), "rule__TypeRef__Group__0"); - builder.put(grammarAccess.getTypeRefAccess().getGroup_0(), "rule__TypeRef__Group_0__0"); - builder.put(grammarAccess.getAlternativesAccess().getGroup(), "rule__Alternatives__Group__0"); - builder.put(grammarAccess.getAlternativesAccess().getGroup_1(), "rule__Alternatives__Group_1__0"); - builder.put(grammarAccess.getAlternativesAccess().getGroup_1_1(), "rule__Alternatives__Group_1_1__0"); - builder.put(grammarAccess.getGroupAccess().getGroup(), "rule__Group__Group__0"); - builder.put(grammarAccess.getGroupAccess().getGroup_1(), "rule__Group__Group_1__0"); - builder.put(grammarAccess.getAbstractTokenWithCardinalityAccess().getGroup(), "rule__AbstractTokenWithCardinality__Group__0"); - builder.put(grammarAccess.getActionAccess().getGroup(), "rule__Action__Group__0"); - builder.put(grammarAccess.getActionAccess().getGroup_2(), "rule__Action__Group_2__0"); - builder.put(grammarAccess.getAssignmentAccess().getGroup(), "rule__Assignment__Group__0"); - builder.put(grammarAccess.getParenthesizedAssignableElementAccess().getGroup(), "rule__ParenthesizedAssignableElement__Group__0"); - builder.put(grammarAccess.getAssignableAlternativesAccess().getGroup(), "rule__AssignableAlternatives__Group__0"); - builder.put(grammarAccess.getAssignableAlternativesAccess().getGroup_1(), "rule__AssignableAlternatives__Group_1__0"); - builder.put(grammarAccess.getAssignableAlternativesAccess().getGroup_1_1(), "rule__AssignableAlternatives__Group_1_1__0"); - builder.put(grammarAccess.getCrossReferenceAccess().getGroup(), "rule__CrossReference__Group__0"); - builder.put(grammarAccess.getCrossReferenceAccess().getGroup_2(), "rule__CrossReference__Group_2__0"); - builder.put(grammarAccess.getParenthesizedCrossReferenceableElementAccess().getGroup(), "rule__ParenthesizedCrossReferenceableElement__Group__0"); - builder.put(grammarAccess.getCrossReferenceableAlternativesAccess().getGroup(), "rule__CrossReferenceableAlternatives__Group__0"); - builder.put(grammarAccess.getCrossReferenceableAlternativesAccess().getGroup_1(), "rule__CrossReferenceableAlternatives__Group_1__0"); - builder.put(grammarAccess.getCrossReferenceableAlternativesAccess().getGroup_1_1(), "rule__CrossReferenceableAlternatives__Group_1_1__0"); - builder.put(grammarAccess.getParenthesizedElementAccess().getGroup(), "rule__ParenthesizedElement__Group__0"); - builder.put(grammarAccess.getTerminalRuleAccess().getGroup(), "rule__TerminalRule__Group__0"); - builder.put(grammarAccess.getTerminalRuleAccess().getGroup_2(), "rule__TerminalRule__Group_2__0"); - builder.put(grammarAccess.getTerminalAlternativesAccess().getGroup(), "rule__TerminalAlternatives__Group__0"); - builder.put(grammarAccess.getTerminalAlternativesAccess().getGroup_1(), "rule__TerminalAlternatives__Group_1__0"); - builder.put(grammarAccess.getTerminalAlternativesAccess().getGroup_1_1(), "rule__TerminalAlternatives__Group_1_1__0"); - builder.put(grammarAccess.getTerminalGroupAccess().getGroup(), "rule__TerminalGroup__Group__0"); - builder.put(grammarAccess.getTerminalGroupAccess().getGroup_1(), "rule__TerminalGroup__Group_1__0"); - builder.put(grammarAccess.getTerminalTokenAccess().getGroup(), "rule__TerminalToken__Group__0"); - builder.put(grammarAccess.getParenthesizedTerminalElementAccess().getGroup(), "rule__ParenthesizedTerminalElement__Group__0"); - builder.put(grammarAccess.getNegatedTokenAccess().getGroup(), "rule__NegatedToken__Group__0"); - builder.put(grammarAccess.getUntilTokenAccess().getGroup(), "rule__UntilToken__Group__0"); - builder.put(grammarAccess.getWildcardAccess().getGroup(), "rule__Wildcard__Group__0"); - builder.put(grammarAccess.getCharacterRangeAccess().getGroup(), "rule__CharacterRange__Group__0"); - builder.put(grammarAccess.getCharacterRangeAccess().getGroup_1(), "rule__CharacterRange__Group_1__0"); - builder.put(grammarAccess.getEnumRuleAccess().getGroup(), "rule__EnumRule__Group__0"); - builder.put(grammarAccess.getEnumRuleAccess().getGroup_2(), "rule__EnumRule__Group_2__0"); - builder.put(grammarAccess.getEnumLiteralsAccess().getGroup(), "rule__EnumLiterals__Group__0"); - builder.put(grammarAccess.getEnumLiteralsAccess().getGroup_1(), "rule__EnumLiterals__Group_1__0"); - builder.put(grammarAccess.getEnumLiteralsAccess().getGroup_1_1(), "rule__EnumLiterals__Group_1_1__0"); - builder.put(grammarAccess.getEnumLiteralDeclarationAccess().getGroup(), "rule__EnumLiteralDeclaration__Group__0"); - builder.put(grammarAccess.getEnumLiteralDeclarationAccess().getGroup_1(), "rule__EnumLiteralDeclaration__Group_1__0"); - builder.put(grammarAccess.getGrammarAccess().getNameAssignment_1(), "rule__Grammar__NameAssignment_1"); - builder.put(grammarAccess.getGrammarAccess().getUsedGrammarsAssignment_2_1(), "rule__Grammar__UsedGrammarsAssignment_2_1"); - builder.put(grammarAccess.getGrammarAccess().getUsedGrammarsAssignment_2_2_1(), "rule__Grammar__UsedGrammarsAssignment_2_2_1"); - builder.put(grammarAccess.getGrammarAccess().getDefinesHiddenTokensAssignment_3_0(), "rule__Grammar__DefinesHiddenTokensAssignment_3_0"); - builder.put(grammarAccess.getGrammarAccess().getHiddenTokensAssignment_3_2_0(), "rule__Grammar__HiddenTokensAssignment_3_2_0"); - builder.put(grammarAccess.getGrammarAccess().getHiddenTokensAssignment_3_2_1_1(), "rule__Grammar__HiddenTokensAssignment_3_2_1_1"); - builder.put(grammarAccess.getGrammarAccess().getMetamodelDeclarationsAssignment_4(), "rule__Grammar__MetamodelDeclarationsAssignment_4"); - builder.put(grammarAccess.getGrammarAccess().getRulesAssignment_5(), "rule__Grammar__RulesAssignment_5"); - builder.put(grammarAccess.getGeneratedMetamodelAccess().getNameAssignment_1(), "rule__GeneratedMetamodel__NameAssignment_1"); - builder.put(grammarAccess.getGeneratedMetamodelAccess().getEPackageAssignment_2(), "rule__GeneratedMetamodel__EPackageAssignment_2"); - builder.put(grammarAccess.getGeneratedMetamodelAccess().getAliasAssignment_3_1(), "rule__GeneratedMetamodel__AliasAssignment_3_1"); - builder.put(grammarAccess.getReferencedMetamodelAccess().getEPackageAssignment_1(), "rule__ReferencedMetamodel__EPackageAssignment_1"); - builder.put(grammarAccess.getReferencedMetamodelAccess().getAliasAssignment_2_1(), "rule__ReferencedMetamodel__AliasAssignment_2_1"); - builder.put(grammarAccess.getParserRuleAccess().getNameAssignment_0(), "rule__ParserRule__NameAssignment_0"); - builder.put(grammarAccess.getParserRuleAccess().getTypeAssignment_1_1(), "rule__ParserRule__TypeAssignment_1_1"); - builder.put(grammarAccess.getParserRuleAccess().getDefinesHiddenTokensAssignment_2_0(), "rule__ParserRule__DefinesHiddenTokensAssignment_2_0"); - builder.put(grammarAccess.getParserRuleAccess().getHiddenTokensAssignment_2_2_0(), "rule__ParserRule__HiddenTokensAssignment_2_2_0"); - builder.put(grammarAccess.getParserRuleAccess().getHiddenTokensAssignment_2_2_1_1(), "rule__ParserRule__HiddenTokensAssignment_2_2_1_1"); - builder.put(grammarAccess.getParserRuleAccess().getAlternativesAssignment_4(), "rule__ParserRule__AlternativesAssignment_4"); - builder.put(grammarAccess.getTypeRefAccess().getMetamodelAssignment_0_0(), "rule__TypeRef__MetamodelAssignment_0_0"); - builder.put(grammarAccess.getTypeRefAccess().getClassifierAssignment_1(), "rule__TypeRef__ClassifierAssignment_1"); - builder.put(grammarAccess.getAlternativesAccess().getGroupsAssignment_1_1_1(), "rule__Alternatives__GroupsAssignment_1_1_1"); - builder.put(grammarAccess.getGroupAccess().getTokensAssignment_1_1(), "rule__Group__TokensAssignment_1_1"); - builder.put(grammarAccess.getAbstractTokenWithCardinalityAccess().getCardinalityAssignment_1(), "rule__AbstractTokenWithCardinality__CardinalityAssignment_1"); - builder.put(grammarAccess.getActionAccess().getTypeAssignment_1(), "rule__Action__TypeAssignment_1"); - builder.put(grammarAccess.getActionAccess().getFeatureAssignment_2_1(), "rule__Action__FeatureAssignment_2_1"); - builder.put(grammarAccess.getActionAccess().getOperatorAssignment_2_2(), "rule__Action__OperatorAssignment_2_2"); - builder.put(grammarAccess.getKeywordAccess().getValueAssignment(), "rule__Keyword__ValueAssignment"); - builder.put(grammarAccess.getRuleCallAccess().getRuleAssignment(), "rule__RuleCall__RuleAssignment"); - builder.put(grammarAccess.getAssignmentAccess().getFeatureAssignment_0(), "rule__Assignment__FeatureAssignment_0"); - builder.put(grammarAccess.getAssignmentAccess().getOperatorAssignment_1(), "rule__Assignment__OperatorAssignment_1"); - builder.put(grammarAccess.getAssignmentAccess().getTerminalAssignment_2(), "rule__Assignment__TerminalAssignment_2"); - builder.put(grammarAccess.getAssignableAlternativesAccess().getGroupsAssignment_1_1_1(), "rule__AssignableAlternatives__GroupsAssignment_1_1_1"); - builder.put(grammarAccess.getCrossReferenceAccess().getTypeAssignment_1(), "rule__CrossReference__TypeAssignment_1"); - builder.put(grammarAccess.getCrossReferenceAccess().getTerminalAssignment_2_1(), "rule__CrossReference__TerminalAssignment_2_1"); - builder.put(grammarAccess.getCrossReferenceableAlternativesAccess().getGroupsAssignment_1_1_1(), "rule__CrossReferenceableAlternatives__GroupsAssignment_1_1_1"); - builder.put(grammarAccess.getTerminalRuleAccess().getNameAssignment_1(), "rule__TerminalRule__NameAssignment_1"); - builder.put(grammarAccess.getTerminalRuleAccess().getTypeAssignment_2_1(), "rule__TerminalRule__TypeAssignment_2_1"); - builder.put(grammarAccess.getTerminalRuleAccess().getAlternativesAssignment_4(), "rule__TerminalRule__AlternativesAssignment_4"); - builder.put(grammarAccess.getTerminalAlternativesAccess().getGroupsAssignment_1_1_1(), "rule__TerminalAlternatives__GroupsAssignment_1_1_1"); - builder.put(grammarAccess.getTerminalGroupAccess().getTokensAssignment_1_1(), "rule__TerminalGroup__TokensAssignment_1_1"); - builder.put(grammarAccess.getTerminalTokenAccess().getCardinalityAssignment_1(), "rule__TerminalToken__CardinalityAssignment_1"); - builder.put(grammarAccess.getNegatedTokenAccess().getTerminalAssignment_1(), "rule__NegatedToken__TerminalAssignment_1"); - builder.put(grammarAccess.getUntilTokenAccess().getTerminalAssignment_1(), "rule__UntilToken__TerminalAssignment_1"); - builder.put(grammarAccess.getCharacterRangeAccess().getRightAssignment_1_2(), "rule__CharacterRange__RightAssignment_1_2"); - builder.put(grammarAccess.getEnumRuleAccess().getNameAssignment_1(), "rule__EnumRule__NameAssignment_1"); - builder.put(grammarAccess.getEnumRuleAccess().getTypeAssignment_2_1(), "rule__EnumRule__TypeAssignment_2_1"); - builder.put(grammarAccess.getEnumRuleAccess().getAlternativesAssignment_4(), "rule__EnumRule__AlternativesAssignment_4"); - builder.put(grammarAccess.getEnumLiteralsAccess().getGroupsAssignment_1_1_1(), "rule__EnumLiterals__GroupsAssignment_1_1_1"); - builder.put(grammarAccess.getEnumLiteralDeclarationAccess().getEnumLiteralAssignment_0(), "rule__EnumLiteralDeclaration__EnumLiteralAssignment_0"); - builder.put(grammarAccess.getEnumLiteralDeclarationAccess().getLiteralAssignment_1_1(), "rule__EnumLiteralDeclaration__LiteralAssignment_1_1"); + private static void init(Map mappings, XtextGrammarTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getAbstractRuleAccess().getAlternatives(), "rule__AbstractRule__Alternatives"); + mappings.put(grammarAccess.getAbstractMetamodelDeclarationAccess().getAlternatives(), "rule__AbstractMetamodelDeclaration__Alternatives"); + mappings.put(grammarAccess.getAbstractTokenAccess().getAlternatives(), "rule__AbstractToken__Alternatives"); + mappings.put(grammarAccess.getAbstractTokenWithCardinalityAccess().getAlternatives_0(), "rule__AbstractTokenWithCardinality__Alternatives_0"); + mappings.put(grammarAccess.getAbstractTokenWithCardinalityAccess().getCardinalityAlternatives_1_0(), "rule__AbstractTokenWithCardinality__CardinalityAlternatives_1_0"); + mappings.put(grammarAccess.getActionAccess().getOperatorAlternatives_2_2_0(), "rule__Action__OperatorAlternatives_2_2_0"); + mappings.put(grammarAccess.getAbstractTerminalAccess().getAlternatives(), "rule__AbstractTerminal__Alternatives"); + mappings.put(grammarAccess.getAssignmentAccess().getOperatorAlternatives_1_0(), "rule__Assignment__OperatorAlternatives_1_0"); + mappings.put(grammarAccess.getAssignableTerminalAccess().getAlternatives(), "rule__AssignableTerminal__Alternatives"); + mappings.put(grammarAccess.getCrossReferenceableTerminalAccess().getAlternatives(), "rule__CrossReferenceableTerminal__Alternatives"); + mappings.put(grammarAccess.getTerminalTokenAccess().getCardinalityAlternatives_1_0(), "rule__TerminalToken__CardinalityAlternatives_1_0"); + mappings.put(grammarAccess.getTerminalTokenElementAccess().getAlternatives(), "rule__TerminalTokenElement__Alternatives"); + mappings.put(grammarAccess.getAbstractNegatedTokenAccess().getAlternatives(), "rule__AbstractNegatedToken__Alternatives"); + mappings.put(grammarAccess.getGrammarAccess().getGroup(), "rule__Grammar__Group__0"); + mappings.put(grammarAccess.getGrammarAccess().getGroup_2(), "rule__Grammar__Group_2__0"); + mappings.put(grammarAccess.getGrammarAccess().getGroup_2_2(), "rule__Grammar__Group_2_2__0"); + mappings.put(grammarAccess.getGrammarAccess().getGroup_3(), "rule__Grammar__Group_3__0"); + mappings.put(grammarAccess.getGrammarAccess().getGroup_3_2(), "rule__Grammar__Group_3_2__0"); + mappings.put(grammarAccess.getGrammarAccess().getGroup_3_2_1(), "rule__Grammar__Group_3_2_1__0"); + mappings.put(grammarAccess.getGrammarIDAccess().getGroup(), "rule__GrammarID__Group__0"); + mappings.put(grammarAccess.getGrammarIDAccess().getGroup_1(), "rule__GrammarID__Group_1__0"); + mappings.put(grammarAccess.getGeneratedMetamodelAccess().getGroup(), "rule__GeneratedMetamodel__Group__0"); + mappings.put(grammarAccess.getGeneratedMetamodelAccess().getGroup_3(), "rule__GeneratedMetamodel__Group_3__0"); + mappings.put(grammarAccess.getReferencedMetamodelAccess().getGroup(), "rule__ReferencedMetamodel__Group__0"); + mappings.put(grammarAccess.getReferencedMetamodelAccess().getGroup_2(), "rule__ReferencedMetamodel__Group_2__0"); + mappings.put(grammarAccess.getParserRuleAccess().getGroup(), "rule__ParserRule__Group__0"); + mappings.put(grammarAccess.getParserRuleAccess().getGroup_1(), "rule__ParserRule__Group_1__0"); + mappings.put(grammarAccess.getParserRuleAccess().getGroup_2(), "rule__ParserRule__Group_2__0"); + mappings.put(grammarAccess.getParserRuleAccess().getGroup_2_2(), "rule__ParserRule__Group_2_2__0"); + mappings.put(grammarAccess.getParserRuleAccess().getGroup_2_2_1(), "rule__ParserRule__Group_2_2_1__0"); + mappings.put(grammarAccess.getTypeRefAccess().getGroup(), "rule__TypeRef__Group__0"); + mappings.put(grammarAccess.getTypeRefAccess().getGroup_0(), "rule__TypeRef__Group_0__0"); + mappings.put(grammarAccess.getAlternativesAccess().getGroup(), "rule__Alternatives__Group__0"); + mappings.put(grammarAccess.getAlternativesAccess().getGroup_1(), "rule__Alternatives__Group_1__0"); + mappings.put(grammarAccess.getAlternativesAccess().getGroup_1_1(), "rule__Alternatives__Group_1_1__0"); + mappings.put(grammarAccess.getGroupAccess().getGroup(), "rule__Group__Group__0"); + mappings.put(grammarAccess.getGroupAccess().getGroup_1(), "rule__Group__Group_1__0"); + mappings.put(grammarAccess.getAbstractTokenWithCardinalityAccess().getGroup(), "rule__AbstractTokenWithCardinality__Group__0"); + mappings.put(grammarAccess.getActionAccess().getGroup(), "rule__Action__Group__0"); + mappings.put(grammarAccess.getActionAccess().getGroup_2(), "rule__Action__Group_2__0"); + mappings.put(grammarAccess.getAssignmentAccess().getGroup(), "rule__Assignment__Group__0"); + mappings.put(grammarAccess.getParenthesizedAssignableElementAccess().getGroup(), "rule__ParenthesizedAssignableElement__Group__0"); + mappings.put(grammarAccess.getAssignableAlternativesAccess().getGroup(), "rule__AssignableAlternatives__Group__0"); + mappings.put(grammarAccess.getAssignableAlternativesAccess().getGroup_1(), "rule__AssignableAlternatives__Group_1__0"); + mappings.put(grammarAccess.getAssignableAlternativesAccess().getGroup_1_1(), "rule__AssignableAlternatives__Group_1_1__0"); + mappings.put(grammarAccess.getCrossReferenceAccess().getGroup(), "rule__CrossReference__Group__0"); + mappings.put(grammarAccess.getCrossReferenceAccess().getGroup_2(), "rule__CrossReference__Group_2__0"); + mappings.put(grammarAccess.getParenthesizedCrossReferenceableElementAccess().getGroup(), "rule__ParenthesizedCrossReferenceableElement__Group__0"); + mappings.put(grammarAccess.getCrossReferenceableAlternativesAccess().getGroup(), "rule__CrossReferenceableAlternatives__Group__0"); + mappings.put(grammarAccess.getCrossReferenceableAlternativesAccess().getGroup_1(), "rule__CrossReferenceableAlternatives__Group_1__0"); + mappings.put(grammarAccess.getCrossReferenceableAlternativesAccess().getGroup_1_1(), "rule__CrossReferenceableAlternatives__Group_1_1__0"); + mappings.put(grammarAccess.getParenthesizedElementAccess().getGroup(), "rule__ParenthesizedElement__Group__0"); + mappings.put(grammarAccess.getTerminalRuleAccess().getGroup(), "rule__TerminalRule__Group__0"); + mappings.put(grammarAccess.getTerminalRuleAccess().getGroup_2(), "rule__TerminalRule__Group_2__0"); + mappings.put(grammarAccess.getTerminalAlternativesAccess().getGroup(), "rule__TerminalAlternatives__Group__0"); + mappings.put(grammarAccess.getTerminalAlternativesAccess().getGroup_1(), "rule__TerminalAlternatives__Group_1__0"); + mappings.put(grammarAccess.getTerminalAlternativesAccess().getGroup_1_1(), "rule__TerminalAlternatives__Group_1_1__0"); + mappings.put(grammarAccess.getTerminalGroupAccess().getGroup(), "rule__TerminalGroup__Group__0"); + mappings.put(grammarAccess.getTerminalGroupAccess().getGroup_1(), "rule__TerminalGroup__Group_1__0"); + mappings.put(grammarAccess.getTerminalTokenAccess().getGroup(), "rule__TerminalToken__Group__0"); + mappings.put(grammarAccess.getParenthesizedTerminalElementAccess().getGroup(), "rule__ParenthesizedTerminalElement__Group__0"); + mappings.put(grammarAccess.getNegatedTokenAccess().getGroup(), "rule__NegatedToken__Group__0"); + mappings.put(grammarAccess.getUntilTokenAccess().getGroup(), "rule__UntilToken__Group__0"); + mappings.put(grammarAccess.getWildcardAccess().getGroup(), "rule__Wildcard__Group__0"); + mappings.put(grammarAccess.getCharacterRangeAccess().getGroup(), "rule__CharacterRange__Group__0"); + mappings.put(grammarAccess.getCharacterRangeAccess().getGroup_1(), "rule__CharacterRange__Group_1__0"); + mappings.put(grammarAccess.getEnumRuleAccess().getGroup(), "rule__EnumRule__Group__0"); + mappings.put(grammarAccess.getEnumRuleAccess().getGroup_2(), "rule__EnumRule__Group_2__0"); + mappings.put(grammarAccess.getEnumLiteralsAccess().getGroup(), "rule__EnumLiterals__Group__0"); + mappings.put(grammarAccess.getEnumLiteralsAccess().getGroup_1(), "rule__EnumLiterals__Group_1__0"); + mappings.put(grammarAccess.getEnumLiteralsAccess().getGroup_1_1(), "rule__EnumLiterals__Group_1_1__0"); + mappings.put(grammarAccess.getEnumLiteralDeclarationAccess().getGroup(), "rule__EnumLiteralDeclaration__Group__0"); + mappings.put(grammarAccess.getEnumLiteralDeclarationAccess().getGroup_1(), "rule__EnumLiteralDeclaration__Group_1__0"); + mappings.put(grammarAccess.getGrammarAccess().getNameAssignment_1(), "rule__Grammar__NameAssignment_1"); + mappings.put(grammarAccess.getGrammarAccess().getUsedGrammarsAssignment_2_1(), "rule__Grammar__UsedGrammarsAssignment_2_1"); + mappings.put(grammarAccess.getGrammarAccess().getUsedGrammarsAssignment_2_2_1(), "rule__Grammar__UsedGrammarsAssignment_2_2_1"); + mappings.put(grammarAccess.getGrammarAccess().getDefinesHiddenTokensAssignment_3_0(), "rule__Grammar__DefinesHiddenTokensAssignment_3_0"); + mappings.put(grammarAccess.getGrammarAccess().getHiddenTokensAssignment_3_2_0(), "rule__Grammar__HiddenTokensAssignment_3_2_0"); + mappings.put(grammarAccess.getGrammarAccess().getHiddenTokensAssignment_3_2_1_1(), "rule__Grammar__HiddenTokensAssignment_3_2_1_1"); + mappings.put(grammarAccess.getGrammarAccess().getMetamodelDeclarationsAssignment_4(), "rule__Grammar__MetamodelDeclarationsAssignment_4"); + mappings.put(grammarAccess.getGrammarAccess().getRulesAssignment_5(), "rule__Grammar__RulesAssignment_5"); + mappings.put(grammarAccess.getGeneratedMetamodelAccess().getNameAssignment_1(), "rule__GeneratedMetamodel__NameAssignment_1"); + mappings.put(grammarAccess.getGeneratedMetamodelAccess().getEPackageAssignment_2(), "rule__GeneratedMetamodel__EPackageAssignment_2"); + mappings.put(grammarAccess.getGeneratedMetamodelAccess().getAliasAssignment_3_1(), "rule__GeneratedMetamodel__AliasAssignment_3_1"); + mappings.put(grammarAccess.getReferencedMetamodelAccess().getEPackageAssignment_1(), "rule__ReferencedMetamodel__EPackageAssignment_1"); + mappings.put(grammarAccess.getReferencedMetamodelAccess().getAliasAssignment_2_1(), "rule__ReferencedMetamodel__AliasAssignment_2_1"); + mappings.put(grammarAccess.getParserRuleAccess().getNameAssignment_0(), "rule__ParserRule__NameAssignment_0"); + mappings.put(grammarAccess.getParserRuleAccess().getTypeAssignment_1_1(), "rule__ParserRule__TypeAssignment_1_1"); + mappings.put(grammarAccess.getParserRuleAccess().getDefinesHiddenTokensAssignment_2_0(), "rule__ParserRule__DefinesHiddenTokensAssignment_2_0"); + mappings.put(grammarAccess.getParserRuleAccess().getHiddenTokensAssignment_2_2_0(), "rule__ParserRule__HiddenTokensAssignment_2_2_0"); + mappings.put(grammarAccess.getParserRuleAccess().getHiddenTokensAssignment_2_2_1_1(), "rule__ParserRule__HiddenTokensAssignment_2_2_1_1"); + mappings.put(grammarAccess.getParserRuleAccess().getAlternativesAssignment_4(), "rule__ParserRule__AlternativesAssignment_4"); + mappings.put(grammarAccess.getTypeRefAccess().getMetamodelAssignment_0_0(), "rule__TypeRef__MetamodelAssignment_0_0"); + mappings.put(grammarAccess.getTypeRefAccess().getClassifierAssignment_1(), "rule__TypeRef__ClassifierAssignment_1"); + mappings.put(grammarAccess.getAlternativesAccess().getGroupsAssignment_1_1_1(), "rule__Alternatives__GroupsAssignment_1_1_1"); + mappings.put(grammarAccess.getGroupAccess().getTokensAssignment_1_1(), "rule__Group__TokensAssignment_1_1"); + mappings.put(grammarAccess.getAbstractTokenWithCardinalityAccess().getCardinalityAssignment_1(), "rule__AbstractTokenWithCardinality__CardinalityAssignment_1"); + mappings.put(grammarAccess.getActionAccess().getTypeAssignment_1(), "rule__Action__TypeAssignment_1"); + mappings.put(grammarAccess.getActionAccess().getFeatureAssignment_2_1(), "rule__Action__FeatureAssignment_2_1"); + mappings.put(grammarAccess.getActionAccess().getOperatorAssignment_2_2(), "rule__Action__OperatorAssignment_2_2"); + mappings.put(grammarAccess.getKeywordAccess().getValueAssignment(), "rule__Keyword__ValueAssignment"); + mappings.put(grammarAccess.getRuleCallAccess().getRuleAssignment(), "rule__RuleCall__RuleAssignment"); + mappings.put(grammarAccess.getAssignmentAccess().getFeatureAssignment_0(), "rule__Assignment__FeatureAssignment_0"); + mappings.put(grammarAccess.getAssignmentAccess().getOperatorAssignment_1(), "rule__Assignment__OperatorAssignment_1"); + mappings.put(grammarAccess.getAssignmentAccess().getTerminalAssignment_2(), "rule__Assignment__TerminalAssignment_2"); + mappings.put(grammarAccess.getAssignableAlternativesAccess().getGroupsAssignment_1_1_1(), "rule__AssignableAlternatives__GroupsAssignment_1_1_1"); + mappings.put(grammarAccess.getCrossReferenceAccess().getTypeAssignment_1(), "rule__CrossReference__TypeAssignment_1"); + mappings.put(grammarAccess.getCrossReferenceAccess().getTerminalAssignment_2_1(), "rule__CrossReference__TerminalAssignment_2_1"); + mappings.put(grammarAccess.getCrossReferenceableAlternativesAccess().getGroupsAssignment_1_1_1(), "rule__CrossReferenceableAlternatives__GroupsAssignment_1_1_1"); + mappings.put(grammarAccess.getTerminalRuleAccess().getNameAssignment_1(), "rule__TerminalRule__NameAssignment_1"); + mappings.put(grammarAccess.getTerminalRuleAccess().getTypeAssignment_2_1(), "rule__TerminalRule__TypeAssignment_2_1"); + mappings.put(grammarAccess.getTerminalRuleAccess().getAlternativesAssignment_4(), "rule__TerminalRule__AlternativesAssignment_4"); + mappings.put(grammarAccess.getTerminalAlternativesAccess().getGroupsAssignment_1_1_1(), "rule__TerminalAlternatives__GroupsAssignment_1_1_1"); + mappings.put(grammarAccess.getTerminalGroupAccess().getTokensAssignment_1_1(), "rule__TerminalGroup__TokensAssignment_1_1"); + mappings.put(grammarAccess.getTerminalTokenAccess().getCardinalityAssignment_1(), "rule__TerminalToken__CardinalityAssignment_1"); + mappings.put(grammarAccess.getNegatedTokenAccess().getTerminalAssignment_1(), "rule__NegatedToken__TerminalAssignment_1"); + mappings.put(grammarAccess.getUntilTokenAccess().getTerminalAssignment_1(), "rule__UntilToken__TerminalAssignment_1"); + mappings.put(grammarAccess.getCharacterRangeAccess().getRightAssignment_1_2(), "rule__CharacterRange__RightAssignment_1_2"); + mappings.put(grammarAccess.getEnumRuleAccess().getNameAssignment_1(), "rule__EnumRule__NameAssignment_1"); + mappings.put(grammarAccess.getEnumRuleAccess().getTypeAssignment_2_1(), "rule__EnumRule__TypeAssignment_2_1"); + mappings.put(grammarAccess.getEnumRuleAccess().getAlternativesAssignment_4(), "rule__EnumRule__AlternativesAssignment_4"); + mappings.put(grammarAccess.getEnumLiteralsAccess().getGroupsAssignment_1_1_1(), "rule__EnumLiterals__GroupsAssignment_1_1_1"); + mappings.put(grammarAccess.getEnumLiteralDeclarationAccess().getEnumLiteralAssignment_0(), "rule__EnumLiteralDeclaration__EnumLiteralAssignment_0"); + mappings.put(grammarAccess.getEnumLiteralDeclarationAccess().getLiteralAssignment_1_1(), "rule__EnumLiteralDeclaration__LiteralAssignment_1_1"); } } diff --git a/org.eclipse.xtext.ui.codetemplates.ide/src-gen/org/eclipse/xtext/ui/codetemplates/ide/contentassist/antlr/CodetemplatesParser.java b/org.eclipse.xtext.ui.codetemplates.ide/src-gen/org/eclipse/xtext/ui/codetemplates/ide/contentassist/antlr/CodetemplatesParser.java index bbdad509e85..75184f09bc4 100644 --- a/org.eclipse.xtext.ui.codetemplates.ide/src-gen/org/eclipse/xtext/ui/codetemplates/ide/contentassist/antlr/CodetemplatesParser.java +++ b/org.eclipse.xtext.ui.codetemplates.ide/src-gen/org/eclipse/xtext/ui/codetemplates/ide/contentassist/antlr/CodetemplatesParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.codetemplates.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,58 +26,58 @@ public static final class NameMappings { @Inject public NameMappings(CodetemplatesGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, CodetemplatesGrammarAccess grammarAccess) { - builder.put(grammarAccess.getCodetemplateAccess().getAlternatives_7(), "rule__Codetemplate__Alternatives_7"); - builder.put(grammarAccess.getTemplatePartAccess().getAlternatives(), "rule__TemplatePart__Alternatives"); - builder.put(grammarAccess.getVariableOrDollarAccess().getAlternatives(), "rule__VariableOrDollar__Alternatives"); - builder.put(grammarAccess.getVariableAccess().getAlternatives_2(), "rule__Variable__Alternatives_2"); - builder.put(grammarAccess.getVariableAccess().getParametersAlternatives_2_1_4_3_0_0(), "rule__Variable__ParametersAlternatives_2_1_4_3_0_0"); - builder.put(grammarAccess.getVariableAccess().getParametersAlternatives_2_1_4_3_1_3_0(), "rule__Variable__ParametersAlternatives_2_1_4_3_1_3_0"); - builder.put(grammarAccess.getValidIDAccess().getAlternatives(), "rule__ValidID__Alternatives"); - builder.put(grammarAccess.getLiteralValueAccess().getAlternatives(), "rule__LiteralValue__Alternatives"); - builder.put(grammarAccess.getDollarAccess().getAlternatives_1(), "rule__Dollar__Alternatives_1"); - builder.put(grammarAccess.getCodetemplatesAccess().getGroup(), "rule__Codetemplates__Group__0"); - builder.put(grammarAccess.getCodetemplateAccess().getGroup(), "rule__Codetemplate__Group__0"); - builder.put(grammarAccess.getTemplateBodyWithQuotesAccess().getGroup(), "rule__TemplateBodyWithQuotes__Group__0"); - builder.put(grammarAccess.getTemplateBodyAccess().getGroup(), "rule__TemplateBody__Group__0"); - builder.put(grammarAccess.getTemplateBodyAccess().getGroup_2(), "rule__TemplateBody__Group_2__0"); - builder.put(grammarAccess.getVariableAccess().getGroup(), "rule__Variable__Group__0"); - builder.put(grammarAccess.getVariableAccess().getGroup_2_1(), "rule__Variable__Group_2_1__0"); - builder.put(grammarAccess.getVariableAccess().getGroup_2_1_0(), "rule__Variable__Group_2_1_0__0"); - builder.put(grammarAccess.getVariableAccess().getGroup_2_1_4(), "rule__Variable__Group_2_1_4__0"); - builder.put(grammarAccess.getVariableAccess().getGroup_2_1_4_3(), "rule__Variable__Group_2_1_4_3__0"); - builder.put(grammarAccess.getVariableAccess().getGroup_2_1_4_3_1(), "rule__Variable__Group_2_1_4_3_1__0"); - builder.put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); - builder.put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); - builder.put(grammarAccess.getDollarAccess().getGroup(), "rule__Dollar__Group__0"); - builder.put(grammarAccess.getCodetemplatesAccess().getLanguageAssignment_2(), "rule__Codetemplates__LanguageAssignment_2"); - builder.put(grammarAccess.getCodetemplatesAccess().getTemplatesAssignment_4(), "rule__Codetemplates__TemplatesAssignment_4"); - builder.put(grammarAccess.getCodetemplateAccess().getNameAssignment_0(), "rule__Codetemplate__NameAssignment_0"); - builder.put(grammarAccess.getCodetemplateAccess().getIdAssignment_2(), "rule__Codetemplate__IdAssignment_2"); - builder.put(grammarAccess.getCodetemplateAccess().getDescriptionAssignment_4(), "rule__Codetemplate__DescriptionAssignment_4"); - builder.put(grammarAccess.getCodetemplateAccess().getContextAssignment_7_0(), "rule__Codetemplate__ContextAssignment_7_0"); - builder.put(grammarAccess.getCodetemplateAccess().getKeywordContextAssignment_7_1(), "rule__Codetemplate__KeywordContextAssignment_7_1"); - builder.put(grammarAccess.getCodetemplateAccess().getBodyAssignment_8(), "rule__Codetemplate__BodyAssignment_8"); - builder.put(grammarAccess.getTemplateBodyAccess().getPartsAssignment_1(), "rule__TemplateBody__PartsAssignment_1"); - builder.put(grammarAccess.getTemplateBodyAccess().getPartsAssignment_2_0(), "rule__TemplateBody__PartsAssignment_2_0"); - builder.put(grammarAccess.getTemplateBodyAccess().getPartsAssignment_2_1(), "rule__TemplateBody__PartsAssignment_2_1"); - builder.put(grammarAccess.getVariableAccess().getNameAssignment_2_0(), "rule__Variable__NameAssignment_2_0"); - builder.put(grammarAccess.getVariableAccess().getNameAssignment_2_1_0_0(), "rule__Variable__NameAssignment_2_1_0_0"); - builder.put(grammarAccess.getVariableAccess().getTypeAssignment_2_1_3(), "rule__Variable__TypeAssignment_2_1_3"); - builder.put(grammarAccess.getVariableAccess().getExpectingParametersAssignment_2_1_4_1(), "rule__Variable__ExpectingParametersAssignment_2_1_4_1"); - builder.put(grammarAccess.getVariableAccess().getParametersAssignment_2_1_4_3_0(), "rule__Variable__ParametersAssignment_2_1_4_3_0"); - builder.put(grammarAccess.getVariableAccess().getParametersAssignment_2_1_4_3_1_3(), "rule__Variable__ParametersAssignment_2_1_4_3_1_3"); - builder.put(grammarAccess.getLiteralAccess().getValueAssignment(), "rule__Literal__ValueAssignment"); - builder.put(grammarAccess.getDollarAccess().getEscapedAssignment_1_0(), "rule__Dollar__EscapedAssignment_1_0"); + private static void init(Map mappings, CodetemplatesGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getCodetemplateAccess().getAlternatives_7(), "rule__Codetemplate__Alternatives_7"); + mappings.put(grammarAccess.getTemplatePartAccess().getAlternatives(), "rule__TemplatePart__Alternatives"); + mappings.put(grammarAccess.getVariableOrDollarAccess().getAlternatives(), "rule__VariableOrDollar__Alternatives"); + mappings.put(grammarAccess.getVariableAccess().getAlternatives_2(), "rule__Variable__Alternatives_2"); + mappings.put(grammarAccess.getVariableAccess().getParametersAlternatives_2_1_4_3_0_0(), "rule__Variable__ParametersAlternatives_2_1_4_3_0_0"); + mappings.put(grammarAccess.getVariableAccess().getParametersAlternatives_2_1_4_3_1_3_0(), "rule__Variable__ParametersAlternatives_2_1_4_3_1_3_0"); + mappings.put(grammarAccess.getValidIDAccess().getAlternatives(), "rule__ValidID__Alternatives"); + mappings.put(grammarAccess.getLiteralValueAccess().getAlternatives(), "rule__LiteralValue__Alternatives"); + mappings.put(grammarAccess.getDollarAccess().getAlternatives_1(), "rule__Dollar__Alternatives_1"); + mappings.put(grammarAccess.getCodetemplatesAccess().getGroup(), "rule__Codetemplates__Group__0"); + mappings.put(grammarAccess.getCodetemplateAccess().getGroup(), "rule__Codetemplate__Group__0"); + mappings.put(grammarAccess.getTemplateBodyWithQuotesAccess().getGroup(), "rule__TemplateBodyWithQuotes__Group__0"); + mappings.put(grammarAccess.getTemplateBodyAccess().getGroup(), "rule__TemplateBody__Group__0"); + mappings.put(grammarAccess.getTemplateBodyAccess().getGroup_2(), "rule__TemplateBody__Group_2__0"); + mappings.put(grammarAccess.getVariableAccess().getGroup(), "rule__Variable__Group__0"); + mappings.put(grammarAccess.getVariableAccess().getGroup_2_1(), "rule__Variable__Group_2_1__0"); + mappings.put(grammarAccess.getVariableAccess().getGroup_2_1_0(), "rule__Variable__Group_2_1_0__0"); + mappings.put(grammarAccess.getVariableAccess().getGroup_2_1_4(), "rule__Variable__Group_2_1_4__0"); + mappings.put(grammarAccess.getVariableAccess().getGroup_2_1_4_3(), "rule__Variable__Group_2_1_4_3__0"); + mappings.put(grammarAccess.getVariableAccess().getGroup_2_1_4_3_1(), "rule__Variable__Group_2_1_4_3_1__0"); + mappings.put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); + mappings.put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); + mappings.put(grammarAccess.getDollarAccess().getGroup(), "rule__Dollar__Group__0"); + mappings.put(grammarAccess.getCodetemplatesAccess().getLanguageAssignment_2(), "rule__Codetemplates__LanguageAssignment_2"); + mappings.put(grammarAccess.getCodetemplatesAccess().getTemplatesAssignment_4(), "rule__Codetemplates__TemplatesAssignment_4"); + mappings.put(grammarAccess.getCodetemplateAccess().getNameAssignment_0(), "rule__Codetemplate__NameAssignment_0"); + mappings.put(grammarAccess.getCodetemplateAccess().getIdAssignment_2(), "rule__Codetemplate__IdAssignment_2"); + mappings.put(grammarAccess.getCodetemplateAccess().getDescriptionAssignment_4(), "rule__Codetemplate__DescriptionAssignment_4"); + mappings.put(grammarAccess.getCodetemplateAccess().getContextAssignment_7_0(), "rule__Codetemplate__ContextAssignment_7_0"); + mappings.put(grammarAccess.getCodetemplateAccess().getKeywordContextAssignment_7_1(), "rule__Codetemplate__KeywordContextAssignment_7_1"); + mappings.put(grammarAccess.getCodetemplateAccess().getBodyAssignment_8(), "rule__Codetemplate__BodyAssignment_8"); + mappings.put(grammarAccess.getTemplateBodyAccess().getPartsAssignment_1(), "rule__TemplateBody__PartsAssignment_1"); + mappings.put(grammarAccess.getTemplateBodyAccess().getPartsAssignment_2_0(), "rule__TemplateBody__PartsAssignment_2_0"); + mappings.put(grammarAccess.getTemplateBodyAccess().getPartsAssignment_2_1(), "rule__TemplateBody__PartsAssignment_2_1"); + mappings.put(grammarAccess.getVariableAccess().getNameAssignment_2_0(), "rule__Variable__NameAssignment_2_0"); + mappings.put(grammarAccess.getVariableAccess().getNameAssignment_2_1_0_0(), "rule__Variable__NameAssignment_2_1_0_0"); + mappings.put(grammarAccess.getVariableAccess().getTypeAssignment_2_1_3(), "rule__Variable__TypeAssignment_2_1_3"); + mappings.put(grammarAccess.getVariableAccess().getExpectingParametersAssignment_2_1_4_1(), "rule__Variable__ExpectingParametersAssignment_2_1_4_1"); + mappings.put(grammarAccess.getVariableAccess().getParametersAssignment_2_1_4_3_0(), "rule__Variable__ParametersAssignment_2_1_4_3_0"); + mappings.put(grammarAccess.getVariableAccess().getParametersAssignment_2_1_4_3_1_3(), "rule__Variable__ParametersAssignment_2_1_4_3_1_3"); + mappings.put(grammarAccess.getLiteralAccess().getValueAssignment(), "rule__Literal__ValueAssignment"); + mappings.put(grammarAccess.getDollarAccess().getEscapedAssignment_1_0(), "rule__Dollar__EscapedAssignment_1_0"); } } diff --git a/org.eclipse.xtext.ui.codetemplates.ide/src-gen/org/eclipse/xtext/ui/codetemplates/ide/contentassist/antlr/SingleCodetemplateParser.java b/org.eclipse.xtext.ui.codetemplates.ide/src-gen/org/eclipse/xtext/ui/codetemplates/ide/contentassist/antlr/SingleCodetemplateParser.java index 14acbaf2e6e..34344f3dc77 100644 --- a/org.eclipse.xtext.ui.codetemplates.ide/src-gen/org/eclipse/xtext/ui/codetemplates/ide/contentassist/antlr/SingleCodetemplateParser.java +++ b/org.eclipse.xtext.ui.codetemplates.ide/src-gen/org/eclipse/xtext/ui/codetemplates/ide/contentassist/antlr/SingleCodetemplateParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.codetemplates.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,56 +26,56 @@ public static final class NameMappings { @Inject public NameMappings(SingleCodetemplateGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, SingleCodetemplateGrammarAccess grammarAccess) { - builder.put(grammarAccess.getCodetemplateAccess().getAlternatives_2(), "rule__Codetemplate__Alternatives_2"); - builder.put(grammarAccess.getLiteralValueAccess().getAlternatives(), "rule__LiteralValue__Alternatives"); - builder.put(grammarAccess.getTemplatePartAccess().getAlternatives(), "rule__TemplatePart__Alternatives"); - builder.put(grammarAccess.getVariableOrDollarAccess().getAlternatives(), "rule__VariableOrDollar__Alternatives"); - builder.put(grammarAccess.getVariableAccess().getAlternatives_2(), "rule__Variable__Alternatives_2"); - builder.put(grammarAccess.getVariableAccess().getParametersAlternatives_2_1_4_3_0_0(), "rule__Variable__ParametersAlternatives_2_1_4_3_0_0"); - builder.put(grammarAccess.getVariableAccess().getParametersAlternatives_2_1_4_3_1_3_0(), "rule__Variable__ParametersAlternatives_2_1_4_3_1_3_0"); - builder.put(grammarAccess.getValidIDAccess().getAlternatives(), "rule__ValidID__Alternatives"); - builder.put(grammarAccess.getDollarAccess().getAlternatives_1(), "rule__Dollar__Alternatives_1"); - builder.put(grammarAccess.getCodetemplatesAccess().getGroup(), "rule__Codetemplates__Group__0"); - builder.put(grammarAccess.getCodetemplateAccess().getGroup(), "rule__Codetemplate__Group__0"); - builder.put(grammarAccess.getTemplateBodyWithQuotesAccess().getGroup(), "rule__TemplateBodyWithQuotes__Group__0"); - builder.put(grammarAccess.getTemplateBodyAccess().getGroup(), "rule__TemplateBody__Group__0"); - builder.put(grammarAccess.getTemplateBodyAccess().getGroup_2(), "rule__TemplateBody__Group_2__0"); - builder.put(grammarAccess.getVariableAccess().getGroup(), "rule__Variable__Group__0"); - builder.put(grammarAccess.getVariableAccess().getGroup_2_1(), "rule__Variable__Group_2_1__0"); - builder.put(grammarAccess.getVariableAccess().getGroup_2_1_0(), "rule__Variable__Group_2_1_0__0"); - builder.put(grammarAccess.getVariableAccess().getGroup_2_1_4(), "rule__Variable__Group_2_1_4__0"); - builder.put(grammarAccess.getVariableAccess().getGroup_2_1_4_3(), "rule__Variable__Group_2_1_4_3__0"); - builder.put(grammarAccess.getVariableAccess().getGroup_2_1_4_3_1(), "rule__Variable__Group_2_1_4_3_1__0"); - builder.put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); - builder.put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); - builder.put(grammarAccess.getDollarAccess().getGroup(), "rule__Dollar__Group__0"); - builder.put(grammarAccess.getCodetemplatesAccess().getLanguageAssignment_2(), "rule__Codetemplates__LanguageAssignment_2"); - builder.put(grammarAccess.getCodetemplatesAccess().getTemplatesAssignment_3(), "rule__Codetemplates__TemplatesAssignment_3"); - builder.put(grammarAccess.getCodetemplateAccess().getNameAssignment_0(), "rule__Codetemplate__NameAssignment_0"); - builder.put(grammarAccess.getCodetemplateAccess().getContextAssignment_2_0(), "rule__Codetemplate__ContextAssignment_2_0"); - builder.put(grammarAccess.getCodetemplateAccess().getKeywordContextAssignment_2_1(), "rule__Codetemplate__KeywordContextAssignment_2_1"); - builder.put(grammarAccess.getCodetemplateAccess().getBodyAssignment_3(), "rule__Codetemplate__BodyAssignment_3"); - builder.put(grammarAccess.getTemplateBodyAccess().getPartsAssignment_1(), "rule__TemplateBody__PartsAssignment_1"); - builder.put(grammarAccess.getTemplateBodyAccess().getPartsAssignment_2_0(), "rule__TemplateBody__PartsAssignment_2_0"); - builder.put(grammarAccess.getTemplateBodyAccess().getPartsAssignment_2_1(), "rule__TemplateBody__PartsAssignment_2_1"); - builder.put(grammarAccess.getVariableAccess().getNameAssignment_2_0(), "rule__Variable__NameAssignment_2_0"); - builder.put(grammarAccess.getVariableAccess().getNameAssignment_2_1_0_0(), "rule__Variable__NameAssignment_2_1_0_0"); - builder.put(grammarAccess.getVariableAccess().getTypeAssignment_2_1_3(), "rule__Variable__TypeAssignment_2_1_3"); - builder.put(grammarAccess.getVariableAccess().getExpectingParametersAssignment_2_1_4_1(), "rule__Variable__ExpectingParametersAssignment_2_1_4_1"); - builder.put(grammarAccess.getVariableAccess().getParametersAssignment_2_1_4_3_0(), "rule__Variable__ParametersAssignment_2_1_4_3_0"); - builder.put(grammarAccess.getVariableAccess().getParametersAssignment_2_1_4_3_1_3(), "rule__Variable__ParametersAssignment_2_1_4_3_1_3"); - builder.put(grammarAccess.getLiteralAccess().getValueAssignment(), "rule__Literal__ValueAssignment"); - builder.put(grammarAccess.getDollarAccess().getEscapedAssignment_1_0(), "rule__Dollar__EscapedAssignment_1_0"); + private static void init(Map mappings, SingleCodetemplateGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getCodetemplateAccess().getAlternatives_2(), "rule__Codetemplate__Alternatives_2"); + mappings.put(grammarAccess.getLiteralValueAccess().getAlternatives(), "rule__LiteralValue__Alternatives"); + mappings.put(grammarAccess.getTemplatePartAccess().getAlternatives(), "rule__TemplatePart__Alternatives"); + mappings.put(grammarAccess.getVariableOrDollarAccess().getAlternatives(), "rule__VariableOrDollar__Alternatives"); + mappings.put(grammarAccess.getVariableAccess().getAlternatives_2(), "rule__Variable__Alternatives_2"); + mappings.put(grammarAccess.getVariableAccess().getParametersAlternatives_2_1_4_3_0_0(), "rule__Variable__ParametersAlternatives_2_1_4_3_0_0"); + mappings.put(grammarAccess.getVariableAccess().getParametersAlternatives_2_1_4_3_1_3_0(), "rule__Variable__ParametersAlternatives_2_1_4_3_1_3_0"); + mappings.put(grammarAccess.getValidIDAccess().getAlternatives(), "rule__ValidID__Alternatives"); + mappings.put(grammarAccess.getDollarAccess().getAlternatives_1(), "rule__Dollar__Alternatives_1"); + mappings.put(grammarAccess.getCodetemplatesAccess().getGroup(), "rule__Codetemplates__Group__0"); + mappings.put(grammarAccess.getCodetemplateAccess().getGroup(), "rule__Codetemplate__Group__0"); + mappings.put(grammarAccess.getTemplateBodyWithQuotesAccess().getGroup(), "rule__TemplateBodyWithQuotes__Group__0"); + mappings.put(grammarAccess.getTemplateBodyAccess().getGroup(), "rule__TemplateBody__Group__0"); + mappings.put(grammarAccess.getTemplateBodyAccess().getGroup_2(), "rule__TemplateBody__Group_2__0"); + mappings.put(grammarAccess.getVariableAccess().getGroup(), "rule__Variable__Group__0"); + mappings.put(grammarAccess.getVariableAccess().getGroup_2_1(), "rule__Variable__Group_2_1__0"); + mappings.put(grammarAccess.getVariableAccess().getGroup_2_1_0(), "rule__Variable__Group_2_1_0__0"); + mappings.put(grammarAccess.getVariableAccess().getGroup_2_1_4(), "rule__Variable__Group_2_1_4__0"); + mappings.put(grammarAccess.getVariableAccess().getGroup_2_1_4_3(), "rule__Variable__Group_2_1_4_3__0"); + mappings.put(grammarAccess.getVariableAccess().getGroup_2_1_4_3_1(), "rule__Variable__Group_2_1_4_3_1__0"); + mappings.put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); + mappings.put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); + mappings.put(grammarAccess.getDollarAccess().getGroup(), "rule__Dollar__Group__0"); + mappings.put(grammarAccess.getCodetemplatesAccess().getLanguageAssignment_2(), "rule__Codetemplates__LanguageAssignment_2"); + mappings.put(grammarAccess.getCodetemplatesAccess().getTemplatesAssignment_3(), "rule__Codetemplates__TemplatesAssignment_3"); + mappings.put(grammarAccess.getCodetemplateAccess().getNameAssignment_0(), "rule__Codetemplate__NameAssignment_0"); + mappings.put(grammarAccess.getCodetemplateAccess().getContextAssignment_2_0(), "rule__Codetemplate__ContextAssignment_2_0"); + mappings.put(grammarAccess.getCodetemplateAccess().getKeywordContextAssignment_2_1(), "rule__Codetemplate__KeywordContextAssignment_2_1"); + mappings.put(grammarAccess.getCodetemplateAccess().getBodyAssignment_3(), "rule__Codetemplate__BodyAssignment_3"); + mappings.put(grammarAccess.getTemplateBodyAccess().getPartsAssignment_1(), "rule__TemplateBody__PartsAssignment_1"); + mappings.put(grammarAccess.getTemplateBodyAccess().getPartsAssignment_2_0(), "rule__TemplateBody__PartsAssignment_2_0"); + mappings.put(grammarAccess.getTemplateBodyAccess().getPartsAssignment_2_1(), "rule__TemplateBody__PartsAssignment_2_1"); + mappings.put(grammarAccess.getVariableAccess().getNameAssignment_2_0(), "rule__Variable__NameAssignment_2_0"); + mappings.put(grammarAccess.getVariableAccess().getNameAssignment_2_1_0_0(), "rule__Variable__NameAssignment_2_1_0_0"); + mappings.put(grammarAccess.getVariableAccess().getTypeAssignment_2_1_3(), "rule__Variable__TypeAssignment_2_1_3"); + mappings.put(grammarAccess.getVariableAccess().getExpectingParametersAssignment_2_1_4_1(), "rule__Variable__ExpectingParametersAssignment_2_1_4_1"); + mappings.put(grammarAccess.getVariableAccess().getParametersAssignment_2_1_4_3_0(), "rule__Variable__ParametersAssignment_2_1_4_3_0"); + mappings.put(grammarAccess.getVariableAccess().getParametersAssignment_2_1_4_3_1_3(), "rule__Variable__ParametersAssignment_2_1_4_3_1_3"); + mappings.put(grammarAccess.getLiteralAccess().getValueAssignment(), "rule__Literal__ValueAssignment"); + mappings.put(grammarAccess.getDollarAccess().getEscapedAssignment_1_0(), "rule__Dollar__EscapedAssignment_1_0"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/bracketmatching/ide/contentassist/antlr/BmTestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/bracketmatching/ide/contentassist/antlr/BmTestLanguageParser.java index 62843c3a290..5287b5edbc7 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/bracketmatching/ide/contentassist/antlr/BmTestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/bracketmatching/ide/contentassist/antlr/BmTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.bracketmatching.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,27 +26,27 @@ public static final class NameMappings { @Inject public NameMappings(BmTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, BmTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getExpressionAccess().getAlternatives(), "rule__Expression__Alternatives"); - builder.put(grammarAccess.getSExpressionAccess().getAlternatives_1(), "rule__SExpression__Alternatives_1"); - builder.put(grammarAccess.getVALUEAccess().getAlternatives(), "rule__VALUE__Alternatives"); - builder.put(grammarAccess.getExpressionAccess().getGroup_2(), "rule__Expression__Group_2__0"); - builder.put(grammarAccess.getSExpressionAccess().getGroup(), "rule__SExpression__Group__0"); - builder.put(grammarAccess.getSExpressionAccess().getGroup_1_0(), "rule__SExpression__Group_1_0__0"); - builder.put(grammarAccess.getSExpressionAccess().getGroup_1_1(), "rule__SExpression__Group_1_1__0"); - builder.put(grammarAccess.getFileAccess().getExpressionAssignment(), "rule__File__ExpressionAssignment"); - builder.put(grammarAccess.getSExpressionAccess().getElementAssignment_1_0_1(), "rule__SExpression__ElementAssignment_1_0_1"); - builder.put(grammarAccess.getSExpressionAccess().getElementAssignment_1_1_1(), "rule__SExpression__ElementAssignment_1_1_1"); - builder.put(grammarAccess.getAtomAccess().getValueAssignment(), "rule__Atom__ValueAssignment"); + private static void init(Map mappings, BmTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getExpressionAccess().getAlternatives(), "rule__Expression__Alternatives"); + mappings.put(grammarAccess.getSExpressionAccess().getAlternatives_1(), "rule__SExpression__Alternatives_1"); + mappings.put(grammarAccess.getVALUEAccess().getAlternatives(), "rule__VALUE__Alternatives"); + mappings.put(grammarAccess.getExpressionAccess().getGroup_2(), "rule__Expression__Group_2__0"); + mappings.put(grammarAccess.getSExpressionAccess().getGroup(), "rule__SExpression__Group__0"); + mappings.put(grammarAccess.getSExpressionAccess().getGroup_1_0(), "rule__SExpression__Group_1_0__0"); + mappings.put(grammarAccess.getSExpressionAccess().getGroup_1_1(), "rule__SExpression__Group_1_1__0"); + mappings.put(grammarAccess.getFileAccess().getExpressionAssignment(), "rule__File__ExpressionAssignment"); + mappings.put(grammarAccess.getSExpressionAccess().getElementAssignment_1_0_1(), "rule__SExpression__ElementAssignment_1_0_1"); + mappings.put(grammarAccess.getSExpressionAccess().getElementAssignment_1_1_1(), "rule__SExpression__ElementAssignment_1_1_1"); + mappings.put(grammarAccess.getAtomAccess().getValueAssignment(), "rule__Atom__ValueAssignment"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/BacktrackingContentAssistTestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/BacktrackingContentAssistTestLanguageParser.java index ed03eaf7816..cbbb3258647 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/BacktrackingContentAssistTestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/BacktrackingContentAssistTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,291 +26,291 @@ public static final class NameMappings { @Inject public NameMappings(BacktrackingContentAssistTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, BacktrackingContentAssistTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getDocumentAccess().getAlternatives(), "rule__Document__Alternatives"); - builder.put(grammarAccess.getClassifierContextDeclAccess().getAlternatives_3(), "rule__ClassifierContextDecl__Alternatives_3"); - builder.put(grammarAccess.getClassifierRefAccess().getAlternatives(), "rule__ClassifierRef__Alternatives"); - builder.put(grammarAccess.getContextDeclAccess().getAlternatives(), "rule__ContextDecl__Alternatives"); - builder.put(grammarAccess.getOperationContextDeclAccess().getAlternatives_7(), "rule__OperationContextDecl__Alternatives_7"); - builder.put(grammarAccess.getOperationRefAccess().getAlternatives(), "rule__OperationRef__Alternatives"); - builder.put(grammarAccess.getPackageRefAccess().getAlternatives(), "rule__PackageRef__Alternatives"); - builder.put(grammarAccess.getPropertyContextDeclAccess().getAlternatives_4(), "rule__PropertyContextDecl__Alternatives_4"); - builder.put(grammarAccess.getPropertyRefAccess().getAlternatives(), "rule__PropertyRef__Alternatives"); - builder.put(grammarAccess.getNavigationExpAccess().getAlternatives_1(), "rule__NavigationExp__Alternatives_1"); - builder.put(grammarAccess.getNavigationExpAccess().getOpAlternatives_1_0_1_0(), "rule__NavigationExp__OpAlternatives_1_0_1_0"); - builder.put(grammarAccess.getNavigationExpAccess().getOpAlternatives_1_1_1_0(), "rule__NavigationExp__OpAlternatives_1_1_1_0"); - builder.put(grammarAccess.getNavigatingExpAccess().getAlternatives_1(), "rule__NavigatingExp__Alternatives_1"); - builder.put(grammarAccess.getNavigatingExpAccess().getOpAlternatives_1_0_1_0(), "rule__NavigatingExp__OpAlternatives_1_0_1_0"); - builder.put(grammarAccess.getNavigatingExpAccess().getOpAlternatives_1_1_1_0(), "rule__NavigatingExp__OpAlternatives_1_1_1_0"); - builder.put(grammarAccess.getOclMessageArgAccess().getAlternatives(), "rule__OclMessageArg__Alternatives"); - builder.put(grammarAccess.getNUMBER_LITERALAccess().getAlternatives_2_0(), "rule__NUMBER_LITERAL__Alternatives_2_0"); - builder.put(grammarAccess.getNUMBER_LITERALAccess().getAlternatives_2_1(), "rule__NUMBER_LITERAL__Alternatives_2_1"); - builder.put(grammarAccess.getEssentialOCLRestrictedKeywordsAccess().getAlternatives(), "rule__EssentialOCLRestrictedKeywords__Alternatives"); - builder.put(grammarAccess.getIdentifierAccess().getAlternatives(), "rule__Identifier__Alternatives"); - builder.put(grammarAccess.getPrimitiveTypeIdentifierAccess().getAlternatives(), "rule__PrimitiveTypeIdentifier__Alternatives"); - builder.put(grammarAccess.getCollectionTypeIdentifierAccess().getAlternatives(), "rule__CollectionTypeIdentifier__Alternatives"); - builder.put(grammarAccess.getTypeExpAccess().getAlternatives(), "rule__TypeExp__Alternatives"); - builder.put(grammarAccess.getPrimitiveLiteralExpAccess().getAlternatives(), "rule__PrimitiveLiteralExp__Alternatives"); - builder.put(grammarAccess.getBooleanLiteralExpAccess().getAlternatives_1(), "rule__BooleanLiteralExp__Alternatives_1"); - builder.put(grammarAccess.getExpressionAccess().getAlternatives(), "rule__Expression__Alternatives"); - builder.put(grammarAccess.getImpliesAccess().getArgumentAlternatives_1_2_0(), "rule__Implies__ArgumentAlternatives_1_2_0"); - builder.put(grammarAccess.getXorAccess().getArgumentAlternatives_1_2_0(), "rule__Xor__ArgumentAlternatives_1_2_0"); - builder.put(grammarAccess.getOrAccess().getArgumentAlternatives_1_2_0(), "rule__Or__ArgumentAlternatives_1_2_0"); - builder.put(grammarAccess.getAndAccess().getArgumentAlternatives_1_2_0(), "rule__And__ArgumentAlternatives_1_2_0"); - builder.put(grammarAccess.getEqualityAccess().getOpAlternatives_1_1_0(), "rule__Equality__OpAlternatives_1_1_0"); - builder.put(grammarAccess.getEqualityAccess().getArgumentAlternatives_1_2_0(), "rule__Equality__ArgumentAlternatives_1_2_0"); - builder.put(grammarAccess.getRelationalAccess().getOpAlternatives_1_1_0(), "rule__Relational__OpAlternatives_1_1_0"); - builder.put(grammarAccess.getRelationalAccess().getArgumentAlternatives_1_2_0(), "rule__Relational__ArgumentAlternatives_1_2_0"); - builder.put(grammarAccess.getAdditiveAccess().getOpAlternatives_1_1_0(), "rule__Additive__OpAlternatives_1_1_0"); - builder.put(grammarAccess.getAdditiveAccess().getArgumentAlternatives_1_2_0(), "rule__Additive__ArgumentAlternatives_1_2_0"); - builder.put(grammarAccess.getMultiplicativeAccess().getOpAlternatives_1_1_0(), "rule__Multiplicative__OpAlternatives_1_1_0"); - builder.put(grammarAccess.getMultiplicativeAccess().getArgumentAlternatives_1_2_0(), "rule__Multiplicative__ArgumentAlternatives_1_2_0"); - builder.put(grammarAccess.getUnaryAccess().getAlternatives(), "rule__Unary__Alternatives"); - builder.put(grammarAccess.getUnaryAccess().getOpAlternatives_1_1_0(), "rule__Unary__OpAlternatives_1_1_0"); - builder.put(grammarAccess.getSubNavigationExpAccess().getAlternatives(), "rule__SubNavigationExp__Alternatives"); - builder.put(grammarAccess.getSubNavigatingExpAccess().getAlternatives(), "rule__SubNavigatingExp__Alternatives"); - builder.put(grammarAccess.getRoundBracketExpAccess().getAlternatives_3_1(), "rule__RoundBracketExp__Alternatives_3_1"); - builder.put(grammarAccess.getNameExpAccess().getAlternatives(), "rule__NameExp__Alternatives"); - builder.put(grammarAccess.getBodyAccess().getGroup(), "rule__Body__Group__0"); - builder.put(grammarAccess.getClassifierContextDeclAccess().getGroup(), "rule__ClassifierContextDecl__Group__0"); - builder.put(grammarAccess.getClassifierContextDeclAccess().getGroup_1(), "rule__ClassifierContextDecl__Group_1__0"); - builder.put(grammarAccess.getDefinitionAccess().getGroup(), "rule__Definition__Group__0"); - builder.put(grammarAccess.getDefinitionAccess().getGroup_5(), "rule__Definition__Group_5__0"); - builder.put(grammarAccess.getDefinitionAccess().getGroup_5_1(), "rule__Definition__Group_5_1__0"); - builder.put(grammarAccess.getDefinitionAccess().getGroup_5_1_1(), "rule__Definition__Group_5_1_1__0"); - builder.put(grammarAccess.getDerAccess().getGroup(), "rule__Der__Group__0"); - builder.put(grammarAccess.getInitAccess().getGroup(), "rule__Init__Group__0"); - builder.put(grammarAccess.getInvariantAccess().getGroup(), "rule__Invariant__Group__0"); - builder.put(grammarAccess.getOperationContextDeclAccess().getGroup(), "rule__OperationContextDecl__Group__0"); - builder.put(grammarAccess.getOperationContextDeclAccess().getGroup_3(), "rule__OperationContextDecl__Group_3__0"); - builder.put(grammarAccess.getOperationContextDeclAccess().getGroup_3_1(), "rule__OperationContextDecl__Group_3_1__0"); - builder.put(grammarAccess.getPackageDeclarationAccess().getGroup(), "rule__PackageDeclaration__Group__0"); - builder.put(grammarAccess.getParameterAccess().getGroup(), "rule__Parameter__Group__0"); - builder.put(grammarAccess.getParameterAccess().getGroup_0(), "rule__Parameter__Group_0__0"); - builder.put(grammarAccess.getPostAccess().getGroup(), "rule__Post__Group__0"); - builder.put(grammarAccess.getPreAccess().getGroup(), "rule__Pre__Group__0"); - builder.put(grammarAccess.getPropertyContextDeclAccess().getGroup(), "rule__PropertyContextDecl__Group__0"); - builder.put(grammarAccess.getPropertyContextDeclAccess().getGroup_4_0(), "rule__PropertyContextDecl__Group_4_0__0"); - builder.put(grammarAccess.getPropertyContextDeclAccess().getGroup_4_1(), "rule__PropertyContextDecl__Group_4_1__0"); - builder.put(grammarAccess.getQualifiedClassifierRefAccess().getGroup(), "rule__QualifiedClassifierRef__Group__0"); - builder.put(grammarAccess.getQualifiedOperationRefAccess().getGroup(), "rule__QualifiedOperationRef__Group__0"); - builder.put(grammarAccess.getQualifiedPropertyRefAccess().getGroup(), "rule__QualifiedPropertyRef__Group__0"); - builder.put(grammarAccess.getQualifiedPackageRefAccess().getGroup(), "rule__QualifiedPackageRef__Group__0"); - builder.put(grammarAccess.getNavigationExpAccess().getGroup(), "rule__NavigationExp__Group__0"); - builder.put(grammarAccess.getNavigationExpAccess().getGroup_1_0(), "rule__NavigationExp__Group_1_0__0"); - builder.put(grammarAccess.getNavigationExpAccess().getGroup_1_1(), "rule__NavigationExp__Group_1_1__0"); - builder.put(grammarAccess.getNavigationExpAccess().getGroup_1_1_4(), "rule__NavigationExp__Group_1_1_4__0"); - builder.put(grammarAccess.getNavigationExpAccess().getGroup_1_1_4_1(), "rule__NavigationExp__Group_1_1_4_1__0"); - builder.put(grammarAccess.getNavigatingExpAccess().getGroup(), "rule__NavigatingExp__Group__0"); - builder.put(grammarAccess.getNavigatingExpAccess().getGroup_1_0(), "rule__NavigatingExp__Group_1_0__0"); - builder.put(grammarAccess.getNavigatingExpAccess().getGroup_1_1(), "rule__NavigatingExp__Group_1_1__0"); - builder.put(grammarAccess.getNavigatingExpAccess().getGroup_1_1_4(), "rule__NavigatingExp__Group_1_1_4__0"); - builder.put(grammarAccess.getNavigatingExpAccess().getGroup_1_1_4_1(), "rule__NavigatingExp__Group_1_1_4_1__0"); - builder.put(grammarAccess.getOclMessageArgAccess().getGroup_0(), "rule__OclMessageArg__Group_0__0"); - builder.put(grammarAccess.getOclMessageArgAccess().getGroup_0_2(), "rule__OclMessageArg__Group_0_2__0"); - builder.put(grammarAccess.getNUMBER_LITERALAccess().getGroup(), "rule__NUMBER_LITERAL__Group__0"); - builder.put(grammarAccess.getNUMBER_LITERALAccess().getGroup_1(), "rule__NUMBER_LITERAL__Group_1__0"); - builder.put(grammarAccess.getNUMBER_LITERALAccess().getGroup_2(), "rule__NUMBER_LITERAL__Group_2__0"); - builder.put(grammarAccess.getCollectionTypeAccess().getGroup(), "rule__CollectionType__Group__0"); - builder.put(grammarAccess.getCollectionTypeAccess().getGroup_1(), "rule__CollectionType__Group_1__0"); - builder.put(grammarAccess.getTupleTypeAccess().getGroup(), "rule__TupleType__Group__0"); - builder.put(grammarAccess.getTupleTypeAccess().getGroup_2(), "rule__TupleType__Group_2__0"); - builder.put(grammarAccess.getTupleTypeAccess().getGroup_2_1(), "rule__TupleType__Group_2_1__0"); - builder.put(grammarAccess.getTuplePartAccess().getGroup(), "rule__TuplePart__Group__0"); - builder.put(grammarAccess.getCollectionLiteralExpAccess().getGroup(), "rule__CollectionLiteralExp__Group__0"); - builder.put(grammarAccess.getCollectionLiteralExpAccess().getGroup_1(), "rule__CollectionLiteralExp__Group_1__0"); - builder.put(grammarAccess.getCollectionLiteralExpAccess().getGroup_1_2(), "rule__CollectionLiteralExp__Group_1_2__0"); - builder.put(grammarAccess.getCollectionLiteralExpAccess().getGroup_1_2_1(), "rule__CollectionLiteralExp__Group_1_2_1__0"); - builder.put(grammarAccess.getCollectionLiteralPartAccess().getGroup(), "rule__CollectionLiteralPart__Group__0"); - builder.put(grammarAccess.getCollectionLiteralPartAccess().getGroup_1(), "rule__CollectionLiteralPart__Group_1__0"); - builder.put(grammarAccess.getTupleLiteralExpAccess().getGroup(), "rule__TupleLiteralExp__Group__0"); - builder.put(grammarAccess.getTupleLiteralExpAccess().getGroup_2(), "rule__TupleLiteralExp__Group_2__0"); - builder.put(grammarAccess.getTupleLiteralExpAccess().getGroup_2_2(), "rule__TupleLiteralExp__Group_2_2__0"); - builder.put(grammarAccess.getTupleLiteralPartAccess().getGroup(), "rule__TupleLiteralPart__Group__0"); - builder.put(grammarAccess.getTupleLiteralPartAccess().getGroup_1(), "rule__TupleLiteralPart__Group_1__0"); - builder.put(grammarAccess.getBooleanLiteralExpAccess().getGroup(), "rule__BooleanLiteralExp__Group__0"); - builder.put(grammarAccess.getInvalidLiteralExpAccess().getGroup(), "rule__InvalidLiteralExp__Group__0"); - builder.put(grammarAccess.getNullLiteralExpAccess().getGroup(), "rule__NullLiteralExp__Group__0"); - builder.put(grammarAccess.getImpliesAccess().getGroup(), "rule__Implies__Group__0"); - builder.put(grammarAccess.getImpliesAccess().getGroup_1(), "rule__Implies__Group_1__0"); - builder.put(grammarAccess.getXorAccess().getGroup(), "rule__Xor__Group__0"); - builder.put(grammarAccess.getXorAccess().getGroup_1(), "rule__Xor__Group_1__0"); - builder.put(grammarAccess.getOrAccess().getGroup(), "rule__Or__Group__0"); - builder.put(grammarAccess.getOrAccess().getGroup_1(), "rule__Or__Group_1__0"); - builder.put(grammarAccess.getAndAccess().getGroup(), "rule__And__Group__0"); - builder.put(grammarAccess.getAndAccess().getGroup_1(), "rule__And__Group_1__0"); - builder.put(grammarAccess.getEqualityAccess().getGroup(), "rule__Equality__Group__0"); - builder.put(grammarAccess.getEqualityAccess().getGroup_1(), "rule__Equality__Group_1__0"); - builder.put(grammarAccess.getRelationalAccess().getGroup(), "rule__Relational__Group__0"); - builder.put(grammarAccess.getRelationalAccess().getGroup_1(), "rule__Relational__Group_1__0"); - builder.put(grammarAccess.getAdditiveAccess().getGroup(), "rule__Additive__Group__0"); - builder.put(grammarAccess.getAdditiveAccess().getGroup_1(), "rule__Additive__Group_1__0"); - builder.put(grammarAccess.getMultiplicativeAccess().getGroup(), "rule__Multiplicative__Group__0"); - builder.put(grammarAccess.getMultiplicativeAccess().getGroup_1(), "rule__Multiplicative__Group_1__0"); - builder.put(grammarAccess.getUnaryAccess().getGroup_1(), "rule__Unary__Group_1__0"); - builder.put(grammarAccess.getSubNavigationExpAccess().getGroup_9(), "rule__SubNavigationExp__Group_9__0"); - builder.put(grammarAccess.getIteratorVariableAccess().getGroup(), "rule__IteratorVariable__Group__0"); - builder.put(grammarAccess.getIteratorVariableAccess().getGroup_1(), "rule__IteratorVariable__Group_1__0"); - builder.put(grammarAccess.getIteratorAccumulatorAccess().getGroup(), "rule__IteratorAccumulator__Group__0"); - builder.put(grammarAccess.getRoundBracketExpAccess().getGroup(), "rule__RoundBracketExp__Group__0"); - builder.put(grammarAccess.getRoundBracketExpAccess().getGroup_1(), "rule__RoundBracketExp__Group_1__0"); - builder.put(grammarAccess.getRoundBracketExpAccess().getGroup_3(), "rule__RoundBracketExp__Group_3__0"); - builder.put(grammarAccess.getRoundBracketExpAccess().getGroup_3_1_0(), "rule__RoundBracketExp__Group_3_1_0__0"); - builder.put(grammarAccess.getRoundBracketExpAccess().getGroup_3_1_1(), "rule__RoundBracketExp__Group_3_1_1__0"); - builder.put(grammarAccess.getRoundBracketExpAccess().getGroup_4(), "rule__RoundBracketExp__Group_4__0"); - builder.put(grammarAccess.getRoundBracketExpAccess().getGroup_4_1(), "rule__RoundBracketExp__Group_4_1__0"); - builder.put(grammarAccess.getSquareBracketExpAccess().getGroup(), "rule__SquareBracketExp__Group__0"); - builder.put(grammarAccess.getSquareBracketExpAccess().getGroup_3(), "rule__SquareBracketExp__Group_3__0"); - builder.put(grammarAccess.getSquareBracketExpAccess().getGroup_5(), "rule__SquareBracketExp__Group_5__0"); - builder.put(grammarAccess.getPreExpAccess().getGroup(), "rule__PreExp__Group__0"); - builder.put(grammarAccess.getSelfExpAccess().getGroup(), "rule__SelfExp__Group__0"); - builder.put(grammarAccess.getPathNameExpAccess().getGroup(), "rule__PathNameExp__Group__0"); - builder.put(grammarAccess.getIfExpAccess().getGroup(), "rule__IfExp__Group__0"); - builder.put(grammarAccess.getLetExpAccess().getGroup(), "rule__LetExp__Group__0"); - builder.put(grammarAccess.getLetExpAccess().getGroup_2(), "rule__LetExp__Group_2__0"); - builder.put(grammarAccess.getLetVariableAccess().getGroup(), "rule__LetVariable__Group__0"); - builder.put(grammarAccess.getDocumentAccess().getPackagesAssignment_0(), "rule__Document__PackagesAssignment_0"); - builder.put(grammarAccess.getDocumentAccess().getContextsAssignment_1(), "rule__Document__ContextsAssignment_1"); - builder.put(grammarAccess.getBodyAccess().getConstraintNameAssignment_1(), "rule__Body__ConstraintNameAssignment_1"); - builder.put(grammarAccess.getBodyAccess().getExpressionAssignment_3(), "rule__Body__ExpressionAssignment_3"); - builder.put(grammarAccess.getClassifierContextDeclAccess().getSelfNameAssignment_1_0(), "rule__ClassifierContextDecl__SelfNameAssignment_1_0"); - builder.put(grammarAccess.getClassifierContextDeclAccess().getClassifierAssignment_2(), "rule__ClassifierContextDecl__ClassifierAssignment_2"); - builder.put(grammarAccess.getClassifierContextDeclAccess().getInvariantsAssignment_3_0(), "rule__ClassifierContextDecl__InvariantsAssignment_3_0"); - builder.put(grammarAccess.getClassifierContextDeclAccess().getDefinitionsAssignment_3_1(), "rule__ClassifierContextDecl__DefinitionsAssignment_3_1"); - builder.put(grammarAccess.getDefinitionAccess().getStaticAssignment_0(), "rule__Definition__StaticAssignment_0"); - builder.put(grammarAccess.getDefinitionAccess().getConstraintNameAssignment_2(), "rule__Definition__ConstraintNameAssignment_2"); - builder.put(grammarAccess.getDefinitionAccess().getConstrainedNameAssignment_4(), "rule__Definition__ConstrainedNameAssignment_4"); - builder.put(grammarAccess.getDefinitionAccess().getParametersAssignment_5_1_0(), "rule__Definition__ParametersAssignment_5_1_0"); - builder.put(grammarAccess.getDefinitionAccess().getParametersAssignment_5_1_1_1(), "rule__Definition__ParametersAssignment_5_1_1_1"); - builder.put(grammarAccess.getDefinitionAccess().getTypeAssignment_7(), "rule__Definition__TypeAssignment_7"); - builder.put(grammarAccess.getDefinitionAccess().getExpressionAssignment_9(), "rule__Definition__ExpressionAssignment_9"); - builder.put(grammarAccess.getDerAccess().getExpressionAssignment_2(), "rule__Der__ExpressionAssignment_2"); - builder.put(grammarAccess.getInitAccess().getExpressionAssignment_2(), "rule__Init__ExpressionAssignment_2"); - builder.put(grammarAccess.getInvariantAccess().getConstraintNameAssignment_1(), "rule__Invariant__ConstraintNameAssignment_1"); - builder.put(grammarAccess.getInvariantAccess().getExpressionAssignment_3(), "rule__Invariant__ExpressionAssignment_3"); - builder.put(grammarAccess.getOperationContextDeclAccess().getOperationAssignment_1(), "rule__OperationContextDecl__OperationAssignment_1"); - builder.put(grammarAccess.getOperationContextDeclAccess().getParametersAssignment_3_0(), "rule__OperationContextDecl__ParametersAssignment_3_0"); - builder.put(grammarAccess.getOperationContextDeclAccess().getParametersAssignment_3_1_1(), "rule__OperationContextDecl__ParametersAssignment_3_1_1"); - builder.put(grammarAccess.getOperationContextDeclAccess().getTypeAssignment_6(), "rule__OperationContextDecl__TypeAssignment_6"); - builder.put(grammarAccess.getOperationContextDeclAccess().getPresAssignment_7_0(), "rule__OperationContextDecl__PresAssignment_7_0"); - builder.put(grammarAccess.getOperationContextDeclAccess().getPostsAssignment_7_1(), "rule__OperationContextDecl__PostsAssignment_7_1"); - builder.put(grammarAccess.getOperationContextDeclAccess().getBodiesAssignment_7_2(), "rule__OperationContextDecl__BodiesAssignment_7_2"); - builder.put(grammarAccess.getPackageDeclarationAccess().getPackageAssignment_1(), "rule__PackageDeclaration__PackageAssignment_1"); - builder.put(grammarAccess.getPackageDeclarationAccess().getContextsAssignment_2(), "rule__PackageDeclaration__ContextsAssignment_2"); - builder.put(grammarAccess.getParameterAccess().getNameAssignment_0_0(), "rule__Parameter__NameAssignment_0_0"); - builder.put(grammarAccess.getParameterAccess().getTypeAssignment_1(), "rule__Parameter__TypeAssignment_1"); - builder.put(grammarAccess.getPostAccess().getConstraintNameAssignment_1(), "rule__Post__ConstraintNameAssignment_1"); - builder.put(grammarAccess.getPostAccess().getExpressionAssignment_3(), "rule__Post__ExpressionAssignment_3"); - builder.put(grammarAccess.getPreAccess().getConstraintNameAssignment_1(), "rule__Pre__ConstraintNameAssignment_1"); - builder.put(grammarAccess.getPreAccess().getExpressionAssignment_3(), "rule__Pre__ExpressionAssignment_3"); - builder.put(grammarAccess.getPropertyContextDeclAccess().getPropertyAssignment_1(), "rule__PropertyContextDecl__PropertyAssignment_1"); - builder.put(grammarAccess.getPropertyContextDeclAccess().getTypeAssignment_3(), "rule__PropertyContextDecl__TypeAssignment_3"); - builder.put(grammarAccess.getPropertyContextDeclAccess().getInitAssignment_4_0_0(), "rule__PropertyContextDecl__InitAssignment_4_0_0"); - builder.put(grammarAccess.getPropertyContextDeclAccess().getDerAssignment_4_0_1(), "rule__PropertyContextDecl__DerAssignment_4_0_1"); - builder.put(grammarAccess.getPropertyContextDeclAccess().getDerAssignment_4_1_0(), "rule__PropertyContextDecl__DerAssignment_4_1_0"); - builder.put(grammarAccess.getPropertyContextDeclAccess().getInitAssignment_4_1_1(), "rule__PropertyContextDecl__InitAssignment_4_1_1"); - builder.put(grammarAccess.getQualifiedClassifierRefAccess().getNamespaceAssignment_0(), "rule__QualifiedClassifierRef__NamespaceAssignment_0"); - builder.put(grammarAccess.getQualifiedClassifierRefAccess().getElementAssignment_2(), "rule__QualifiedClassifierRef__ElementAssignment_2"); - builder.put(grammarAccess.getQualifiedOperationRefAccess().getNamespaceAssignment_0(), "rule__QualifiedOperationRef__NamespaceAssignment_0"); - builder.put(grammarAccess.getQualifiedOperationRefAccess().getElementAssignment_2(), "rule__QualifiedOperationRef__ElementAssignment_2"); - builder.put(grammarAccess.getQualifiedPropertyRefAccess().getNamespaceAssignment_0(), "rule__QualifiedPropertyRef__NamespaceAssignment_0"); - builder.put(grammarAccess.getQualifiedPropertyRefAccess().getElementAssignment_2(), "rule__QualifiedPropertyRef__ElementAssignment_2"); - builder.put(grammarAccess.getQualifiedPackageRefAccess().getNamespaceAssignment_0(), "rule__QualifiedPackageRef__NamespaceAssignment_0"); - builder.put(grammarAccess.getQualifiedPackageRefAccess().getElementAssignment_2(), "rule__QualifiedPackageRef__ElementAssignment_2"); - builder.put(grammarAccess.getSimpleClassifierRefAccess().getClassifierAssignment(), "rule__SimpleClassifierRef__ClassifierAssignment"); - builder.put(grammarAccess.getSimpleOperationRefAccess().getOperationAssignment(), "rule__SimpleOperationRef__OperationAssignment"); - builder.put(grammarAccess.getSimplePackageRefAccess().getPackageAssignment(), "rule__SimplePackageRef__PackageAssignment"); - builder.put(grammarAccess.getSimplePropertyRefAccess().getFeatureAssignment(), "rule__SimplePropertyRef__FeatureAssignment"); - builder.put(grammarAccess.getNavigationExpAccess().getOpAssignment_1_0_1(), "rule__NavigationExp__OpAssignment_1_0_1"); - builder.put(grammarAccess.getNavigationExpAccess().getArgumentAssignment_1_0_2(), "rule__NavigationExp__ArgumentAssignment_1_0_2"); - builder.put(grammarAccess.getNavigationExpAccess().getOpAssignment_1_1_1(), "rule__NavigationExp__OpAssignment_1_1_1"); - builder.put(grammarAccess.getNavigationExpAccess().getMessageNameAssignment_1_1_2(), "rule__NavigationExp__MessageNameAssignment_1_1_2"); - builder.put(grammarAccess.getNavigationExpAccess().getArgumentsAssignment_1_1_4_0(), "rule__NavigationExp__ArgumentsAssignment_1_1_4_0"); - builder.put(grammarAccess.getNavigationExpAccess().getArgumentsAssignment_1_1_4_1_1(), "rule__NavigationExp__ArgumentsAssignment_1_1_4_1_1"); - builder.put(grammarAccess.getNavigatingExpAccess().getOpAssignment_1_0_1(), "rule__NavigatingExp__OpAssignment_1_0_1"); - builder.put(grammarAccess.getNavigatingExpAccess().getArgumentAssignment_1_0_2(), "rule__NavigatingExp__ArgumentAssignment_1_0_2"); - builder.put(grammarAccess.getNavigatingExpAccess().getOpAssignment_1_1_1(), "rule__NavigatingExp__OpAssignment_1_1_1"); - builder.put(grammarAccess.getNavigatingExpAccess().getMessageNameAssignment_1_1_2(), "rule__NavigatingExp__MessageNameAssignment_1_1_2"); - builder.put(grammarAccess.getNavigatingExpAccess().getArgumentsAssignment_1_1_4_0(), "rule__NavigatingExp__ArgumentsAssignment_1_1_4_0"); - builder.put(grammarAccess.getNavigatingExpAccess().getArgumentsAssignment_1_1_4_1_1(), "rule__NavigatingExp__ArgumentsAssignment_1_1_4_1_1"); - builder.put(grammarAccess.getOclMessageArgAccess().getTypeAssignment_0_2_1(), "rule__OclMessageArg__TypeAssignment_0_2_1"); - builder.put(grammarAccess.getPrimitiveTypeAccess().getNameAssignment(), "rule__PrimitiveType__NameAssignment"); - builder.put(grammarAccess.getCollectionTypeAccess().getTypeIdentifierAssignment_0(), "rule__CollectionType__TypeIdentifierAssignment_0"); - builder.put(grammarAccess.getCollectionTypeAccess().getTypeAssignment_1_1(), "rule__CollectionType__TypeAssignment_1_1"); - builder.put(grammarAccess.getTupleTypeAccess().getNameAssignment_0(), "rule__TupleType__NameAssignment_0"); - builder.put(grammarAccess.getTupleTypeAccess().getPartAssignment_2_0(), "rule__TupleType__PartAssignment_2_0"); - builder.put(grammarAccess.getTupleTypeAccess().getPartAssignment_2_1_1(), "rule__TupleType__PartAssignment_2_1_1"); - builder.put(grammarAccess.getTuplePartAccess().getNameAssignment_0(), "rule__TuplePart__NameAssignment_0"); - builder.put(grammarAccess.getTuplePartAccess().getTypeAssignment_2(), "rule__TuplePart__TypeAssignment_2"); - builder.put(grammarAccess.getCollectionLiteralExpAccess().getCollectionLiteralPartsAssignment_1_2_0(), "rule__CollectionLiteralExp__CollectionLiteralPartsAssignment_1_2_0"); - builder.put(grammarAccess.getCollectionLiteralExpAccess().getCollectionLiteralPartsAssignment_1_2_1_1(), "rule__CollectionLiteralExp__CollectionLiteralPartsAssignment_1_2_1_1"); - builder.put(grammarAccess.getCollectionLiteralPartAccess().getExpressionAssignment_0(), "rule__CollectionLiteralPart__ExpressionAssignment_0"); - builder.put(grammarAccess.getCollectionLiteralPartAccess().getLastExpressionAssignment_1_1(), "rule__CollectionLiteralPart__LastExpressionAssignment_1_1"); - builder.put(grammarAccess.getTupleLiteralExpAccess().getPartAssignment_2_1(), "rule__TupleLiteralExp__PartAssignment_2_1"); - builder.put(grammarAccess.getTupleLiteralExpAccess().getPartAssignment_2_2_1(), "rule__TupleLiteralExp__PartAssignment_2_2_1"); - builder.put(grammarAccess.getTupleLiteralPartAccess().getNameAssignment_0(), "rule__TupleLiteralPart__NameAssignment_0"); - builder.put(grammarAccess.getTupleLiteralPartAccess().getTypeAssignment_1_1(), "rule__TupleLiteralPart__TypeAssignment_1_1"); - builder.put(grammarAccess.getTupleLiteralPartAccess().getInitExpressionAssignment_3(), "rule__TupleLiteralPart__InitExpressionAssignment_3"); - builder.put(grammarAccess.getNumberLiteralExpAccess().getNameAssignment(), "rule__NumberLiteralExp__NameAssignment"); - builder.put(grammarAccess.getStringLiteralExpAccess().getValuesAssignment(), "rule__StringLiteralExp__ValuesAssignment"); - builder.put(grammarAccess.getBooleanLiteralExpAccess().getIsTrueAssignment_1_0(), "rule__BooleanLiteralExp__IsTrueAssignment_1_0"); - builder.put(grammarAccess.getImpliesAccess().getOpAssignment_1_1(), "rule__Implies__OpAssignment_1_1"); - builder.put(grammarAccess.getImpliesAccess().getArgumentAssignment_1_2(), "rule__Implies__ArgumentAssignment_1_2"); - builder.put(grammarAccess.getXorAccess().getOpAssignment_1_1(), "rule__Xor__OpAssignment_1_1"); - builder.put(grammarAccess.getXorAccess().getArgumentAssignment_1_2(), "rule__Xor__ArgumentAssignment_1_2"); - builder.put(grammarAccess.getOrAccess().getOpAssignment_1_1(), "rule__Or__OpAssignment_1_1"); - builder.put(grammarAccess.getOrAccess().getArgumentAssignment_1_2(), "rule__Or__ArgumentAssignment_1_2"); - builder.put(grammarAccess.getAndAccess().getOpAssignment_1_1(), "rule__And__OpAssignment_1_1"); - builder.put(grammarAccess.getAndAccess().getArgumentAssignment_1_2(), "rule__And__ArgumentAssignment_1_2"); - builder.put(grammarAccess.getEqualityAccess().getOpAssignment_1_1(), "rule__Equality__OpAssignment_1_1"); - builder.put(grammarAccess.getEqualityAccess().getArgumentAssignment_1_2(), "rule__Equality__ArgumentAssignment_1_2"); - builder.put(grammarAccess.getRelationalAccess().getOpAssignment_1_1(), "rule__Relational__OpAssignment_1_1"); - builder.put(grammarAccess.getRelationalAccess().getArgumentAssignment_1_2(), "rule__Relational__ArgumentAssignment_1_2"); - builder.put(grammarAccess.getAdditiveAccess().getOpAssignment_1_1(), "rule__Additive__OpAssignment_1_1"); - builder.put(grammarAccess.getAdditiveAccess().getArgumentAssignment_1_2(), "rule__Additive__ArgumentAssignment_1_2"); - builder.put(grammarAccess.getMultiplicativeAccess().getOpAssignment_1_1(), "rule__Multiplicative__OpAssignment_1_1"); - builder.put(grammarAccess.getMultiplicativeAccess().getArgumentAssignment_1_2(), "rule__Multiplicative__ArgumentAssignment_1_2"); - builder.put(grammarAccess.getUnaryAccess().getOpAssignment_1_1(), "rule__Unary__OpAssignment_1_1"); - builder.put(grammarAccess.getUnaryAccess().getSourceAssignment_1_2(), "rule__Unary__SourceAssignment_1_2"); - builder.put(grammarAccess.getSubNavigationExpAccess().getSourceAssignment_9_2(), "rule__SubNavigationExp__SourceAssignment_9_2"); - builder.put(grammarAccess.getIteratorVariableAccess().getNameAssignment_0(), "rule__IteratorVariable__NameAssignment_0"); - builder.put(grammarAccess.getIteratorVariableAccess().getTypeAssignment_1_1(), "rule__IteratorVariable__TypeAssignment_1_1"); - builder.put(grammarAccess.getIteratorAccumulatorAccess().getNameAssignment_0(), "rule__IteratorAccumulator__NameAssignment_0"); - builder.put(grammarAccess.getIteratorAccumulatorAccess().getTypeAssignment_2(), "rule__IteratorAccumulator__TypeAssignment_2"); - builder.put(grammarAccess.getIteratorAccumulatorAccess().getInitExpressionAssignment_4(), "rule__IteratorAccumulator__InitExpressionAssignment_4"); - builder.put(grammarAccess.getRoundBracketExpAccess().getNameAssignment_0(), "rule__RoundBracketExp__NameAssignment_0"); - builder.put(grammarAccess.getRoundBracketExpAccess().getPreAssignment_1_1(), "rule__RoundBracketExp__PreAssignment_1_1"); - builder.put(grammarAccess.getRoundBracketExpAccess().getVariable1Assignment_3_0(), "rule__RoundBracketExp__Variable1Assignment_3_0"); - builder.put(grammarAccess.getRoundBracketExpAccess().getVariable2Assignment_3_1_0_1(), "rule__RoundBracketExp__Variable2Assignment_3_1_0_1"); - builder.put(grammarAccess.getRoundBracketExpAccess().getVariable2Assignment_3_1_1_1(), "rule__RoundBracketExp__Variable2Assignment_3_1_1_1"); - builder.put(grammarAccess.getRoundBracketExpAccess().getArgumentsAssignment_4_0(), "rule__RoundBracketExp__ArgumentsAssignment_4_0"); - builder.put(grammarAccess.getRoundBracketExpAccess().getArgumentsAssignment_4_1_1(), "rule__RoundBracketExp__ArgumentsAssignment_4_1_1"); - builder.put(grammarAccess.getSquareBracketExpAccess().getNameAssignment_0(), "rule__SquareBracketExp__NameAssignment_0"); - builder.put(grammarAccess.getSquareBracketExpAccess().getArgumentsAssignment_2(), "rule__SquareBracketExp__ArgumentsAssignment_2"); - builder.put(grammarAccess.getSquareBracketExpAccess().getArgumentsAssignment_3_1(), "rule__SquareBracketExp__ArgumentsAssignment_3_1"); - builder.put(grammarAccess.getSquareBracketExpAccess().getPreAssignment_5_1(), "rule__SquareBracketExp__PreAssignment_5_1"); - builder.put(grammarAccess.getPreExpAccess().getNameAssignment_0(), "rule__PreExp__NameAssignment_0"); - builder.put(grammarAccess.getPathNameExpAccess().getNamespaceAssignment_0(), "rule__PathNameExp__NamespaceAssignment_0"); - builder.put(grammarAccess.getPathNameExpAccess().getElementAssignment_2(), "rule__PathNameExp__ElementAssignment_2"); - builder.put(grammarAccess.getSimpleNameExpAccess().getElementAssignment(), "rule__SimpleNameExp__ElementAssignment"); - builder.put(grammarAccess.getIfExpAccess().getConditionAssignment_1(), "rule__IfExp__ConditionAssignment_1"); - builder.put(grammarAccess.getIfExpAccess().getThenExpressionAssignment_3(), "rule__IfExp__ThenExpressionAssignment_3"); - builder.put(grammarAccess.getIfExpAccess().getElseExpressionAssignment_5(), "rule__IfExp__ElseExpressionAssignment_5"); - builder.put(grammarAccess.getLetExpAccess().getVariableAssignment_1(), "rule__LetExp__VariableAssignment_1"); - builder.put(grammarAccess.getLetExpAccess().getVariableAssignment_2_1(), "rule__LetExp__VariableAssignment_2_1"); - builder.put(grammarAccess.getLetExpAccess().getInAssignment_4(), "rule__LetExp__InAssignment_4"); - builder.put(grammarAccess.getLetVariableAccess().getNameAssignment_0(), "rule__LetVariable__NameAssignment_0"); - builder.put(grammarAccess.getLetVariableAccess().getTypeAssignment_2(), "rule__LetVariable__TypeAssignment_2"); - builder.put(grammarAccess.getLetVariableAccess().getInitExpressionAssignment_4(), "rule__LetVariable__InitExpressionAssignment_4"); + private static void init(Map mappings, BacktrackingContentAssistTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getDocumentAccess().getAlternatives(), "rule__Document__Alternatives"); + mappings.put(grammarAccess.getClassifierContextDeclAccess().getAlternatives_3(), "rule__ClassifierContextDecl__Alternatives_3"); + mappings.put(grammarAccess.getClassifierRefAccess().getAlternatives(), "rule__ClassifierRef__Alternatives"); + mappings.put(grammarAccess.getContextDeclAccess().getAlternatives(), "rule__ContextDecl__Alternatives"); + mappings.put(grammarAccess.getOperationContextDeclAccess().getAlternatives_7(), "rule__OperationContextDecl__Alternatives_7"); + mappings.put(grammarAccess.getOperationRefAccess().getAlternatives(), "rule__OperationRef__Alternatives"); + mappings.put(grammarAccess.getPackageRefAccess().getAlternatives(), "rule__PackageRef__Alternatives"); + mappings.put(grammarAccess.getPropertyContextDeclAccess().getAlternatives_4(), "rule__PropertyContextDecl__Alternatives_4"); + mappings.put(grammarAccess.getPropertyRefAccess().getAlternatives(), "rule__PropertyRef__Alternatives"); + mappings.put(grammarAccess.getNavigationExpAccess().getAlternatives_1(), "rule__NavigationExp__Alternatives_1"); + mappings.put(grammarAccess.getNavigationExpAccess().getOpAlternatives_1_0_1_0(), "rule__NavigationExp__OpAlternatives_1_0_1_0"); + mappings.put(grammarAccess.getNavigationExpAccess().getOpAlternatives_1_1_1_0(), "rule__NavigationExp__OpAlternatives_1_1_1_0"); + mappings.put(grammarAccess.getNavigatingExpAccess().getAlternatives_1(), "rule__NavigatingExp__Alternatives_1"); + mappings.put(grammarAccess.getNavigatingExpAccess().getOpAlternatives_1_0_1_0(), "rule__NavigatingExp__OpAlternatives_1_0_1_0"); + mappings.put(grammarAccess.getNavigatingExpAccess().getOpAlternatives_1_1_1_0(), "rule__NavigatingExp__OpAlternatives_1_1_1_0"); + mappings.put(grammarAccess.getOclMessageArgAccess().getAlternatives(), "rule__OclMessageArg__Alternatives"); + mappings.put(grammarAccess.getNUMBER_LITERALAccess().getAlternatives_2_0(), "rule__NUMBER_LITERAL__Alternatives_2_0"); + mappings.put(grammarAccess.getNUMBER_LITERALAccess().getAlternatives_2_1(), "rule__NUMBER_LITERAL__Alternatives_2_1"); + mappings.put(grammarAccess.getEssentialOCLRestrictedKeywordsAccess().getAlternatives(), "rule__EssentialOCLRestrictedKeywords__Alternatives"); + mappings.put(grammarAccess.getIdentifierAccess().getAlternatives(), "rule__Identifier__Alternatives"); + mappings.put(grammarAccess.getPrimitiveTypeIdentifierAccess().getAlternatives(), "rule__PrimitiveTypeIdentifier__Alternatives"); + mappings.put(grammarAccess.getCollectionTypeIdentifierAccess().getAlternatives(), "rule__CollectionTypeIdentifier__Alternatives"); + mappings.put(grammarAccess.getTypeExpAccess().getAlternatives(), "rule__TypeExp__Alternatives"); + mappings.put(grammarAccess.getPrimitiveLiteralExpAccess().getAlternatives(), "rule__PrimitiveLiteralExp__Alternatives"); + mappings.put(grammarAccess.getBooleanLiteralExpAccess().getAlternatives_1(), "rule__BooleanLiteralExp__Alternatives_1"); + mappings.put(grammarAccess.getExpressionAccess().getAlternatives(), "rule__Expression__Alternatives"); + mappings.put(grammarAccess.getImpliesAccess().getArgumentAlternatives_1_2_0(), "rule__Implies__ArgumentAlternatives_1_2_0"); + mappings.put(grammarAccess.getXorAccess().getArgumentAlternatives_1_2_0(), "rule__Xor__ArgumentAlternatives_1_2_0"); + mappings.put(grammarAccess.getOrAccess().getArgumentAlternatives_1_2_0(), "rule__Or__ArgumentAlternatives_1_2_0"); + mappings.put(grammarAccess.getAndAccess().getArgumentAlternatives_1_2_0(), "rule__And__ArgumentAlternatives_1_2_0"); + mappings.put(grammarAccess.getEqualityAccess().getOpAlternatives_1_1_0(), "rule__Equality__OpAlternatives_1_1_0"); + mappings.put(grammarAccess.getEqualityAccess().getArgumentAlternatives_1_2_0(), "rule__Equality__ArgumentAlternatives_1_2_0"); + mappings.put(grammarAccess.getRelationalAccess().getOpAlternatives_1_1_0(), "rule__Relational__OpAlternatives_1_1_0"); + mappings.put(grammarAccess.getRelationalAccess().getArgumentAlternatives_1_2_0(), "rule__Relational__ArgumentAlternatives_1_2_0"); + mappings.put(grammarAccess.getAdditiveAccess().getOpAlternatives_1_1_0(), "rule__Additive__OpAlternatives_1_1_0"); + mappings.put(grammarAccess.getAdditiveAccess().getArgumentAlternatives_1_2_0(), "rule__Additive__ArgumentAlternatives_1_2_0"); + mappings.put(grammarAccess.getMultiplicativeAccess().getOpAlternatives_1_1_0(), "rule__Multiplicative__OpAlternatives_1_1_0"); + mappings.put(grammarAccess.getMultiplicativeAccess().getArgumentAlternatives_1_2_0(), "rule__Multiplicative__ArgumentAlternatives_1_2_0"); + mappings.put(grammarAccess.getUnaryAccess().getAlternatives(), "rule__Unary__Alternatives"); + mappings.put(grammarAccess.getUnaryAccess().getOpAlternatives_1_1_0(), "rule__Unary__OpAlternatives_1_1_0"); + mappings.put(grammarAccess.getSubNavigationExpAccess().getAlternatives(), "rule__SubNavigationExp__Alternatives"); + mappings.put(grammarAccess.getSubNavigatingExpAccess().getAlternatives(), "rule__SubNavigatingExp__Alternatives"); + mappings.put(grammarAccess.getRoundBracketExpAccess().getAlternatives_3_1(), "rule__RoundBracketExp__Alternatives_3_1"); + mappings.put(grammarAccess.getNameExpAccess().getAlternatives(), "rule__NameExp__Alternatives"); + mappings.put(grammarAccess.getBodyAccess().getGroup(), "rule__Body__Group__0"); + mappings.put(grammarAccess.getClassifierContextDeclAccess().getGroup(), "rule__ClassifierContextDecl__Group__0"); + mappings.put(grammarAccess.getClassifierContextDeclAccess().getGroup_1(), "rule__ClassifierContextDecl__Group_1__0"); + mappings.put(grammarAccess.getDefinitionAccess().getGroup(), "rule__Definition__Group__0"); + mappings.put(grammarAccess.getDefinitionAccess().getGroup_5(), "rule__Definition__Group_5__0"); + mappings.put(grammarAccess.getDefinitionAccess().getGroup_5_1(), "rule__Definition__Group_5_1__0"); + mappings.put(grammarAccess.getDefinitionAccess().getGroup_5_1_1(), "rule__Definition__Group_5_1_1__0"); + mappings.put(grammarAccess.getDerAccess().getGroup(), "rule__Der__Group__0"); + mappings.put(grammarAccess.getInitAccess().getGroup(), "rule__Init__Group__0"); + mappings.put(grammarAccess.getInvariantAccess().getGroup(), "rule__Invariant__Group__0"); + mappings.put(grammarAccess.getOperationContextDeclAccess().getGroup(), "rule__OperationContextDecl__Group__0"); + mappings.put(grammarAccess.getOperationContextDeclAccess().getGroup_3(), "rule__OperationContextDecl__Group_3__0"); + mappings.put(grammarAccess.getOperationContextDeclAccess().getGroup_3_1(), "rule__OperationContextDecl__Group_3_1__0"); + mappings.put(grammarAccess.getPackageDeclarationAccess().getGroup(), "rule__PackageDeclaration__Group__0"); + mappings.put(grammarAccess.getParameterAccess().getGroup(), "rule__Parameter__Group__0"); + mappings.put(grammarAccess.getParameterAccess().getGroup_0(), "rule__Parameter__Group_0__0"); + mappings.put(grammarAccess.getPostAccess().getGroup(), "rule__Post__Group__0"); + mappings.put(grammarAccess.getPreAccess().getGroup(), "rule__Pre__Group__0"); + mappings.put(grammarAccess.getPropertyContextDeclAccess().getGroup(), "rule__PropertyContextDecl__Group__0"); + mappings.put(grammarAccess.getPropertyContextDeclAccess().getGroup_4_0(), "rule__PropertyContextDecl__Group_4_0__0"); + mappings.put(grammarAccess.getPropertyContextDeclAccess().getGroup_4_1(), "rule__PropertyContextDecl__Group_4_1__0"); + mappings.put(grammarAccess.getQualifiedClassifierRefAccess().getGroup(), "rule__QualifiedClassifierRef__Group__0"); + mappings.put(grammarAccess.getQualifiedOperationRefAccess().getGroup(), "rule__QualifiedOperationRef__Group__0"); + mappings.put(grammarAccess.getQualifiedPropertyRefAccess().getGroup(), "rule__QualifiedPropertyRef__Group__0"); + mappings.put(grammarAccess.getQualifiedPackageRefAccess().getGroup(), "rule__QualifiedPackageRef__Group__0"); + mappings.put(grammarAccess.getNavigationExpAccess().getGroup(), "rule__NavigationExp__Group__0"); + mappings.put(grammarAccess.getNavigationExpAccess().getGroup_1_0(), "rule__NavigationExp__Group_1_0__0"); + mappings.put(grammarAccess.getNavigationExpAccess().getGroup_1_1(), "rule__NavigationExp__Group_1_1__0"); + mappings.put(grammarAccess.getNavigationExpAccess().getGroup_1_1_4(), "rule__NavigationExp__Group_1_1_4__0"); + mappings.put(grammarAccess.getNavigationExpAccess().getGroup_1_1_4_1(), "rule__NavigationExp__Group_1_1_4_1__0"); + mappings.put(grammarAccess.getNavigatingExpAccess().getGroup(), "rule__NavigatingExp__Group__0"); + mappings.put(grammarAccess.getNavigatingExpAccess().getGroup_1_0(), "rule__NavigatingExp__Group_1_0__0"); + mappings.put(grammarAccess.getNavigatingExpAccess().getGroup_1_1(), "rule__NavigatingExp__Group_1_1__0"); + mappings.put(grammarAccess.getNavigatingExpAccess().getGroup_1_1_4(), "rule__NavigatingExp__Group_1_1_4__0"); + mappings.put(grammarAccess.getNavigatingExpAccess().getGroup_1_1_4_1(), "rule__NavigatingExp__Group_1_1_4_1__0"); + mappings.put(grammarAccess.getOclMessageArgAccess().getGroup_0(), "rule__OclMessageArg__Group_0__0"); + mappings.put(grammarAccess.getOclMessageArgAccess().getGroup_0_2(), "rule__OclMessageArg__Group_0_2__0"); + mappings.put(grammarAccess.getNUMBER_LITERALAccess().getGroup(), "rule__NUMBER_LITERAL__Group__0"); + mappings.put(grammarAccess.getNUMBER_LITERALAccess().getGroup_1(), "rule__NUMBER_LITERAL__Group_1__0"); + mappings.put(grammarAccess.getNUMBER_LITERALAccess().getGroup_2(), "rule__NUMBER_LITERAL__Group_2__0"); + mappings.put(grammarAccess.getCollectionTypeAccess().getGroup(), "rule__CollectionType__Group__0"); + mappings.put(grammarAccess.getCollectionTypeAccess().getGroup_1(), "rule__CollectionType__Group_1__0"); + mappings.put(grammarAccess.getTupleTypeAccess().getGroup(), "rule__TupleType__Group__0"); + mappings.put(grammarAccess.getTupleTypeAccess().getGroup_2(), "rule__TupleType__Group_2__0"); + mappings.put(grammarAccess.getTupleTypeAccess().getGroup_2_1(), "rule__TupleType__Group_2_1__0"); + mappings.put(grammarAccess.getTuplePartAccess().getGroup(), "rule__TuplePart__Group__0"); + mappings.put(grammarAccess.getCollectionLiteralExpAccess().getGroup(), "rule__CollectionLiteralExp__Group__0"); + mappings.put(grammarAccess.getCollectionLiteralExpAccess().getGroup_1(), "rule__CollectionLiteralExp__Group_1__0"); + mappings.put(grammarAccess.getCollectionLiteralExpAccess().getGroup_1_2(), "rule__CollectionLiteralExp__Group_1_2__0"); + mappings.put(grammarAccess.getCollectionLiteralExpAccess().getGroup_1_2_1(), "rule__CollectionLiteralExp__Group_1_2_1__0"); + mappings.put(grammarAccess.getCollectionLiteralPartAccess().getGroup(), "rule__CollectionLiteralPart__Group__0"); + mappings.put(grammarAccess.getCollectionLiteralPartAccess().getGroup_1(), "rule__CollectionLiteralPart__Group_1__0"); + mappings.put(grammarAccess.getTupleLiteralExpAccess().getGroup(), "rule__TupleLiteralExp__Group__0"); + mappings.put(grammarAccess.getTupleLiteralExpAccess().getGroup_2(), "rule__TupleLiteralExp__Group_2__0"); + mappings.put(grammarAccess.getTupleLiteralExpAccess().getGroup_2_2(), "rule__TupleLiteralExp__Group_2_2__0"); + mappings.put(grammarAccess.getTupleLiteralPartAccess().getGroup(), "rule__TupleLiteralPart__Group__0"); + mappings.put(grammarAccess.getTupleLiteralPartAccess().getGroup_1(), "rule__TupleLiteralPart__Group_1__0"); + mappings.put(grammarAccess.getBooleanLiteralExpAccess().getGroup(), "rule__BooleanLiteralExp__Group__0"); + mappings.put(grammarAccess.getInvalidLiteralExpAccess().getGroup(), "rule__InvalidLiteralExp__Group__0"); + mappings.put(grammarAccess.getNullLiteralExpAccess().getGroup(), "rule__NullLiteralExp__Group__0"); + mappings.put(grammarAccess.getImpliesAccess().getGroup(), "rule__Implies__Group__0"); + mappings.put(grammarAccess.getImpliesAccess().getGroup_1(), "rule__Implies__Group_1__0"); + mappings.put(grammarAccess.getXorAccess().getGroup(), "rule__Xor__Group__0"); + mappings.put(grammarAccess.getXorAccess().getGroup_1(), "rule__Xor__Group_1__0"); + mappings.put(grammarAccess.getOrAccess().getGroup(), "rule__Or__Group__0"); + mappings.put(grammarAccess.getOrAccess().getGroup_1(), "rule__Or__Group_1__0"); + mappings.put(grammarAccess.getAndAccess().getGroup(), "rule__And__Group__0"); + mappings.put(grammarAccess.getAndAccess().getGroup_1(), "rule__And__Group_1__0"); + mappings.put(grammarAccess.getEqualityAccess().getGroup(), "rule__Equality__Group__0"); + mappings.put(grammarAccess.getEqualityAccess().getGroup_1(), "rule__Equality__Group_1__0"); + mappings.put(grammarAccess.getRelationalAccess().getGroup(), "rule__Relational__Group__0"); + mappings.put(grammarAccess.getRelationalAccess().getGroup_1(), "rule__Relational__Group_1__0"); + mappings.put(grammarAccess.getAdditiveAccess().getGroup(), "rule__Additive__Group__0"); + mappings.put(grammarAccess.getAdditiveAccess().getGroup_1(), "rule__Additive__Group_1__0"); + mappings.put(grammarAccess.getMultiplicativeAccess().getGroup(), "rule__Multiplicative__Group__0"); + mappings.put(grammarAccess.getMultiplicativeAccess().getGroup_1(), "rule__Multiplicative__Group_1__0"); + mappings.put(grammarAccess.getUnaryAccess().getGroup_1(), "rule__Unary__Group_1__0"); + mappings.put(grammarAccess.getSubNavigationExpAccess().getGroup_9(), "rule__SubNavigationExp__Group_9__0"); + mappings.put(grammarAccess.getIteratorVariableAccess().getGroup(), "rule__IteratorVariable__Group__0"); + mappings.put(grammarAccess.getIteratorVariableAccess().getGroup_1(), "rule__IteratorVariable__Group_1__0"); + mappings.put(grammarAccess.getIteratorAccumulatorAccess().getGroup(), "rule__IteratorAccumulator__Group__0"); + mappings.put(grammarAccess.getRoundBracketExpAccess().getGroup(), "rule__RoundBracketExp__Group__0"); + mappings.put(grammarAccess.getRoundBracketExpAccess().getGroup_1(), "rule__RoundBracketExp__Group_1__0"); + mappings.put(grammarAccess.getRoundBracketExpAccess().getGroup_3(), "rule__RoundBracketExp__Group_3__0"); + mappings.put(grammarAccess.getRoundBracketExpAccess().getGroup_3_1_0(), "rule__RoundBracketExp__Group_3_1_0__0"); + mappings.put(grammarAccess.getRoundBracketExpAccess().getGroup_3_1_1(), "rule__RoundBracketExp__Group_3_1_1__0"); + mappings.put(grammarAccess.getRoundBracketExpAccess().getGroup_4(), "rule__RoundBracketExp__Group_4__0"); + mappings.put(grammarAccess.getRoundBracketExpAccess().getGroup_4_1(), "rule__RoundBracketExp__Group_4_1__0"); + mappings.put(grammarAccess.getSquareBracketExpAccess().getGroup(), "rule__SquareBracketExp__Group__0"); + mappings.put(grammarAccess.getSquareBracketExpAccess().getGroup_3(), "rule__SquareBracketExp__Group_3__0"); + mappings.put(grammarAccess.getSquareBracketExpAccess().getGroup_5(), "rule__SquareBracketExp__Group_5__0"); + mappings.put(grammarAccess.getPreExpAccess().getGroup(), "rule__PreExp__Group__0"); + mappings.put(grammarAccess.getSelfExpAccess().getGroup(), "rule__SelfExp__Group__0"); + mappings.put(grammarAccess.getPathNameExpAccess().getGroup(), "rule__PathNameExp__Group__0"); + mappings.put(grammarAccess.getIfExpAccess().getGroup(), "rule__IfExp__Group__0"); + mappings.put(grammarAccess.getLetExpAccess().getGroup(), "rule__LetExp__Group__0"); + mappings.put(grammarAccess.getLetExpAccess().getGroup_2(), "rule__LetExp__Group_2__0"); + mappings.put(grammarAccess.getLetVariableAccess().getGroup(), "rule__LetVariable__Group__0"); + mappings.put(grammarAccess.getDocumentAccess().getPackagesAssignment_0(), "rule__Document__PackagesAssignment_0"); + mappings.put(grammarAccess.getDocumentAccess().getContextsAssignment_1(), "rule__Document__ContextsAssignment_1"); + mappings.put(grammarAccess.getBodyAccess().getConstraintNameAssignment_1(), "rule__Body__ConstraintNameAssignment_1"); + mappings.put(grammarAccess.getBodyAccess().getExpressionAssignment_3(), "rule__Body__ExpressionAssignment_3"); + mappings.put(grammarAccess.getClassifierContextDeclAccess().getSelfNameAssignment_1_0(), "rule__ClassifierContextDecl__SelfNameAssignment_1_0"); + mappings.put(grammarAccess.getClassifierContextDeclAccess().getClassifierAssignment_2(), "rule__ClassifierContextDecl__ClassifierAssignment_2"); + mappings.put(grammarAccess.getClassifierContextDeclAccess().getInvariantsAssignment_3_0(), "rule__ClassifierContextDecl__InvariantsAssignment_3_0"); + mappings.put(grammarAccess.getClassifierContextDeclAccess().getDefinitionsAssignment_3_1(), "rule__ClassifierContextDecl__DefinitionsAssignment_3_1"); + mappings.put(grammarAccess.getDefinitionAccess().getStaticAssignment_0(), "rule__Definition__StaticAssignment_0"); + mappings.put(grammarAccess.getDefinitionAccess().getConstraintNameAssignment_2(), "rule__Definition__ConstraintNameAssignment_2"); + mappings.put(grammarAccess.getDefinitionAccess().getConstrainedNameAssignment_4(), "rule__Definition__ConstrainedNameAssignment_4"); + mappings.put(grammarAccess.getDefinitionAccess().getParametersAssignment_5_1_0(), "rule__Definition__ParametersAssignment_5_1_0"); + mappings.put(grammarAccess.getDefinitionAccess().getParametersAssignment_5_1_1_1(), "rule__Definition__ParametersAssignment_5_1_1_1"); + mappings.put(grammarAccess.getDefinitionAccess().getTypeAssignment_7(), "rule__Definition__TypeAssignment_7"); + mappings.put(grammarAccess.getDefinitionAccess().getExpressionAssignment_9(), "rule__Definition__ExpressionAssignment_9"); + mappings.put(grammarAccess.getDerAccess().getExpressionAssignment_2(), "rule__Der__ExpressionAssignment_2"); + mappings.put(grammarAccess.getInitAccess().getExpressionAssignment_2(), "rule__Init__ExpressionAssignment_2"); + mappings.put(grammarAccess.getInvariantAccess().getConstraintNameAssignment_1(), "rule__Invariant__ConstraintNameAssignment_1"); + mappings.put(grammarAccess.getInvariantAccess().getExpressionAssignment_3(), "rule__Invariant__ExpressionAssignment_3"); + mappings.put(grammarAccess.getOperationContextDeclAccess().getOperationAssignment_1(), "rule__OperationContextDecl__OperationAssignment_1"); + mappings.put(grammarAccess.getOperationContextDeclAccess().getParametersAssignment_3_0(), "rule__OperationContextDecl__ParametersAssignment_3_0"); + mappings.put(grammarAccess.getOperationContextDeclAccess().getParametersAssignment_3_1_1(), "rule__OperationContextDecl__ParametersAssignment_3_1_1"); + mappings.put(grammarAccess.getOperationContextDeclAccess().getTypeAssignment_6(), "rule__OperationContextDecl__TypeAssignment_6"); + mappings.put(grammarAccess.getOperationContextDeclAccess().getPresAssignment_7_0(), "rule__OperationContextDecl__PresAssignment_7_0"); + mappings.put(grammarAccess.getOperationContextDeclAccess().getPostsAssignment_7_1(), "rule__OperationContextDecl__PostsAssignment_7_1"); + mappings.put(grammarAccess.getOperationContextDeclAccess().getBodiesAssignment_7_2(), "rule__OperationContextDecl__BodiesAssignment_7_2"); + mappings.put(grammarAccess.getPackageDeclarationAccess().getPackageAssignment_1(), "rule__PackageDeclaration__PackageAssignment_1"); + mappings.put(grammarAccess.getPackageDeclarationAccess().getContextsAssignment_2(), "rule__PackageDeclaration__ContextsAssignment_2"); + mappings.put(grammarAccess.getParameterAccess().getNameAssignment_0_0(), "rule__Parameter__NameAssignment_0_0"); + mappings.put(grammarAccess.getParameterAccess().getTypeAssignment_1(), "rule__Parameter__TypeAssignment_1"); + mappings.put(grammarAccess.getPostAccess().getConstraintNameAssignment_1(), "rule__Post__ConstraintNameAssignment_1"); + mappings.put(grammarAccess.getPostAccess().getExpressionAssignment_3(), "rule__Post__ExpressionAssignment_3"); + mappings.put(grammarAccess.getPreAccess().getConstraintNameAssignment_1(), "rule__Pre__ConstraintNameAssignment_1"); + mappings.put(grammarAccess.getPreAccess().getExpressionAssignment_3(), "rule__Pre__ExpressionAssignment_3"); + mappings.put(grammarAccess.getPropertyContextDeclAccess().getPropertyAssignment_1(), "rule__PropertyContextDecl__PropertyAssignment_1"); + mappings.put(grammarAccess.getPropertyContextDeclAccess().getTypeAssignment_3(), "rule__PropertyContextDecl__TypeAssignment_3"); + mappings.put(grammarAccess.getPropertyContextDeclAccess().getInitAssignment_4_0_0(), "rule__PropertyContextDecl__InitAssignment_4_0_0"); + mappings.put(grammarAccess.getPropertyContextDeclAccess().getDerAssignment_4_0_1(), "rule__PropertyContextDecl__DerAssignment_4_0_1"); + mappings.put(grammarAccess.getPropertyContextDeclAccess().getDerAssignment_4_1_0(), "rule__PropertyContextDecl__DerAssignment_4_1_0"); + mappings.put(grammarAccess.getPropertyContextDeclAccess().getInitAssignment_4_1_1(), "rule__PropertyContextDecl__InitAssignment_4_1_1"); + mappings.put(grammarAccess.getQualifiedClassifierRefAccess().getNamespaceAssignment_0(), "rule__QualifiedClassifierRef__NamespaceAssignment_0"); + mappings.put(grammarAccess.getQualifiedClassifierRefAccess().getElementAssignment_2(), "rule__QualifiedClassifierRef__ElementAssignment_2"); + mappings.put(grammarAccess.getQualifiedOperationRefAccess().getNamespaceAssignment_0(), "rule__QualifiedOperationRef__NamespaceAssignment_0"); + mappings.put(grammarAccess.getQualifiedOperationRefAccess().getElementAssignment_2(), "rule__QualifiedOperationRef__ElementAssignment_2"); + mappings.put(grammarAccess.getQualifiedPropertyRefAccess().getNamespaceAssignment_0(), "rule__QualifiedPropertyRef__NamespaceAssignment_0"); + mappings.put(grammarAccess.getQualifiedPropertyRefAccess().getElementAssignment_2(), "rule__QualifiedPropertyRef__ElementAssignment_2"); + mappings.put(grammarAccess.getQualifiedPackageRefAccess().getNamespaceAssignment_0(), "rule__QualifiedPackageRef__NamespaceAssignment_0"); + mappings.put(grammarAccess.getQualifiedPackageRefAccess().getElementAssignment_2(), "rule__QualifiedPackageRef__ElementAssignment_2"); + mappings.put(grammarAccess.getSimpleClassifierRefAccess().getClassifierAssignment(), "rule__SimpleClassifierRef__ClassifierAssignment"); + mappings.put(grammarAccess.getSimpleOperationRefAccess().getOperationAssignment(), "rule__SimpleOperationRef__OperationAssignment"); + mappings.put(grammarAccess.getSimplePackageRefAccess().getPackageAssignment(), "rule__SimplePackageRef__PackageAssignment"); + mappings.put(grammarAccess.getSimplePropertyRefAccess().getFeatureAssignment(), "rule__SimplePropertyRef__FeatureAssignment"); + mappings.put(grammarAccess.getNavigationExpAccess().getOpAssignment_1_0_1(), "rule__NavigationExp__OpAssignment_1_0_1"); + mappings.put(grammarAccess.getNavigationExpAccess().getArgumentAssignment_1_0_2(), "rule__NavigationExp__ArgumentAssignment_1_0_2"); + mappings.put(grammarAccess.getNavigationExpAccess().getOpAssignment_1_1_1(), "rule__NavigationExp__OpAssignment_1_1_1"); + mappings.put(grammarAccess.getNavigationExpAccess().getMessageNameAssignment_1_1_2(), "rule__NavigationExp__MessageNameAssignment_1_1_2"); + mappings.put(grammarAccess.getNavigationExpAccess().getArgumentsAssignment_1_1_4_0(), "rule__NavigationExp__ArgumentsAssignment_1_1_4_0"); + mappings.put(grammarAccess.getNavigationExpAccess().getArgumentsAssignment_1_1_4_1_1(), "rule__NavigationExp__ArgumentsAssignment_1_1_4_1_1"); + mappings.put(grammarAccess.getNavigatingExpAccess().getOpAssignment_1_0_1(), "rule__NavigatingExp__OpAssignment_1_0_1"); + mappings.put(grammarAccess.getNavigatingExpAccess().getArgumentAssignment_1_0_2(), "rule__NavigatingExp__ArgumentAssignment_1_0_2"); + mappings.put(grammarAccess.getNavigatingExpAccess().getOpAssignment_1_1_1(), "rule__NavigatingExp__OpAssignment_1_1_1"); + mappings.put(grammarAccess.getNavigatingExpAccess().getMessageNameAssignment_1_1_2(), "rule__NavigatingExp__MessageNameAssignment_1_1_2"); + mappings.put(grammarAccess.getNavigatingExpAccess().getArgumentsAssignment_1_1_4_0(), "rule__NavigatingExp__ArgumentsAssignment_1_1_4_0"); + mappings.put(grammarAccess.getNavigatingExpAccess().getArgumentsAssignment_1_1_4_1_1(), "rule__NavigatingExp__ArgumentsAssignment_1_1_4_1_1"); + mappings.put(grammarAccess.getOclMessageArgAccess().getTypeAssignment_0_2_1(), "rule__OclMessageArg__TypeAssignment_0_2_1"); + mappings.put(grammarAccess.getPrimitiveTypeAccess().getNameAssignment(), "rule__PrimitiveType__NameAssignment"); + mappings.put(grammarAccess.getCollectionTypeAccess().getTypeIdentifierAssignment_0(), "rule__CollectionType__TypeIdentifierAssignment_0"); + mappings.put(grammarAccess.getCollectionTypeAccess().getTypeAssignment_1_1(), "rule__CollectionType__TypeAssignment_1_1"); + mappings.put(grammarAccess.getTupleTypeAccess().getNameAssignment_0(), "rule__TupleType__NameAssignment_0"); + mappings.put(grammarAccess.getTupleTypeAccess().getPartAssignment_2_0(), "rule__TupleType__PartAssignment_2_0"); + mappings.put(grammarAccess.getTupleTypeAccess().getPartAssignment_2_1_1(), "rule__TupleType__PartAssignment_2_1_1"); + mappings.put(grammarAccess.getTuplePartAccess().getNameAssignment_0(), "rule__TuplePart__NameAssignment_0"); + mappings.put(grammarAccess.getTuplePartAccess().getTypeAssignment_2(), "rule__TuplePart__TypeAssignment_2"); + mappings.put(grammarAccess.getCollectionLiteralExpAccess().getCollectionLiteralPartsAssignment_1_2_0(), "rule__CollectionLiteralExp__CollectionLiteralPartsAssignment_1_2_0"); + mappings.put(grammarAccess.getCollectionLiteralExpAccess().getCollectionLiteralPartsAssignment_1_2_1_1(), "rule__CollectionLiteralExp__CollectionLiteralPartsAssignment_1_2_1_1"); + mappings.put(grammarAccess.getCollectionLiteralPartAccess().getExpressionAssignment_0(), "rule__CollectionLiteralPart__ExpressionAssignment_0"); + mappings.put(grammarAccess.getCollectionLiteralPartAccess().getLastExpressionAssignment_1_1(), "rule__CollectionLiteralPart__LastExpressionAssignment_1_1"); + mappings.put(grammarAccess.getTupleLiteralExpAccess().getPartAssignment_2_1(), "rule__TupleLiteralExp__PartAssignment_2_1"); + mappings.put(grammarAccess.getTupleLiteralExpAccess().getPartAssignment_2_2_1(), "rule__TupleLiteralExp__PartAssignment_2_2_1"); + mappings.put(grammarAccess.getTupleLiteralPartAccess().getNameAssignment_0(), "rule__TupleLiteralPart__NameAssignment_0"); + mappings.put(grammarAccess.getTupleLiteralPartAccess().getTypeAssignment_1_1(), "rule__TupleLiteralPart__TypeAssignment_1_1"); + mappings.put(grammarAccess.getTupleLiteralPartAccess().getInitExpressionAssignment_3(), "rule__TupleLiteralPart__InitExpressionAssignment_3"); + mappings.put(grammarAccess.getNumberLiteralExpAccess().getNameAssignment(), "rule__NumberLiteralExp__NameAssignment"); + mappings.put(grammarAccess.getStringLiteralExpAccess().getValuesAssignment(), "rule__StringLiteralExp__ValuesAssignment"); + mappings.put(grammarAccess.getBooleanLiteralExpAccess().getIsTrueAssignment_1_0(), "rule__BooleanLiteralExp__IsTrueAssignment_1_0"); + mappings.put(grammarAccess.getImpliesAccess().getOpAssignment_1_1(), "rule__Implies__OpAssignment_1_1"); + mappings.put(grammarAccess.getImpliesAccess().getArgumentAssignment_1_2(), "rule__Implies__ArgumentAssignment_1_2"); + mappings.put(grammarAccess.getXorAccess().getOpAssignment_1_1(), "rule__Xor__OpAssignment_1_1"); + mappings.put(grammarAccess.getXorAccess().getArgumentAssignment_1_2(), "rule__Xor__ArgumentAssignment_1_2"); + mappings.put(grammarAccess.getOrAccess().getOpAssignment_1_1(), "rule__Or__OpAssignment_1_1"); + mappings.put(grammarAccess.getOrAccess().getArgumentAssignment_1_2(), "rule__Or__ArgumentAssignment_1_2"); + mappings.put(grammarAccess.getAndAccess().getOpAssignment_1_1(), "rule__And__OpAssignment_1_1"); + mappings.put(grammarAccess.getAndAccess().getArgumentAssignment_1_2(), "rule__And__ArgumentAssignment_1_2"); + mappings.put(grammarAccess.getEqualityAccess().getOpAssignment_1_1(), "rule__Equality__OpAssignment_1_1"); + mappings.put(grammarAccess.getEqualityAccess().getArgumentAssignment_1_2(), "rule__Equality__ArgumentAssignment_1_2"); + mappings.put(grammarAccess.getRelationalAccess().getOpAssignment_1_1(), "rule__Relational__OpAssignment_1_1"); + mappings.put(grammarAccess.getRelationalAccess().getArgumentAssignment_1_2(), "rule__Relational__ArgumentAssignment_1_2"); + mappings.put(grammarAccess.getAdditiveAccess().getOpAssignment_1_1(), "rule__Additive__OpAssignment_1_1"); + mappings.put(grammarAccess.getAdditiveAccess().getArgumentAssignment_1_2(), "rule__Additive__ArgumentAssignment_1_2"); + mappings.put(grammarAccess.getMultiplicativeAccess().getOpAssignment_1_1(), "rule__Multiplicative__OpAssignment_1_1"); + mappings.put(grammarAccess.getMultiplicativeAccess().getArgumentAssignment_1_2(), "rule__Multiplicative__ArgumentAssignment_1_2"); + mappings.put(grammarAccess.getUnaryAccess().getOpAssignment_1_1(), "rule__Unary__OpAssignment_1_1"); + mappings.put(grammarAccess.getUnaryAccess().getSourceAssignment_1_2(), "rule__Unary__SourceAssignment_1_2"); + mappings.put(grammarAccess.getSubNavigationExpAccess().getSourceAssignment_9_2(), "rule__SubNavigationExp__SourceAssignment_9_2"); + mappings.put(grammarAccess.getIteratorVariableAccess().getNameAssignment_0(), "rule__IteratorVariable__NameAssignment_0"); + mappings.put(grammarAccess.getIteratorVariableAccess().getTypeAssignment_1_1(), "rule__IteratorVariable__TypeAssignment_1_1"); + mappings.put(grammarAccess.getIteratorAccumulatorAccess().getNameAssignment_0(), "rule__IteratorAccumulator__NameAssignment_0"); + mappings.put(grammarAccess.getIteratorAccumulatorAccess().getTypeAssignment_2(), "rule__IteratorAccumulator__TypeAssignment_2"); + mappings.put(grammarAccess.getIteratorAccumulatorAccess().getInitExpressionAssignment_4(), "rule__IteratorAccumulator__InitExpressionAssignment_4"); + mappings.put(grammarAccess.getRoundBracketExpAccess().getNameAssignment_0(), "rule__RoundBracketExp__NameAssignment_0"); + mappings.put(grammarAccess.getRoundBracketExpAccess().getPreAssignment_1_1(), "rule__RoundBracketExp__PreAssignment_1_1"); + mappings.put(grammarAccess.getRoundBracketExpAccess().getVariable1Assignment_3_0(), "rule__RoundBracketExp__Variable1Assignment_3_0"); + mappings.put(grammarAccess.getRoundBracketExpAccess().getVariable2Assignment_3_1_0_1(), "rule__RoundBracketExp__Variable2Assignment_3_1_0_1"); + mappings.put(grammarAccess.getRoundBracketExpAccess().getVariable2Assignment_3_1_1_1(), "rule__RoundBracketExp__Variable2Assignment_3_1_1_1"); + mappings.put(grammarAccess.getRoundBracketExpAccess().getArgumentsAssignment_4_0(), "rule__RoundBracketExp__ArgumentsAssignment_4_0"); + mappings.put(grammarAccess.getRoundBracketExpAccess().getArgumentsAssignment_4_1_1(), "rule__RoundBracketExp__ArgumentsAssignment_4_1_1"); + mappings.put(grammarAccess.getSquareBracketExpAccess().getNameAssignment_0(), "rule__SquareBracketExp__NameAssignment_0"); + mappings.put(grammarAccess.getSquareBracketExpAccess().getArgumentsAssignment_2(), "rule__SquareBracketExp__ArgumentsAssignment_2"); + mappings.put(grammarAccess.getSquareBracketExpAccess().getArgumentsAssignment_3_1(), "rule__SquareBracketExp__ArgumentsAssignment_3_1"); + mappings.put(grammarAccess.getSquareBracketExpAccess().getPreAssignment_5_1(), "rule__SquareBracketExp__PreAssignment_5_1"); + mappings.put(grammarAccess.getPreExpAccess().getNameAssignment_0(), "rule__PreExp__NameAssignment_0"); + mappings.put(grammarAccess.getPathNameExpAccess().getNamespaceAssignment_0(), "rule__PathNameExp__NamespaceAssignment_0"); + mappings.put(grammarAccess.getPathNameExpAccess().getElementAssignment_2(), "rule__PathNameExp__ElementAssignment_2"); + mappings.put(grammarAccess.getSimpleNameExpAccess().getElementAssignment(), "rule__SimpleNameExp__ElementAssignment"); + mappings.put(grammarAccess.getIfExpAccess().getConditionAssignment_1(), "rule__IfExp__ConditionAssignment_1"); + mappings.put(grammarAccess.getIfExpAccess().getThenExpressionAssignment_3(), "rule__IfExp__ThenExpressionAssignment_3"); + mappings.put(grammarAccess.getIfExpAccess().getElseExpressionAssignment_5(), "rule__IfExp__ElseExpressionAssignment_5"); + mappings.put(grammarAccess.getLetExpAccess().getVariableAssignment_1(), "rule__LetExp__VariableAssignment_1"); + mappings.put(grammarAccess.getLetExpAccess().getVariableAssignment_2_1(), "rule__LetExp__VariableAssignment_2_1"); + mappings.put(grammarAccess.getLetExpAccess().getInAssignment_4(), "rule__LetExp__InAssignment_4"); + mappings.put(grammarAccess.getLetVariableAccess().getNameAssignment_0(), "rule__LetVariable__NameAssignment_0"); + mappings.put(grammarAccess.getLetVariableAccess().getTypeAssignment_2(), "rule__LetVariable__TypeAssignment_2"); + mappings.put(grammarAccess.getLetVariableAccess().getInitExpressionAssignment_4(), "rule__LetVariable__InitExpressionAssignment_4"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug286935TestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug286935TestLanguageParser.java index 4cdd27fecb0..33c399a2b11 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug286935TestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug286935TestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,31 +26,31 @@ public static final class NameMappings { @Inject public NameMappings(Bug286935TestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, Bug286935TestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getStateAccess().getAlternatives_1(), "rule__State__Alternatives_1"); - builder.put(grammarAccess.getStateTypeAccess().getAlternatives(), "rule__StateType__Alternatives"); - builder.put(grammarAccess.getStateAccess().getGroup(), "rule__State__Group__0"); - builder.put(grammarAccess.getStateAccess().getGroup_1_3(), "rule__State__Group_1_3__0"); - builder.put(grammarAccess.getStateAccess().getGroup_1_4(), "rule__State__Group_1_4__0"); - builder.put(grammarAccess.getStateAccess().getIsInitialAssignment_1_0(), "rule__State__IsInitialAssignment_1_0"); - builder.put(grammarAccess.getStateAccess().getIsFinalAssignment_1_1(), "rule__State__IsFinalAssignment_1_1"); - builder.put(grammarAccess.getStateAccess().getStateKindAssignment_1_2(), "rule__State__StateKindAssignment_1_2"); - builder.put(grammarAccess.getStateAccess().getIsInitialAssignment_1_3_0(), "rule__State__IsInitialAssignment_1_3_0"); - builder.put(grammarAccess.getStateAccess().getStateKindAssignment_1_3_1(), "rule__State__StateKindAssignment_1_3_1"); - builder.put(grammarAccess.getStateAccess().getIsInitialAssignment_1_4_0(), "rule__State__IsInitialAssignment_1_4_0"); - builder.put(grammarAccess.getStateAccess().getStateKindAssignment_1_4_1(), "rule__State__StateKindAssignment_1_4_1"); - builder.put(grammarAccess.getStateAccess().getIsFinalAssignment_1_4_2(), "rule__State__IsFinalAssignment_1_4_2"); - builder.put(grammarAccess.getStateAccess().getStateNameAssignment_3(), "rule__State__StateNameAssignment_3"); - builder.put(grammarAccess.getStateAccess().getLabelAssignment_4(), "rule__State__LabelAssignment_4"); + private static void init(Map mappings, Bug286935TestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getStateAccess().getAlternatives_1(), "rule__State__Alternatives_1"); + mappings.put(grammarAccess.getStateTypeAccess().getAlternatives(), "rule__StateType__Alternatives"); + mappings.put(grammarAccess.getStateAccess().getGroup(), "rule__State__Group__0"); + mappings.put(grammarAccess.getStateAccess().getGroup_1_3(), "rule__State__Group_1_3__0"); + mappings.put(grammarAccess.getStateAccess().getGroup_1_4(), "rule__State__Group_1_4__0"); + mappings.put(grammarAccess.getStateAccess().getIsInitialAssignment_1_0(), "rule__State__IsInitialAssignment_1_0"); + mappings.put(grammarAccess.getStateAccess().getIsFinalAssignment_1_1(), "rule__State__IsFinalAssignment_1_1"); + mappings.put(grammarAccess.getStateAccess().getStateKindAssignment_1_2(), "rule__State__StateKindAssignment_1_2"); + mappings.put(grammarAccess.getStateAccess().getIsInitialAssignment_1_3_0(), "rule__State__IsInitialAssignment_1_3_0"); + mappings.put(grammarAccess.getStateAccess().getStateKindAssignment_1_3_1(), "rule__State__StateKindAssignment_1_3_1"); + mappings.put(grammarAccess.getStateAccess().getIsInitialAssignment_1_4_0(), "rule__State__IsInitialAssignment_1_4_0"); + mappings.put(grammarAccess.getStateAccess().getStateKindAssignment_1_4_1(), "rule__State__StateKindAssignment_1_4_1"); + mappings.put(grammarAccess.getStateAccess().getIsFinalAssignment_1_4_2(), "rule__State__IsFinalAssignment_1_4_2"); + mappings.put(grammarAccess.getStateAccess().getStateNameAssignment_3(), "rule__State__StateNameAssignment_3"); + mappings.put(grammarAccess.getStateAccess().getLabelAssignment_4(), "rule__State__LabelAssignment_4"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug287941TestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug287941TestLanguageParser.java index ae5c77d3d60..9e8049136b1 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug287941TestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug287941TestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,109 +26,109 @@ public static final class NameMappings { @Inject public NameMappings(Bug287941TestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, Bug287941TestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getScopeAccess().getAlternatives(), "rule__Scope__Alternatives"); - builder.put(grammarAccess.getConcreteWhereEntryAccess().getAlternatives(), "rule__ConcreteWhereEntry__Alternatives"); - builder.put(grammarAccess.getAttributeWhereEntryAccess().getAlternatives(), "rule__AttributeWhereEntry__Alternatives"); - builder.put(grammarAccess.getNumericAttributeWhereEntryAccess().getAlternatives(), "rule__NumericAttributeWhereEntry__Alternatives"); - builder.put(grammarAccess.getBooleanAttributeWhereEntryAccess().getAlternatives_4(), "rule__BooleanAttributeWhereEntry__Alternatives_4"); - builder.put(grammarAccess.getNumericOperatorAccess().getAlternatives(), "rule__NumericOperator__Alternatives"); - builder.put(grammarAccess.getStringOperatorAccess().getAlternatives(), "rule__StringOperator__Alternatives"); - builder.put(grammarAccess.getBooleanOperatorAccess().getAlternatives(), "rule__BooleanOperator__Alternatives"); - builder.put(grammarAccess.getModelAccess().getGroup(), "rule__Model__Group__0"); - builder.put(grammarAccess.getImportAccess().getGroup(), "rule__Import__Group__0"); - builder.put(grammarAccess.getMQLqueryAccess().getGroup(), "rule__MQLquery__Group__0"); - builder.put(grammarAccess.getMQLqueryAccess().getGroup_2(), "rule__MQLquery__Group_2__0"); - builder.put(grammarAccess.getMQLqueryAccess().getGroup_5(), "rule__MQLquery__Group_5__0"); - builder.put(grammarAccess.getMQLqueryAccess().getGroup_6(), "rule__MQLquery__Group_6__0"); - builder.put(grammarAccess.getSelectEntryAccess().getGroup(), "rule__SelectEntry__Group__0"); - builder.put(grammarAccess.getSelectEntryAccess().getGroup_1(), "rule__SelectEntry__Group_1__0"); - builder.put(grammarAccess.getFromEntryAccess().getGroup(), "rule__FromEntry__Group__0"); - builder.put(grammarAccess.getScopeClauseAccess().getGroup(), "rule__ScopeClause__Group__0"); - builder.put(grammarAccess.getResourceScopeAccess().getGroup(), "rule__ResourceScope__Group__0"); - builder.put(grammarAccess.getResourceScopeAccess().getGroup_3(), "rule__ResourceScope__Group_3__0"); - builder.put(grammarAccess.getElementScopeAccess().getGroup(), "rule__ElementScope__Group__0"); - builder.put(grammarAccess.getElementScopeAccess().getGroup_3(), "rule__ElementScope__Group_3__0"); - builder.put(grammarAccess.getWhereEntryAccess().getGroup(), "rule__WhereEntry__Group__0"); - builder.put(grammarAccess.getWhereEntryAccess().getGroup_1(), "rule__WhereEntry__Group_1__0"); - builder.put(grammarAccess.getWhereEntryAccess().getGroup_1_1(), "rule__WhereEntry__Group_1_1__0"); - builder.put(grammarAccess.getAndWhereEntryAccess().getGroup(), "rule__AndWhereEntry__Group__0"); - builder.put(grammarAccess.getAndWhereEntryAccess().getGroup_1(), "rule__AndWhereEntry__Group_1__0"); - builder.put(grammarAccess.getAndWhereEntryAccess().getGroup_1_1(), "rule__AndWhereEntry__Group_1_1__0"); - builder.put(grammarAccess.getParWhereEntryAccess().getGroup(), "rule__ParWhereEntry__Group__0"); - builder.put(grammarAccess.getDoubleWhereEntryAccess().getGroup(), "rule__DoubleWhereEntry__Group__0"); - builder.put(grammarAccess.getLongWhereEntryAccess().getGroup(), "rule__LongWhereEntry__Group__0"); - builder.put(grammarAccess.getVariableWhereEntryAccess().getGroup(), "rule__VariableWhereEntry__Group__0"); - builder.put(grammarAccess.getStringAttributeWhereEntryAccess().getGroup(), "rule__StringAttributeWhereEntry__Group__0"); - builder.put(grammarAccess.getBooleanAttributeWhereEntryAccess().getGroup(), "rule__BooleanAttributeWhereEntry__Group__0"); - builder.put(grammarAccess.getNullWhereEntryAccess().getGroup(), "rule__NullWhereEntry__Group__0"); - builder.put(grammarAccess.getReferenceAliasWhereEntryAccess().getGroup(), "rule__ReferenceAliasWhereEntry__Group__0"); - builder.put(grammarAccess.getSubselectWhereEntryAccess().getGroup(), "rule__SubselectWhereEntry__Group__0"); - builder.put(grammarAccess.getAliasWhereEntryAccess().getGroup(), "rule__AliasWhereEntry__Group__0"); - builder.put(grammarAccess.getModelAccess().getImportsAssignment_0(), "rule__Model__ImportsAssignment_0"); - builder.put(grammarAccess.getModelAccess().getQueryAssignment_1(), "rule__Model__QueryAssignment_1"); - builder.put(grammarAccess.getImportAccess().getImportURIAssignment_1(), "rule__Import__ImportURIAssignment_1"); - builder.put(grammarAccess.getMQLqueryAccess().getSelectEntriesAssignment_1(), "rule__MQLquery__SelectEntriesAssignment_1"); - builder.put(grammarAccess.getMQLqueryAccess().getSelectEntriesAssignment_2_1(), "rule__MQLquery__SelectEntriesAssignment_2_1"); - builder.put(grammarAccess.getMQLqueryAccess().getFromEntriesAssignment_4(), "rule__MQLquery__FromEntriesAssignment_4"); - builder.put(grammarAccess.getMQLqueryAccess().getFromEntriesAssignment_5_1(), "rule__MQLquery__FromEntriesAssignment_5_1"); - builder.put(grammarAccess.getMQLqueryAccess().getWhereEntriesAssignment_6_1(), "rule__MQLquery__WhereEntriesAssignment_6_1"); - builder.put(grammarAccess.getSelectEntryAccess().getSelectAssignment_0(), "rule__SelectEntry__SelectAssignment_0"); - builder.put(grammarAccess.getSelectEntryAccess().getAttributeAssignment_1_1(), "rule__SelectEntry__AttributeAssignment_1_1"); - builder.put(grammarAccess.getFromEntryAccess().getTypeAssignment_0(), "rule__FromEntry__TypeAssignment_0"); - builder.put(grammarAccess.getFromEntryAccess().getWithoutsubtypesAssignment_1(), "rule__FromEntry__WithoutsubtypesAssignment_1"); - builder.put(grammarAccess.getFromEntryAccess().getAliasAssignment_3(), "rule__FromEntry__AliasAssignment_3"); - builder.put(grammarAccess.getFromEntryAccess().getScopeClauseAssignment_4(), "rule__FromEntry__ScopeClauseAssignment_4"); - builder.put(grammarAccess.getScopeClauseAccess().getNotInAssignment_0(), "rule__ScopeClause__NotInAssignment_0"); - builder.put(grammarAccess.getScopeClauseAccess().getScopeAssignment_2(), "rule__ScopeClause__ScopeAssignment_2"); - builder.put(grammarAccess.getResourceScopeAccess().getUrisAssignment_2(), "rule__ResourceScope__UrisAssignment_2"); - builder.put(grammarAccess.getResourceScopeAccess().getUrisAssignment_3_1(), "rule__ResourceScope__UrisAssignment_3_1"); - builder.put(grammarAccess.getElementScopeAccess().getUrisAssignment_2(), "rule__ElementScope__UrisAssignment_2"); - builder.put(grammarAccess.getElementScopeAccess().getUrisAssignment_3_1(), "rule__ElementScope__UrisAssignment_3_1"); - builder.put(grammarAccess.getWhereEntryAccess().getEntriesAssignment_1_1_1(), "rule__WhereEntry__EntriesAssignment_1_1_1"); - builder.put(grammarAccess.getAndWhereEntryAccess().getEntriesAssignment_1_1_1(), "rule__AndWhereEntry__EntriesAssignment_1_1_1"); - builder.put(grammarAccess.getDoubleWhereEntryAccess().getAliasAssignment_0(), "rule__DoubleWhereEntry__AliasAssignment_0"); - builder.put(grammarAccess.getDoubleWhereEntryAccess().getAttributeAssignment_2(), "rule__DoubleWhereEntry__AttributeAssignment_2"); - builder.put(grammarAccess.getDoubleWhereEntryAccess().getOperatorAssignment_3(), "rule__DoubleWhereEntry__OperatorAssignment_3"); - builder.put(grammarAccess.getDoubleWhereEntryAccess().getValueAssignment_4(), "rule__DoubleWhereEntry__ValueAssignment_4"); - builder.put(grammarAccess.getLongWhereEntryAccess().getAliasAssignment_0(), "rule__LongWhereEntry__AliasAssignment_0"); - builder.put(grammarAccess.getLongWhereEntryAccess().getAttributeAssignment_2(), "rule__LongWhereEntry__AttributeAssignment_2"); - builder.put(grammarAccess.getLongWhereEntryAccess().getOperatorAssignment_3(), "rule__LongWhereEntry__OperatorAssignment_3"); - builder.put(grammarAccess.getLongWhereEntryAccess().getValueAssignment_4(), "rule__LongWhereEntry__ValueAssignment_4"); - builder.put(grammarAccess.getVariableWhereEntryAccess().getAliasAssignment_0(), "rule__VariableWhereEntry__AliasAssignment_0"); - builder.put(grammarAccess.getVariableWhereEntryAccess().getAttributeAssignment_2(), "rule__VariableWhereEntry__AttributeAssignment_2"); - builder.put(grammarAccess.getVariableWhereEntryAccess().getOperatorAssignment_3(), "rule__VariableWhereEntry__OperatorAssignment_3"); - builder.put(grammarAccess.getVariableWhereEntryAccess().getRightAliasAssignment_4(), "rule__VariableWhereEntry__RightAliasAssignment_4"); - builder.put(grammarAccess.getVariableWhereEntryAccess().getRightAttributeAssignment_6(), "rule__VariableWhereEntry__RightAttributeAssignment_6"); - builder.put(grammarAccess.getStringAttributeWhereEntryAccess().getAliasAssignment_0(), "rule__StringAttributeWhereEntry__AliasAssignment_0"); - builder.put(grammarAccess.getStringAttributeWhereEntryAccess().getAttributeAssignment_2(), "rule__StringAttributeWhereEntry__AttributeAssignment_2"); - builder.put(grammarAccess.getStringAttributeWhereEntryAccess().getOperatorAssignment_3(), "rule__StringAttributeWhereEntry__OperatorAssignment_3"); - builder.put(grammarAccess.getStringAttributeWhereEntryAccess().getPatternAssignment_4(), "rule__StringAttributeWhereEntry__PatternAssignment_4"); - builder.put(grammarAccess.getBooleanAttributeWhereEntryAccess().getAliasAssignment_0(), "rule__BooleanAttributeWhereEntry__AliasAssignment_0"); - builder.put(grammarAccess.getBooleanAttributeWhereEntryAccess().getAttributeAssignment_2(), "rule__BooleanAttributeWhereEntry__AttributeAssignment_2"); - builder.put(grammarAccess.getBooleanAttributeWhereEntryAccess().getOperatorAssignment_3(), "rule__BooleanAttributeWhereEntry__OperatorAssignment_3"); - builder.put(grammarAccess.getBooleanAttributeWhereEntryAccess().getIsTrueAssignment_4_0(), "rule__BooleanAttributeWhereEntry__IsTrueAssignment_4_0"); - builder.put(grammarAccess.getNullWhereEntryAccess().getAliasAssignment_0(), "rule__NullWhereEntry__AliasAssignment_0"); - builder.put(grammarAccess.getNullWhereEntryAccess().getFeatureAssignment_2(), "rule__NullWhereEntry__FeatureAssignment_2"); - builder.put(grammarAccess.getNullWhereEntryAccess().getOperatorAssignment_3(), "rule__NullWhereEntry__OperatorAssignment_3"); - builder.put(grammarAccess.getReferenceAliasWhereEntryAccess().getAliasAssignment_0(), "rule__ReferenceAliasWhereEntry__AliasAssignment_0"); - builder.put(grammarAccess.getReferenceAliasWhereEntryAccess().getReferenceAssignment_2(), "rule__ReferenceAliasWhereEntry__ReferenceAssignment_2"); - builder.put(grammarAccess.getReferenceAliasWhereEntryAccess().getRightAliasAssignment_4(), "rule__ReferenceAliasWhereEntry__RightAliasAssignment_4"); - builder.put(grammarAccess.getSubselectWhereEntryAccess().getAliasAssignment_0(), "rule__SubselectWhereEntry__AliasAssignment_0"); - builder.put(grammarAccess.getSubselectWhereEntryAccess().getReferenceAssignment_2(), "rule__SubselectWhereEntry__ReferenceAssignment_2"); - builder.put(grammarAccess.getSubselectWhereEntryAccess().getNotInAssignment_3(), "rule__SubselectWhereEntry__NotInAssignment_3"); - builder.put(grammarAccess.getSubselectWhereEntryAccess().getSubQueryAssignment_6(), "rule__SubselectWhereEntry__SubQueryAssignment_6"); - builder.put(grammarAccess.getAliasWhereEntryAccess().getAliasAssignment_0(), "rule__AliasWhereEntry__AliasAssignment_0"); - builder.put(grammarAccess.getAliasWhereEntryAccess().getRightAliasAssignment_2(), "rule__AliasWhereEntry__RightAliasAssignment_2"); + private static void init(Map mappings, Bug287941TestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getScopeAccess().getAlternatives(), "rule__Scope__Alternatives"); + mappings.put(grammarAccess.getConcreteWhereEntryAccess().getAlternatives(), "rule__ConcreteWhereEntry__Alternatives"); + mappings.put(grammarAccess.getAttributeWhereEntryAccess().getAlternatives(), "rule__AttributeWhereEntry__Alternatives"); + mappings.put(grammarAccess.getNumericAttributeWhereEntryAccess().getAlternatives(), "rule__NumericAttributeWhereEntry__Alternatives"); + mappings.put(grammarAccess.getBooleanAttributeWhereEntryAccess().getAlternatives_4(), "rule__BooleanAttributeWhereEntry__Alternatives_4"); + mappings.put(grammarAccess.getNumericOperatorAccess().getAlternatives(), "rule__NumericOperator__Alternatives"); + mappings.put(grammarAccess.getStringOperatorAccess().getAlternatives(), "rule__StringOperator__Alternatives"); + mappings.put(grammarAccess.getBooleanOperatorAccess().getAlternatives(), "rule__BooleanOperator__Alternatives"); + mappings.put(grammarAccess.getModelAccess().getGroup(), "rule__Model__Group__0"); + mappings.put(grammarAccess.getImportAccess().getGroup(), "rule__Import__Group__0"); + mappings.put(grammarAccess.getMQLqueryAccess().getGroup(), "rule__MQLquery__Group__0"); + mappings.put(grammarAccess.getMQLqueryAccess().getGroup_2(), "rule__MQLquery__Group_2__0"); + mappings.put(grammarAccess.getMQLqueryAccess().getGroup_5(), "rule__MQLquery__Group_5__0"); + mappings.put(grammarAccess.getMQLqueryAccess().getGroup_6(), "rule__MQLquery__Group_6__0"); + mappings.put(grammarAccess.getSelectEntryAccess().getGroup(), "rule__SelectEntry__Group__0"); + mappings.put(grammarAccess.getSelectEntryAccess().getGroup_1(), "rule__SelectEntry__Group_1__0"); + mappings.put(grammarAccess.getFromEntryAccess().getGroup(), "rule__FromEntry__Group__0"); + mappings.put(grammarAccess.getScopeClauseAccess().getGroup(), "rule__ScopeClause__Group__0"); + mappings.put(grammarAccess.getResourceScopeAccess().getGroup(), "rule__ResourceScope__Group__0"); + mappings.put(grammarAccess.getResourceScopeAccess().getGroup_3(), "rule__ResourceScope__Group_3__0"); + mappings.put(grammarAccess.getElementScopeAccess().getGroup(), "rule__ElementScope__Group__0"); + mappings.put(grammarAccess.getElementScopeAccess().getGroup_3(), "rule__ElementScope__Group_3__0"); + mappings.put(grammarAccess.getWhereEntryAccess().getGroup(), "rule__WhereEntry__Group__0"); + mappings.put(grammarAccess.getWhereEntryAccess().getGroup_1(), "rule__WhereEntry__Group_1__0"); + mappings.put(grammarAccess.getWhereEntryAccess().getGroup_1_1(), "rule__WhereEntry__Group_1_1__0"); + mappings.put(grammarAccess.getAndWhereEntryAccess().getGroup(), "rule__AndWhereEntry__Group__0"); + mappings.put(grammarAccess.getAndWhereEntryAccess().getGroup_1(), "rule__AndWhereEntry__Group_1__0"); + mappings.put(grammarAccess.getAndWhereEntryAccess().getGroup_1_1(), "rule__AndWhereEntry__Group_1_1__0"); + mappings.put(grammarAccess.getParWhereEntryAccess().getGroup(), "rule__ParWhereEntry__Group__0"); + mappings.put(grammarAccess.getDoubleWhereEntryAccess().getGroup(), "rule__DoubleWhereEntry__Group__0"); + mappings.put(grammarAccess.getLongWhereEntryAccess().getGroup(), "rule__LongWhereEntry__Group__0"); + mappings.put(grammarAccess.getVariableWhereEntryAccess().getGroup(), "rule__VariableWhereEntry__Group__0"); + mappings.put(grammarAccess.getStringAttributeWhereEntryAccess().getGroup(), "rule__StringAttributeWhereEntry__Group__0"); + mappings.put(grammarAccess.getBooleanAttributeWhereEntryAccess().getGroup(), "rule__BooleanAttributeWhereEntry__Group__0"); + mappings.put(grammarAccess.getNullWhereEntryAccess().getGroup(), "rule__NullWhereEntry__Group__0"); + mappings.put(grammarAccess.getReferenceAliasWhereEntryAccess().getGroup(), "rule__ReferenceAliasWhereEntry__Group__0"); + mappings.put(grammarAccess.getSubselectWhereEntryAccess().getGroup(), "rule__SubselectWhereEntry__Group__0"); + mappings.put(grammarAccess.getAliasWhereEntryAccess().getGroup(), "rule__AliasWhereEntry__Group__0"); + mappings.put(grammarAccess.getModelAccess().getImportsAssignment_0(), "rule__Model__ImportsAssignment_0"); + mappings.put(grammarAccess.getModelAccess().getQueryAssignment_1(), "rule__Model__QueryAssignment_1"); + mappings.put(grammarAccess.getImportAccess().getImportURIAssignment_1(), "rule__Import__ImportURIAssignment_1"); + mappings.put(grammarAccess.getMQLqueryAccess().getSelectEntriesAssignment_1(), "rule__MQLquery__SelectEntriesAssignment_1"); + mappings.put(grammarAccess.getMQLqueryAccess().getSelectEntriesAssignment_2_1(), "rule__MQLquery__SelectEntriesAssignment_2_1"); + mappings.put(grammarAccess.getMQLqueryAccess().getFromEntriesAssignment_4(), "rule__MQLquery__FromEntriesAssignment_4"); + mappings.put(grammarAccess.getMQLqueryAccess().getFromEntriesAssignment_5_1(), "rule__MQLquery__FromEntriesAssignment_5_1"); + mappings.put(grammarAccess.getMQLqueryAccess().getWhereEntriesAssignment_6_1(), "rule__MQLquery__WhereEntriesAssignment_6_1"); + mappings.put(grammarAccess.getSelectEntryAccess().getSelectAssignment_0(), "rule__SelectEntry__SelectAssignment_0"); + mappings.put(grammarAccess.getSelectEntryAccess().getAttributeAssignment_1_1(), "rule__SelectEntry__AttributeAssignment_1_1"); + mappings.put(grammarAccess.getFromEntryAccess().getTypeAssignment_0(), "rule__FromEntry__TypeAssignment_0"); + mappings.put(grammarAccess.getFromEntryAccess().getWithoutsubtypesAssignment_1(), "rule__FromEntry__WithoutsubtypesAssignment_1"); + mappings.put(grammarAccess.getFromEntryAccess().getAliasAssignment_3(), "rule__FromEntry__AliasAssignment_3"); + mappings.put(grammarAccess.getFromEntryAccess().getScopeClauseAssignment_4(), "rule__FromEntry__ScopeClauseAssignment_4"); + mappings.put(grammarAccess.getScopeClauseAccess().getNotInAssignment_0(), "rule__ScopeClause__NotInAssignment_0"); + mappings.put(grammarAccess.getScopeClauseAccess().getScopeAssignment_2(), "rule__ScopeClause__ScopeAssignment_2"); + mappings.put(grammarAccess.getResourceScopeAccess().getUrisAssignment_2(), "rule__ResourceScope__UrisAssignment_2"); + mappings.put(grammarAccess.getResourceScopeAccess().getUrisAssignment_3_1(), "rule__ResourceScope__UrisAssignment_3_1"); + mappings.put(grammarAccess.getElementScopeAccess().getUrisAssignment_2(), "rule__ElementScope__UrisAssignment_2"); + mappings.put(grammarAccess.getElementScopeAccess().getUrisAssignment_3_1(), "rule__ElementScope__UrisAssignment_3_1"); + mappings.put(grammarAccess.getWhereEntryAccess().getEntriesAssignment_1_1_1(), "rule__WhereEntry__EntriesAssignment_1_1_1"); + mappings.put(grammarAccess.getAndWhereEntryAccess().getEntriesAssignment_1_1_1(), "rule__AndWhereEntry__EntriesAssignment_1_1_1"); + mappings.put(grammarAccess.getDoubleWhereEntryAccess().getAliasAssignment_0(), "rule__DoubleWhereEntry__AliasAssignment_0"); + mappings.put(grammarAccess.getDoubleWhereEntryAccess().getAttributeAssignment_2(), "rule__DoubleWhereEntry__AttributeAssignment_2"); + mappings.put(grammarAccess.getDoubleWhereEntryAccess().getOperatorAssignment_3(), "rule__DoubleWhereEntry__OperatorAssignment_3"); + mappings.put(grammarAccess.getDoubleWhereEntryAccess().getValueAssignment_4(), "rule__DoubleWhereEntry__ValueAssignment_4"); + mappings.put(grammarAccess.getLongWhereEntryAccess().getAliasAssignment_0(), "rule__LongWhereEntry__AliasAssignment_0"); + mappings.put(grammarAccess.getLongWhereEntryAccess().getAttributeAssignment_2(), "rule__LongWhereEntry__AttributeAssignment_2"); + mappings.put(grammarAccess.getLongWhereEntryAccess().getOperatorAssignment_3(), "rule__LongWhereEntry__OperatorAssignment_3"); + mappings.put(grammarAccess.getLongWhereEntryAccess().getValueAssignment_4(), "rule__LongWhereEntry__ValueAssignment_4"); + mappings.put(grammarAccess.getVariableWhereEntryAccess().getAliasAssignment_0(), "rule__VariableWhereEntry__AliasAssignment_0"); + mappings.put(grammarAccess.getVariableWhereEntryAccess().getAttributeAssignment_2(), "rule__VariableWhereEntry__AttributeAssignment_2"); + mappings.put(grammarAccess.getVariableWhereEntryAccess().getOperatorAssignment_3(), "rule__VariableWhereEntry__OperatorAssignment_3"); + mappings.put(grammarAccess.getVariableWhereEntryAccess().getRightAliasAssignment_4(), "rule__VariableWhereEntry__RightAliasAssignment_4"); + mappings.put(grammarAccess.getVariableWhereEntryAccess().getRightAttributeAssignment_6(), "rule__VariableWhereEntry__RightAttributeAssignment_6"); + mappings.put(grammarAccess.getStringAttributeWhereEntryAccess().getAliasAssignment_0(), "rule__StringAttributeWhereEntry__AliasAssignment_0"); + mappings.put(grammarAccess.getStringAttributeWhereEntryAccess().getAttributeAssignment_2(), "rule__StringAttributeWhereEntry__AttributeAssignment_2"); + mappings.put(grammarAccess.getStringAttributeWhereEntryAccess().getOperatorAssignment_3(), "rule__StringAttributeWhereEntry__OperatorAssignment_3"); + mappings.put(grammarAccess.getStringAttributeWhereEntryAccess().getPatternAssignment_4(), "rule__StringAttributeWhereEntry__PatternAssignment_4"); + mappings.put(grammarAccess.getBooleanAttributeWhereEntryAccess().getAliasAssignment_0(), "rule__BooleanAttributeWhereEntry__AliasAssignment_0"); + mappings.put(grammarAccess.getBooleanAttributeWhereEntryAccess().getAttributeAssignment_2(), "rule__BooleanAttributeWhereEntry__AttributeAssignment_2"); + mappings.put(grammarAccess.getBooleanAttributeWhereEntryAccess().getOperatorAssignment_3(), "rule__BooleanAttributeWhereEntry__OperatorAssignment_3"); + mappings.put(grammarAccess.getBooleanAttributeWhereEntryAccess().getIsTrueAssignment_4_0(), "rule__BooleanAttributeWhereEntry__IsTrueAssignment_4_0"); + mappings.put(grammarAccess.getNullWhereEntryAccess().getAliasAssignment_0(), "rule__NullWhereEntry__AliasAssignment_0"); + mappings.put(grammarAccess.getNullWhereEntryAccess().getFeatureAssignment_2(), "rule__NullWhereEntry__FeatureAssignment_2"); + mappings.put(grammarAccess.getNullWhereEntryAccess().getOperatorAssignment_3(), "rule__NullWhereEntry__OperatorAssignment_3"); + mappings.put(grammarAccess.getReferenceAliasWhereEntryAccess().getAliasAssignment_0(), "rule__ReferenceAliasWhereEntry__AliasAssignment_0"); + mappings.put(grammarAccess.getReferenceAliasWhereEntryAccess().getReferenceAssignment_2(), "rule__ReferenceAliasWhereEntry__ReferenceAssignment_2"); + mappings.put(grammarAccess.getReferenceAliasWhereEntryAccess().getRightAliasAssignment_4(), "rule__ReferenceAliasWhereEntry__RightAliasAssignment_4"); + mappings.put(grammarAccess.getSubselectWhereEntryAccess().getAliasAssignment_0(), "rule__SubselectWhereEntry__AliasAssignment_0"); + mappings.put(grammarAccess.getSubselectWhereEntryAccess().getReferenceAssignment_2(), "rule__SubselectWhereEntry__ReferenceAssignment_2"); + mappings.put(grammarAccess.getSubselectWhereEntryAccess().getNotInAssignment_3(), "rule__SubselectWhereEntry__NotInAssignment_3"); + mappings.put(grammarAccess.getSubselectWhereEntryAccess().getSubQueryAssignment_6(), "rule__SubselectWhereEntry__SubQueryAssignment_6"); + mappings.put(grammarAccess.getAliasWhereEntryAccess().getAliasAssignment_0(), "rule__AliasWhereEntry__AliasAssignment_0"); + mappings.put(grammarAccess.getAliasWhereEntryAccess().getRightAliasAssignment_2(), "rule__AliasWhereEntry__RightAliasAssignment_2"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug288734TestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug288734TestLanguageParser.java index bd4fe5dc460..67c94f0a4bf 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug288734TestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug288734TestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,29 +26,29 @@ public static final class NameMappings { @Inject public NameMappings(Bug288734TestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, Bug288734TestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getTConstantAccess().getAlternatives(), "rule__TConstant__Alternatives"); - builder.put(grammarAccess.getTStringConstantAccess().getGroup(), "rule__TStringConstant__Group__0"); - builder.put(grammarAccess.getTIntegerConstantAccess().getGroup(), "rule__TIntegerConstant__Group__0"); - builder.put(grammarAccess.getTBooleanConstantAccess().getGroup(), "rule__TBooleanConstant__Group__0"); - builder.put(grammarAccess.getTAnnotationAccess().getGroup(), "rule__TAnnotation__Group__0"); - builder.put(grammarAccess.getModelAccess().getConstantsAssignment(), "rule__Model__ConstantsAssignment"); - builder.put(grammarAccess.getTStringConstantAccess().getAnnotationsAssignment_0(), "rule__TStringConstant__AnnotationsAssignment_0"); - builder.put(grammarAccess.getTStringConstantAccess().getNameAssignment_3(), "rule__TStringConstant__NameAssignment_3"); - builder.put(grammarAccess.getTIntegerConstantAccess().getAnnotationsAssignment_0(), "rule__TIntegerConstant__AnnotationsAssignment_0"); - builder.put(grammarAccess.getTIntegerConstantAccess().getNameAssignment_3(), "rule__TIntegerConstant__NameAssignment_3"); - builder.put(grammarAccess.getTBooleanConstantAccess().getAnnotationsAssignment_0(), "rule__TBooleanConstant__AnnotationsAssignment_0"); - builder.put(grammarAccess.getTBooleanConstantAccess().getNameAssignment_3(), "rule__TBooleanConstant__NameAssignment_3"); - builder.put(grammarAccess.getTAnnotationAccess().getDescriptionAssignment_1(), "rule__TAnnotation__DescriptionAssignment_1"); + private static void init(Map mappings, Bug288734TestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getTConstantAccess().getAlternatives(), "rule__TConstant__Alternatives"); + mappings.put(grammarAccess.getTStringConstantAccess().getGroup(), "rule__TStringConstant__Group__0"); + mappings.put(grammarAccess.getTIntegerConstantAccess().getGroup(), "rule__TIntegerConstant__Group__0"); + mappings.put(grammarAccess.getTBooleanConstantAccess().getGroup(), "rule__TBooleanConstant__Group__0"); + mappings.put(grammarAccess.getTAnnotationAccess().getGroup(), "rule__TAnnotation__Group__0"); + mappings.put(grammarAccess.getModelAccess().getConstantsAssignment(), "rule__Model__ConstantsAssignment"); + mappings.put(grammarAccess.getTStringConstantAccess().getAnnotationsAssignment_0(), "rule__TStringConstant__AnnotationsAssignment_0"); + mappings.put(grammarAccess.getTStringConstantAccess().getNameAssignment_3(), "rule__TStringConstant__NameAssignment_3"); + mappings.put(grammarAccess.getTIntegerConstantAccess().getAnnotationsAssignment_0(), "rule__TIntegerConstant__AnnotationsAssignment_0"); + mappings.put(grammarAccess.getTIntegerConstantAccess().getNameAssignment_3(), "rule__TIntegerConstant__NameAssignment_3"); + mappings.put(grammarAccess.getTBooleanConstantAccess().getAnnotationsAssignment_0(), "rule__TBooleanConstant__AnnotationsAssignment_0"); + mappings.put(grammarAccess.getTBooleanConstantAccess().getNameAssignment_3(), "rule__TBooleanConstant__NameAssignment_3"); + mappings.put(grammarAccess.getTAnnotationAccess().getDescriptionAssignment_1(), "rule__TAnnotation__DescriptionAssignment_1"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug288760TestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug288760TestLanguageParser.java index 99b2162e878..4fb72ffd53f 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug288760TestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug288760TestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,28 +26,28 @@ public static final class NameMappings { @Inject public NameMappings(Bug288760TestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, Bug288760TestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getWorkflowElementAccess().getAlternatives(), "rule__WorkflowElement__Alternatives"); - builder.put(grammarAccess.getWorkflowElementAccess().getGroup_0(), "rule__WorkflowElement__Group_0__0"); - builder.put(grammarAccess.getWorkflowElementAccess().getGroup_1(), "rule__WorkflowElement__Group_1__0"); - builder.put(grammarAccess.getAttributeAccess().getGroup(), "rule__Attribute__Group__0"); - builder.put(grammarAccess.getWorkflowElementAccess().getNameAssignment_0_0(), "rule__WorkflowElement__NameAssignment_0_0"); - builder.put(grammarAccess.getWorkflowElementAccess().getAttributesAssignment_0_1(), "rule__WorkflowElement__AttributesAssignment_0_1"); - builder.put(grammarAccess.getWorkflowElementAccess().getNameAssignment_1_0(), "rule__WorkflowElement__NameAssignment_1_0"); - builder.put(grammarAccess.getWorkflowElementAccess().getAttributesAssignment_1_1(), "rule__WorkflowElement__AttributesAssignment_1_1"); - builder.put(grammarAccess.getWorkflowElementAccess().getChildrenAssignment_1_3(), "rule__WorkflowElement__ChildrenAssignment_1_3"); - builder.put(grammarAccess.getWorkflowElementAccess().getEndAssignment_1_4(), "rule__WorkflowElement__EndAssignment_1_4"); - builder.put(grammarAccess.getAttributeAccess().getNameAssignment_0(), "rule__Attribute__NameAssignment_0"); - builder.put(grammarAccess.getAttributeAccess().getValueAssignment_2(), "rule__Attribute__ValueAssignment_2"); + private static void init(Map mappings, Bug288760TestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getWorkflowElementAccess().getAlternatives(), "rule__WorkflowElement__Alternatives"); + mappings.put(grammarAccess.getWorkflowElementAccess().getGroup_0(), "rule__WorkflowElement__Group_0__0"); + mappings.put(grammarAccess.getWorkflowElementAccess().getGroup_1(), "rule__WorkflowElement__Group_1__0"); + mappings.put(grammarAccess.getAttributeAccess().getGroup(), "rule__Attribute__Group__0"); + mappings.put(grammarAccess.getWorkflowElementAccess().getNameAssignment_0_0(), "rule__WorkflowElement__NameAssignment_0_0"); + mappings.put(grammarAccess.getWorkflowElementAccess().getAttributesAssignment_0_1(), "rule__WorkflowElement__AttributesAssignment_0_1"); + mappings.put(grammarAccess.getWorkflowElementAccess().getNameAssignment_1_0(), "rule__WorkflowElement__NameAssignment_1_0"); + mappings.put(grammarAccess.getWorkflowElementAccess().getAttributesAssignment_1_1(), "rule__WorkflowElement__AttributesAssignment_1_1"); + mappings.put(grammarAccess.getWorkflowElementAccess().getChildrenAssignment_1_3(), "rule__WorkflowElement__ChildrenAssignment_1_3"); + mappings.put(grammarAccess.getWorkflowElementAccess().getEndAssignment_1_4(), "rule__WorkflowElement__EndAssignment_1_4"); + mappings.put(grammarAccess.getAttributeAccess().getNameAssignment_0(), "rule__Attribute__NameAssignment_0"); + mappings.put(grammarAccess.getAttributeAccess().getValueAssignment_2(), "rule__Attribute__ValueAssignment_2"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug289187TestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug289187TestLanguageParser.java index 94771693ab5..410f6bff50c 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug289187TestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug289187TestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,42 +26,42 @@ public static final class NameMappings { @Inject public NameMappings(Bug289187TestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, Bug289187TestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getVisibilityAccess().getAlternatives(), "rule__Visibility__Alternatives"); - builder.put(grammarAccess.getClassAccess().getGroup(), "rule__Class__Group__0"); - builder.put(grammarAccess.getClassAccess().getGroup_4(), "rule__Class__Group_4__0"); - builder.put(grammarAccess.getClassAccess().getGroup_5(), "rule__Class__Group_5__0"); - builder.put(grammarAccess.getClassAccess().getGroup_5_2(), "rule__Class__Group_5_2__0"); - builder.put(grammarAccess.getClassAccess().getGroup_7(), "rule__Class__Group_7__0"); - builder.put(grammarAccess.getClassAccess().getGroup_8(), "rule__Class__Group_8__0"); - builder.put(grammarAccess.getClassAccess().getGroup_9(), "rule__Class__Group_9__0"); - builder.put(grammarAccess.getAttributeAccess().getGroup(), "rule__Attribute__Group__0"); - builder.put(grammarAccess.getOperationAccess().getGroup(), "rule__Operation__Group__0"); - builder.put(grammarAccess.getModelAccess().getClassesAssignment(), "rule__Model__ClassesAssignment"); - builder.put(grammarAccess.getClassAccess().getAbstractAssignment_0(), "rule__Class__AbstractAssignment_0"); - builder.put(grammarAccess.getClassAccess().getTransientAssignment_1(), "rule__Class__TransientAssignment_1"); - builder.put(grammarAccess.getClassAccess().getNameAssignment_3(), "rule__Class__NameAssignment_3"); - builder.put(grammarAccess.getClassAccess().getSuperClassAssignment_4_1(), "rule__Class__SuperClassAssignment_4_1"); - builder.put(grammarAccess.getClassAccess().getImplementedInterfacesAssignment_5_1(), "rule__Class__ImplementedInterfacesAssignment_5_1"); - builder.put(grammarAccess.getClassAccess().getImplementedInterfacesAssignment_5_2_2(), "rule__Class__ImplementedInterfacesAssignment_5_2_2"); - builder.put(grammarAccess.getClassAccess().getClassNumberAssignment_7_2(), "rule__Class__ClassNumberAssignment_7_2"); - builder.put(grammarAccess.getClassAccess().getQuidAssignment_8_2(), "rule__Class__QuidAssignment_8_2"); - builder.put(grammarAccess.getClassAccess().getDocumentationAssignment_9_2(), "rule__Class__DocumentationAssignment_9_2"); - builder.put(grammarAccess.getClassAccess().getAttributesAssignment_10(), "rule__Class__AttributesAssignment_10"); - builder.put(grammarAccess.getClassAccess().getOperationsAssignment_11(), "rule__Class__OperationsAssignment_11"); - builder.put(grammarAccess.getAttributeAccess().getVisibilityAssignment_0(), "rule__Attribute__VisibilityAssignment_0"); - builder.put(grammarAccess.getAttributeAccess().getNameAssignment_2(), "rule__Attribute__NameAssignment_2"); - builder.put(grammarAccess.getOperationAccess().getVisibilityAssignment_0(), "rule__Operation__VisibilityAssignment_0"); - builder.put(grammarAccess.getOperationAccess().getNameAssignment_2(), "rule__Operation__NameAssignment_2"); + private static void init(Map mappings, Bug289187TestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getVisibilityAccess().getAlternatives(), "rule__Visibility__Alternatives"); + mappings.put(grammarAccess.getClassAccess().getGroup(), "rule__Class__Group__0"); + mappings.put(grammarAccess.getClassAccess().getGroup_4(), "rule__Class__Group_4__0"); + mappings.put(grammarAccess.getClassAccess().getGroup_5(), "rule__Class__Group_5__0"); + mappings.put(grammarAccess.getClassAccess().getGroup_5_2(), "rule__Class__Group_5_2__0"); + mappings.put(grammarAccess.getClassAccess().getGroup_7(), "rule__Class__Group_7__0"); + mappings.put(grammarAccess.getClassAccess().getGroup_8(), "rule__Class__Group_8__0"); + mappings.put(grammarAccess.getClassAccess().getGroup_9(), "rule__Class__Group_9__0"); + mappings.put(grammarAccess.getAttributeAccess().getGroup(), "rule__Attribute__Group__0"); + mappings.put(grammarAccess.getOperationAccess().getGroup(), "rule__Operation__Group__0"); + mappings.put(grammarAccess.getModelAccess().getClassesAssignment(), "rule__Model__ClassesAssignment"); + mappings.put(grammarAccess.getClassAccess().getAbstractAssignment_0(), "rule__Class__AbstractAssignment_0"); + mappings.put(grammarAccess.getClassAccess().getTransientAssignment_1(), "rule__Class__TransientAssignment_1"); + mappings.put(grammarAccess.getClassAccess().getNameAssignment_3(), "rule__Class__NameAssignment_3"); + mappings.put(grammarAccess.getClassAccess().getSuperClassAssignment_4_1(), "rule__Class__SuperClassAssignment_4_1"); + mappings.put(grammarAccess.getClassAccess().getImplementedInterfacesAssignment_5_1(), "rule__Class__ImplementedInterfacesAssignment_5_1"); + mappings.put(grammarAccess.getClassAccess().getImplementedInterfacesAssignment_5_2_2(), "rule__Class__ImplementedInterfacesAssignment_5_2_2"); + mappings.put(grammarAccess.getClassAccess().getClassNumberAssignment_7_2(), "rule__Class__ClassNumberAssignment_7_2"); + mappings.put(grammarAccess.getClassAccess().getQuidAssignment_8_2(), "rule__Class__QuidAssignment_8_2"); + mappings.put(grammarAccess.getClassAccess().getDocumentationAssignment_9_2(), "rule__Class__DocumentationAssignment_9_2"); + mappings.put(grammarAccess.getClassAccess().getAttributesAssignment_10(), "rule__Class__AttributesAssignment_10"); + mappings.put(grammarAccess.getClassAccess().getOperationsAssignment_11(), "rule__Class__OperationsAssignment_11"); + mappings.put(grammarAccess.getAttributeAccess().getVisibilityAssignment_0(), "rule__Attribute__VisibilityAssignment_0"); + mappings.put(grammarAccess.getAttributeAccess().getNameAssignment_2(), "rule__Attribute__NameAssignment_2"); + mappings.put(grammarAccess.getOperationAccess().getVisibilityAssignment_0(), "rule__Operation__VisibilityAssignment_0"); + mappings.put(grammarAccess.getOperationAccess().getNameAssignment_2(), "rule__Operation__NameAssignment_2"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug291022TestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug291022TestLanguageParser.java index d9833bb75b6..1ee9ee640e5 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug291022TestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug291022TestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,33 +26,33 @@ public static final class NameMappings { @Inject public NameMappings(Bug291022TestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, Bug291022TestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getModelElementAccess().getAlternatives_3(), "rule__ModelElement__Alternatives_3"); - builder.put(grammarAccess.getModelAttributeAccess().getAlternatives(), "rule__ModelAttribute__Alternatives"); - builder.put(grammarAccess.getRootModelAccess().getGroup(), "rule__RootModel__Group__0"); - builder.put(grammarAccess.getRootModelAccess().getGroup_3(), "rule__RootModel__Group_3__0"); - builder.put(grammarAccess.getModelElementAccess().getGroup(), "rule__ModelElement__Group__0"); - builder.put(grammarAccess.getModelElementAccess().getGroup_1(), "rule__ModelElement__Group_1__0"); - builder.put(grammarAccess.getModelElementAccess().getGroup_3_1(), "rule__ModelElement__Group_3_1__0"); - builder.put(grammarAccess.getAttributeAccess().getGroup(), "rule__Attribute__Group__0"); - builder.put(grammarAccess.getRootModelAccess().getNameAssignment_1(), "rule__RootModel__NameAssignment_1"); - builder.put(grammarAccess.getRootModelAccess().getTypeAssignment_2(), "rule__RootModel__TypeAssignment_2"); - builder.put(grammarAccess.getRootModelAccess().getElementsAssignment_3_1(), "rule__RootModel__ElementsAssignment_3_1"); - builder.put(grammarAccess.getModelElementAccess().getFirstReferenceAssignment_0(), "rule__ModelElement__FirstReferenceAssignment_0"); - builder.put(grammarAccess.getModelElementAccess().getNameAssignment_1_1(), "rule__ModelElement__NameAssignment_1_1"); - builder.put(grammarAccess.getModelElementAccess().getSecondReferenceAssignment_2(), "rule__ModelElement__SecondReferenceAssignment_2"); - builder.put(grammarAccess.getModelElementAccess().getElementsAssignment_3_1_1(), "rule__ModelElement__ElementsAssignment_3_1_1"); - builder.put(grammarAccess.getAttributeAccess().getFeatureAssignment_0(), "rule__Attribute__FeatureAssignment_0"); - builder.put(grammarAccess.getAttributeAccess().getValueAssignment_2(), "rule__Attribute__ValueAssignment_2"); + private static void init(Map mappings, Bug291022TestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getModelElementAccess().getAlternatives_3(), "rule__ModelElement__Alternatives_3"); + mappings.put(grammarAccess.getModelAttributeAccess().getAlternatives(), "rule__ModelAttribute__Alternatives"); + mappings.put(grammarAccess.getRootModelAccess().getGroup(), "rule__RootModel__Group__0"); + mappings.put(grammarAccess.getRootModelAccess().getGroup_3(), "rule__RootModel__Group_3__0"); + mappings.put(grammarAccess.getModelElementAccess().getGroup(), "rule__ModelElement__Group__0"); + mappings.put(grammarAccess.getModelElementAccess().getGroup_1(), "rule__ModelElement__Group_1__0"); + mappings.put(grammarAccess.getModelElementAccess().getGroup_3_1(), "rule__ModelElement__Group_3_1__0"); + mappings.put(grammarAccess.getAttributeAccess().getGroup(), "rule__Attribute__Group__0"); + mappings.put(grammarAccess.getRootModelAccess().getNameAssignment_1(), "rule__RootModel__NameAssignment_1"); + mappings.put(grammarAccess.getRootModelAccess().getTypeAssignment_2(), "rule__RootModel__TypeAssignment_2"); + mappings.put(grammarAccess.getRootModelAccess().getElementsAssignment_3_1(), "rule__RootModel__ElementsAssignment_3_1"); + mappings.put(grammarAccess.getModelElementAccess().getFirstReferenceAssignment_0(), "rule__ModelElement__FirstReferenceAssignment_0"); + mappings.put(grammarAccess.getModelElementAccess().getNameAssignment_1_1(), "rule__ModelElement__NameAssignment_1_1"); + mappings.put(grammarAccess.getModelElementAccess().getSecondReferenceAssignment_2(), "rule__ModelElement__SecondReferenceAssignment_2"); + mappings.put(grammarAccess.getModelElementAccess().getElementsAssignment_3_1_1(), "rule__ModelElement__ElementsAssignment_3_1_1"); + mappings.put(grammarAccess.getAttributeAccess().getFeatureAssignment_0(), "rule__Attribute__FeatureAssignment_0"); + mappings.put(grammarAccess.getAttributeAccess().getValueAssignment_2(), "rule__Attribute__ValueAssignment_2"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug303200TestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug303200TestLanguageParser.java index 71e3831d64a..54d02006c7e 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug303200TestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug303200TestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,63 +26,63 @@ public static final class NameMappings { @Inject public NameMappings(Bug303200TestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, Bug303200TestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getProgramDirectiveAccess().getAlternatives(), "rule__ProgramDirective__Alternatives"); - builder.put(grammarAccess.getAttributeAccess().getAlternatives(), "rule__Attribute__Alternatives"); - builder.put(grammarAccess.getStatementAccess().getAlternatives(), "rule__Statement__Alternatives"); - builder.put(grammarAccess.getStatementAccess().getAlternatives_1_2(), "rule__Statement__Alternatives_1_2"); - builder.put(grammarAccess.getPostfixExpressionAccess().getAlternatives_1(), "rule__PostfixExpression__Alternatives_1"); - builder.put(grammarAccess.getPropertyOperatorAccess().getAlternatives(), "rule__PropertyOperator__Alternatives"); - builder.put(grammarAccess.getPrimaryExpressionAccess().getAlternatives(), "rule__PrimaryExpression__Alternatives"); - builder.put(grammarAccess.getProgramAccess().getGroup(), "rule__Program__Group__0"); - builder.put(grammarAccess.getProgramAccess().getGroup_1(), "rule__Program__Group_1__0"); - builder.put(grammarAccess.getFunctionDefinitionAccess().getGroup(), "rule__FunctionDefinition__Group__0"); - builder.put(grammarAccess.getAttributeAccess().getGroup_1(), "rule__Attribute__Group_1__0"); - builder.put(grammarAccess.getParametersAccess().getGroup(), "rule__Parameters__Group__0"); - builder.put(grammarAccess.getParametersAccess().getGroup_3(), "rule__Parameters__Group_3__0"); - builder.put(grammarAccess.getParametersAccess().getGroup_3_2(), "rule__Parameters__Group_3_2__0"); - builder.put(grammarAccess.getBlockAccess().getGroup(), "rule__Block__Group__0"); - builder.put(grammarAccess.getBlockAccess().getGroup_2(), "rule__Block__Group_2__0"); - builder.put(grammarAccess.getStatementAccess().getGroup_1(), "rule__Statement__Group_1__0"); - builder.put(grammarAccess.getPostfixExpressionAccess().getGroup(), "rule__PostfixExpression__Group__0"); - builder.put(grammarAccess.getPostfixExpressionAccess().getGroup_1_0(), "rule__PostfixExpression__Group_1_0__0"); - builder.put(grammarAccess.getPostfixExpressionAccess().getGroup_1_1(), "rule__PostfixExpression__Group_1_1__0"); - builder.put(grammarAccess.getPostfixExpressionAccess().getGroup_1_1_4(), "rule__PostfixExpression__Group_1_1_4__0"); - builder.put(grammarAccess.getListExpressionAccess().getGroup(), "rule__ListExpression__Group__0"); - builder.put(grammarAccess.getListExpressionAccess().getGroup_1(), "rule__ListExpression__Group_1__0"); - builder.put(grammarAccess.getPropertyOperatorAccess().getGroup_0(), "rule__PropertyOperator__Group_0__0"); - builder.put(grammarAccess.getPropertyOperatorAccess().getGroup_1(), "rule__PropertyOperator__Group_1__0"); - builder.put(grammarAccess.getPrimaryExpressionAccess().getGroup_0(), "rule__PrimaryExpression__Group_0__0"); - builder.put(grammarAccess.getPrimaryExpressionAccess().getGroup_1(), "rule__PrimaryExpression__Group_1__0"); - builder.put(grammarAccess.getProgramAccess().getDirectivesAssignment_1_1(), "rule__Program__DirectivesAssignment_1_1"); - builder.put(grammarAccess.getFunctionDefinitionAccess().getAttributesAssignment_0(), "rule__FunctionDefinition__AttributesAssignment_0"); - builder.put(grammarAccess.getFunctionDefinitionAccess().getNameAssignment_3(), "rule__FunctionDefinition__NameAssignment_3"); - builder.put(grammarAccess.getFunctionDefinitionAccess().getParamsAssignment_5(), "rule__FunctionDefinition__ParamsAssignment_5"); - builder.put(grammarAccess.getFunctionDefinitionAccess().getBodyAssignment_7(), "rule__FunctionDefinition__BodyAssignment_7"); - builder.put(grammarAccess.getAttributeAccess().getIdentAssignment_0(), "rule__Attribute__IdentAssignment_0"); - builder.put(grammarAccess.getAttributeAccess().getExpressionAssignment_1_3(), "rule__Attribute__ExpressionAssignment_1_3"); - builder.put(grammarAccess.getParametersAccess().getParamsAssignment_3_0(), "rule__Parameters__ParamsAssignment_3_0"); - builder.put(grammarAccess.getParametersAccess().getParamsAssignment_3_2_2(), "rule__Parameters__ParamsAssignment_3_2_2"); - builder.put(grammarAccess.getBlockAccess().getDirectivesAssignment_2_1(), "rule__Block__DirectivesAssignment_2_1"); - builder.put(grammarAccess.getStatementAccess().getExpressionAssignment_1_1(), "rule__Statement__ExpressionAssignment_1_1"); - builder.put(grammarAccess.getPostfixExpressionAccess().getPropertyAssignment_1_0_2(), "rule__PostfixExpression__PropertyAssignment_1_0_2"); - builder.put(grammarAccess.getPostfixExpressionAccess().getArgumentsAssignment_1_1_4_0(), "rule__PostfixExpression__ArgumentsAssignment_1_1_4_0"); - builder.put(grammarAccess.getListExpressionAccess().getExpressionsAssignment_0(), "rule__ListExpression__ExpressionsAssignment_0"); - builder.put(grammarAccess.getListExpressionAccess().getExpressionsAssignment_1_3(), "rule__ListExpression__ExpressionsAssignment_1_3"); - builder.put(grammarAccess.getPropertyOperatorAccess().getNameAssignment_0_2(), "rule__PropertyOperator__NameAssignment_0_2"); - builder.put(grammarAccess.getPropertyOperatorAccess().getExpressionsAssignment_1_2(), "rule__PropertyOperator__ExpressionsAssignment_1_2"); - builder.put(grammarAccess.getPrimaryExpressionAccess().getNameAssignment_0_1(), "rule__PrimaryExpression__NameAssignment_0_1"); - builder.put(grammarAccess.getPrimaryExpressionAccess().getParamsAssignment_1_3(), "rule__PrimaryExpression__ParamsAssignment_1_3"); - builder.put(grammarAccess.getPrimaryExpressionAccess().getBodyAssignment_1_5(), "rule__PrimaryExpression__BodyAssignment_1_5"); + private static void init(Map mappings, Bug303200TestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getProgramDirectiveAccess().getAlternatives(), "rule__ProgramDirective__Alternatives"); + mappings.put(grammarAccess.getAttributeAccess().getAlternatives(), "rule__Attribute__Alternatives"); + mappings.put(grammarAccess.getStatementAccess().getAlternatives(), "rule__Statement__Alternatives"); + mappings.put(grammarAccess.getStatementAccess().getAlternatives_1_2(), "rule__Statement__Alternatives_1_2"); + mappings.put(grammarAccess.getPostfixExpressionAccess().getAlternatives_1(), "rule__PostfixExpression__Alternatives_1"); + mappings.put(grammarAccess.getPropertyOperatorAccess().getAlternatives(), "rule__PropertyOperator__Alternatives"); + mappings.put(grammarAccess.getPrimaryExpressionAccess().getAlternatives(), "rule__PrimaryExpression__Alternatives"); + mappings.put(grammarAccess.getProgramAccess().getGroup(), "rule__Program__Group__0"); + mappings.put(grammarAccess.getProgramAccess().getGroup_1(), "rule__Program__Group_1__0"); + mappings.put(grammarAccess.getFunctionDefinitionAccess().getGroup(), "rule__FunctionDefinition__Group__0"); + mappings.put(grammarAccess.getAttributeAccess().getGroup_1(), "rule__Attribute__Group_1__0"); + mappings.put(grammarAccess.getParametersAccess().getGroup(), "rule__Parameters__Group__0"); + mappings.put(grammarAccess.getParametersAccess().getGroup_3(), "rule__Parameters__Group_3__0"); + mappings.put(grammarAccess.getParametersAccess().getGroup_3_2(), "rule__Parameters__Group_3_2__0"); + mappings.put(grammarAccess.getBlockAccess().getGroup(), "rule__Block__Group__0"); + mappings.put(grammarAccess.getBlockAccess().getGroup_2(), "rule__Block__Group_2__0"); + mappings.put(grammarAccess.getStatementAccess().getGroup_1(), "rule__Statement__Group_1__0"); + mappings.put(grammarAccess.getPostfixExpressionAccess().getGroup(), "rule__PostfixExpression__Group__0"); + mappings.put(grammarAccess.getPostfixExpressionAccess().getGroup_1_0(), "rule__PostfixExpression__Group_1_0__0"); + mappings.put(grammarAccess.getPostfixExpressionAccess().getGroup_1_1(), "rule__PostfixExpression__Group_1_1__0"); + mappings.put(grammarAccess.getPostfixExpressionAccess().getGroup_1_1_4(), "rule__PostfixExpression__Group_1_1_4__0"); + mappings.put(grammarAccess.getListExpressionAccess().getGroup(), "rule__ListExpression__Group__0"); + mappings.put(grammarAccess.getListExpressionAccess().getGroup_1(), "rule__ListExpression__Group_1__0"); + mappings.put(grammarAccess.getPropertyOperatorAccess().getGroup_0(), "rule__PropertyOperator__Group_0__0"); + mappings.put(grammarAccess.getPropertyOperatorAccess().getGroup_1(), "rule__PropertyOperator__Group_1__0"); + mappings.put(grammarAccess.getPrimaryExpressionAccess().getGroup_0(), "rule__PrimaryExpression__Group_0__0"); + mappings.put(grammarAccess.getPrimaryExpressionAccess().getGroup_1(), "rule__PrimaryExpression__Group_1__0"); + mappings.put(grammarAccess.getProgramAccess().getDirectivesAssignment_1_1(), "rule__Program__DirectivesAssignment_1_1"); + mappings.put(grammarAccess.getFunctionDefinitionAccess().getAttributesAssignment_0(), "rule__FunctionDefinition__AttributesAssignment_0"); + mappings.put(grammarAccess.getFunctionDefinitionAccess().getNameAssignment_3(), "rule__FunctionDefinition__NameAssignment_3"); + mappings.put(grammarAccess.getFunctionDefinitionAccess().getParamsAssignment_5(), "rule__FunctionDefinition__ParamsAssignment_5"); + mappings.put(grammarAccess.getFunctionDefinitionAccess().getBodyAssignment_7(), "rule__FunctionDefinition__BodyAssignment_7"); + mappings.put(grammarAccess.getAttributeAccess().getIdentAssignment_0(), "rule__Attribute__IdentAssignment_0"); + mappings.put(grammarAccess.getAttributeAccess().getExpressionAssignment_1_3(), "rule__Attribute__ExpressionAssignment_1_3"); + mappings.put(grammarAccess.getParametersAccess().getParamsAssignment_3_0(), "rule__Parameters__ParamsAssignment_3_0"); + mappings.put(grammarAccess.getParametersAccess().getParamsAssignment_3_2_2(), "rule__Parameters__ParamsAssignment_3_2_2"); + mappings.put(grammarAccess.getBlockAccess().getDirectivesAssignment_2_1(), "rule__Block__DirectivesAssignment_2_1"); + mappings.put(grammarAccess.getStatementAccess().getExpressionAssignment_1_1(), "rule__Statement__ExpressionAssignment_1_1"); + mappings.put(grammarAccess.getPostfixExpressionAccess().getPropertyAssignment_1_0_2(), "rule__PostfixExpression__PropertyAssignment_1_0_2"); + mappings.put(grammarAccess.getPostfixExpressionAccess().getArgumentsAssignment_1_1_4_0(), "rule__PostfixExpression__ArgumentsAssignment_1_1_4_0"); + mappings.put(grammarAccess.getListExpressionAccess().getExpressionsAssignment_0(), "rule__ListExpression__ExpressionsAssignment_0"); + mappings.put(grammarAccess.getListExpressionAccess().getExpressionsAssignment_1_3(), "rule__ListExpression__ExpressionsAssignment_1_3"); + mappings.put(grammarAccess.getPropertyOperatorAccess().getNameAssignment_0_2(), "rule__PropertyOperator__NameAssignment_0_2"); + mappings.put(grammarAccess.getPropertyOperatorAccess().getExpressionsAssignment_1_2(), "rule__PropertyOperator__ExpressionsAssignment_1_2"); + mappings.put(grammarAccess.getPrimaryExpressionAccess().getNameAssignment_0_1(), "rule__PrimaryExpression__NameAssignment_0_1"); + mappings.put(grammarAccess.getPrimaryExpressionAccess().getParamsAssignment_1_3(), "rule__PrimaryExpression__ParamsAssignment_1_3"); + mappings.put(grammarAccess.getPrimaryExpressionAccess().getBodyAssignment_1_5(), "rule__PrimaryExpression__BodyAssignment_1_5"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug304681TestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug304681TestLanguageParser.java index 1f159d8deb4..85660158c1c 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug304681TestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug304681TestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,116 +26,116 @@ public static final class NameMappings { @Inject public NameMappings(Bug304681TestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, Bug304681TestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getModelAccess().getAlternatives(), "rule__Model__Alternatives"); - builder.put(grammarAccess.getObjectAccess().getAlternatives_0(), "rule__Object__Alternatives_0"); - builder.put(grammarAccess.getFeatureAccess().getAlternatives(), "rule__Feature__Alternatives"); - builder.put(grammarAccess.getReferenceAccess().getAlternatives_4(), "rule__Reference__Alternatives_4"); - builder.put(grammarAccess.getObject2Access().getAlternatives_0(), "rule__Object2__Alternatives_0"); - builder.put(grammarAccess.getFeature2Access().getAlternatives(), "rule__Feature2__Alternatives"); - builder.put(grammarAccess.getAttribute2Access().getAlternatives_3(), "rule__Attribute2__Alternatives_3"); - builder.put(grammarAccess.getReference2Access().getAlternatives_4(), "rule__Reference2__Alternatives_4"); - builder.put(grammarAccess.getModelAccess().getGroup_0(), "rule__Model__Group_0__0"); - builder.put(grammarAccess.getModelAccess().getGroup_1(), "rule__Model__Group_1__0"); - builder.put(grammarAccess.getPackageDefinitionAccess().getGroup(), "rule__PackageDefinition__Group__0"); - builder.put(grammarAccess.getObjectAccess().getGroup(), "rule__Object__Group__0"); - builder.put(grammarAccess.getObjectAccess().getGroup_3(), "rule__Object__Group_3__0"); - builder.put(grammarAccess.getObjectAccess().getGroup_5_0(), "rule__Object__Group_5_0__0"); - builder.put(grammarAccess.getObjectAccess().getGroup_5_1(), "rule__Object__Group_5_1__0"); - builder.put(grammarAccess.getObjectAccess().getGroup_5_2(), "rule__Object__Group_5_2__0"); - builder.put(grammarAccess.getObjectAccess().getGroup_5_3(), "rule__Object__Group_5_3__0"); - builder.put(grammarAccess.getObjectAccess().getGroup_5_5(), "rule__Object__Group_5_5__0"); - builder.put(grammarAccess.getObjectAccess().getGroup_5_6(), "rule__Object__Group_5_6__0"); - builder.put(grammarAccess.getObjectAccess().getGroup_5_7(), "rule__Object__Group_5_7__0"); - builder.put(grammarAccess.getAttributeAccess().getGroup(), "rule__Attribute__Group__0"); - builder.put(grammarAccess.getReferenceAccess().getGroup(), "rule__Reference__Group__0"); - builder.put(grammarAccess.getReferenceAccess().getGroup_4_0(), "rule__Reference__Group_4_0__0"); - builder.put(grammarAccess.getReferenceAccess().getGroup_4_0_1_0(), "rule__Reference__Group_4_0_1_0__0"); - builder.put(grammarAccess.getReferenceAccess().getGroup_4_0_1_1(), "rule__Reference__Group_4_0_1_1__0"); - builder.put(grammarAccess.getPackageDefinition2Access().getGroup(), "rule__PackageDefinition2__Group__0"); - builder.put(grammarAccess.getObject2Access().getGroup(), "rule__Object2__Group__0"); - builder.put(grammarAccess.getObject2Access().getGroup_3(), "rule__Object2__Group_3__0"); - builder.put(grammarAccess.getObject2Access().getGroup_5_0(), "rule__Object2__Group_5_0__0"); - builder.put(grammarAccess.getObject2Access().getGroup_5_1(), "rule__Object2__Group_5_1__0"); - builder.put(grammarAccess.getObject2Access().getGroup_5_2(), "rule__Object2__Group_5_2__0"); - builder.put(grammarAccess.getObject2Access().getGroup_5_3(), "rule__Object2__Group_5_3__0"); - builder.put(grammarAccess.getAttribute2Access().getGroup(), "rule__Attribute2__Group__0"); - builder.put(grammarAccess.getAttribute2Access().getGroup_3_0(), "rule__Attribute2__Group_3_0__0"); - builder.put(grammarAccess.getAttribute2Access().getGroup_3_0_1_0(), "rule__Attribute2__Group_3_0_1_0__0"); - builder.put(grammarAccess.getAttribute2Access().getGroup_3_0_1_1(), "rule__Attribute2__Group_3_0_1_1__0"); - builder.put(grammarAccess.getAttribute2Access().getGroup_3_0_1_3(), "rule__Attribute2__Group_3_0_1_3__0"); - builder.put(grammarAccess.getAttribute2Access().getGroup_3_0_1_4(), "rule__Attribute2__Group_3_0_1_4__0"); - builder.put(grammarAccess.getReference2Access().getGroup(), "rule__Reference2__Group__0"); - builder.put(grammarAccess.getReference2Access().getGroup_4_0(), "rule__Reference2__Group_4_0__0"); - builder.put(grammarAccess.getReference2Access().getGroup_4_0_1_0(), "rule__Reference2__Group_4_0_1_0__0"); - builder.put(grammarAccess.getReference2Access().getGroup_4_0_1_1(), "rule__Reference2__Group_4_0_1_1__0"); - builder.put(grammarAccess.getConstraintDefinitionAccess().getGroup(), "rule__ConstraintDefinition__Group__0"); - builder.put(grammarAccess.getConstraintDefinitionAccess().getGroup_3_0(), "rule__ConstraintDefinition__Group_3_0__0"); - builder.put(grammarAccess.getConstraintDefinitionAccess().getGroup_3_1(), "rule__ConstraintDefinition__Group_3_1__0"); - builder.put(grammarAccess.getModelAccess().getDefinitionAssignment_0_1(), "rule__Model__DefinitionAssignment_0_1"); - builder.put(grammarAccess.getModelAccess().getDefinitionAssignment_1_1(), "rule__Model__DefinitionAssignment_1_1"); - builder.put(grammarAccess.getPackageDefinitionAccess().getNamespaceAssignment_2(), "rule__PackageDefinition__NamespaceAssignment_2"); - builder.put(grammarAccess.getPackageDefinitionAccess().getContentsAssignment_4(), "rule__PackageDefinition__ContentsAssignment_4"); - builder.put(grammarAccess.getObjectAccess().getEnabledAssignment_0_0(), "rule__Object__EnabledAssignment_0_0"); - builder.put(grammarAccess.getObjectAccess().getAbstractAssignment_0_1(), "rule__Object__AbstractAssignment_0_1"); - builder.put(grammarAccess.getObjectAccess().getNameAssignment_2(), "rule__Object__NameAssignment_2"); - builder.put(grammarAccess.getObjectAccess().getParentAssignment_3_1(), "rule__Object__ParentAssignment_3_1"); - builder.put(grammarAccess.getObjectAccess().getShortDescriptionAssignment_5_0_1(), "rule__Object__ShortDescriptionAssignment_5_0_1"); - builder.put(grammarAccess.getObjectAccess().getLongDescriptionAssignment_5_1_1(), "rule__Object__LongDescriptionAssignment_5_1_1"); - builder.put(grammarAccess.getObjectAccess().getSerialVersionUIDAssignment_5_2_1(), "rule__Object__SerialVersionUIDAssignment_5_2_1"); - builder.put(grammarAccess.getObjectAccess().getCloneableAssignment_5_3_0(), "rule__Object__CloneableAssignment_5_3_0"); - builder.put(grammarAccess.getObjectAccess().getFeaturesAssignment_5_4(), "rule__Object__FeaturesAssignment_5_4"); - builder.put(grammarAccess.getObjectAccess().getFeaturesAssignment_5_5_1(), "rule__Object__FeaturesAssignment_5_5_1"); - builder.put(grammarAccess.getObjectAccess().getFeaturesAssignment_5_6_1(), "rule__Object__FeaturesAssignment_5_6_1"); - builder.put(grammarAccess.getObjectAccess().getFeaturesAssignment_5_7_1(), "rule__Object__FeaturesAssignment_5_7_1"); - builder.put(grammarAccess.getAttributeAccess().getTypeAssignment_1(), "rule__Attribute__TypeAssignment_1"); - builder.put(grammarAccess.getAttributeAccess().getNameAssignment_2(), "rule__Attribute__NameAssignment_2"); - builder.put(grammarAccess.getReferenceAccess().getTypeAssignment_1(), "rule__Reference__TypeAssignment_1"); - builder.put(grammarAccess.getReferenceAccess().getManyAssignment_2(), "rule__Reference__ManyAssignment_2"); - builder.put(grammarAccess.getReferenceAccess().getNameAssignment_3(), "rule__Reference__NameAssignment_3"); - builder.put(grammarAccess.getReferenceAccess().getShortDescriptionAssignment_4_0_1_0_1(), "rule__Reference__ShortDescriptionAssignment_4_0_1_0_1"); - builder.put(grammarAccess.getReferenceAccess().getLongDescriptionAssignment_4_0_1_1_1(), "rule__Reference__LongDescriptionAssignment_4_0_1_1_1"); - builder.put(grammarAccess.getPackageDefinition2Access().getNamespaceAssignment_2(), "rule__PackageDefinition2__NamespaceAssignment_2"); - builder.put(grammarAccess.getPackageDefinition2Access().getContentsAssignment_4(), "rule__PackageDefinition2__ContentsAssignment_4"); - builder.put(grammarAccess.getObject2Access().getEnabledAssignment_0_0(), "rule__Object2__EnabledAssignment_0_0"); - builder.put(grammarAccess.getObject2Access().getAbstractAssignment_0_1(), "rule__Object2__AbstractAssignment_0_1"); - builder.put(grammarAccess.getObject2Access().getNameAssignment_2(), "rule__Object2__NameAssignment_2"); - builder.put(grammarAccess.getObject2Access().getParentAssignment_3_1(), "rule__Object2__ParentAssignment_3_1"); - builder.put(grammarAccess.getObject2Access().getShortDescriptionAssignment_5_0_1(), "rule__Object2__ShortDescriptionAssignment_5_0_1"); - builder.put(grammarAccess.getObject2Access().getLongDescriptionAssignment_5_1_1(), "rule__Object2__LongDescriptionAssignment_5_1_1"); - builder.put(grammarAccess.getObject2Access().getSerialVersionUIDAssignment_5_2_1(), "rule__Object2__SerialVersionUIDAssignment_5_2_1"); - builder.put(grammarAccess.getObject2Access().getCloneableAssignment_5_3_0(), "rule__Object2__CloneableAssignment_5_3_0"); - builder.put(grammarAccess.getObject2Access().getFeaturesAssignment_5_4(), "rule__Object2__FeaturesAssignment_5_4"); - builder.put(grammarAccess.getAttribute2Access().getTypeAssignment_1(), "rule__Attribute2__TypeAssignment_1"); - builder.put(grammarAccess.getAttribute2Access().getNameAssignment_2(), "rule__Attribute2__NameAssignment_2"); - builder.put(grammarAccess.getAttribute2Access().getShortDescriptionAssignment_3_0_1_0_1(), "rule__Attribute2__ShortDescriptionAssignment_3_0_1_0_1"); - builder.put(grammarAccess.getAttribute2Access().getLongDescriptionAssignment_3_0_1_1_1(), "rule__Attribute2__LongDescriptionAssignment_3_0_1_1_1"); - builder.put(grammarAccess.getAttribute2Access().getConstraintDefinitionsAssignment_3_0_1_2(), "rule__Attribute2__ConstraintDefinitionsAssignment_3_0_1_2"); - builder.put(grammarAccess.getAttribute2Access().getRequiredAssignment_3_0_1_3_0(), "rule__Attribute2__RequiredAssignment_3_0_1_3_0"); - builder.put(grammarAccess.getAttribute2Access().getTechnicalAssignment_3_0_1_4_0(), "rule__Attribute2__TechnicalAssignment_3_0_1_4_0"); - builder.put(grammarAccess.getReference2Access().getTypeAssignment_1(), "rule__Reference2__TypeAssignment_1"); - builder.put(grammarAccess.getReference2Access().getManyAssignment_2(), "rule__Reference2__ManyAssignment_2"); - builder.put(grammarAccess.getReference2Access().getNameAssignment_3(), "rule__Reference2__NameAssignment_3"); - builder.put(grammarAccess.getReference2Access().getShortDescriptionAssignment_4_0_1_0_1(), "rule__Reference2__ShortDescriptionAssignment_4_0_1_0_1"); - builder.put(grammarAccess.getReference2Access().getLongDescriptionAssignment_4_0_1_1_1(), "rule__Reference2__LongDescriptionAssignment_4_0_1_1_1"); - builder.put(grammarAccess.getConstraintDefinitionAccess().getTypeAssignment_1(), "rule__ConstraintDefinition__TypeAssignment_1"); - builder.put(grammarAccess.getConstraintDefinitionAccess().getParametersAssignment_3_0_1(), "rule__ConstraintDefinition__ParametersAssignment_3_0_1"); - builder.put(grammarAccess.getConstraintDefinitionAccess().getMessageAssignment_3_1_1(), "rule__ConstraintDefinition__MessageAssignment_3_1_1"); - builder.put(grammarAccess.getObjectAccess().getUnorderedGroup_5(), "rule__Object__UnorderedGroup_5"); - builder.put(grammarAccess.getReferenceAccess().getUnorderedGroup_4_0_1(), "rule__Reference__UnorderedGroup_4_0_1"); - builder.put(grammarAccess.getObject2Access().getUnorderedGroup_5(), "rule__Object2__UnorderedGroup_5"); - builder.put(grammarAccess.getAttribute2Access().getUnorderedGroup_3_0_1(), "rule__Attribute2__UnorderedGroup_3_0_1"); - builder.put(grammarAccess.getReference2Access().getUnorderedGroup_4_0_1(), "rule__Reference2__UnorderedGroup_4_0_1"); - builder.put(grammarAccess.getConstraintDefinitionAccess().getUnorderedGroup_3(), "rule__ConstraintDefinition__UnorderedGroup_3"); + private static void init(Map mappings, Bug304681TestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getModelAccess().getAlternatives(), "rule__Model__Alternatives"); + mappings.put(grammarAccess.getObjectAccess().getAlternatives_0(), "rule__Object__Alternatives_0"); + mappings.put(grammarAccess.getFeatureAccess().getAlternatives(), "rule__Feature__Alternatives"); + mappings.put(grammarAccess.getReferenceAccess().getAlternatives_4(), "rule__Reference__Alternatives_4"); + mappings.put(grammarAccess.getObject2Access().getAlternatives_0(), "rule__Object2__Alternatives_0"); + mappings.put(grammarAccess.getFeature2Access().getAlternatives(), "rule__Feature2__Alternatives"); + mappings.put(grammarAccess.getAttribute2Access().getAlternatives_3(), "rule__Attribute2__Alternatives_3"); + mappings.put(grammarAccess.getReference2Access().getAlternatives_4(), "rule__Reference2__Alternatives_4"); + mappings.put(grammarAccess.getModelAccess().getGroup_0(), "rule__Model__Group_0__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_1(), "rule__Model__Group_1__0"); + mappings.put(grammarAccess.getPackageDefinitionAccess().getGroup(), "rule__PackageDefinition__Group__0"); + mappings.put(grammarAccess.getObjectAccess().getGroup(), "rule__Object__Group__0"); + mappings.put(grammarAccess.getObjectAccess().getGroup_3(), "rule__Object__Group_3__0"); + mappings.put(grammarAccess.getObjectAccess().getGroup_5_0(), "rule__Object__Group_5_0__0"); + mappings.put(grammarAccess.getObjectAccess().getGroup_5_1(), "rule__Object__Group_5_1__0"); + mappings.put(grammarAccess.getObjectAccess().getGroup_5_2(), "rule__Object__Group_5_2__0"); + mappings.put(grammarAccess.getObjectAccess().getGroup_5_3(), "rule__Object__Group_5_3__0"); + mappings.put(grammarAccess.getObjectAccess().getGroup_5_5(), "rule__Object__Group_5_5__0"); + mappings.put(grammarAccess.getObjectAccess().getGroup_5_6(), "rule__Object__Group_5_6__0"); + mappings.put(grammarAccess.getObjectAccess().getGroup_5_7(), "rule__Object__Group_5_7__0"); + mappings.put(grammarAccess.getAttributeAccess().getGroup(), "rule__Attribute__Group__0"); + mappings.put(grammarAccess.getReferenceAccess().getGroup(), "rule__Reference__Group__0"); + mappings.put(grammarAccess.getReferenceAccess().getGroup_4_0(), "rule__Reference__Group_4_0__0"); + mappings.put(grammarAccess.getReferenceAccess().getGroup_4_0_1_0(), "rule__Reference__Group_4_0_1_0__0"); + mappings.put(grammarAccess.getReferenceAccess().getGroup_4_0_1_1(), "rule__Reference__Group_4_0_1_1__0"); + mappings.put(grammarAccess.getPackageDefinition2Access().getGroup(), "rule__PackageDefinition2__Group__0"); + mappings.put(grammarAccess.getObject2Access().getGroup(), "rule__Object2__Group__0"); + mappings.put(grammarAccess.getObject2Access().getGroup_3(), "rule__Object2__Group_3__0"); + mappings.put(grammarAccess.getObject2Access().getGroup_5_0(), "rule__Object2__Group_5_0__0"); + mappings.put(grammarAccess.getObject2Access().getGroup_5_1(), "rule__Object2__Group_5_1__0"); + mappings.put(grammarAccess.getObject2Access().getGroup_5_2(), "rule__Object2__Group_5_2__0"); + mappings.put(grammarAccess.getObject2Access().getGroup_5_3(), "rule__Object2__Group_5_3__0"); + mappings.put(grammarAccess.getAttribute2Access().getGroup(), "rule__Attribute2__Group__0"); + mappings.put(grammarAccess.getAttribute2Access().getGroup_3_0(), "rule__Attribute2__Group_3_0__0"); + mappings.put(grammarAccess.getAttribute2Access().getGroup_3_0_1_0(), "rule__Attribute2__Group_3_0_1_0__0"); + mappings.put(grammarAccess.getAttribute2Access().getGroup_3_0_1_1(), "rule__Attribute2__Group_3_0_1_1__0"); + mappings.put(grammarAccess.getAttribute2Access().getGroup_3_0_1_3(), "rule__Attribute2__Group_3_0_1_3__0"); + mappings.put(grammarAccess.getAttribute2Access().getGroup_3_0_1_4(), "rule__Attribute2__Group_3_0_1_4__0"); + mappings.put(grammarAccess.getReference2Access().getGroup(), "rule__Reference2__Group__0"); + mappings.put(grammarAccess.getReference2Access().getGroup_4_0(), "rule__Reference2__Group_4_0__0"); + mappings.put(grammarAccess.getReference2Access().getGroup_4_0_1_0(), "rule__Reference2__Group_4_0_1_0__0"); + mappings.put(grammarAccess.getReference2Access().getGroup_4_0_1_1(), "rule__Reference2__Group_4_0_1_1__0"); + mappings.put(grammarAccess.getConstraintDefinitionAccess().getGroup(), "rule__ConstraintDefinition__Group__0"); + mappings.put(grammarAccess.getConstraintDefinitionAccess().getGroup_3_0(), "rule__ConstraintDefinition__Group_3_0__0"); + mappings.put(grammarAccess.getConstraintDefinitionAccess().getGroup_3_1(), "rule__ConstraintDefinition__Group_3_1__0"); + mappings.put(grammarAccess.getModelAccess().getDefinitionAssignment_0_1(), "rule__Model__DefinitionAssignment_0_1"); + mappings.put(grammarAccess.getModelAccess().getDefinitionAssignment_1_1(), "rule__Model__DefinitionAssignment_1_1"); + mappings.put(grammarAccess.getPackageDefinitionAccess().getNamespaceAssignment_2(), "rule__PackageDefinition__NamespaceAssignment_2"); + mappings.put(grammarAccess.getPackageDefinitionAccess().getContentsAssignment_4(), "rule__PackageDefinition__ContentsAssignment_4"); + mappings.put(grammarAccess.getObjectAccess().getEnabledAssignment_0_0(), "rule__Object__EnabledAssignment_0_0"); + mappings.put(grammarAccess.getObjectAccess().getAbstractAssignment_0_1(), "rule__Object__AbstractAssignment_0_1"); + mappings.put(grammarAccess.getObjectAccess().getNameAssignment_2(), "rule__Object__NameAssignment_2"); + mappings.put(grammarAccess.getObjectAccess().getParentAssignment_3_1(), "rule__Object__ParentAssignment_3_1"); + mappings.put(grammarAccess.getObjectAccess().getShortDescriptionAssignment_5_0_1(), "rule__Object__ShortDescriptionAssignment_5_0_1"); + mappings.put(grammarAccess.getObjectAccess().getLongDescriptionAssignment_5_1_1(), "rule__Object__LongDescriptionAssignment_5_1_1"); + mappings.put(grammarAccess.getObjectAccess().getSerialVersionUIDAssignment_5_2_1(), "rule__Object__SerialVersionUIDAssignment_5_2_1"); + mappings.put(grammarAccess.getObjectAccess().getCloneableAssignment_5_3_0(), "rule__Object__CloneableAssignment_5_3_0"); + mappings.put(grammarAccess.getObjectAccess().getFeaturesAssignment_5_4(), "rule__Object__FeaturesAssignment_5_4"); + mappings.put(grammarAccess.getObjectAccess().getFeaturesAssignment_5_5_1(), "rule__Object__FeaturesAssignment_5_5_1"); + mappings.put(grammarAccess.getObjectAccess().getFeaturesAssignment_5_6_1(), "rule__Object__FeaturesAssignment_5_6_1"); + mappings.put(grammarAccess.getObjectAccess().getFeaturesAssignment_5_7_1(), "rule__Object__FeaturesAssignment_5_7_1"); + mappings.put(grammarAccess.getAttributeAccess().getTypeAssignment_1(), "rule__Attribute__TypeAssignment_1"); + mappings.put(grammarAccess.getAttributeAccess().getNameAssignment_2(), "rule__Attribute__NameAssignment_2"); + mappings.put(grammarAccess.getReferenceAccess().getTypeAssignment_1(), "rule__Reference__TypeAssignment_1"); + mappings.put(grammarAccess.getReferenceAccess().getManyAssignment_2(), "rule__Reference__ManyAssignment_2"); + mappings.put(grammarAccess.getReferenceAccess().getNameAssignment_3(), "rule__Reference__NameAssignment_3"); + mappings.put(grammarAccess.getReferenceAccess().getShortDescriptionAssignment_4_0_1_0_1(), "rule__Reference__ShortDescriptionAssignment_4_0_1_0_1"); + mappings.put(grammarAccess.getReferenceAccess().getLongDescriptionAssignment_4_0_1_1_1(), "rule__Reference__LongDescriptionAssignment_4_0_1_1_1"); + mappings.put(grammarAccess.getPackageDefinition2Access().getNamespaceAssignment_2(), "rule__PackageDefinition2__NamespaceAssignment_2"); + mappings.put(grammarAccess.getPackageDefinition2Access().getContentsAssignment_4(), "rule__PackageDefinition2__ContentsAssignment_4"); + mappings.put(grammarAccess.getObject2Access().getEnabledAssignment_0_0(), "rule__Object2__EnabledAssignment_0_0"); + mappings.put(grammarAccess.getObject2Access().getAbstractAssignment_0_1(), "rule__Object2__AbstractAssignment_0_1"); + mappings.put(grammarAccess.getObject2Access().getNameAssignment_2(), "rule__Object2__NameAssignment_2"); + mappings.put(grammarAccess.getObject2Access().getParentAssignment_3_1(), "rule__Object2__ParentAssignment_3_1"); + mappings.put(grammarAccess.getObject2Access().getShortDescriptionAssignment_5_0_1(), "rule__Object2__ShortDescriptionAssignment_5_0_1"); + mappings.put(grammarAccess.getObject2Access().getLongDescriptionAssignment_5_1_1(), "rule__Object2__LongDescriptionAssignment_5_1_1"); + mappings.put(grammarAccess.getObject2Access().getSerialVersionUIDAssignment_5_2_1(), "rule__Object2__SerialVersionUIDAssignment_5_2_1"); + mappings.put(grammarAccess.getObject2Access().getCloneableAssignment_5_3_0(), "rule__Object2__CloneableAssignment_5_3_0"); + mappings.put(grammarAccess.getObject2Access().getFeaturesAssignment_5_4(), "rule__Object2__FeaturesAssignment_5_4"); + mappings.put(grammarAccess.getAttribute2Access().getTypeAssignment_1(), "rule__Attribute2__TypeAssignment_1"); + mappings.put(grammarAccess.getAttribute2Access().getNameAssignment_2(), "rule__Attribute2__NameAssignment_2"); + mappings.put(grammarAccess.getAttribute2Access().getShortDescriptionAssignment_3_0_1_0_1(), "rule__Attribute2__ShortDescriptionAssignment_3_0_1_0_1"); + mappings.put(grammarAccess.getAttribute2Access().getLongDescriptionAssignment_3_0_1_1_1(), "rule__Attribute2__LongDescriptionAssignment_3_0_1_1_1"); + mappings.put(grammarAccess.getAttribute2Access().getConstraintDefinitionsAssignment_3_0_1_2(), "rule__Attribute2__ConstraintDefinitionsAssignment_3_0_1_2"); + mappings.put(grammarAccess.getAttribute2Access().getRequiredAssignment_3_0_1_3_0(), "rule__Attribute2__RequiredAssignment_3_0_1_3_0"); + mappings.put(grammarAccess.getAttribute2Access().getTechnicalAssignment_3_0_1_4_0(), "rule__Attribute2__TechnicalAssignment_3_0_1_4_0"); + mappings.put(grammarAccess.getReference2Access().getTypeAssignment_1(), "rule__Reference2__TypeAssignment_1"); + mappings.put(grammarAccess.getReference2Access().getManyAssignment_2(), "rule__Reference2__ManyAssignment_2"); + mappings.put(grammarAccess.getReference2Access().getNameAssignment_3(), "rule__Reference2__NameAssignment_3"); + mappings.put(grammarAccess.getReference2Access().getShortDescriptionAssignment_4_0_1_0_1(), "rule__Reference2__ShortDescriptionAssignment_4_0_1_0_1"); + mappings.put(grammarAccess.getReference2Access().getLongDescriptionAssignment_4_0_1_1_1(), "rule__Reference2__LongDescriptionAssignment_4_0_1_1_1"); + mappings.put(grammarAccess.getConstraintDefinitionAccess().getTypeAssignment_1(), "rule__ConstraintDefinition__TypeAssignment_1"); + mappings.put(grammarAccess.getConstraintDefinitionAccess().getParametersAssignment_3_0_1(), "rule__ConstraintDefinition__ParametersAssignment_3_0_1"); + mappings.put(grammarAccess.getConstraintDefinitionAccess().getMessageAssignment_3_1_1(), "rule__ConstraintDefinition__MessageAssignment_3_1_1"); + mappings.put(grammarAccess.getObjectAccess().getUnorderedGroup_5(), "rule__Object__UnorderedGroup_5"); + mappings.put(grammarAccess.getReferenceAccess().getUnorderedGroup_4_0_1(), "rule__Reference__UnorderedGroup_4_0_1"); + mappings.put(grammarAccess.getObject2Access().getUnorderedGroup_5(), "rule__Object2__UnorderedGroup_5"); + mappings.put(grammarAccess.getAttribute2Access().getUnorderedGroup_3_0_1(), "rule__Attribute2__UnorderedGroup_3_0_1"); + mappings.put(grammarAccess.getReference2Access().getUnorderedGroup_4_0_1(), "rule__Reference2__UnorderedGroup_4_0_1"); + mappings.put(grammarAccess.getConstraintDefinitionAccess().getUnorderedGroup_3(), "rule__ConstraintDefinition__UnorderedGroup_3"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug307519TestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug307519TestLanguageParser.java index 87709d11754..779b17e4817 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug307519TestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug307519TestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,23 +26,23 @@ public static final class NameMappings { @Inject public NameMappings(Bug307519TestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, Bug307519TestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getModelAccess().getAlternatives(), "rule__Model__Alternatives"); - builder.put(grammarAccess.getEnumTAccess().getAlternatives(), "rule__EnumT__Alternatives"); - builder.put(grammarAccess.getElem2Access().getGroup(), "rule__Elem2__Group__0"); - builder.put(grammarAccess.getModelAccess().getE1Assignment_0(), "rule__Model__E1Assignment_0"); - builder.put(grammarAccess.getModelAccess().getE2Assignment_1(), "rule__Model__E2Assignment_1"); - builder.put(grammarAccess.getElem1Access().getValueAssignment(), "rule__Elem1__ValueAssignment"); - builder.put(grammarAccess.getElem2Access().getValueAssignment_0(), "rule__Elem2__ValueAssignment_0"); + private static void init(Map mappings, Bug307519TestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getModelAccess().getAlternatives(), "rule__Model__Alternatives"); + mappings.put(grammarAccess.getEnumTAccess().getAlternatives(), "rule__EnumT__Alternatives"); + mappings.put(grammarAccess.getElem2Access().getGroup(), "rule__Elem2__Group__0"); + mappings.put(grammarAccess.getModelAccess().getE1Assignment_0(), "rule__Model__E1Assignment_0"); + mappings.put(grammarAccess.getModelAccess().getE2Assignment_1(), "rule__Model__E2Assignment_1"); + mappings.put(grammarAccess.getElem1Access().getValueAssignment(), "rule__Elem1__ValueAssignment"); + mappings.put(grammarAccess.getElem2Access().getValueAssignment_0(), "rule__Elem2__ValueAssignment_0"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug309949TestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug309949TestLanguageParser.java index 009f702bf18..5b246f1daf1 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug309949TestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug309949TestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,85 +26,85 @@ public static final class NameMappings { @Inject public NameMappings(Bug309949TestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, Bug309949TestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getModelAccess().getAlternatives_1(), "rule__Model__Alternatives_1"); - builder.put(grammarAccess.getModelAccess().getGroup(), "rule__Model__Group__0"); - builder.put(grammarAccess.getModelAccess().getGroup_1_0(), "rule__Model__Group_1_0__0"); - builder.put(grammarAccess.getModelAccess().getGroup_1_1(), "rule__Model__Group_1_1__0"); - builder.put(grammarAccess.getModelAccess().getGroup_1_2(), "rule__Model__Group_1_2__0"); - builder.put(grammarAccess.getModelAccess().getGroup_1_3(), "rule__Model__Group_1_3__0"); - builder.put(grammarAccess.getModelAccess().getGroup_1_4(), "rule__Model__Group_1_4__0"); - builder.put(grammarAccess.getModelAccess().getGroup_1_5(), "rule__Model__Group_1_5__0"); - builder.put(grammarAccess.getModelAccess().getGroup_1_6(), "rule__Model__Group_1_6__0"); - builder.put(grammarAccess.getModelAccess().getGroup_1_7(), "rule__Model__Group_1_7__0"); - builder.put(grammarAccess.getModelAccess().getGroup_1_8(), "rule__Model__Group_1_8__0"); - builder.put(grammarAccess.getModelAccess().getGroup_1_9(), "rule__Model__Group_1_9__0"); - builder.put(grammarAccess.getError_1Access().getGroup(), "rule__Error_1__Group__0"); - builder.put(grammarAccess.getOperation_1Access().getGroup(), "rule__Operation_1__Group__0"); - builder.put(grammarAccess.getError_2Access().getGroup(), "rule__Error_2__Group__0"); - builder.put(grammarAccess.getOperation_2Access().getGroup(), "rule__Operation_2__Group__0"); - builder.put(grammarAccess.getError_3Access().getGroup(), "rule__Error_3__Group__0"); - builder.put(grammarAccess.getOperation_3Access().getGroup(), "rule__Operation_3__Group__0"); - builder.put(grammarAccess.getError_4Access().getGroup(), "rule__Error_4__Group__0"); - builder.put(grammarAccess.getOperation_4Access().getGroup(), "rule__Operation_4__Group__0"); - builder.put(grammarAccess.getError_5Access().getGroup(), "rule__Error_5__Group__0"); - builder.put(grammarAccess.getOperation_5Access().getGroup(), "rule__Operation_5__Group__0"); - builder.put(grammarAccess.getAnnotationAccess().getGroup(), "rule__Annotation__Group__0"); - builder.put(grammarAccess.getModelAccess().getErrorsAssignment_1_0_2(), "rule__Model__ErrorsAssignment_1_0_2"); - builder.put(grammarAccess.getModelAccess().getOperationsAssignment_1_0_3(), "rule__Model__OperationsAssignment_1_0_3"); - builder.put(grammarAccess.getModelAccess().getErrorsAssignment_1_1_2(), "rule__Model__ErrorsAssignment_1_1_2"); - builder.put(grammarAccess.getModelAccess().getOperationsAssignment_1_1_3(), "rule__Model__OperationsAssignment_1_1_3"); - builder.put(grammarAccess.getModelAccess().getErrorsAssignment_1_2_2(), "rule__Model__ErrorsAssignment_1_2_2"); - builder.put(grammarAccess.getModelAccess().getOperationsAssignment_1_2_3(), "rule__Model__OperationsAssignment_1_2_3"); - builder.put(grammarAccess.getModelAccess().getNameAssignment_1_3_1(), "rule__Model__NameAssignment_1_3_1"); - builder.put(grammarAccess.getModelAccess().getErrorsAssignment_1_3_3(), "rule__Model__ErrorsAssignment_1_3_3"); - builder.put(grammarAccess.getModelAccess().getOperationsAssignment_1_3_4(), "rule__Model__OperationsAssignment_1_3_4"); - builder.put(grammarAccess.getModelAccess().getNameAssignment_1_4_1(), "rule__Model__NameAssignment_1_4_1"); - builder.put(grammarAccess.getModelAccess().getErrorsAssignment_1_4_3(), "rule__Model__ErrorsAssignment_1_4_3"); - builder.put(grammarAccess.getModelAccess().getOperationsAssignment_1_4_4(), "rule__Model__OperationsAssignment_1_4_4"); - builder.put(grammarAccess.getModelAccess().getNameAssignment_1_5_1(), "rule__Model__NameAssignment_1_5_1"); - builder.put(grammarAccess.getModelAccess().getErrorsAssignment_1_5_3(), "rule__Model__ErrorsAssignment_1_5_3"); - builder.put(grammarAccess.getModelAccess().getOperationsAssignment_1_5_4(), "rule__Model__OperationsAssignment_1_5_4"); - builder.put(grammarAccess.getModelAccess().getNameAssignment_1_6_1(), "rule__Model__NameAssignment_1_6_1"); - builder.put(grammarAccess.getModelAccess().getErrorsAssignment_1_6_3(), "rule__Model__ErrorsAssignment_1_6_3"); - builder.put(grammarAccess.getModelAccess().getOperationsAssignment_1_6_4(), "rule__Model__OperationsAssignment_1_6_4"); - builder.put(grammarAccess.getModelAccess().getNameAssignment_1_7_1(), "rule__Model__NameAssignment_1_7_1"); - builder.put(grammarAccess.getModelAccess().getErrorsAssignment_1_7_3(), "rule__Model__ErrorsAssignment_1_7_3"); - builder.put(grammarAccess.getModelAccess().getOperationsAssignment_1_7_4(), "rule__Model__OperationsAssignment_1_7_4"); - builder.put(grammarAccess.getModelAccess().getNameAssignment_1_8_1(), "rule__Model__NameAssignment_1_8_1"); - builder.put(grammarAccess.getModelAccess().getErrorsAssignment_1_8_3(), "rule__Model__ErrorsAssignment_1_8_3"); - builder.put(grammarAccess.getModelAccess().getOperationsAssignment_1_8_4(), "rule__Model__OperationsAssignment_1_8_4"); - builder.put(grammarAccess.getModelAccess().getNameAssignment_1_9_1(), "rule__Model__NameAssignment_1_9_1"); - builder.put(grammarAccess.getModelAccess().getErrorsAssignment_1_9_3(), "rule__Model__ErrorsAssignment_1_9_3"); - builder.put(grammarAccess.getModelAccess().getOperationsAssignment_1_9_4(), "rule__Model__OperationsAssignment_1_9_4"); - builder.put(grammarAccess.getError_1Access().getAnnotationsAssignment_0(), "rule__Error_1__AnnotationsAssignment_0"); - builder.put(grammarAccess.getError_1Access().getNameAssignment_2(), "rule__Error_1__NameAssignment_2"); - builder.put(grammarAccess.getOperation_1Access().getAnnotationsAssignment_0(), "rule__Operation_1__AnnotationsAssignment_0"); - builder.put(grammarAccess.getOperation_1Access().getNameAssignment_2(), "rule__Operation_1__NameAssignment_2"); - builder.put(grammarAccess.getError_2Access().getAnnotationsAssignment_0(), "rule__Error_2__AnnotationsAssignment_0"); - builder.put(grammarAccess.getError_2Access().getNameAssignment_2(), "rule__Error_2__NameAssignment_2"); - builder.put(grammarAccess.getOperation_2Access().getAnnotationsAssignment_0(), "rule__Operation_2__AnnotationsAssignment_0"); - builder.put(grammarAccess.getOperation_2Access().getNameAssignment_2(), "rule__Operation_2__NameAssignment_2"); - builder.put(grammarAccess.getError_3Access().getAnnotationsAssignment_0(), "rule__Error_3__AnnotationsAssignment_0"); - builder.put(grammarAccess.getError_3Access().getNameAssignment_2(), "rule__Error_3__NameAssignment_2"); - builder.put(grammarAccess.getOperation_3Access().getAnnotationsAssignment_0(), "rule__Operation_3__AnnotationsAssignment_0"); - builder.put(grammarAccess.getOperation_3Access().getNameAssignment_2(), "rule__Operation_3__NameAssignment_2"); - builder.put(grammarAccess.getError_4Access().getAnnotationsAssignment_0(), "rule__Error_4__AnnotationsAssignment_0"); - builder.put(grammarAccess.getError_4Access().getNameAssignment_2(), "rule__Error_4__NameAssignment_2"); - builder.put(grammarAccess.getOperation_4Access().getAnnotationsAssignment_0(), "rule__Operation_4__AnnotationsAssignment_0"); - builder.put(grammarAccess.getOperation_4Access().getNameAssignment_2(), "rule__Operation_4__NameAssignment_2"); - builder.put(grammarAccess.getError_5Access().getNameAssignment_1(), "rule__Error_5__NameAssignment_1"); - builder.put(grammarAccess.getOperation_5Access().getNameAssignment_1(), "rule__Operation_5__NameAssignment_1"); - builder.put(grammarAccess.getAnnotationAccess().getNameAssignment_1(), "rule__Annotation__NameAssignment_1"); + private static void init(Map mappings, Bug309949TestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getModelAccess().getAlternatives_1(), "rule__Model__Alternatives_1"); + mappings.put(grammarAccess.getModelAccess().getGroup(), "rule__Model__Group__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_1_0(), "rule__Model__Group_1_0__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_1_1(), "rule__Model__Group_1_1__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_1_2(), "rule__Model__Group_1_2__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_1_3(), "rule__Model__Group_1_3__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_1_4(), "rule__Model__Group_1_4__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_1_5(), "rule__Model__Group_1_5__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_1_6(), "rule__Model__Group_1_6__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_1_7(), "rule__Model__Group_1_7__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_1_8(), "rule__Model__Group_1_8__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_1_9(), "rule__Model__Group_1_9__0"); + mappings.put(grammarAccess.getError_1Access().getGroup(), "rule__Error_1__Group__0"); + mappings.put(grammarAccess.getOperation_1Access().getGroup(), "rule__Operation_1__Group__0"); + mappings.put(grammarAccess.getError_2Access().getGroup(), "rule__Error_2__Group__0"); + mappings.put(grammarAccess.getOperation_2Access().getGroup(), "rule__Operation_2__Group__0"); + mappings.put(grammarAccess.getError_3Access().getGroup(), "rule__Error_3__Group__0"); + mappings.put(grammarAccess.getOperation_3Access().getGroup(), "rule__Operation_3__Group__0"); + mappings.put(grammarAccess.getError_4Access().getGroup(), "rule__Error_4__Group__0"); + mappings.put(grammarAccess.getOperation_4Access().getGroup(), "rule__Operation_4__Group__0"); + mappings.put(grammarAccess.getError_5Access().getGroup(), "rule__Error_5__Group__0"); + mappings.put(grammarAccess.getOperation_5Access().getGroup(), "rule__Operation_5__Group__0"); + mappings.put(grammarAccess.getAnnotationAccess().getGroup(), "rule__Annotation__Group__0"); + mappings.put(grammarAccess.getModelAccess().getErrorsAssignment_1_0_2(), "rule__Model__ErrorsAssignment_1_0_2"); + mappings.put(grammarAccess.getModelAccess().getOperationsAssignment_1_0_3(), "rule__Model__OperationsAssignment_1_0_3"); + mappings.put(grammarAccess.getModelAccess().getErrorsAssignment_1_1_2(), "rule__Model__ErrorsAssignment_1_1_2"); + mappings.put(grammarAccess.getModelAccess().getOperationsAssignment_1_1_3(), "rule__Model__OperationsAssignment_1_1_3"); + mappings.put(grammarAccess.getModelAccess().getErrorsAssignment_1_2_2(), "rule__Model__ErrorsAssignment_1_2_2"); + mappings.put(grammarAccess.getModelAccess().getOperationsAssignment_1_2_3(), "rule__Model__OperationsAssignment_1_2_3"); + mappings.put(grammarAccess.getModelAccess().getNameAssignment_1_3_1(), "rule__Model__NameAssignment_1_3_1"); + mappings.put(grammarAccess.getModelAccess().getErrorsAssignment_1_3_3(), "rule__Model__ErrorsAssignment_1_3_3"); + mappings.put(grammarAccess.getModelAccess().getOperationsAssignment_1_3_4(), "rule__Model__OperationsAssignment_1_3_4"); + mappings.put(grammarAccess.getModelAccess().getNameAssignment_1_4_1(), "rule__Model__NameAssignment_1_4_1"); + mappings.put(grammarAccess.getModelAccess().getErrorsAssignment_1_4_3(), "rule__Model__ErrorsAssignment_1_4_3"); + mappings.put(grammarAccess.getModelAccess().getOperationsAssignment_1_4_4(), "rule__Model__OperationsAssignment_1_4_4"); + mappings.put(grammarAccess.getModelAccess().getNameAssignment_1_5_1(), "rule__Model__NameAssignment_1_5_1"); + mappings.put(grammarAccess.getModelAccess().getErrorsAssignment_1_5_3(), "rule__Model__ErrorsAssignment_1_5_3"); + mappings.put(grammarAccess.getModelAccess().getOperationsAssignment_1_5_4(), "rule__Model__OperationsAssignment_1_5_4"); + mappings.put(grammarAccess.getModelAccess().getNameAssignment_1_6_1(), "rule__Model__NameAssignment_1_6_1"); + mappings.put(grammarAccess.getModelAccess().getErrorsAssignment_1_6_3(), "rule__Model__ErrorsAssignment_1_6_3"); + mappings.put(grammarAccess.getModelAccess().getOperationsAssignment_1_6_4(), "rule__Model__OperationsAssignment_1_6_4"); + mappings.put(grammarAccess.getModelAccess().getNameAssignment_1_7_1(), "rule__Model__NameAssignment_1_7_1"); + mappings.put(grammarAccess.getModelAccess().getErrorsAssignment_1_7_3(), "rule__Model__ErrorsAssignment_1_7_3"); + mappings.put(grammarAccess.getModelAccess().getOperationsAssignment_1_7_4(), "rule__Model__OperationsAssignment_1_7_4"); + mappings.put(grammarAccess.getModelAccess().getNameAssignment_1_8_1(), "rule__Model__NameAssignment_1_8_1"); + mappings.put(grammarAccess.getModelAccess().getErrorsAssignment_1_8_3(), "rule__Model__ErrorsAssignment_1_8_3"); + mappings.put(grammarAccess.getModelAccess().getOperationsAssignment_1_8_4(), "rule__Model__OperationsAssignment_1_8_4"); + mappings.put(grammarAccess.getModelAccess().getNameAssignment_1_9_1(), "rule__Model__NameAssignment_1_9_1"); + mappings.put(grammarAccess.getModelAccess().getErrorsAssignment_1_9_3(), "rule__Model__ErrorsAssignment_1_9_3"); + mappings.put(grammarAccess.getModelAccess().getOperationsAssignment_1_9_4(), "rule__Model__OperationsAssignment_1_9_4"); + mappings.put(grammarAccess.getError_1Access().getAnnotationsAssignment_0(), "rule__Error_1__AnnotationsAssignment_0"); + mappings.put(grammarAccess.getError_1Access().getNameAssignment_2(), "rule__Error_1__NameAssignment_2"); + mappings.put(grammarAccess.getOperation_1Access().getAnnotationsAssignment_0(), "rule__Operation_1__AnnotationsAssignment_0"); + mappings.put(grammarAccess.getOperation_1Access().getNameAssignment_2(), "rule__Operation_1__NameAssignment_2"); + mappings.put(grammarAccess.getError_2Access().getAnnotationsAssignment_0(), "rule__Error_2__AnnotationsAssignment_0"); + mappings.put(grammarAccess.getError_2Access().getNameAssignment_2(), "rule__Error_2__NameAssignment_2"); + mappings.put(grammarAccess.getOperation_2Access().getAnnotationsAssignment_0(), "rule__Operation_2__AnnotationsAssignment_0"); + mappings.put(grammarAccess.getOperation_2Access().getNameAssignment_2(), "rule__Operation_2__NameAssignment_2"); + mappings.put(grammarAccess.getError_3Access().getAnnotationsAssignment_0(), "rule__Error_3__AnnotationsAssignment_0"); + mappings.put(grammarAccess.getError_3Access().getNameAssignment_2(), "rule__Error_3__NameAssignment_2"); + mappings.put(grammarAccess.getOperation_3Access().getAnnotationsAssignment_0(), "rule__Operation_3__AnnotationsAssignment_0"); + mappings.put(grammarAccess.getOperation_3Access().getNameAssignment_2(), "rule__Operation_3__NameAssignment_2"); + mappings.put(grammarAccess.getError_4Access().getAnnotationsAssignment_0(), "rule__Error_4__AnnotationsAssignment_0"); + mappings.put(grammarAccess.getError_4Access().getNameAssignment_2(), "rule__Error_4__NameAssignment_2"); + mappings.put(grammarAccess.getOperation_4Access().getAnnotationsAssignment_0(), "rule__Operation_4__AnnotationsAssignment_0"); + mappings.put(grammarAccess.getOperation_4Access().getNameAssignment_2(), "rule__Operation_4__NameAssignment_2"); + mappings.put(grammarAccess.getError_5Access().getNameAssignment_1(), "rule__Error_5__NameAssignment_1"); + mappings.put(grammarAccess.getOperation_5Access().getNameAssignment_1(), "rule__Operation_5__NameAssignment_1"); + mappings.put(grammarAccess.getAnnotationAccess().getNameAssignment_1(), "rule__Annotation__NameAssignment_1"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug332217TestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug332217TestLanguageParser.java index af5a9291679..03b29b01519 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug332217TestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug332217TestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,94 +26,94 @@ public static final class NameMappings { @Inject public NameMappings(Bug332217TestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, Bug332217TestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getPropertyPathPartAccess().getAlternatives(), "rule__PropertyPathPart__Alternatives"); - builder.put(grammarAccess.getExpressionAccess().getAlternatives(), "rule__Expression__Alternatives"); - builder.put(grammarAccess.getScalarExpressionAccess().getAlternatives(), "rule__ScalarExpression__Alternatives"); - builder.put(grammarAccess.getCollectionExpressionAccess().getAlternatives(), "rule__CollectionExpression__Alternatives"); - builder.put(grammarAccess.getStringFunctionAccess().getAlternatives(), "rule__StringFunction__Alternatives"); - builder.put(grammarAccess.getViewContentElementAccess().getAlternatives(), "rule__ViewContentElement__Alternatives"); - builder.put(grammarAccess.getViewActionAccess().getAlternatives(), "rule__ViewAction__Alternatives"); - builder.put(grammarAccess.getTableViewStyleAccess().getAlternatives(), "rule__TableViewStyle__Alternatives"); - builder.put(grammarAccess.getCellTypeAccess().getAlternatives(), "rule__CellType__Alternatives"); - builder.put(grammarAccess.getCellAccessoryAccess().getAlternatives(), "rule__CellAccessory__Alternatives"); - builder.put(grammarAccess.getTypeDescriptionAccess().getGroup(), "rule__TypeDescription__Group__0"); - builder.put(grammarAccess.getParameterAccess().getGroup(), "rule__Parameter__Group__0"); - builder.put(grammarAccess.getObjectReferenceAccess().getGroup(), "rule__ObjectReference__Group__0"); - builder.put(grammarAccess.getNestedObjectReferenceAccess().getGroup(), "rule__NestedObjectReference__Group__0"); - builder.put(grammarAccess.getStringFunctionAccess().getGroup_0(), "rule__StringFunction__Group_0__0"); - builder.put(grammarAccess.getStringFunctionAccess().getGroup_1(), "rule__StringFunction__Group_1__0"); - builder.put(grammarAccess.getStringFunctionAccess().getGroup_2(), "rule__StringFunction__Group_2__0"); - builder.put(grammarAccess.getCollectionLiteralAccess().getGroup(), "rule__CollectionLiteral__Group__0"); - builder.put(grammarAccess.getCollectionLiteralAccess().getGroup_2(), "rule__CollectionLiteral__Group_2__0"); - builder.put(grammarAccess.getCollectionFunctionAccess().getGroup(), "rule__CollectionFunction__Group__0"); - builder.put(grammarAccess.getTableViewAccess().getGroup(), "rule__TableView__Group__0"); - builder.put(grammarAccess.getTableViewAccess().getGroup_2(), "rule__TableView__Group_2__0"); - builder.put(grammarAccess.getTableViewAccess().getGroup_4_0(), "rule__TableView__Group_4_0__0"); - builder.put(grammarAccess.getTableViewAccess().getGroup_4_1(), "rule__TableView__Group_4_1__0"); - builder.put(grammarAccess.getTableViewAccess().getGroup_4_2(), "rule__TableView__Group_4_2__0"); - builder.put(grammarAccess.getSectionAccess().getGroup(), "rule__Section__Group__0"); - builder.put(grammarAccess.getSectionAccess().getGroup_3(), "rule__Section__Group_3__0"); - builder.put(grammarAccess.getCellAccess().getGroup(), "rule__Cell__Group__0"); - builder.put(grammarAccess.getCellAccess().getGroup_4_0(), "rule__Cell__Group_4_0__0"); - builder.put(grammarAccess.getCellAccess().getGroup_4_1(), "rule__Cell__Group_4_1__0"); - builder.put(grammarAccess.getCellAccess().getGroup_4_2(), "rule__Cell__Group_4_2__0"); - builder.put(grammarAccess.getCellAccess().getGroup_4_3(), "rule__Cell__Group_4_3__0"); - builder.put(grammarAccess.getCellAccess().getGroup_4_4(), "rule__Cell__Group_4_4__0"); - builder.put(grammarAccess.getCollectionIteratorAccess().getGroup(), "rule__CollectionIterator__Group__0"); - builder.put(grammarAccess.getSelectorNameAccess().getGroup(), "rule__SelectorName__Group__0"); - builder.put(grammarAccess.getSelectorNameAccess().getGroup_1(), "rule__SelectorName__Group_1__0"); - builder.put(grammarAccess.getSelectorAccess().getGroup(), "rule__Selector__Group__0"); - builder.put(grammarAccess.getModelAccess().getElementsAssignment(), "rule__Model__ElementsAssignment"); - builder.put(grammarAccess.getTypeDescriptionAccess().getTypeAssignment_0(), "rule__TypeDescription__TypeAssignment_0"); - builder.put(grammarAccess.getTypeDescriptionAccess().getManyAssignment_1(), "rule__TypeDescription__ManyAssignment_1"); - builder.put(grammarAccess.getParameterAccess().getDescriptionAssignment_0(), "rule__Parameter__DescriptionAssignment_0"); - builder.put(grammarAccess.getParameterAccess().getNameAssignment_1(), "rule__Parameter__NameAssignment_1"); - builder.put(grammarAccess.getObjectReferenceAccess().getObjectAssignment_0(), "rule__ObjectReference__ObjectAssignment_0"); - builder.put(grammarAccess.getObjectReferenceAccess().getTailAssignment_1(), "rule__ObjectReference__TailAssignment_1"); - builder.put(grammarAccess.getNestedObjectReferenceAccess().getObjectAssignment_1(), "rule__NestedObjectReference__ObjectAssignment_1"); - builder.put(grammarAccess.getNestedObjectReferenceAccess().getTailAssignment_2(), "rule__NestedObjectReference__TailAssignment_2"); - builder.put(grammarAccess.getStringLiteralAccess().getValueAssignment(), "rule__StringLiteral__ValueAssignment"); - builder.put(grammarAccess.getStringFunctionAccess().getValuesAssignment_0_2(), "rule__StringFunction__ValuesAssignment_0_2"); - builder.put(grammarAccess.getStringFunctionAccess().getValueAssignment_1_2(), "rule__StringFunction__ValueAssignment_1_2"); - builder.put(grammarAccess.getStringFunctionAccess().getMatchAssignment_1_4(), "rule__StringFunction__MatchAssignment_1_4"); - builder.put(grammarAccess.getStringFunctionAccess().getReplacementAssignment_1_6(), "rule__StringFunction__ReplacementAssignment_1_6"); - builder.put(grammarAccess.getStringFunctionAccess().getValueAssignment_2_2(), "rule__StringFunction__ValueAssignment_2_2"); - builder.put(grammarAccess.getCollectionLiteralAccess().getItemsAssignment_1(), "rule__CollectionLiteral__ItemsAssignment_1"); - builder.put(grammarAccess.getCollectionLiteralAccess().getItemsAssignment_2_1(), "rule__CollectionLiteral__ItemsAssignment_2_1"); - builder.put(grammarAccess.getCollectionFunctionAccess().getValueAssignment_2(), "rule__CollectionFunction__ValueAssignment_2"); - builder.put(grammarAccess.getCollectionFunctionAccess().getDelimiterAssignment_4(), "rule__CollectionFunction__DelimiterAssignment_4"); - builder.put(grammarAccess.getTableViewAccess().getNameAssignment_1(), "rule__TableView__NameAssignment_1"); - builder.put(grammarAccess.getTableViewAccess().getContentAssignment_2_1(), "rule__TableView__ContentAssignment_2_1"); - builder.put(grammarAccess.getTableViewAccess().getTitleAssignment_4_0_1(), "rule__TableView__TitleAssignment_4_0_1"); - builder.put(grammarAccess.getTableViewAccess().getTitleImageAssignment_4_1_1(), "rule__TableView__TitleImageAssignment_4_1_1"); - builder.put(grammarAccess.getTableViewAccess().getStyleAssignment_4_2_1(), "rule__TableView__StyleAssignment_4_2_1"); - builder.put(grammarAccess.getTableViewAccess().getSectionsAssignment_5(), "rule__TableView__SectionsAssignment_5"); - builder.put(grammarAccess.getSectionAccess().getIteratorAssignment_1(), "rule__Section__IteratorAssignment_1"); - builder.put(grammarAccess.getSectionAccess().getTitleAssignment_3_1(), "rule__Section__TitleAssignment_3_1"); - builder.put(grammarAccess.getSectionAccess().getCellsAssignment_4(), "rule__Section__CellsAssignment_4"); - builder.put(grammarAccess.getCellAccess().getTypeAssignment_1(), "rule__Cell__TypeAssignment_1"); - builder.put(grammarAccess.getCellAccess().getIteratorAssignment_2(), "rule__Cell__IteratorAssignment_2"); - builder.put(grammarAccess.getCellAccess().getTextAssignment_4_0_1(), "rule__Cell__TextAssignment_4_0_1"); - builder.put(grammarAccess.getCellAccess().getDetailsAssignment_4_1_1(), "rule__Cell__DetailsAssignment_4_1_1"); - builder.put(grammarAccess.getCellAccess().getImageAssignment_4_2_1(), "rule__Cell__ImageAssignment_4_2_1"); - builder.put(grammarAccess.getCellAccess().getActionAssignment_4_3_1(), "rule__Cell__ActionAssignment_4_3_1"); - builder.put(grammarAccess.getCellAccess().getAccessoryAssignment_4_4_1(), "rule__Cell__AccessoryAssignment_4_4_1"); - builder.put(grammarAccess.getCollectionIteratorAccess().getNameAssignment_1(), "rule__CollectionIterator__NameAssignment_1"); - builder.put(grammarAccess.getCollectionIteratorAccess().getCollectionAssignment_3(), "rule__CollectionIterator__CollectionAssignment_3"); - builder.put(grammarAccess.getSelectorAccess().getNameAssignment_2(), "rule__Selector__NameAssignment_2"); - builder.put(grammarAccess.getExternalOpenAccess().getUrlAssignment(), "rule__ExternalOpen__UrlAssignment"); - builder.put(grammarAccess.getTableViewAccess().getUnorderedGroup_4(), "rule__TableView__UnorderedGroup_4"); - builder.put(grammarAccess.getCellAccess().getUnorderedGroup_4(), "rule__Cell__UnorderedGroup_4"); + private static void init(Map mappings, Bug332217TestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getPropertyPathPartAccess().getAlternatives(), "rule__PropertyPathPart__Alternatives"); + mappings.put(grammarAccess.getExpressionAccess().getAlternatives(), "rule__Expression__Alternatives"); + mappings.put(grammarAccess.getScalarExpressionAccess().getAlternatives(), "rule__ScalarExpression__Alternatives"); + mappings.put(grammarAccess.getCollectionExpressionAccess().getAlternatives(), "rule__CollectionExpression__Alternatives"); + mappings.put(grammarAccess.getStringFunctionAccess().getAlternatives(), "rule__StringFunction__Alternatives"); + mappings.put(grammarAccess.getViewContentElementAccess().getAlternatives(), "rule__ViewContentElement__Alternatives"); + mappings.put(grammarAccess.getViewActionAccess().getAlternatives(), "rule__ViewAction__Alternatives"); + mappings.put(grammarAccess.getTableViewStyleAccess().getAlternatives(), "rule__TableViewStyle__Alternatives"); + mappings.put(grammarAccess.getCellTypeAccess().getAlternatives(), "rule__CellType__Alternatives"); + mappings.put(grammarAccess.getCellAccessoryAccess().getAlternatives(), "rule__CellAccessory__Alternatives"); + mappings.put(grammarAccess.getTypeDescriptionAccess().getGroup(), "rule__TypeDescription__Group__0"); + mappings.put(grammarAccess.getParameterAccess().getGroup(), "rule__Parameter__Group__0"); + mappings.put(grammarAccess.getObjectReferenceAccess().getGroup(), "rule__ObjectReference__Group__0"); + mappings.put(grammarAccess.getNestedObjectReferenceAccess().getGroup(), "rule__NestedObjectReference__Group__0"); + mappings.put(grammarAccess.getStringFunctionAccess().getGroup_0(), "rule__StringFunction__Group_0__0"); + mappings.put(grammarAccess.getStringFunctionAccess().getGroup_1(), "rule__StringFunction__Group_1__0"); + mappings.put(grammarAccess.getStringFunctionAccess().getGroup_2(), "rule__StringFunction__Group_2__0"); + mappings.put(grammarAccess.getCollectionLiteralAccess().getGroup(), "rule__CollectionLiteral__Group__0"); + mappings.put(grammarAccess.getCollectionLiteralAccess().getGroup_2(), "rule__CollectionLiteral__Group_2__0"); + mappings.put(grammarAccess.getCollectionFunctionAccess().getGroup(), "rule__CollectionFunction__Group__0"); + mappings.put(grammarAccess.getTableViewAccess().getGroup(), "rule__TableView__Group__0"); + mappings.put(grammarAccess.getTableViewAccess().getGroup_2(), "rule__TableView__Group_2__0"); + mappings.put(grammarAccess.getTableViewAccess().getGroup_4_0(), "rule__TableView__Group_4_0__0"); + mappings.put(grammarAccess.getTableViewAccess().getGroup_4_1(), "rule__TableView__Group_4_1__0"); + mappings.put(grammarAccess.getTableViewAccess().getGroup_4_2(), "rule__TableView__Group_4_2__0"); + mappings.put(grammarAccess.getSectionAccess().getGroup(), "rule__Section__Group__0"); + mappings.put(grammarAccess.getSectionAccess().getGroup_3(), "rule__Section__Group_3__0"); + mappings.put(grammarAccess.getCellAccess().getGroup(), "rule__Cell__Group__0"); + mappings.put(grammarAccess.getCellAccess().getGroup_4_0(), "rule__Cell__Group_4_0__0"); + mappings.put(grammarAccess.getCellAccess().getGroup_4_1(), "rule__Cell__Group_4_1__0"); + mappings.put(grammarAccess.getCellAccess().getGroup_4_2(), "rule__Cell__Group_4_2__0"); + mappings.put(grammarAccess.getCellAccess().getGroup_4_3(), "rule__Cell__Group_4_3__0"); + mappings.put(grammarAccess.getCellAccess().getGroup_4_4(), "rule__Cell__Group_4_4__0"); + mappings.put(grammarAccess.getCollectionIteratorAccess().getGroup(), "rule__CollectionIterator__Group__0"); + mappings.put(grammarAccess.getSelectorNameAccess().getGroup(), "rule__SelectorName__Group__0"); + mappings.put(grammarAccess.getSelectorNameAccess().getGroup_1(), "rule__SelectorName__Group_1__0"); + mappings.put(grammarAccess.getSelectorAccess().getGroup(), "rule__Selector__Group__0"); + mappings.put(grammarAccess.getModelAccess().getElementsAssignment(), "rule__Model__ElementsAssignment"); + mappings.put(grammarAccess.getTypeDescriptionAccess().getTypeAssignment_0(), "rule__TypeDescription__TypeAssignment_0"); + mappings.put(grammarAccess.getTypeDescriptionAccess().getManyAssignment_1(), "rule__TypeDescription__ManyAssignment_1"); + mappings.put(grammarAccess.getParameterAccess().getDescriptionAssignment_0(), "rule__Parameter__DescriptionAssignment_0"); + mappings.put(grammarAccess.getParameterAccess().getNameAssignment_1(), "rule__Parameter__NameAssignment_1"); + mappings.put(grammarAccess.getObjectReferenceAccess().getObjectAssignment_0(), "rule__ObjectReference__ObjectAssignment_0"); + mappings.put(grammarAccess.getObjectReferenceAccess().getTailAssignment_1(), "rule__ObjectReference__TailAssignment_1"); + mappings.put(grammarAccess.getNestedObjectReferenceAccess().getObjectAssignment_1(), "rule__NestedObjectReference__ObjectAssignment_1"); + mappings.put(grammarAccess.getNestedObjectReferenceAccess().getTailAssignment_2(), "rule__NestedObjectReference__TailAssignment_2"); + mappings.put(grammarAccess.getStringLiteralAccess().getValueAssignment(), "rule__StringLiteral__ValueAssignment"); + mappings.put(grammarAccess.getStringFunctionAccess().getValuesAssignment_0_2(), "rule__StringFunction__ValuesAssignment_0_2"); + mappings.put(grammarAccess.getStringFunctionAccess().getValueAssignment_1_2(), "rule__StringFunction__ValueAssignment_1_2"); + mappings.put(grammarAccess.getStringFunctionAccess().getMatchAssignment_1_4(), "rule__StringFunction__MatchAssignment_1_4"); + mappings.put(grammarAccess.getStringFunctionAccess().getReplacementAssignment_1_6(), "rule__StringFunction__ReplacementAssignment_1_6"); + mappings.put(grammarAccess.getStringFunctionAccess().getValueAssignment_2_2(), "rule__StringFunction__ValueAssignment_2_2"); + mappings.put(grammarAccess.getCollectionLiteralAccess().getItemsAssignment_1(), "rule__CollectionLiteral__ItemsAssignment_1"); + mappings.put(grammarAccess.getCollectionLiteralAccess().getItemsAssignment_2_1(), "rule__CollectionLiteral__ItemsAssignment_2_1"); + mappings.put(grammarAccess.getCollectionFunctionAccess().getValueAssignment_2(), "rule__CollectionFunction__ValueAssignment_2"); + mappings.put(grammarAccess.getCollectionFunctionAccess().getDelimiterAssignment_4(), "rule__CollectionFunction__DelimiterAssignment_4"); + mappings.put(grammarAccess.getTableViewAccess().getNameAssignment_1(), "rule__TableView__NameAssignment_1"); + mappings.put(grammarAccess.getTableViewAccess().getContentAssignment_2_1(), "rule__TableView__ContentAssignment_2_1"); + mappings.put(grammarAccess.getTableViewAccess().getTitleAssignment_4_0_1(), "rule__TableView__TitleAssignment_4_0_1"); + mappings.put(grammarAccess.getTableViewAccess().getTitleImageAssignment_4_1_1(), "rule__TableView__TitleImageAssignment_4_1_1"); + mappings.put(grammarAccess.getTableViewAccess().getStyleAssignment_4_2_1(), "rule__TableView__StyleAssignment_4_2_1"); + mappings.put(grammarAccess.getTableViewAccess().getSectionsAssignment_5(), "rule__TableView__SectionsAssignment_5"); + mappings.put(grammarAccess.getSectionAccess().getIteratorAssignment_1(), "rule__Section__IteratorAssignment_1"); + mappings.put(grammarAccess.getSectionAccess().getTitleAssignment_3_1(), "rule__Section__TitleAssignment_3_1"); + mappings.put(grammarAccess.getSectionAccess().getCellsAssignment_4(), "rule__Section__CellsAssignment_4"); + mappings.put(grammarAccess.getCellAccess().getTypeAssignment_1(), "rule__Cell__TypeAssignment_1"); + mappings.put(grammarAccess.getCellAccess().getIteratorAssignment_2(), "rule__Cell__IteratorAssignment_2"); + mappings.put(grammarAccess.getCellAccess().getTextAssignment_4_0_1(), "rule__Cell__TextAssignment_4_0_1"); + mappings.put(grammarAccess.getCellAccess().getDetailsAssignment_4_1_1(), "rule__Cell__DetailsAssignment_4_1_1"); + mappings.put(grammarAccess.getCellAccess().getImageAssignment_4_2_1(), "rule__Cell__ImageAssignment_4_2_1"); + mappings.put(grammarAccess.getCellAccess().getActionAssignment_4_3_1(), "rule__Cell__ActionAssignment_4_3_1"); + mappings.put(grammarAccess.getCellAccess().getAccessoryAssignment_4_4_1(), "rule__Cell__AccessoryAssignment_4_4_1"); + mappings.put(grammarAccess.getCollectionIteratorAccess().getNameAssignment_1(), "rule__CollectionIterator__NameAssignment_1"); + mappings.put(grammarAccess.getCollectionIteratorAccess().getCollectionAssignment_3(), "rule__CollectionIterator__CollectionAssignment_3"); + mappings.put(grammarAccess.getSelectorAccess().getNameAssignment_2(), "rule__Selector__NameAssignment_2"); + mappings.put(grammarAccess.getExternalOpenAccess().getUrlAssignment(), "rule__ExternalOpen__UrlAssignment"); + mappings.put(grammarAccess.getTableViewAccess().getUnorderedGroup_4(), "rule__TableView__UnorderedGroup_4"); + mappings.put(grammarAccess.getCellAccess().getUnorderedGroup_4(), "rule__Cell__UnorderedGroup_4"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug347012TestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug347012TestLanguageParser.java index f0a8b9eaeac..2be7b06a3e1 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug347012TestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug347012TestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,52 +26,52 @@ public static final class NameMappings { @Inject public NameMappings(Bug347012TestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, Bug347012TestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getVirtualSemiAccess().getAlternatives(), "rule__VirtualSemi__Alternatives"); - builder.put(grammarAccess.getLiteralAccess().getAlternatives(), "rule__Literal__Alternatives"); - builder.put(grammarAccess.getMyPrimaryAccess().getAlternatives(), "rule__MyPrimary__Alternatives"); - builder.put(grammarAccess.getMyAttributeAccess().getAlternatives(), "rule__MyAttribute__Alternatives"); - builder.put(grammarAccess.getMyProgramAccess().getGroup(), "rule__MyProgram__Group__0"); - builder.put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); - builder.put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); - builder.put(grammarAccess.getMyPackageAccess().getGroup(), "rule__MyPackage__Group__0"); - builder.put(grammarAccess.getMyPackageAccess().getGroup_6(), "rule__MyPackage__Group_6__0"); - builder.put(grammarAccess.getMyClassAccess().getGroup(), "rule__MyClass__Group__0"); - builder.put(grammarAccess.getMyClassAccess().getGroup_7(), "rule__MyClass__Group_7__0"); - builder.put(grammarAccess.getMyAttributesAccess().getGroup(), "rule__MyAttributes__Group__0"); - builder.put(grammarAccess.getMyFieldAccess().getGroup(), "rule__MyField__Group__0"); - builder.put(grammarAccess.getMyFieldAccess().getGroup_4(), "rule__MyField__Group_4__0"); - builder.put(grammarAccess.getMyBindingAccess().getGroup(), "rule__MyBinding__Group__0"); - builder.put(grammarAccess.getMyBindingAccess().getGroup_1(), "rule__MyBinding__Group_1__0"); - builder.put(grammarAccess.getMyBindingAccess().getGroup_2(), "rule__MyBinding__Group_2__0"); - builder.put(grammarAccess.getMyProgramAccess().getPackageAssignment_2(), "rule__MyProgram__PackageAssignment_2"); - builder.put(grammarAccess.getIdentifierAccess().getNameAssignment(), "rule__Identifier__NameAssignment"); - builder.put(grammarAccess.getLiteralAccess().getNumAssignment_0(), "rule__Literal__NumAssignment_0"); - builder.put(grammarAccess.getLiteralAccess().getStrAssignment_1(), "rule__Literal__StrAssignment_1"); - builder.put(grammarAccess.getLiteralAccess().getBoolAssignment_2(), "rule__Literal__BoolAssignment_2"); - builder.put(grammarAccess.getLiteralAccess().getBoolAssignment_3(), "rule__Literal__BoolAssignment_3"); - builder.put(grammarAccess.getMyPackageAccess().getNameAssignment_2(), "rule__MyPackage__NameAssignment_2"); - builder.put(grammarAccess.getMyPackageAccess().getDirectivesAssignment_6_0(), "rule__MyPackage__DirectivesAssignment_6_0"); - builder.put(grammarAccess.getMyClassAccess().getNameAssignment_3(), "rule__MyClass__NameAssignment_3"); - builder.put(grammarAccess.getMyClassAccess().getDirectivesAssignment_7_0(), "rule__MyClass__DirectivesAssignment_7_0"); - builder.put(grammarAccess.getMyAttributeAccess().getPUBLICAssignment_0(), "rule__MyAttribute__PUBLICAssignment_0"); - builder.put(grammarAccess.getMyAttributeAccess().getPRIVATEAssignment_1(), "rule__MyAttribute__PRIVATEAssignment_1"); - builder.put(grammarAccess.getMyAttributesAccess().getAttributesAssignment_1(), "rule__MyAttributes__AttributesAssignment_1"); - builder.put(grammarAccess.getMyFieldAccess().getAttrAssignment_0(), "rule__MyField__AttrAssignment_0"); - builder.put(grammarAccess.getMyFieldAccess().getBindingsAssignment_3(), "rule__MyField__BindingsAssignment_3"); - builder.put(grammarAccess.getMyFieldAccess().getBindingsAssignment_4_3(), "rule__MyField__BindingsAssignment_4_3"); - builder.put(grammarAccess.getMyBindingAccess().getNameAssignment_0(), "rule__MyBinding__NameAssignment_0"); - builder.put(grammarAccess.getMyBindingAccess().getTypeAssignment_1_3(), "rule__MyBinding__TypeAssignment_1_3"); - builder.put(grammarAccess.getMyBindingAccess().getExpressionAssignment_2_3(), "rule__MyBinding__ExpressionAssignment_2_3"); + private static void init(Map mappings, Bug347012TestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getVirtualSemiAccess().getAlternatives(), "rule__VirtualSemi__Alternatives"); + mappings.put(grammarAccess.getLiteralAccess().getAlternatives(), "rule__Literal__Alternatives"); + mappings.put(grammarAccess.getMyPrimaryAccess().getAlternatives(), "rule__MyPrimary__Alternatives"); + mappings.put(grammarAccess.getMyAttributeAccess().getAlternatives(), "rule__MyAttribute__Alternatives"); + mappings.put(grammarAccess.getMyProgramAccess().getGroup(), "rule__MyProgram__Group__0"); + mappings.put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); + mappings.put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); + mappings.put(grammarAccess.getMyPackageAccess().getGroup(), "rule__MyPackage__Group__0"); + mappings.put(grammarAccess.getMyPackageAccess().getGroup_6(), "rule__MyPackage__Group_6__0"); + mappings.put(grammarAccess.getMyClassAccess().getGroup(), "rule__MyClass__Group__0"); + mappings.put(grammarAccess.getMyClassAccess().getGroup_7(), "rule__MyClass__Group_7__0"); + mappings.put(grammarAccess.getMyAttributesAccess().getGroup(), "rule__MyAttributes__Group__0"); + mappings.put(grammarAccess.getMyFieldAccess().getGroup(), "rule__MyField__Group__0"); + mappings.put(grammarAccess.getMyFieldAccess().getGroup_4(), "rule__MyField__Group_4__0"); + mappings.put(grammarAccess.getMyBindingAccess().getGroup(), "rule__MyBinding__Group__0"); + mappings.put(grammarAccess.getMyBindingAccess().getGroup_1(), "rule__MyBinding__Group_1__0"); + mappings.put(grammarAccess.getMyBindingAccess().getGroup_2(), "rule__MyBinding__Group_2__0"); + mappings.put(grammarAccess.getMyProgramAccess().getPackageAssignment_2(), "rule__MyProgram__PackageAssignment_2"); + mappings.put(grammarAccess.getIdentifierAccess().getNameAssignment(), "rule__Identifier__NameAssignment"); + mappings.put(grammarAccess.getLiteralAccess().getNumAssignment_0(), "rule__Literal__NumAssignment_0"); + mappings.put(grammarAccess.getLiteralAccess().getStrAssignment_1(), "rule__Literal__StrAssignment_1"); + mappings.put(grammarAccess.getLiteralAccess().getBoolAssignment_2(), "rule__Literal__BoolAssignment_2"); + mappings.put(grammarAccess.getLiteralAccess().getBoolAssignment_3(), "rule__Literal__BoolAssignment_3"); + mappings.put(grammarAccess.getMyPackageAccess().getNameAssignment_2(), "rule__MyPackage__NameAssignment_2"); + mappings.put(grammarAccess.getMyPackageAccess().getDirectivesAssignment_6_0(), "rule__MyPackage__DirectivesAssignment_6_0"); + mappings.put(grammarAccess.getMyClassAccess().getNameAssignment_3(), "rule__MyClass__NameAssignment_3"); + mappings.put(grammarAccess.getMyClassAccess().getDirectivesAssignment_7_0(), "rule__MyClass__DirectivesAssignment_7_0"); + mappings.put(grammarAccess.getMyAttributeAccess().getPUBLICAssignment_0(), "rule__MyAttribute__PUBLICAssignment_0"); + mappings.put(grammarAccess.getMyAttributeAccess().getPRIVATEAssignment_1(), "rule__MyAttribute__PRIVATEAssignment_1"); + mappings.put(grammarAccess.getMyAttributesAccess().getAttributesAssignment_1(), "rule__MyAttributes__AttributesAssignment_1"); + mappings.put(grammarAccess.getMyFieldAccess().getAttrAssignment_0(), "rule__MyField__AttrAssignment_0"); + mappings.put(grammarAccess.getMyFieldAccess().getBindingsAssignment_3(), "rule__MyField__BindingsAssignment_3"); + mappings.put(grammarAccess.getMyFieldAccess().getBindingsAssignment_4_3(), "rule__MyField__BindingsAssignment_4_3"); + mappings.put(grammarAccess.getMyBindingAccess().getNameAssignment_0(), "rule__MyBinding__NameAssignment_0"); + mappings.put(grammarAccess.getMyBindingAccess().getTypeAssignment_1_3(), "rule__MyBinding__TypeAssignment_1_3"); + mappings.put(grammarAccess.getMyBindingAccess().getExpressionAssignment_2_3(), "rule__MyBinding__ExpressionAssignment_2_3"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug348199TestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug348199TestLanguageParser.java index 4973d2692da..338cef673c9 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug348199TestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug348199TestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,120 +26,120 @@ public static final class NameMappings { @Inject public NameMappings(Bug348199TestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, Bug348199TestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getTimeperiodAccess().getAlternatives_3(), "rule__Timeperiod__Alternatives_3"); - builder.put(grammarAccess.getTimeperiodAccess().getAlternatives_3_1_3(), "rule__Timeperiod__Alternatives_3_1_3"); - builder.put(grammarAccess.getTimeperiodAccess().getAlternatives_3_2_3(), "rule__Timeperiod__Alternatives_3_2_3"); - builder.put(grammarAccess.getTimeperiodAccess().getAlternatives_3_3_3(), "rule__Timeperiod__Alternatives_3_3_3"); - builder.put(grammarAccess.getTimeperiodAccess().getAlternatives_3_5_4(), "rule__Timeperiod__Alternatives_3_5_4"); - builder.put(grammarAccess.getTimeperiodAccess().getAlternatives_3_6_4(), "rule__Timeperiod__Alternatives_3_6_4"); - builder.put(grammarAccess.getTimeperiodAccess().getAlternatives_3_7_4(), "rule__Timeperiod__Alternatives_3_7_4"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup(), "rule__Timeperiod__Group__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_0(), "rule__Timeperiod__Group_3_0__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_0_2(), "rule__Timeperiod__Group_3_0_2__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_0_3_0(), "rule__Timeperiod__Group_3_0_3_0__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_0_3_0_3(), "rule__Timeperiod__Group_3_0_3_0_3__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_0_3_1(), "rule__Timeperiod__Group_3_0_3_1__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_0_3_1_3(), "rule__Timeperiod__Group_3_0_3_1_3__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_1(), "rule__Timeperiod__Group_3_1__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_1_2(), "rule__Timeperiod__Group_3_1_2__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_1_3_0(), "rule__Timeperiod__Group_3_1_3_0__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_1_3_0_3(), "rule__Timeperiod__Group_3_1_3_0_3__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_1_3_1(), "rule__Timeperiod__Group_3_1_3_1__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_1_3_1_3(), "rule__Timeperiod__Group_3_1_3_1_3__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_2(), "rule__Timeperiod__Group_3_2__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_2_2(), "rule__Timeperiod__Group_3_2_2__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_2_3_0(), "rule__Timeperiod__Group_3_2_3_0__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_2_3_0_3(), "rule__Timeperiod__Group_3_2_3_0_3__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_2_3_1(), "rule__Timeperiod__Group_3_2_3_1__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_2_3_1_3(), "rule__Timeperiod__Group_3_2_3_1_3__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_3(), "rule__Timeperiod__Group_3_3__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_3_2(), "rule__Timeperiod__Group_3_3_2__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_3_3_0(), "rule__Timeperiod__Group_3_3_3_0__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_3_3_0_3(), "rule__Timeperiod__Group_3_3_3_0_3__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_3_3_1(), "rule__Timeperiod__Group_3_3_3_1__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_3_3_1_3(), "rule__Timeperiod__Group_3_3_3_1_3__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_4(), "rule__Timeperiod__Group_3_4__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_4_3(), "rule__Timeperiod__Group_3_4_3__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_4_4_0(), "rule__Timeperiod__Group_3_4_4_0__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_4_4_0_3(), "rule__Timeperiod__Group_3_4_4_0_3__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_4_4_1(), "rule__Timeperiod__Group_3_4_4_1__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_4_4_1_3(), "rule__Timeperiod__Group_3_4_4_1_3__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_5(), "rule__Timeperiod__Group_3_5__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_5_3(), "rule__Timeperiod__Group_3_5_3__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_5_4_0(), "rule__Timeperiod__Group_3_5_4_0__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_5_4_0_3(), "rule__Timeperiod__Group_3_5_4_0_3__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_5_4_1(), "rule__Timeperiod__Group_3_5_4_1__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_5_4_1_3(), "rule__Timeperiod__Group_3_5_4_1_3__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_6(), "rule__Timeperiod__Group_3_6__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_6_3(), "rule__Timeperiod__Group_3_6_3__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_6_4_0(), "rule__Timeperiod__Group_3_6_4_0__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_6_4_0_3(), "rule__Timeperiod__Group_3_6_4_0_3__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_6_4_1(), "rule__Timeperiod__Group_3_6_4_1__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_6_4_1_3(), "rule__Timeperiod__Group_3_6_4_1_3__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_7(), "rule__Timeperiod__Group_3_7__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_7_3(), "rule__Timeperiod__Group_3_7_3__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_7_4_0(), "rule__Timeperiod__Group_3_7_4_0__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_7_4_0_3(), "rule__Timeperiod__Group_3_7_4_0_3__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_7_4_1(), "rule__Timeperiod__Group_3_7_4_1__0"); - builder.put(grammarAccess.getTimeperiodAccess().getGroup_3_7_4_1_3(), "rule__Timeperiod__Group_3_7_4_1_3__0"); - builder.put(grammarAccess.getTimeDef1Access().getGroup(), "rule__TimeDef1__Group__0"); - builder.put(grammarAccess.getTimeDef2Access().getGroup(), "rule__TimeDef2__Group__0"); - builder.put(grammarAccess.getTimeDef3Access().getGroup(), "rule__TimeDef3__Group__0"); - builder.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_0_2_1(), "rule__Timeperiod__TimeAssignment_3_0_2_1"); - builder.put(grammarAccess.getTimeperiodAccess().getNameAssignment_3_0_3_0_2(), "rule__Timeperiod__NameAssignment_3_0_3_0_2"); - builder.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_0_3_0_3_1(), "rule__Timeperiod__TimeAssignment_3_0_3_0_3_1"); - builder.put(grammarAccess.getTimeperiodAccess().getAliasAssignment_3_0_3_1_2(), "rule__Timeperiod__AliasAssignment_3_0_3_1_2"); - builder.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_0_3_1_3_1(), "rule__Timeperiod__TimeAssignment_3_0_3_1_3_1"); - builder.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_1_2_1(), "rule__Timeperiod__TimeAssignment_3_1_2_1"); - builder.put(grammarAccess.getTimeperiodAccess().getNameAssignment_3_1_3_0_2(), "rule__Timeperiod__NameAssignment_3_1_3_0_2"); - builder.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_1_3_0_3_1(), "rule__Timeperiod__TimeAssignment_3_1_3_0_3_1"); - builder.put(grammarAccess.getTimeperiodAccess().getAliasAssignment_3_1_3_1_2(), "rule__Timeperiod__AliasAssignment_3_1_3_1_2"); - builder.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_1_3_1_3_1(), "rule__Timeperiod__TimeAssignment_3_1_3_1_3_1"); - builder.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_2_2_1(), "rule__Timeperiod__TimeAssignment_3_2_2_1"); - builder.put(grammarAccess.getTimeperiodAccess().getNameAssignment_3_2_3_0_2(), "rule__Timeperiod__NameAssignment_3_2_3_0_2"); - builder.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_2_3_0_3_1(), "rule__Timeperiod__TimeAssignment_3_2_3_0_3_1"); - builder.put(grammarAccess.getTimeperiodAccess().getAliasAssignment_3_2_3_1_2(), "rule__Timeperiod__AliasAssignment_3_2_3_1_2"); - builder.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_2_3_1_3_1(), "rule__Timeperiod__TimeAssignment_3_2_3_1_3_1"); - builder.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_3_2_1(), "rule__Timeperiod__TimeAssignment_3_3_2_1"); - builder.put(grammarAccess.getTimeperiodAccess().getNameAssignment_3_3_3_0_2(), "rule__Timeperiod__NameAssignment_3_3_3_0_2"); - builder.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_3_3_0_3_1(), "rule__Timeperiod__TimeAssignment_3_3_3_0_3_1"); - builder.put(grammarAccess.getTimeperiodAccess().getAliasAssignment_3_3_3_1_2(), "rule__Timeperiod__AliasAssignment_3_3_3_1_2"); - builder.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_3_3_1_3_1(), "rule__Timeperiod__TimeAssignment_3_3_3_1_3_1"); - builder.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_4_3_0(), "rule__Timeperiod__TimeAssignment_3_4_3_0"); - builder.put(grammarAccess.getTimeperiodAccess().getNameAssignment_3_4_4_0_1(), "rule__Timeperiod__NameAssignment_3_4_4_0_1"); - builder.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_4_4_0_3_0(), "rule__Timeperiod__TimeAssignment_3_4_4_0_3_0"); - builder.put(grammarAccess.getTimeperiodAccess().getAliasAssignment_3_4_4_1_1(), "rule__Timeperiod__AliasAssignment_3_4_4_1_1"); - builder.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_4_4_1_3_0(), "rule__Timeperiod__TimeAssignment_3_4_4_1_3_0"); - builder.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_5_3_0(), "rule__Timeperiod__TimeAssignment_3_5_3_0"); - builder.put(grammarAccess.getTimeperiodAccess().getNameAssignment_3_5_4_0_1(), "rule__Timeperiod__NameAssignment_3_5_4_0_1"); - builder.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_5_4_0_3_0(), "rule__Timeperiod__TimeAssignment_3_5_4_0_3_0"); - builder.put(grammarAccess.getTimeperiodAccess().getAliasAssignment_3_5_4_1_1(), "rule__Timeperiod__AliasAssignment_3_5_4_1_1"); - builder.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_5_4_1_3_0(), "rule__Timeperiod__TimeAssignment_3_5_4_1_3_0"); - builder.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_6_3_0(), "rule__Timeperiod__TimeAssignment_3_6_3_0"); - builder.put(grammarAccess.getTimeperiodAccess().getNameAssignment_3_6_4_0_1(), "rule__Timeperiod__NameAssignment_3_6_4_0_1"); - builder.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_6_4_0_3_0(), "rule__Timeperiod__TimeAssignment_3_6_4_0_3_0"); - builder.put(grammarAccess.getTimeperiodAccess().getAliasAssignment_3_6_4_1_1(), "rule__Timeperiod__AliasAssignment_3_6_4_1_1"); - builder.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_6_4_1_3_0(), "rule__Timeperiod__TimeAssignment_3_6_4_1_3_0"); - builder.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_7_3_0(), "rule__Timeperiod__TimeAssignment_3_7_3_0"); - builder.put(grammarAccess.getTimeperiodAccess().getNameAssignment_3_7_4_0_1(), "rule__Timeperiod__NameAssignment_3_7_4_0_1"); - builder.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_7_4_0_3_0(), "rule__Timeperiod__TimeAssignment_3_7_4_0_3_0"); - builder.put(grammarAccess.getTimeperiodAccess().getAliasAssignment_3_7_4_1_1(), "rule__Timeperiod__AliasAssignment_3_7_4_1_1"); - builder.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_7_4_1_3_0(), "rule__Timeperiod__TimeAssignment_3_7_4_1_3_0"); - builder.put(grammarAccess.getTimeDef1Access().getDayAssignment_1(), "rule__TimeDef1__DayAssignment_1"); - builder.put(grammarAccess.getTimeDef2Access().getDayAssignment_1(), "rule__TimeDef2__DayAssignment_1"); - builder.put(grammarAccess.getTimeDef3Access().getDayAssignment_1(), "rule__TimeDef3__DayAssignment_1"); - builder.put(grammarAccess.getTimeperiodAccess().getUnorderedGroup_3_0_3(), "rule__Timeperiod__UnorderedGroup_3_0_3"); - builder.put(grammarAccess.getTimeperiodAccess().getUnorderedGroup_3_4_4(), "rule__Timeperiod__UnorderedGroup_3_4_4"); + private static void init(Map mappings, Bug348199TestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getTimeperiodAccess().getAlternatives_3(), "rule__Timeperiod__Alternatives_3"); + mappings.put(grammarAccess.getTimeperiodAccess().getAlternatives_3_1_3(), "rule__Timeperiod__Alternatives_3_1_3"); + mappings.put(grammarAccess.getTimeperiodAccess().getAlternatives_3_2_3(), "rule__Timeperiod__Alternatives_3_2_3"); + mappings.put(grammarAccess.getTimeperiodAccess().getAlternatives_3_3_3(), "rule__Timeperiod__Alternatives_3_3_3"); + mappings.put(grammarAccess.getTimeperiodAccess().getAlternatives_3_5_4(), "rule__Timeperiod__Alternatives_3_5_4"); + mappings.put(grammarAccess.getTimeperiodAccess().getAlternatives_3_6_4(), "rule__Timeperiod__Alternatives_3_6_4"); + mappings.put(grammarAccess.getTimeperiodAccess().getAlternatives_3_7_4(), "rule__Timeperiod__Alternatives_3_7_4"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup(), "rule__Timeperiod__Group__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_0(), "rule__Timeperiod__Group_3_0__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_0_2(), "rule__Timeperiod__Group_3_0_2__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_0_3_0(), "rule__Timeperiod__Group_3_0_3_0__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_0_3_0_3(), "rule__Timeperiod__Group_3_0_3_0_3__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_0_3_1(), "rule__Timeperiod__Group_3_0_3_1__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_0_3_1_3(), "rule__Timeperiod__Group_3_0_3_1_3__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_1(), "rule__Timeperiod__Group_3_1__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_1_2(), "rule__Timeperiod__Group_3_1_2__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_1_3_0(), "rule__Timeperiod__Group_3_1_3_0__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_1_3_0_3(), "rule__Timeperiod__Group_3_1_3_0_3__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_1_3_1(), "rule__Timeperiod__Group_3_1_3_1__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_1_3_1_3(), "rule__Timeperiod__Group_3_1_3_1_3__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_2(), "rule__Timeperiod__Group_3_2__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_2_2(), "rule__Timeperiod__Group_3_2_2__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_2_3_0(), "rule__Timeperiod__Group_3_2_3_0__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_2_3_0_3(), "rule__Timeperiod__Group_3_2_3_0_3__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_2_3_1(), "rule__Timeperiod__Group_3_2_3_1__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_2_3_1_3(), "rule__Timeperiod__Group_3_2_3_1_3__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_3(), "rule__Timeperiod__Group_3_3__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_3_2(), "rule__Timeperiod__Group_3_3_2__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_3_3_0(), "rule__Timeperiod__Group_3_3_3_0__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_3_3_0_3(), "rule__Timeperiod__Group_3_3_3_0_3__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_3_3_1(), "rule__Timeperiod__Group_3_3_3_1__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_3_3_1_3(), "rule__Timeperiod__Group_3_3_3_1_3__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_4(), "rule__Timeperiod__Group_3_4__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_4_3(), "rule__Timeperiod__Group_3_4_3__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_4_4_0(), "rule__Timeperiod__Group_3_4_4_0__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_4_4_0_3(), "rule__Timeperiod__Group_3_4_4_0_3__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_4_4_1(), "rule__Timeperiod__Group_3_4_4_1__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_4_4_1_3(), "rule__Timeperiod__Group_3_4_4_1_3__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_5(), "rule__Timeperiod__Group_3_5__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_5_3(), "rule__Timeperiod__Group_3_5_3__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_5_4_0(), "rule__Timeperiod__Group_3_5_4_0__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_5_4_0_3(), "rule__Timeperiod__Group_3_5_4_0_3__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_5_4_1(), "rule__Timeperiod__Group_3_5_4_1__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_5_4_1_3(), "rule__Timeperiod__Group_3_5_4_1_3__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_6(), "rule__Timeperiod__Group_3_6__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_6_3(), "rule__Timeperiod__Group_3_6_3__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_6_4_0(), "rule__Timeperiod__Group_3_6_4_0__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_6_4_0_3(), "rule__Timeperiod__Group_3_6_4_0_3__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_6_4_1(), "rule__Timeperiod__Group_3_6_4_1__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_6_4_1_3(), "rule__Timeperiod__Group_3_6_4_1_3__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_7(), "rule__Timeperiod__Group_3_7__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_7_3(), "rule__Timeperiod__Group_3_7_3__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_7_4_0(), "rule__Timeperiod__Group_3_7_4_0__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_7_4_0_3(), "rule__Timeperiod__Group_3_7_4_0_3__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_7_4_1(), "rule__Timeperiod__Group_3_7_4_1__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getGroup_3_7_4_1_3(), "rule__Timeperiod__Group_3_7_4_1_3__0"); + mappings.put(grammarAccess.getTimeDef1Access().getGroup(), "rule__TimeDef1__Group__0"); + mappings.put(grammarAccess.getTimeDef2Access().getGroup(), "rule__TimeDef2__Group__0"); + mappings.put(grammarAccess.getTimeDef3Access().getGroup(), "rule__TimeDef3__Group__0"); + mappings.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_0_2_1(), "rule__Timeperiod__TimeAssignment_3_0_2_1"); + mappings.put(grammarAccess.getTimeperiodAccess().getNameAssignment_3_0_3_0_2(), "rule__Timeperiod__NameAssignment_3_0_3_0_2"); + mappings.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_0_3_0_3_1(), "rule__Timeperiod__TimeAssignment_3_0_3_0_3_1"); + mappings.put(grammarAccess.getTimeperiodAccess().getAliasAssignment_3_0_3_1_2(), "rule__Timeperiod__AliasAssignment_3_0_3_1_2"); + mappings.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_0_3_1_3_1(), "rule__Timeperiod__TimeAssignment_3_0_3_1_3_1"); + mappings.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_1_2_1(), "rule__Timeperiod__TimeAssignment_3_1_2_1"); + mappings.put(grammarAccess.getTimeperiodAccess().getNameAssignment_3_1_3_0_2(), "rule__Timeperiod__NameAssignment_3_1_3_0_2"); + mappings.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_1_3_0_3_1(), "rule__Timeperiod__TimeAssignment_3_1_3_0_3_1"); + mappings.put(grammarAccess.getTimeperiodAccess().getAliasAssignment_3_1_3_1_2(), "rule__Timeperiod__AliasAssignment_3_1_3_1_2"); + mappings.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_1_3_1_3_1(), "rule__Timeperiod__TimeAssignment_3_1_3_1_3_1"); + mappings.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_2_2_1(), "rule__Timeperiod__TimeAssignment_3_2_2_1"); + mappings.put(grammarAccess.getTimeperiodAccess().getNameAssignment_3_2_3_0_2(), "rule__Timeperiod__NameAssignment_3_2_3_0_2"); + mappings.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_2_3_0_3_1(), "rule__Timeperiod__TimeAssignment_3_2_3_0_3_1"); + mappings.put(grammarAccess.getTimeperiodAccess().getAliasAssignment_3_2_3_1_2(), "rule__Timeperiod__AliasAssignment_3_2_3_1_2"); + mappings.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_2_3_1_3_1(), "rule__Timeperiod__TimeAssignment_3_2_3_1_3_1"); + mappings.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_3_2_1(), "rule__Timeperiod__TimeAssignment_3_3_2_1"); + mappings.put(grammarAccess.getTimeperiodAccess().getNameAssignment_3_3_3_0_2(), "rule__Timeperiod__NameAssignment_3_3_3_0_2"); + mappings.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_3_3_0_3_1(), "rule__Timeperiod__TimeAssignment_3_3_3_0_3_1"); + mappings.put(grammarAccess.getTimeperiodAccess().getAliasAssignment_3_3_3_1_2(), "rule__Timeperiod__AliasAssignment_3_3_3_1_2"); + mappings.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_3_3_1_3_1(), "rule__Timeperiod__TimeAssignment_3_3_3_1_3_1"); + mappings.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_4_3_0(), "rule__Timeperiod__TimeAssignment_3_4_3_0"); + mappings.put(grammarAccess.getTimeperiodAccess().getNameAssignment_3_4_4_0_1(), "rule__Timeperiod__NameAssignment_3_4_4_0_1"); + mappings.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_4_4_0_3_0(), "rule__Timeperiod__TimeAssignment_3_4_4_0_3_0"); + mappings.put(grammarAccess.getTimeperiodAccess().getAliasAssignment_3_4_4_1_1(), "rule__Timeperiod__AliasAssignment_3_4_4_1_1"); + mappings.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_4_4_1_3_0(), "rule__Timeperiod__TimeAssignment_3_4_4_1_3_0"); + mappings.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_5_3_0(), "rule__Timeperiod__TimeAssignment_3_5_3_0"); + mappings.put(grammarAccess.getTimeperiodAccess().getNameAssignment_3_5_4_0_1(), "rule__Timeperiod__NameAssignment_3_5_4_0_1"); + mappings.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_5_4_0_3_0(), "rule__Timeperiod__TimeAssignment_3_5_4_0_3_0"); + mappings.put(grammarAccess.getTimeperiodAccess().getAliasAssignment_3_5_4_1_1(), "rule__Timeperiod__AliasAssignment_3_5_4_1_1"); + mappings.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_5_4_1_3_0(), "rule__Timeperiod__TimeAssignment_3_5_4_1_3_0"); + mappings.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_6_3_0(), "rule__Timeperiod__TimeAssignment_3_6_3_0"); + mappings.put(grammarAccess.getTimeperiodAccess().getNameAssignment_3_6_4_0_1(), "rule__Timeperiod__NameAssignment_3_6_4_0_1"); + mappings.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_6_4_0_3_0(), "rule__Timeperiod__TimeAssignment_3_6_4_0_3_0"); + mappings.put(grammarAccess.getTimeperiodAccess().getAliasAssignment_3_6_4_1_1(), "rule__Timeperiod__AliasAssignment_3_6_4_1_1"); + mappings.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_6_4_1_3_0(), "rule__Timeperiod__TimeAssignment_3_6_4_1_3_0"); + mappings.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_7_3_0(), "rule__Timeperiod__TimeAssignment_3_7_3_0"); + mappings.put(grammarAccess.getTimeperiodAccess().getNameAssignment_3_7_4_0_1(), "rule__Timeperiod__NameAssignment_3_7_4_0_1"); + mappings.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_7_4_0_3_0(), "rule__Timeperiod__TimeAssignment_3_7_4_0_3_0"); + mappings.put(grammarAccess.getTimeperiodAccess().getAliasAssignment_3_7_4_1_1(), "rule__Timeperiod__AliasAssignment_3_7_4_1_1"); + mappings.put(grammarAccess.getTimeperiodAccess().getTimeAssignment_3_7_4_1_3_0(), "rule__Timeperiod__TimeAssignment_3_7_4_1_3_0"); + mappings.put(grammarAccess.getTimeDef1Access().getDayAssignment_1(), "rule__TimeDef1__DayAssignment_1"); + mappings.put(grammarAccess.getTimeDef2Access().getDayAssignment_1(), "rule__TimeDef2__DayAssignment_1"); + mappings.put(grammarAccess.getTimeDef3Access().getDayAssignment_1(), "rule__TimeDef3__DayAssignment_1"); + mappings.put(grammarAccess.getTimeperiodAccess().getUnorderedGroup_3_0_3(), "rule__Timeperiod__UnorderedGroup_3_0_3"); + mappings.put(grammarAccess.getTimeperiodAccess().getUnorderedGroup_3_4_4(), "rule__Timeperiod__UnorderedGroup_3_4_4"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug348427TestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug348427TestLanguageParser.java index 8e67f9ff9a5..5c219bc4540 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug348427TestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug348427TestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,144 +26,144 @@ public static final class NameMappings { @Inject public NameMappings(Bug348427TestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, Bug348427TestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getModelAccess().getAlternatives(), "rule__Model__Alternatives"); - builder.put(grammarAccess.getScenario1_1Access().getAlternatives_1(), "rule__Scenario1_1__Alternatives_1"); - builder.put(grammarAccess.getScenario1_2Access().getAlternatives_1(), "rule__Scenario1_2__Alternatives_1"); - builder.put(grammarAccess.getScenario1_3Access().getAlternatives_2(), "rule__Scenario1_3__Alternatives_2"); - builder.put(grammarAccess.getScenario1_4Access().getAlternatives_2(), "rule__Scenario1_4__Alternatives_2"); - builder.put(grammarAccess.getScenario2_1Access().getAlternatives_1(), "rule__Scenario2_1__Alternatives_1"); - builder.put(grammarAccess.getScenario2_2Access().getAlternatives_1(), "rule__Scenario2_2__Alternatives_1"); - builder.put(grammarAccess.getScenario2_3Access().getAlternatives_1(), "rule__Scenario2_3__Alternatives_1"); - builder.put(grammarAccess.getScenario2_4Access().getAlternatives_1(), "rule__Scenario2_4__Alternatives_1"); - builder.put(grammarAccess.getScenario2_5Access().getAlternatives_2(), "rule__Scenario2_5__Alternatives_2"); - builder.put(grammarAccess.getScenario2_6Access().getAlternatives_2(), "rule__Scenario2_6__Alternatives_2"); - builder.put(grammarAccess.getScenario2_7Access().getAlternatives_2(), "rule__Scenario2_7__Alternatives_2"); - builder.put(grammarAccess.getScenario2_8Access().getAlternatives_2(), "rule__Scenario2_8__Alternatives_2"); - builder.put(grammarAccess.getChild2_1Access().getStringAlternatives_3_0(), "rule__Child2_1__StringAlternatives_3_0"); - builder.put(grammarAccess.getChild2_2Access().getStringAlternatives_3_0(), "rule__Child2_2__StringAlternatives_3_0"); - builder.put(grammarAccess.getChild2_3Access().getStringAlternatives_3_0(), "rule__Child2_3__StringAlternatives_3_0"); - builder.put(grammarAccess.getChild2_4Access().getAlternatives_3(), "rule__Child2_4__Alternatives_3"); - builder.put(grammarAccess.getChild2_5Access().getAlternatives_3(), "rule__Child2_5__Alternatives_3"); - builder.put(grammarAccess.getChild2_6Access().getAlternatives_3(), "rule__Child2_6__Alternatives_3"); - builder.put(grammarAccess.getEnumTypeAccess().getAlternatives(), "rule__EnumType__Alternatives"); - builder.put(grammarAccess.getScenario1_1Access().getGroup(), "rule__Scenario1_1__Group__0"); - builder.put(grammarAccess.getScenario1_2Access().getGroup(), "rule__Scenario1_2__Group__0"); - builder.put(grammarAccess.getScenario1_3Access().getGroup(), "rule__Scenario1_3__Group__0"); - builder.put(grammarAccess.getScenario1_4Access().getGroup(), "rule__Scenario1_4__Group__0"); - builder.put(grammarAccess.getChild1_1Access().getGroup(), "rule__Child1_1__Group__0"); - builder.put(grammarAccess.getChild1_1Access().getGroup_2(), "rule__Child1_1__Group_2__0"); - builder.put(grammarAccess.getChild1_2Access().getGroup(), "rule__Child1_2__Group__0"); - builder.put(grammarAccess.getChild1_2Access().getGroup_2(), "rule__Child1_2__Group_2__0"); - builder.put(grammarAccess.getChild1_3Access().getGroup(), "rule__Child1_3__Group__0"); - builder.put(grammarAccess.getChild1_3Access().getGroup_2(), "rule__Child1_3__Group_2__0"); - builder.put(grammarAccess.getScenario2_1Access().getGroup(), "rule__Scenario2_1__Group__0"); - builder.put(grammarAccess.getScenario2_2Access().getGroup(), "rule__Scenario2_2__Group__0"); - builder.put(grammarAccess.getScenario2_3Access().getGroup(), "rule__Scenario2_3__Group__0"); - builder.put(grammarAccess.getScenario2_4Access().getGroup(), "rule__Scenario2_4__Group__0"); - builder.put(grammarAccess.getScenario2_5Access().getGroup(), "rule__Scenario2_5__Group__0"); - builder.put(grammarAccess.getScenario2_6Access().getGroup(), "rule__Scenario2_6__Group__0"); - builder.put(grammarAccess.getScenario2_7Access().getGroup(), "rule__Scenario2_7__Group__0"); - builder.put(grammarAccess.getScenario2_8Access().getGroup(), "rule__Scenario2_8__Group__0"); - builder.put(grammarAccess.getChild2_1Access().getGroup(), "rule__Child2_1__Group__0"); - builder.put(grammarAccess.getChild2_1Access().getGroup_2(), "rule__Child2_1__Group_2__0"); - builder.put(grammarAccess.getChild2_2Access().getGroup(), "rule__Child2_2__Group__0"); - builder.put(grammarAccess.getChild2_2Access().getGroup_2(), "rule__Child2_2__Group_2__0"); - builder.put(grammarAccess.getChild2_3Access().getGroup(), "rule__Child2_3__Group__0"); - builder.put(grammarAccess.getChild2_3Access().getGroup_2(), "rule__Child2_3__Group_2__0"); - builder.put(grammarAccess.getChild2_4Access().getGroup(), "rule__Child2_4__Group__0"); - builder.put(grammarAccess.getChild2_4Access().getGroup_2(), "rule__Child2_4__Group_2__0"); - builder.put(grammarAccess.getChild2_5Access().getGroup(), "rule__Child2_5__Group__0"); - builder.put(grammarAccess.getChild2_5Access().getGroup_2(), "rule__Child2_5__Group_2__0"); - builder.put(grammarAccess.getChild2_6Access().getGroup(), "rule__Child2_6__Group__0"); - builder.put(grammarAccess.getChild2_6Access().getGroup_2(), "rule__Child2_6__Group_2__0"); - builder.put(grammarAccess.getModelAccess().getElement1Assignment_0(), "rule__Model__Element1Assignment_0"); - builder.put(grammarAccess.getModelAccess().getElement1Assignment_1(), "rule__Model__Element1Assignment_1"); - builder.put(grammarAccess.getModelAccess().getElement1Assignment_2(), "rule__Model__Element1Assignment_2"); - builder.put(grammarAccess.getModelAccess().getElement1Assignment_3(), "rule__Model__Element1Assignment_3"); - builder.put(grammarAccess.getModelAccess().getElement2Assignment_4(), "rule__Model__Element2Assignment_4"); - builder.put(grammarAccess.getModelAccess().getElement2Assignment_5(), "rule__Model__Element2Assignment_5"); - builder.put(grammarAccess.getModelAccess().getElement2Assignment_6(), "rule__Model__Element2Assignment_6"); - builder.put(grammarAccess.getModelAccess().getElement2Assignment_7(), "rule__Model__Element2Assignment_7"); - builder.put(grammarAccess.getModelAccess().getElement2Assignment_8(), "rule__Model__Element2Assignment_8"); - builder.put(grammarAccess.getModelAccess().getElement2Assignment_9(), "rule__Model__Element2Assignment_9"); - builder.put(grammarAccess.getModelAccess().getElement2Assignment_10(), "rule__Model__Element2Assignment_10"); - builder.put(grammarAccess.getModelAccess().getElement2Assignment_11(), "rule__Model__Element2Assignment_11"); - builder.put(grammarAccess.getScenario1_1Access().getChildAssignment_1_0(), "rule__Scenario1_1__ChildAssignment_1_0"); - builder.put(grammarAccess.getScenario1_1Access().getChildAssignment_1_1(), "rule__Scenario1_1__ChildAssignment_1_1"); - builder.put(grammarAccess.getScenario1_1Access().getChildAssignment_1_2(), "rule__Scenario1_1__ChildAssignment_1_2"); - builder.put(grammarAccess.getScenario1_2Access().getChildAssignment_1_0(), "rule__Scenario1_2__ChildAssignment_1_0"); - builder.put(grammarAccess.getScenario1_2Access().getChildAssignment_1_1(), "rule__Scenario1_2__ChildAssignment_1_1"); - builder.put(grammarAccess.getScenario1_2Access().getChildAssignment_1_2(), "rule__Scenario1_2__ChildAssignment_1_2"); - builder.put(grammarAccess.getScenario1_3Access().getChildAssignment_2_0(), "rule__Scenario1_3__ChildAssignment_2_0"); - builder.put(grammarAccess.getScenario1_3Access().getChildAssignment_2_1(), "rule__Scenario1_3__ChildAssignment_2_1"); - builder.put(grammarAccess.getScenario1_3Access().getChildAssignment_2_2(), "rule__Scenario1_3__ChildAssignment_2_2"); - builder.put(grammarAccess.getScenario1_4Access().getChildAssignment_2_0(), "rule__Scenario1_4__ChildAssignment_2_0"); - builder.put(grammarAccess.getScenario1_4Access().getChildAssignment_2_1(), "rule__Scenario1_4__ChildAssignment_2_1"); - builder.put(grammarAccess.getScenario1_4Access().getChildAssignment_2_2(), "rule__Scenario1_4__ChildAssignment_2_2"); - builder.put(grammarAccess.getChild1_1Access().getNameAssignment_0(), "rule__Child1_1__NameAssignment_0"); - builder.put(grammarAccess.getChild1_1Access().getBoolAssignment_2_0(), "rule__Child1_1__BoolAssignment_2_0"); - builder.put(grammarAccess.getChild1_1Access().getEnumTypeAssignment_3(), "rule__Child1_1__EnumTypeAssignment_3"); - builder.put(grammarAccess.getChild1_2Access().getNameAssignment_0(), "rule__Child1_2__NameAssignment_0"); - builder.put(grammarAccess.getChild1_2Access().getBoolAssignment_2_0(), "rule__Child1_2__BoolAssignment_2_0"); - builder.put(grammarAccess.getChild1_2Access().getEnumTypeAssignment_3(), "rule__Child1_2__EnumTypeAssignment_3"); - builder.put(grammarAccess.getChild1_3Access().getNameAssignment_0(), "rule__Child1_3__NameAssignment_0"); - builder.put(grammarAccess.getChild1_3Access().getBoolAssignment_2_0(), "rule__Child1_3__BoolAssignment_2_0"); - builder.put(grammarAccess.getChild1_3Access().getEnumTypeAssignment_3(), "rule__Child1_3__EnumTypeAssignment_3"); - builder.put(grammarAccess.getScenario2_1Access().getChildAssignment_1_0(), "rule__Scenario2_1__ChildAssignment_1_0"); - builder.put(grammarAccess.getScenario2_1Access().getChildAssignment_1_1(), "rule__Scenario2_1__ChildAssignment_1_1"); - builder.put(grammarAccess.getScenario2_1Access().getChildAssignment_1_2(), "rule__Scenario2_1__ChildAssignment_1_2"); - builder.put(grammarAccess.getScenario2_2Access().getChildAssignment_1_0(), "rule__Scenario2_2__ChildAssignment_1_0"); - builder.put(grammarAccess.getScenario2_2Access().getChildAssignment_1_1(), "rule__Scenario2_2__ChildAssignment_1_1"); - builder.put(grammarAccess.getScenario2_2Access().getChildAssignment_1_2(), "rule__Scenario2_2__ChildAssignment_1_2"); - builder.put(grammarAccess.getScenario2_3Access().getChildAssignment_1_0(), "rule__Scenario2_3__ChildAssignment_1_0"); - builder.put(grammarAccess.getScenario2_3Access().getChildAssignment_1_1(), "rule__Scenario2_3__ChildAssignment_1_1"); - builder.put(grammarAccess.getScenario2_3Access().getChildAssignment_1_2(), "rule__Scenario2_3__ChildAssignment_1_2"); - builder.put(grammarAccess.getScenario2_4Access().getChildAssignment_1_0(), "rule__Scenario2_4__ChildAssignment_1_0"); - builder.put(grammarAccess.getScenario2_4Access().getChildAssignment_1_1(), "rule__Scenario2_4__ChildAssignment_1_1"); - builder.put(grammarAccess.getScenario2_4Access().getChildAssignment_1_2(), "rule__Scenario2_4__ChildAssignment_1_2"); - builder.put(grammarAccess.getScenario2_5Access().getChildAssignment_2_0(), "rule__Scenario2_5__ChildAssignment_2_0"); - builder.put(grammarAccess.getScenario2_5Access().getChildAssignment_2_1(), "rule__Scenario2_5__ChildAssignment_2_1"); - builder.put(grammarAccess.getScenario2_5Access().getChildAssignment_2_2(), "rule__Scenario2_5__ChildAssignment_2_2"); - builder.put(grammarAccess.getScenario2_6Access().getChildAssignment_2_0(), "rule__Scenario2_6__ChildAssignment_2_0"); - builder.put(grammarAccess.getScenario2_6Access().getChildAssignment_2_1(), "rule__Scenario2_6__ChildAssignment_2_1"); - builder.put(grammarAccess.getScenario2_6Access().getChildAssignment_2_2(), "rule__Scenario2_6__ChildAssignment_2_2"); - builder.put(grammarAccess.getScenario2_7Access().getChildAssignment_2_0(), "rule__Scenario2_7__ChildAssignment_2_0"); - builder.put(grammarAccess.getScenario2_7Access().getChildAssignment_2_1(), "rule__Scenario2_7__ChildAssignment_2_1"); - builder.put(grammarAccess.getScenario2_7Access().getChildAssignment_2_2(), "rule__Scenario2_7__ChildAssignment_2_2"); - builder.put(grammarAccess.getScenario2_8Access().getChildAssignment_2_0(), "rule__Scenario2_8__ChildAssignment_2_0"); - builder.put(grammarAccess.getScenario2_8Access().getChildAssignment_2_1(), "rule__Scenario2_8__ChildAssignment_2_1"); - builder.put(grammarAccess.getScenario2_8Access().getChildAssignment_2_2(), "rule__Scenario2_8__ChildAssignment_2_2"); - builder.put(grammarAccess.getChild2_1Access().getNameAssignment_0(), "rule__Child2_1__NameAssignment_0"); - builder.put(grammarAccess.getChild2_1Access().getBoolAssignment_2_0(), "rule__Child2_1__BoolAssignment_2_0"); - builder.put(grammarAccess.getChild2_1Access().getStringAssignment_3(), "rule__Child2_1__StringAssignment_3"); - builder.put(grammarAccess.getChild2_2Access().getNameAssignment_0(), "rule__Child2_2__NameAssignment_0"); - builder.put(grammarAccess.getChild2_2Access().getBoolAssignment_2_0(), "rule__Child2_2__BoolAssignment_2_0"); - builder.put(grammarAccess.getChild2_2Access().getStringAssignment_3(), "rule__Child2_2__StringAssignment_3"); - builder.put(grammarAccess.getChild2_3Access().getNameAssignment_0(), "rule__Child2_3__NameAssignment_0"); - builder.put(grammarAccess.getChild2_3Access().getBoolAssignment_2_0(), "rule__Child2_3__BoolAssignment_2_0"); - builder.put(grammarAccess.getChild2_3Access().getStringAssignment_3(), "rule__Child2_3__StringAssignment_3"); - builder.put(grammarAccess.getChild2_4Access().getNameAssignment_0(), "rule__Child2_4__NameAssignment_0"); - builder.put(grammarAccess.getChild2_4Access().getBoolAssignment_2_0(), "rule__Child2_4__BoolAssignment_2_0"); - builder.put(grammarAccess.getChild2_4Access().getStringAssignment_3_0(), "rule__Child2_4__StringAssignment_3_0"); - builder.put(grammarAccess.getChild2_4Access().getStringAssignment_3_1(), "rule__Child2_4__StringAssignment_3_1"); - builder.put(grammarAccess.getChild2_5Access().getNameAssignment_0(), "rule__Child2_5__NameAssignment_0"); - builder.put(grammarAccess.getChild2_5Access().getBoolAssignment_2_0(), "rule__Child2_5__BoolAssignment_2_0"); - builder.put(grammarAccess.getChild2_5Access().getStringAssignment_3_0(), "rule__Child2_5__StringAssignment_3_0"); - builder.put(grammarAccess.getChild2_5Access().getStringAssignment_3_1(), "rule__Child2_5__StringAssignment_3_1"); - builder.put(grammarAccess.getChild2_6Access().getNameAssignment_0(), "rule__Child2_6__NameAssignment_0"); - builder.put(grammarAccess.getChild2_6Access().getBoolAssignment_2_0(), "rule__Child2_6__BoolAssignment_2_0"); - builder.put(grammarAccess.getChild2_6Access().getStringAssignment_3_0(), "rule__Child2_6__StringAssignment_3_0"); - builder.put(grammarAccess.getChild2_6Access().getStringAssignment_3_1(), "rule__Child2_6__StringAssignment_3_1"); + private static void init(Map mappings, Bug348427TestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getModelAccess().getAlternatives(), "rule__Model__Alternatives"); + mappings.put(grammarAccess.getScenario1_1Access().getAlternatives_1(), "rule__Scenario1_1__Alternatives_1"); + mappings.put(grammarAccess.getScenario1_2Access().getAlternatives_1(), "rule__Scenario1_2__Alternatives_1"); + mappings.put(grammarAccess.getScenario1_3Access().getAlternatives_2(), "rule__Scenario1_3__Alternatives_2"); + mappings.put(grammarAccess.getScenario1_4Access().getAlternatives_2(), "rule__Scenario1_4__Alternatives_2"); + mappings.put(grammarAccess.getScenario2_1Access().getAlternatives_1(), "rule__Scenario2_1__Alternatives_1"); + mappings.put(grammarAccess.getScenario2_2Access().getAlternatives_1(), "rule__Scenario2_2__Alternatives_1"); + mappings.put(grammarAccess.getScenario2_3Access().getAlternatives_1(), "rule__Scenario2_3__Alternatives_1"); + mappings.put(grammarAccess.getScenario2_4Access().getAlternatives_1(), "rule__Scenario2_4__Alternatives_1"); + mappings.put(grammarAccess.getScenario2_5Access().getAlternatives_2(), "rule__Scenario2_5__Alternatives_2"); + mappings.put(grammarAccess.getScenario2_6Access().getAlternatives_2(), "rule__Scenario2_6__Alternatives_2"); + mappings.put(grammarAccess.getScenario2_7Access().getAlternatives_2(), "rule__Scenario2_7__Alternatives_2"); + mappings.put(grammarAccess.getScenario2_8Access().getAlternatives_2(), "rule__Scenario2_8__Alternatives_2"); + mappings.put(grammarAccess.getChild2_1Access().getStringAlternatives_3_0(), "rule__Child2_1__StringAlternatives_3_0"); + mappings.put(grammarAccess.getChild2_2Access().getStringAlternatives_3_0(), "rule__Child2_2__StringAlternatives_3_0"); + mappings.put(grammarAccess.getChild2_3Access().getStringAlternatives_3_0(), "rule__Child2_3__StringAlternatives_3_0"); + mappings.put(grammarAccess.getChild2_4Access().getAlternatives_3(), "rule__Child2_4__Alternatives_3"); + mappings.put(grammarAccess.getChild2_5Access().getAlternatives_3(), "rule__Child2_5__Alternatives_3"); + mappings.put(grammarAccess.getChild2_6Access().getAlternatives_3(), "rule__Child2_6__Alternatives_3"); + mappings.put(grammarAccess.getEnumTypeAccess().getAlternatives(), "rule__EnumType__Alternatives"); + mappings.put(grammarAccess.getScenario1_1Access().getGroup(), "rule__Scenario1_1__Group__0"); + mappings.put(grammarAccess.getScenario1_2Access().getGroup(), "rule__Scenario1_2__Group__0"); + mappings.put(grammarAccess.getScenario1_3Access().getGroup(), "rule__Scenario1_3__Group__0"); + mappings.put(grammarAccess.getScenario1_4Access().getGroup(), "rule__Scenario1_4__Group__0"); + mappings.put(grammarAccess.getChild1_1Access().getGroup(), "rule__Child1_1__Group__0"); + mappings.put(grammarAccess.getChild1_1Access().getGroup_2(), "rule__Child1_1__Group_2__0"); + mappings.put(grammarAccess.getChild1_2Access().getGroup(), "rule__Child1_2__Group__0"); + mappings.put(grammarAccess.getChild1_2Access().getGroup_2(), "rule__Child1_2__Group_2__0"); + mappings.put(grammarAccess.getChild1_3Access().getGroup(), "rule__Child1_3__Group__0"); + mappings.put(grammarAccess.getChild1_3Access().getGroup_2(), "rule__Child1_3__Group_2__0"); + mappings.put(grammarAccess.getScenario2_1Access().getGroup(), "rule__Scenario2_1__Group__0"); + mappings.put(grammarAccess.getScenario2_2Access().getGroup(), "rule__Scenario2_2__Group__0"); + mappings.put(grammarAccess.getScenario2_3Access().getGroup(), "rule__Scenario2_3__Group__0"); + mappings.put(grammarAccess.getScenario2_4Access().getGroup(), "rule__Scenario2_4__Group__0"); + mappings.put(grammarAccess.getScenario2_5Access().getGroup(), "rule__Scenario2_5__Group__0"); + mappings.put(grammarAccess.getScenario2_6Access().getGroup(), "rule__Scenario2_6__Group__0"); + mappings.put(grammarAccess.getScenario2_7Access().getGroup(), "rule__Scenario2_7__Group__0"); + mappings.put(grammarAccess.getScenario2_8Access().getGroup(), "rule__Scenario2_8__Group__0"); + mappings.put(grammarAccess.getChild2_1Access().getGroup(), "rule__Child2_1__Group__0"); + mappings.put(grammarAccess.getChild2_1Access().getGroup_2(), "rule__Child2_1__Group_2__0"); + mappings.put(grammarAccess.getChild2_2Access().getGroup(), "rule__Child2_2__Group__0"); + mappings.put(grammarAccess.getChild2_2Access().getGroup_2(), "rule__Child2_2__Group_2__0"); + mappings.put(grammarAccess.getChild2_3Access().getGroup(), "rule__Child2_3__Group__0"); + mappings.put(grammarAccess.getChild2_3Access().getGroup_2(), "rule__Child2_3__Group_2__0"); + mappings.put(grammarAccess.getChild2_4Access().getGroup(), "rule__Child2_4__Group__0"); + mappings.put(grammarAccess.getChild2_4Access().getGroup_2(), "rule__Child2_4__Group_2__0"); + mappings.put(grammarAccess.getChild2_5Access().getGroup(), "rule__Child2_5__Group__0"); + mappings.put(grammarAccess.getChild2_5Access().getGroup_2(), "rule__Child2_5__Group_2__0"); + mappings.put(grammarAccess.getChild2_6Access().getGroup(), "rule__Child2_6__Group__0"); + mappings.put(grammarAccess.getChild2_6Access().getGroup_2(), "rule__Child2_6__Group_2__0"); + mappings.put(grammarAccess.getModelAccess().getElement1Assignment_0(), "rule__Model__Element1Assignment_0"); + mappings.put(grammarAccess.getModelAccess().getElement1Assignment_1(), "rule__Model__Element1Assignment_1"); + mappings.put(grammarAccess.getModelAccess().getElement1Assignment_2(), "rule__Model__Element1Assignment_2"); + mappings.put(grammarAccess.getModelAccess().getElement1Assignment_3(), "rule__Model__Element1Assignment_3"); + mappings.put(grammarAccess.getModelAccess().getElement2Assignment_4(), "rule__Model__Element2Assignment_4"); + mappings.put(grammarAccess.getModelAccess().getElement2Assignment_5(), "rule__Model__Element2Assignment_5"); + mappings.put(grammarAccess.getModelAccess().getElement2Assignment_6(), "rule__Model__Element2Assignment_6"); + mappings.put(grammarAccess.getModelAccess().getElement2Assignment_7(), "rule__Model__Element2Assignment_7"); + mappings.put(grammarAccess.getModelAccess().getElement2Assignment_8(), "rule__Model__Element2Assignment_8"); + mappings.put(grammarAccess.getModelAccess().getElement2Assignment_9(), "rule__Model__Element2Assignment_9"); + mappings.put(grammarAccess.getModelAccess().getElement2Assignment_10(), "rule__Model__Element2Assignment_10"); + mappings.put(grammarAccess.getModelAccess().getElement2Assignment_11(), "rule__Model__Element2Assignment_11"); + mappings.put(grammarAccess.getScenario1_1Access().getChildAssignment_1_0(), "rule__Scenario1_1__ChildAssignment_1_0"); + mappings.put(grammarAccess.getScenario1_1Access().getChildAssignment_1_1(), "rule__Scenario1_1__ChildAssignment_1_1"); + mappings.put(grammarAccess.getScenario1_1Access().getChildAssignment_1_2(), "rule__Scenario1_1__ChildAssignment_1_2"); + mappings.put(grammarAccess.getScenario1_2Access().getChildAssignment_1_0(), "rule__Scenario1_2__ChildAssignment_1_0"); + mappings.put(grammarAccess.getScenario1_2Access().getChildAssignment_1_1(), "rule__Scenario1_2__ChildAssignment_1_1"); + mappings.put(grammarAccess.getScenario1_2Access().getChildAssignment_1_2(), "rule__Scenario1_2__ChildAssignment_1_2"); + mappings.put(grammarAccess.getScenario1_3Access().getChildAssignment_2_0(), "rule__Scenario1_3__ChildAssignment_2_0"); + mappings.put(grammarAccess.getScenario1_3Access().getChildAssignment_2_1(), "rule__Scenario1_3__ChildAssignment_2_1"); + mappings.put(grammarAccess.getScenario1_3Access().getChildAssignment_2_2(), "rule__Scenario1_3__ChildAssignment_2_2"); + mappings.put(grammarAccess.getScenario1_4Access().getChildAssignment_2_0(), "rule__Scenario1_4__ChildAssignment_2_0"); + mappings.put(grammarAccess.getScenario1_4Access().getChildAssignment_2_1(), "rule__Scenario1_4__ChildAssignment_2_1"); + mappings.put(grammarAccess.getScenario1_4Access().getChildAssignment_2_2(), "rule__Scenario1_4__ChildAssignment_2_2"); + mappings.put(grammarAccess.getChild1_1Access().getNameAssignment_0(), "rule__Child1_1__NameAssignment_0"); + mappings.put(grammarAccess.getChild1_1Access().getBoolAssignment_2_0(), "rule__Child1_1__BoolAssignment_2_0"); + mappings.put(grammarAccess.getChild1_1Access().getEnumTypeAssignment_3(), "rule__Child1_1__EnumTypeAssignment_3"); + mappings.put(grammarAccess.getChild1_2Access().getNameAssignment_0(), "rule__Child1_2__NameAssignment_0"); + mappings.put(grammarAccess.getChild1_2Access().getBoolAssignment_2_0(), "rule__Child1_2__BoolAssignment_2_0"); + mappings.put(grammarAccess.getChild1_2Access().getEnumTypeAssignment_3(), "rule__Child1_2__EnumTypeAssignment_3"); + mappings.put(grammarAccess.getChild1_3Access().getNameAssignment_0(), "rule__Child1_3__NameAssignment_0"); + mappings.put(grammarAccess.getChild1_3Access().getBoolAssignment_2_0(), "rule__Child1_3__BoolAssignment_2_0"); + mappings.put(grammarAccess.getChild1_3Access().getEnumTypeAssignment_3(), "rule__Child1_3__EnumTypeAssignment_3"); + mappings.put(grammarAccess.getScenario2_1Access().getChildAssignment_1_0(), "rule__Scenario2_1__ChildAssignment_1_0"); + mappings.put(grammarAccess.getScenario2_1Access().getChildAssignment_1_1(), "rule__Scenario2_1__ChildAssignment_1_1"); + mappings.put(grammarAccess.getScenario2_1Access().getChildAssignment_1_2(), "rule__Scenario2_1__ChildAssignment_1_2"); + mappings.put(grammarAccess.getScenario2_2Access().getChildAssignment_1_0(), "rule__Scenario2_2__ChildAssignment_1_0"); + mappings.put(grammarAccess.getScenario2_2Access().getChildAssignment_1_1(), "rule__Scenario2_2__ChildAssignment_1_1"); + mappings.put(grammarAccess.getScenario2_2Access().getChildAssignment_1_2(), "rule__Scenario2_2__ChildAssignment_1_2"); + mappings.put(grammarAccess.getScenario2_3Access().getChildAssignment_1_0(), "rule__Scenario2_3__ChildAssignment_1_0"); + mappings.put(grammarAccess.getScenario2_3Access().getChildAssignment_1_1(), "rule__Scenario2_3__ChildAssignment_1_1"); + mappings.put(grammarAccess.getScenario2_3Access().getChildAssignment_1_2(), "rule__Scenario2_3__ChildAssignment_1_2"); + mappings.put(grammarAccess.getScenario2_4Access().getChildAssignment_1_0(), "rule__Scenario2_4__ChildAssignment_1_0"); + mappings.put(grammarAccess.getScenario2_4Access().getChildAssignment_1_1(), "rule__Scenario2_4__ChildAssignment_1_1"); + mappings.put(grammarAccess.getScenario2_4Access().getChildAssignment_1_2(), "rule__Scenario2_4__ChildAssignment_1_2"); + mappings.put(grammarAccess.getScenario2_5Access().getChildAssignment_2_0(), "rule__Scenario2_5__ChildAssignment_2_0"); + mappings.put(grammarAccess.getScenario2_5Access().getChildAssignment_2_1(), "rule__Scenario2_5__ChildAssignment_2_1"); + mappings.put(grammarAccess.getScenario2_5Access().getChildAssignment_2_2(), "rule__Scenario2_5__ChildAssignment_2_2"); + mappings.put(grammarAccess.getScenario2_6Access().getChildAssignment_2_0(), "rule__Scenario2_6__ChildAssignment_2_0"); + mappings.put(grammarAccess.getScenario2_6Access().getChildAssignment_2_1(), "rule__Scenario2_6__ChildAssignment_2_1"); + mappings.put(grammarAccess.getScenario2_6Access().getChildAssignment_2_2(), "rule__Scenario2_6__ChildAssignment_2_2"); + mappings.put(grammarAccess.getScenario2_7Access().getChildAssignment_2_0(), "rule__Scenario2_7__ChildAssignment_2_0"); + mappings.put(grammarAccess.getScenario2_7Access().getChildAssignment_2_1(), "rule__Scenario2_7__ChildAssignment_2_1"); + mappings.put(grammarAccess.getScenario2_7Access().getChildAssignment_2_2(), "rule__Scenario2_7__ChildAssignment_2_2"); + mappings.put(grammarAccess.getScenario2_8Access().getChildAssignment_2_0(), "rule__Scenario2_8__ChildAssignment_2_0"); + mappings.put(grammarAccess.getScenario2_8Access().getChildAssignment_2_1(), "rule__Scenario2_8__ChildAssignment_2_1"); + mappings.put(grammarAccess.getScenario2_8Access().getChildAssignment_2_2(), "rule__Scenario2_8__ChildAssignment_2_2"); + mappings.put(grammarAccess.getChild2_1Access().getNameAssignment_0(), "rule__Child2_1__NameAssignment_0"); + mappings.put(grammarAccess.getChild2_1Access().getBoolAssignment_2_0(), "rule__Child2_1__BoolAssignment_2_0"); + mappings.put(grammarAccess.getChild2_1Access().getStringAssignment_3(), "rule__Child2_1__StringAssignment_3"); + mappings.put(grammarAccess.getChild2_2Access().getNameAssignment_0(), "rule__Child2_2__NameAssignment_0"); + mappings.put(grammarAccess.getChild2_2Access().getBoolAssignment_2_0(), "rule__Child2_2__BoolAssignment_2_0"); + mappings.put(grammarAccess.getChild2_2Access().getStringAssignment_3(), "rule__Child2_2__StringAssignment_3"); + mappings.put(grammarAccess.getChild2_3Access().getNameAssignment_0(), "rule__Child2_3__NameAssignment_0"); + mappings.put(grammarAccess.getChild2_3Access().getBoolAssignment_2_0(), "rule__Child2_3__BoolAssignment_2_0"); + mappings.put(grammarAccess.getChild2_3Access().getStringAssignment_3(), "rule__Child2_3__StringAssignment_3"); + mappings.put(grammarAccess.getChild2_4Access().getNameAssignment_0(), "rule__Child2_4__NameAssignment_0"); + mappings.put(grammarAccess.getChild2_4Access().getBoolAssignment_2_0(), "rule__Child2_4__BoolAssignment_2_0"); + mappings.put(grammarAccess.getChild2_4Access().getStringAssignment_3_0(), "rule__Child2_4__StringAssignment_3_0"); + mappings.put(grammarAccess.getChild2_4Access().getStringAssignment_3_1(), "rule__Child2_4__StringAssignment_3_1"); + mappings.put(grammarAccess.getChild2_5Access().getNameAssignment_0(), "rule__Child2_5__NameAssignment_0"); + mappings.put(grammarAccess.getChild2_5Access().getBoolAssignment_2_0(), "rule__Child2_5__BoolAssignment_2_0"); + mappings.put(grammarAccess.getChild2_5Access().getStringAssignment_3_0(), "rule__Child2_5__StringAssignment_3_0"); + mappings.put(grammarAccess.getChild2_5Access().getStringAssignment_3_1(), "rule__Child2_5__StringAssignment_3_1"); + mappings.put(grammarAccess.getChild2_6Access().getNameAssignment_0(), "rule__Child2_6__NameAssignment_0"); + mappings.put(grammarAccess.getChild2_6Access().getBoolAssignment_2_0(), "rule__Child2_6__BoolAssignment_2_0"); + mappings.put(grammarAccess.getChild2_6Access().getStringAssignment_3_0(), "rule__Child2_6__StringAssignment_3_0"); + mappings.put(grammarAccess.getChild2_6Access().getStringAssignment_3_1(), "rule__Child2_6__StringAssignment_3_1"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug360834TestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug360834TestLanguageParser.java index 245d47a9e52..fe004dbd6a4 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug360834TestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug360834TestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,53 +26,53 @@ public static final class NameMappings { @Inject public NameMappings(Bug360834TestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, Bug360834TestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getModelAccess().getAlternatives(), "rule__Model__Alternatives"); - builder.put(grammarAccess.getAlternativeClassModifiersAccess().getAlternatives_1(), "rule__AlternativeClassModifiers__Alternatives_1"); - builder.put(grammarAccess.getVisibilityAccess().getAlternatives(), "rule__Visibility__Alternatives"); - builder.put(grammarAccess.getModelAccess().getGroup_0(), "rule__Model__Group_0__0"); - builder.put(grammarAccess.getModelAccess().getGroup_1(), "rule__Model__Group_1__0"); - builder.put(grammarAccess.getAlternativeAccess().getGroup(), "rule__Alternative__Group__0"); - builder.put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); - builder.put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); - builder.put(grammarAccess.getRecursiveClassDeclarationAccess().getGroup(), "rule__RecursiveClassDeclaration__Group__0"); - builder.put(grammarAccess.getAlternativeClassModifiersAccess().getGroup(), "rule__AlternativeClassModifiers__Group__0"); - builder.put(grammarAccess.getUnorderedAccess().getGroup(), "rule__Unordered__Group__0"); - builder.put(grammarAccess.getSimpleClassDeclarationAccess().getGroup(), "rule__SimpleClassDeclaration__Group__0"); - builder.put(grammarAccess.getClassMemberAccess().getGroup(), "rule__ClassMember__Group__0"); - builder.put(grammarAccess.getUnorderedModifiersAccess().getGroup(), "rule__UnorderedModifiers__Group__0"); - builder.put(grammarAccess.getModelAccess().getElementAssignment_0_1(), "rule__Model__ElementAssignment_0_1"); - builder.put(grammarAccess.getModelAccess().getElementAssignment_1_1(), "rule__Model__ElementAssignment_1_1"); - builder.put(grammarAccess.getAlternativeAccess().getNameAssignment_1(), "rule__Alternative__NameAssignment_1"); - builder.put(grammarAccess.getAlternativeAccess().getRootDeclarationAssignment_3(), "rule__Alternative__RootDeclarationAssignment_3"); - builder.put(grammarAccess.getRecursiveClassDeclarationAccess().getModifiersAssignment_0(), "rule__RecursiveClassDeclaration__ModifiersAssignment_0"); - builder.put(grammarAccess.getRecursiveClassDeclarationAccess().getNameAssignment_2(), "rule__RecursiveClassDeclaration__NameAssignment_2"); - builder.put(grammarAccess.getRecursiveClassDeclarationAccess().getMembersAssignment_4(), "rule__RecursiveClassDeclaration__MembersAssignment_4"); - builder.put(grammarAccess.getAlternativeClassModifiersAccess().getFinalAssignment_1_0(), "rule__AlternativeClassModifiers__FinalAssignment_1_0"); - builder.put(grammarAccess.getAlternativeClassModifiersAccess().getAbstractAssignment_1_1(), "rule__AlternativeClassModifiers__AbstractAssignment_1_1"); - builder.put(grammarAccess.getAlternativeClassModifiersAccess().getExternAssignment_1_2(), "rule__AlternativeClassModifiers__ExternAssignment_1_2"); - builder.put(grammarAccess.getAlternativeClassModifiersAccess().getVisibilityAssignment_1_3(), "rule__AlternativeClassModifiers__VisibilityAssignment_1_3"); - builder.put(grammarAccess.getUnorderedAccess().getNameAssignment_1(), "rule__Unordered__NameAssignment_1"); - builder.put(grammarAccess.getUnorderedAccess().getRootDeclarationAssignment_3(), "rule__Unordered__RootDeclarationAssignment_3"); - builder.put(grammarAccess.getSimpleClassDeclarationAccess().getModifiersAssignment_0(), "rule__SimpleClassDeclaration__ModifiersAssignment_0"); - builder.put(grammarAccess.getSimpleClassDeclarationAccess().getNameAssignment_2(), "rule__SimpleClassDeclaration__NameAssignment_2"); - builder.put(grammarAccess.getSimpleClassDeclarationAccess().getMembersAssignment_4(), "rule__SimpleClassDeclaration__MembersAssignment_4"); - builder.put(grammarAccess.getClassMemberAccess().getModifiersAssignment_0(), "rule__ClassMember__ModifiersAssignment_0"); - builder.put(grammarAccess.getClassMemberAccess().getNameAssignment_2(), "rule__ClassMember__NameAssignment_2"); - builder.put(grammarAccess.getUnorderedModifiersAccess().getFinalAssignment_1_0(), "rule__UnorderedModifiers__FinalAssignment_1_0"); - builder.put(grammarAccess.getUnorderedModifiersAccess().getAbstractAssignment_1_1(), "rule__UnorderedModifiers__AbstractAssignment_1_1"); - builder.put(grammarAccess.getUnorderedModifiersAccess().getExternAssignment_1_2(), "rule__UnorderedModifiers__ExternAssignment_1_2"); - builder.put(grammarAccess.getUnorderedModifiersAccess().getVisibilityAssignment_1_3(), "rule__UnorderedModifiers__VisibilityAssignment_1_3"); - builder.put(grammarAccess.getUnorderedModifiersAccess().getUnorderedGroup_1(), "rule__UnorderedModifiers__UnorderedGroup_1"); + private static void init(Map mappings, Bug360834TestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getModelAccess().getAlternatives(), "rule__Model__Alternatives"); + mappings.put(grammarAccess.getAlternativeClassModifiersAccess().getAlternatives_1(), "rule__AlternativeClassModifiers__Alternatives_1"); + mappings.put(grammarAccess.getVisibilityAccess().getAlternatives(), "rule__Visibility__Alternatives"); + mappings.put(grammarAccess.getModelAccess().getGroup_0(), "rule__Model__Group_0__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_1(), "rule__Model__Group_1__0"); + mappings.put(grammarAccess.getAlternativeAccess().getGroup(), "rule__Alternative__Group__0"); + mappings.put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); + mappings.put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); + mappings.put(grammarAccess.getRecursiveClassDeclarationAccess().getGroup(), "rule__RecursiveClassDeclaration__Group__0"); + mappings.put(grammarAccess.getAlternativeClassModifiersAccess().getGroup(), "rule__AlternativeClassModifiers__Group__0"); + mappings.put(grammarAccess.getUnorderedAccess().getGroup(), "rule__Unordered__Group__0"); + mappings.put(grammarAccess.getSimpleClassDeclarationAccess().getGroup(), "rule__SimpleClassDeclaration__Group__0"); + mappings.put(grammarAccess.getClassMemberAccess().getGroup(), "rule__ClassMember__Group__0"); + mappings.put(grammarAccess.getUnorderedModifiersAccess().getGroup(), "rule__UnorderedModifiers__Group__0"); + mappings.put(grammarAccess.getModelAccess().getElementAssignment_0_1(), "rule__Model__ElementAssignment_0_1"); + mappings.put(grammarAccess.getModelAccess().getElementAssignment_1_1(), "rule__Model__ElementAssignment_1_1"); + mappings.put(grammarAccess.getAlternativeAccess().getNameAssignment_1(), "rule__Alternative__NameAssignment_1"); + mappings.put(grammarAccess.getAlternativeAccess().getRootDeclarationAssignment_3(), "rule__Alternative__RootDeclarationAssignment_3"); + mappings.put(grammarAccess.getRecursiveClassDeclarationAccess().getModifiersAssignment_0(), "rule__RecursiveClassDeclaration__ModifiersAssignment_0"); + mappings.put(grammarAccess.getRecursiveClassDeclarationAccess().getNameAssignment_2(), "rule__RecursiveClassDeclaration__NameAssignment_2"); + mappings.put(grammarAccess.getRecursiveClassDeclarationAccess().getMembersAssignment_4(), "rule__RecursiveClassDeclaration__MembersAssignment_4"); + mappings.put(grammarAccess.getAlternativeClassModifiersAccess().getFinalAssignment_1_0(), "rule__AlternativeClassModifiers__FinalAssignment_1_0"); + mappings.put(grammarAccess.getAlternativeClassModifiersAccess().getAbstractAssignment_1_1(), "rule__AlternativeClassModifiers__AbstractAssignment_1_1"); + mappings.put(grammarAccess.getAlternativeClassModifiersAccess().getExternAssignment_1_2(), "rule__AlternativeClassModifiers__ExternAssignment_1_2"); + mappings.put(grammarAccess.getAlternativeClassModifiersAccess().getVisibilityAssignment_1_3(), "rule__AlternativeClassModifiers__VisibilityAssignment_1_3"); + mappings.put(grammarAccess.getUnorderedAccess().getNameAssignment_1(), "rule__Unordered__NameAssignment_1"); + mappings.put(grammarAccess.getUnorderedAccess().getRootDeclarationAssignment_3(), "rule__Unordered__RootDeclarationAssignment_3"); + mappings.put(grammarAccess.getSimpleClassDeclarationAccess().getModifiersAssignment_0(), "rule__SimpleClassDeclaration__ModifiersAssignment_0"); + mappings.put(grammarAccess.getSimpleClassDeclarationAccess().getNameAssignment_2(), "rule__SimpleClassDeclaration__NameAssignment_2"); + mappings.put(grammarAccess.getSimpleClassDeclarationAccess().getMembersAssignment_4(), "rule__SimpleClassDeclaration__MembersAssignment_4"); + mappings.put(grammarAccess.getClassMemberAccess().getModifiersAssignment_0(), "rule__ClassMember__ModifiersAssignment_0"); + mappings.put(grammarAccess.getClassMemberAccess().getNameAssignment_2(), "rule__ClassMember__NameAssignment_2"); + mappings.put(grammarAccess.getUnorderedModifiersAccess().getFinalAssignment_1_0(), "rule__UnorderedModifiers__FinalAssignment_1_0"); + mappings.put(grammarAccess.getUnorderedModifiersAccess().getAbstractAssignment_1_1(), "rule__UnorderedModifiers__AbstractAssignment_1_1"); + mappings.put(grammarAccess.getUnorderedModifiersAccess().getExternAssignment_1_2(), "rule__UnorderedModifiers__ExternAssignment_1_2"); + mappings.put(grammarAccess.getUnorderedModifiersAccess().getVisibilityAssignment_1_3(), "rule__UnorderedModifiers__VisibilityAssignment_1_3"); + mappings.put(grammarAccess.getUnorderedModifiersAccess().getUnorderedGroup_1(), "rule__UnorderedModifiers__UnorderedGroup_1"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug377311TestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug377311TestLanguageParser.java index 85c5366455f..5ab95456fed 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug377311TestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug377311TestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,19 +26,19 @@ public static final class NameMappings { @Inject public NameMappings(Bug377311TestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, Bug377311TestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getChildAccess().getGroup(), "rule__Child__Group__0"); - builder.put(grammarAccess.getRootAccess().getChildsAssignment(), "rule__Root__ChildsAssignment"); - builder.put(grammarAccess.getChildAccess().getNameAssignment_1(), "rule__Child__NameAssignment_1"); + private static void init(Map mappings, Bug377311TestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getChildAccess().getGroup(), "rule__Child__Group__0"); + mappings.put(grammarAccess.getRootAccess().getChildsAssignment(), "rule__Root__ChildsAssignment"); + mappings.put(grammarAccess.getChildAccess().getNameAssignment_1(), "rule__Child__NameAssignment_1"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug381381TestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug381381TestLanguageParser.java index 86d8c98bffe..263d389cc2f 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug381381TestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/Bug381381TestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,25 +26,25 @@ public static final class NameMappings { @Inject public NameMappings(Bug381381TestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, Bug381381TestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getCopyFieldNameToVariableStmtAccess().getGroup(), "rule__CopyFieldNameToVariableStmt__Group__0"); - builder.put(grammarAccess.getCopyFieldNameToVariableStmtAccess().getGroup_1_0(), "rule__CopyFieldNameToVariableStmt__Group_1_0__0"); - builder.put(grammarAccess.getCopyFieldNameToVariableStmtAccess().getGroup_1_1(), "rule__CopyFieldNameToVariableStmt__Group_1_1__0"); - builder.put(grammarAccess.getCopyFieldNameToVariableStmtAccess().getGroup_1_2(), "rule__CopyFieldNameToVariableStmt__Group_1_2__0"); - builder.put(grammarAccess.getModelAccess().getStmtAssignment(), "rule__Model__StmtAssignment"); - builder.put(grammarAccess.getCopyFieldNameToVariableStmtAccess().getLineAssignment_1_0_4(), "rule__CopyFieldNameToVariableStmt__LineAssignment_1_0_4"); - builder.put(grammarAccess.getCopyFieldNameToVariableStmtAccess().getColumnAssignment_1_0_6(), "rule__CopyFieldNameToVariableStmt__ColumnAssignment_1_0_6"); - builder.put(grammarAccess.getCopyFieldNameToVariableStmtAccess().getNameAssignment_1_1_3(), "rule__CopyFieldNameToVariableStmt__NameAssignment_1_1_3"); - builder.put(grammarAccess.getCopyFieldNameToVariableStmtAccess().getUnorderedGroup_1(), "rule__CopyFieldNameToVariableStmt__UnorderedGroup_1"); + private static void init(Map mappings, Bug381381TestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getCopyFieldNameToVariableStmtAccess().getGroup(), "rule__CopyFieldNameToVariableStmt__Group__0"); + mappings.put(grammarAccess.getCopyFieldNameToVariableStmtAccess().getGroup_1_0(), "rule__CopyFieldNameToVariableStmt__Group_1_0__0"); + mappings.put(grammarAccess.getCopyFieldNameToVariableStmtAccess().getGroup_1_1(), "rule__CopyFieldNameToVariableStmt__Group_1_1__0"); + mappings.put(grammarAccess.getCopyFieldNameToVariableStmtAccess().getGroup_1_2(), "rule__CopyFieldNameToVariableStmt__Group_1_2__0"); + mappings.put(grammarAccess.getModelAccess().getStmtAssignment(), "rule__Model__StmtAssignment"); + mappings.put(grammarAccess.getCopyFieldNameToVariableStmtAccess().getLineAssignment_1_0_4(), "rule__CopyFieldNameToVariableStmt__LineAssignment_1_0_4"); + mappings.put(grammarAccess.getCopyFieldNameToVariableStmtAccess().getColumnAssignment_1_0_6(), "rule__CopyFieldNameToVariableStmt__ColumnAssignment_1_0_6"); + mappings.put(grammarAccess.getCopyFieldNameToVariableStmtAccess().getNameAssignment_1_1_3(), "rule__CopyFieldNameToVariableStmt__NameAssignment_1_1_3"); + mappings.put(grammarAccess.getCopyFieldNameToVariableStmtAccess().getUnorderedGroup_1(), "rule__CopyFieldNameToVariableStmt__UnorderedGroup_1"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/ContentAssistContextTestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/ContentAssistContextTestLanguageParser.java index ecc6eaf8c07..4d6489de231 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/ContentAssistContextTestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/ContentAssistContextTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,33 +26,33 @@ public static final class NameMappings { @Inject public NameMappings(ContentAssistContextTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, ContentAssistContextTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getFirstLevelAccess().getGroup(), "rule__FirstLevel__Group__0"); - builder.put(grammarAccess.getSecondLevelAAccess().getGroup(), "rule__SecondLevelA__Group__0"); - builder.put(grammarAccess.getSecondLevelBAccess().getGroup(), "rule__SecondLevelB__Group__0"); - builder.put(grammarAccess.getThirdLevelA1Access().getGroup(), "rule__ThirdLevelA1__Group__0"); - builder.put(grammarAccess.getThirdLevelA2Access().getGroup(), "rule__ThirdLevelA2__Group__0"); - builder.put(grammarAccess.getThirdLevelB1Access().getGroup(), "rule__ThirdLevelB1__Group__0"); - builder.put(grammarAccess.getThirdLevelB2Access().getGroup(), "rule__ThirdLevelB2__Group__0"); - builder.put(grammarAccess.getFirstLevelAccess().getSecondLevelAAssignment_0(), "rule__FirstLevel__SecondLevelAAssignment_0"); - builder.put(grammarAccess.getFirstLevelAccess().getSecondLevelBAssignment_1(), "rule__FirstLevel__SecondLevelBAssignment_1"); - builder.put(grammarAccess.getSecondLevelAAccess().getThirdLevelA1Assignment_0(), "rule__SecondLevelA__ThirdLevelA1Assignment_0"); - builder.put(grammarAccess.getSecondLevelAAccess().getThirdLevelA2Assignment_1(), "rule__SecondLevelA__ThirdLevelA2Assignment_1"); - builder.put(grammarAccess.getSecondLevelBAccess().getThirdLevelB1Assignment_0(), "rule__SecondLevelB__ThirdLevelB1Assignment_0"); - builder.put(grammarAccess.getSecondLevelBAccess().getThirdLevelB2Assignment_1(), "rule__SecondLevelB__ThirdLevelB2Assignment_1"); - builder.put(grammarAccess.getThirdLevelA1Access().getNameAssignment_2(), "rule__ThirdLevelA1__NameAssignment_2"); - builder.put(grammarAccess.getThirdLevelA2Access().getNameAssignment_2(), "rule__ThirdLevelA2__NameAssignment_2"); - builder.put(grammarAccess.getThirdLevelB1Access().getNameAssignment_2(), "rule__ThirdLevelB1__NameAssignment_2"); - builder.put(grammarAccess.getThirdLevelB2Access().getNameAssignment_2(), "rule__ThirdLevelB2__NameAssignment_2"); + private static void init(Map mappings, ContentAssistContextTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getFirstLevelAccess().getGroup(), "rule__FirstLevel__Group__0"); + mappings.put(grammarAccess.getSecondLevelAAccess().getGroup(), "rule__SecondLevelA__Group__0"); + mappings.put(grammarAccess.getSecondLevelBAccess().getGroup(), "rule__SecondLevelB__Group__0"); + mappings.put(grammarAccess.getThirdLevelA1Access().getGroup(), "rule__ThirdLevelA1__Group__0"); + mappings.put(grammarAccess.getThirdLevelA2Access().getGroup(), "rule__ThirdLevelA2__Group__0"); + mappings.put(grammarAccess.getThirdLevelB1Access().getGroup(), "rule__ThirdLevelB1__Group__0"); + mappings.put(grammarAccess.getThirdLevelB2Access().getGroup(), "rule__ThirdLevelB2__Group__0"); + mappings.put(grammarAccess.getFirstLevelAccess().getSecondLevelAAssignment_0(), "rule__FirstLevel__SecondLevelAAssignment_0"); + mappings.put(grammarAccess.getFirstLevelAccess().getSecondLevelBAssignment_1(), "rule__FirstLevel__SecondLevelBAssignment_1"); + mappings.put(grammarAccess.getSecondLevelAAccess().getThirdLevelA1Assignment_0(), "rule__SecondLevelA__ThirdLevelA1Assignment_0"); + mappings.put(grammarAccess.getSecondLevelAAccess().getThirdLevelA2Assignment_1(), "rule__SecondLevelA__ThirdLevelA2Assignment_1"); + mappings.put(grammarAccess.getSecondLevelBAccess().getThirdLevelB1Assignment_0(), "rule__SecondLevelB__ThirdLevelB1Assignment_0"); + mappings.put(grammarAccess.getSecondLevelBAccess().getThirdLevelB2Assignment_1(), "rule__SecondLevelB__ThirdLevelB2Assignment_1"); + mappings.put(grammarAccess.getThirdLevelA1Access().getNameAssignment_2(), "rule__ThirdLevelA1__NameAssignment_2"); + mappings.put(grammarAccess.getThirdLevelA2Access().getNameAssignment_2(), "rule__ThirdLevelA2__NameAssignment_2"); + mappings.put(grammarAccess.getThirdLevelB1Access().getNameAssignment_2(), "rule__ThirdLevelB1__NameAssignment_2"); + mappings.put(grammarAccess.getThirdLevelB2Access().getNameAssignment_2(), "rule__ThirdLevelB2__NameAssignment_2"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/ContentAssistCustomizingTestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/ContentAssistCustomizingTestLanguageParser.java index 9ba1c9ea7c4..c60fac7466d 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/ContentAssistCustomizingTestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/ContentAssistCustomizingTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,26 +26,26 @@ public static final class NameMappings { @Inject public NameMappings(ContentAssistCustomizingTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, ContentAssistCustomizingTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getTypeAccess().getAlternatives_0(), "rule__Type__Alternatives_0"); - builder.put(grammarAccess.getTypeAccess().getGroup(), "rule__Type__Group__0"); - builder.put(grammarAccess.getTypeAccess().getGroup_1(), "rule__Type__Group_1__0"); - builder.put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); - builder.put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); - builder.put(grammarAccess.getModelAccess().getTypesAssignment(), "rule__Model__TypesAssignment"); - builder.put(grammarAccess.getTypeAccess().getNameAssignment_0_0(), "rule__Type__NameAssignment_0_0"); - builder.put(grammarAccess.getTypeAccess().getNameAssignment_0_1(), "rule__Type__NameAssignment_0_1"); - builder.put(grammarAccess.getTypeAccess().getSuperTypeAssignment_1_1(), "rule__Type__SuperTypeAssignment_1_1"); - builder.put(grammarAccess.getTypeRefAccess().getTypeAssignment(), "rule__TypeRef__TypeAssignment"); + private static void init(Map mappings, ContentAssistCustomizingTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getTypeAccess().getAlternatives_0(), "rule__Type__Alternatives_0"); + mappings.put(grammarAccess.getTypeAccess().getGroup(), "rule__Type__Group__0"); + mappings.put(grammarAccess.getTypeAccess().getGroup_1(), "rule__Type__Group_1__0"); + mappings.put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); + mappings.put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); + mappings.put(grammarAccess.getModelAccess().getTypesAssignment(), "rule__Model__TypesAssignment"); + mappings.put(grammarAccess.getTypeAccess().getNameAssignment_0_0(), "rule__Type__NameAssignment_0_0"); + mappings.put(grammarAccess.getTypeAccess().getNameAssignment_0_1(), "rule__Type__NameAssignment_0_1"); + mappings.put(grammarAccess.getTypeAccess().getSuperTypeAssignment_1_1(), "rule__Type__SuperTypeAssignment_1_1"); + mappings.put(grammarAccess.getTypeRefAccess().getTypeAssignment(), "rule__TypeRef__TypeAssignment"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/ContentAssistNoTerminalExtensionTestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/ContentAssistNoTerminalExtensionTestLanguageParser.java index 67044642369..6a3617834db 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/ContentAssistNoTerminalExtensionTestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/ContentAssistNoTerminalExtensionTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,18 +26,18 @@ public static final class NameMappings { @Inject public NameMappings(ContentAssistNoTerminalExtensionTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, ContentAssistNoTerminalExtensionTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getPolygonBasedNodeShapeAccess().getAlternatives(), "rule__PolygonBasedNodeShape__Alternatives"); - builder.put(grammarAccess.getPolygonBasedShapeAccess().getShapeAssignment(), "rule__PolygonBasedShape__ShapeAssignment"); + private static void init(Map mappings, ContentAssistNoTerminalExtensionTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getPolygonBasedNodeShapeAccess().getAlternatives(), "rule__PolygonBasedNodeShape__Alternatives"); + mappings.put(grammarAccess.getPolygonBasedShapeAccess().getShapeAssignment(), "rule__PolygonBasedShape__ShapeAssignment"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/CrossReferenceProposalTestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/CrossReferenceProposalTestLanguageParser.java index b3f6e4302fe..ee1ed813ca0 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/CrossReferenceProposalTestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/CrossReferenceProposalTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,26 +26,26 @@ public static final class NameMappings { @Inject public NameMappings(CrossReferenceProposalTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, CrossReferenceProposalTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getClassAccess().getAlternatives_0_0(), "rule__Class__Alternatives_0_0"); - builder.put(grammarAccess.getClassAccess().getNameAlternatives_1_0(), "rule__Class__NameAlternatives_1_0"); - builder.put(grammarAccess.getClassAccess().getGroup(), "rule__Class__Group__0"); - builder.put(grammarAccess.getClassAccess().getGroup_0(), "rule__Class__Group_0__0"); - builder.put(grammarAccess.getComplexNameAccess().getGroup(), "rule__ComplexName__Group__0"); - builder.put(grammarAccess.getModelAccess().getElementsAssignment(), "rule__Model__ElementsAssignment"); - builder.put(grammarAccess.getClassAccess().getSuperClassAssignment_0_0_0(), "rule__Class__SuperClassAssignment_0_0_0"); - builder.put(grammarAccess.getClassAccess().getSuperClassAssignment_0_0_1(), "rule__Class__SuperClassAssignment_0_0_1"); - builder.put(grammarAccess.getClassAccess().getSuperClassAssignment_0_0_2(), "rule__Class__SuperClassAssignment_0_0_2"); - builder.put(grammarAccess.getClassAccess().getNameAssignment_1(), "rule__Class__NameAssignment_1"); + private static void init(Map mappings, CrossReferenceProposalTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getClassAccess().getAlternatives_0_0(), "rule__Class__Alternatives_0_0"); + mappings.put(grammarAccess.getClassAccess().getNameAlternatives_1_0(), "rule__Class__NameAlternatives_1_0"); + mappings.put(grammarAccess.getClassAccess().getGroup(), "rule__Class__Group__0"); + mappings.put(grammarAccess.getClassAccess().getGroup_0(), "rule__Class__Group_0__0"); + mappings.put(grammarAccess.getComplexNameAccess().getGroup(), "rule__ComplexName__Group__0"); + mappings.put(grammarAccess.getModelAccess().getElementsAssignment(), "rule__Model__ElementsAssignment"); + mappings.put(grammarAccess.getClassAccess().getSuperClassAssignment_0_0_0(), "rule__Class__SuperClassAssignment_0_0_0"); + mappings.put(grammarAccess.getClassAccess().getSuperClassAssignment_0_0_1(), "rule__Class__SuperClassAssignment_0_0_1"); + mappings.put(grammarAccess.getClassAccess().getSuperClassAssignment_0_0_2(), "rule__Class__SuperClassAssignment_0_0_2"); + mappings.put(grammarAccess.getClassAccess().getNameAssignment_1(), "rule__Class__NameAssignment_1"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/DatatypeRuleTestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/DatatypeRuleTestLanguageParser.java index 5206e2bc5b8..0ec7539b657 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/DatatypeRuleTestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/DatatypeRuleTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,28 +26,28 @@ public static final class NameMappings { @Inject public NameMappings(DatatypeRuleTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, DatatypeRuleTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getTypeAccess().getAlternatives(), "rule__Type__Alternatives"); - builder.put(grammarAccess.getTypesAccess().getGroup(), "rule__Types__Group__0"); - builder.put(grammarAccess.getSimpleTypeAccess().getGroup(), "rule__SimpleType__Group__0"); - builder.put(grammarAccess.getCompositeTypeAccess().getGroup(), "rule__CompositeType__Group__0"); - builder.put(grammarAccess.getTypeIdAccess().getGroup(), "rule__TypeId__Group__0"); - builder.put(grammarAccess.getTypeIdAccess().getGroup_1(), "rule__TypeId__Group_1__0"); - builder.put(grammarAccess.getTypeIdAccess().getGroup_1_2(), "rule__TypeId__Group_1_2__0"); - builder.put(grammarAccess.getTypesAccess().getTypesAssignment_2(), "rule__Types__TypesAssignment_2"); - builder.put(grammarAccess.getSimpleTypeAccess().getNameAssignment_1(), "rule__SimpleType__NameAssignment_1"); - builder.put(grammarAccess.getCompositeTypeAccess().getNameAssignment_1(), "rule__CompositeType__NameAssignment_1"); - builder.put(grammarAccess.getCompositeTypeAccess().getBaseTypeAssignment_3(), "rule__CompositeType__BaseTypeAssignment_3"); - builder.put(grammarAccess.getCompositeTypeEntryAccess().getDataTypeAssignment(), "rule__CompositeTypeEntry__DataTypeAssignment"); + private static void init(Map mappings, DatatypeRuleTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getTypeAccess().getAlternatives(), "rule__Type__Alternatives"); + mappings.put(grammarAccess.getTypesAccess().getGroup(), "rule__Types__Group__0"); + mappings.put(grammarAccess.getSimpleTypeAccess().getGroup(), "rule__SimpleType__Group__0"); + mappings.put(grammarAccess.getCompositeTypeAccess().getGroup(), "rule__CompositeType__Group__0"); + mappings.put(grammarAccess.getTypeIdAccess().getGroup(), "rule__TypeId__Group__0"); + mappings.put(grammarAccess.getTypeIdAccess().getGroup_1(), "rule__TypeId__Group_1__0"); + mappings.put(grammarAccess.getTypeIdAccess().getGroup_1_2(), "rule__TypeId__Group_1_2__0"); + mappings.put(grammarAccess.getTypesAccess().getTypesAssignment_2(), "rule__Types__TypesAssignment_2"); + mappings.put(grammarAccess.getSimpleTypeAccess().getNameAssignment_1(), "rule__SimpleType__NameAssignment_1"); + mappings.put(grammarAccess.getCompositeTypeAccess().getNameAssignment_1(), "rule__CompositeType__NameAssignment_1"); + mappings.put(grammarAccess.getCompositeTypeAccess().getBaseTypeAssignment_3(), "rule__CompositeType__BaseTypeAssignment_3"); + mappings.put(grammarAccess.getCompositeTypeEntryAccess().getDataTypeAssignment(), "rule__CompositeTypeEntry__DataTypeAssignment"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/DomainModelTestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/DomainModelTestLanguageParser.java index 40a9aaeec39..d9cc067ee41 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/DomainModelTestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/DomainModelTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,37 +26,37 @@ public static final class NameMappings { @Inject public NameMappings(DomainModelTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, DomainModelTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getTypeAccess().getAlternatives(), "rule__Type__Alternatives"); - builder.put(grammarAccess.getPropertyAccess().getAlternatives(), "rule__Property__Alternatives"); - builder.put(grammarAccess.getModelAccess().getGroup(), "rule__Model__Group__0"); - builder.put(grammarAccess.getImportAccess().getGroup(), "rule__Import__Group__0"); - builder.put(grammarAccess.getDataTypeAccess().getGroup(), "rule__DataType__Group__0"); - builder.put(grammarAccess.getClassAccess().getGroup(), "rule__Class__Group__0"); - builder.put(grammarAccess.getClassAccess().getGroup_2(), "rule__Class__Group_2__0"); - builder.put(grammarAccess.getAttributeAccess().getGroup(), "rule__Attribute__Group__0"); - builder.put(grammarAccess.getReferenceAccess().getGroup(), "rule__Reference__Group__0"); - builder.put(grammarAccess.getModelAccess().getImportsAssignment_0(), "rule__Model__ImportsAssignment_0"); - builder.put(grammarAccess.getModelAccess().getElementsAssignment_1(), "rule__Model__ElementsAssignment_1"); - builder.put(grammarAccess.getImportAccess().getImportURIAssignment_1(), "rule__Import__ImportURIAssignment_1"); - builder.put(grammarAccess.getDataTypeAccess().getNameAssignment_1(), "rule__DataType__NameAssignment_1"); - builder.put(grammarAccess.getClassAccess().getNameAssignment_1(), "rule__Class__NameAssignment_1"); - builder.put(grammarAccess.getClassAccess().getSuperClassAssignment_2_1(), "rule__Class__SuperClassAssignment_2_1"); - builder.put(grammarAccess.getClassAccess().getPropertiesAssignment_4(), "rule__Class__PropertiesAssignment_4"); - builder.put(grammarAccess.getClassAccess().getSubClassesAssignment_5(), "rule__Class__SubClassesAssignment_5"); - builder.put(grammarAccess.getAttributeAccess().getNameAssignment_1(), "rule__Attribute__NameAssignment_1"); - builder.put(grammarAccess.getAttributeAccess().getTypeAssignment_3(), "rule__Attribute__TypeAssignment_3"); - builder.put(grammarAccess.getReferenceAccess().getNameAssignment_1(), "rule__Reference__NameAssignment_1"); - builder.put(grammarAccess.getReferenceAccess().getTypeAssignment_3(), "rule__Reference__TypeAssignment_3"); + private static void init(Map mappings, DomainModelTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getTypeAccess().getAlternatives(), "rule__Type__Alternatives"); + mappings.put(grammarAccess.getPropertyAccess().getAlternatives(), "rule__Property__Alternatives"); + mappings.put(grammarAccess.getModelAccess().getGroup(), "rule__Model__Group__0"); + mappings.put(grammarAccess.getImportAccess().getGroup(), "rule__Import__Group__0"); + mappings.put(grammarAccess.getDataTypeAccess().getGroup(), "rule__DataType__Group__0"); + mappings.put(grammarAccess.getClassAccess().getGroup(), "rule__Class__Group__0"); + mappings.put(grammarAccess.getClassAccess().getGroup_2(), "rule__Class__Group_2__0"); + mappings.put(grammarAccess.getAttributeAccess().getGroup(), "rule__Attribute__Group__0"); + mappings.put(grammarAccess.getReferenceAccess().getGroup(), "rule__Reference__Group__0"); + mappings.put(grammarAccess.getModelAccess().getImportsAssignment_0(), "rule__Model__ImportsAssignment_0"); + mappings.put(grammarAccess.getModelAccess().getElementsAssignment_1(), "rule__Model__ElementsAssignment_1"); + mappings.put(grammarAccess.getImportAccess().getImportURIAssignment_1(), "rule__Import__ImportURIAssignment_1"); + mappings.put(grammarAccess.getDataTypeAccess().getNameAssignment_1(), "rule__DataType__NameAssignment_1"); + mappings.put(grammarAccess.getClassAccess().getNameAssignment_1(), "rule__Class__NameAssignment_1"); + mappings.put(grammarAccess.getClassAccess().getSuperClassAssignment_2_1(), "rule__Class__SuperClassAssignment_2_1"); + mappings.put(grammarAccess.getClassAccess().getPropertiesAssignment_4(), "rule__Class__PropertiesAssignment_4"); + mappings.put(grammarAccess.getClassAccess().getSubClassesAssignment_5(), "rule__Class__SubClassesAssignment_5"); + mappings.put(grammarAccess.getAttributeAccess().getNameAssignment_1(), "rule__Attribute__NameAssignment_1"); + mappings.put(grammarAccess.getAttributeAccess().getTypeAssignment_3(), "rule__Attribute__TypeAssignment_3"); + mappings.put(grammarAccess.getReferenceAccess().getNameAssignment_1(), "rule__Reference__NameAssignment_1"); + mappings.put(grammarAccess.getReferenceAccess().getTypeAssignment_3(), "rule__Reference__TypeAssignment_3"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/GH341TestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/GH341TestLanguageParser.java index d0faf052369..3fb2ccd8df2 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/GH341TestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/GH341TestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,41 +26,41 @@ public static final class NameMappings { @Inject public NameMappings(GH341TestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, GH341TestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getModelAccess().getElementsAlternatives_0(), "rule__Model__ElementsAlternatives_0"); - builder.put(grammarAccess.getElementAccess().getAlternatives(), "rule__Element__Alternatives"); - builder.put(grammarAccess.getWorksAccess().getGroup(), "rule__Works__Group__0"); - builder.put(grammarAccess.getWorksAccess().getGroup_2(), "rule__Works__Group_2__0"); - builder.put(grammarAccess.getWorksAccess().getGroup_2_1(), "rule__Works__Group_2_1__0"); - builder.put(grammarAccess.getWorksAccess().getGroup_3(), "rule__Works__Group_3__0"); - builder.put(grammarAccess.getWorksAccess().getGroup_3_1(), "rule__Works__Group_3_1__0"); - builder.put(grammarAccess.getBrokenAccess().getGroup(), "rule__Broken__Group__0"); - builder.put(grammarAccess.getBrokenAccess().getGroup_3(), "rule__Broken__Group_3__0"); - builder.put(grammarAccess.getBrokenAccess().getGroup_3_1(), "rule__Broken__Group_3_1__0"); - builder.put(grammarAccess.getThirdAccess().getGroup(), "rule__Third__Group__0"); - builder.put(grammarAccess.getFragmentAccess().getGroup(), "rule__Fragment__Group__0"); - builder.put(grammarAccess.getFragmentAccess().getGroup_1(), "rule__Fragment__Group_1__0"); - builder.put(grammarAccess.getModelAccess().getElementsAssignment(), "rule__Model__ElementsAssignment"); - builder.put(grammarAccess.getWorksAccess().getNameAssignment_1(), "rule__Works__NameAssignment_1"); - builder.put(grammarAccess.getWorksAccess().getIdsAssignment_2_0(), "rule__Works__IdsAssignment_2_0"); - builder.put(grammarAccess.getWorksAccess().getIdsAssignment_2_1_1(), "rule__Works__IdsAssignment_2_1_1"); - builder.put(grammarAccess.getWorksAccess().getRefsAssignment_3_0(), "rule__Works__RefsAssignment_3_0"); - builder.put(grammarAccess.getWorksAccess().getRefsAssignment_3_1_1(), "rule__Works__RefsAssignment_3_1_1"); - builder.put(grammarAccess.getBrokenAccess().getNameAssignment_1(), "rule__Broken__NameAssignment_1"); - builder.put(grammarAccess.getBrokenAccess().getRefsAssignment_3_0(), "rule__Broken__RefsAssignment_3_0"); - builder.put(grammarAccess.getBrokenAccess().getRefsAssignment_3_1_1(), "rule__Broken__RefsAssignment_3_1_1"); - builder.put(grammarAccess.getThirdAccess().getNameAssignment_2(), "rule__Third__NameAssignment_2"); - builder.put(grammarAccess.getFragmentAccess().getIdsAssignment_0(), "rule__Fragment__IdsAssignment_0"); - builder.put(grammarAccess.getFragmentAccess().getIdsAssignment_1_1(), "rule__Fragment__IdsAssignment_1_1"); + private static void init(Map mappings, GH341TestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getModelAccess().getElementsAlternatives_0(), "rule__Model__ElementsAlternatives_0"); + mappings.put(grammarAccess.getElementAccess().getAlternatives(), "rule__Element__Alternatives"); + mappings.put(grammarAccess.getWorksAccess().getGroup(), "rule__Works__Group__0"); + mappings.put(grammarAccess.getWorksAccess().getGroup_2(), "rule__Works__Group_2__0"); + mappings.put(grammarAccess.getWorksAccess().getGroup_2_1(), "rule__Works__Group_2_1__0"); + mappings.put(grammarAccess.getWorksAccess().getGroup_3(), "rule__Works__Group_3__0"); + mappings.put(grammarAccess.getWorksAccess().getGroup_3_1(), "rule__Works__Group_3_1__0"); + mappings.put(grammarAccess.getBrokenAccess().getGroup(), "rule__Broken__Group__0"); + mappings.put(grammarAccess.getBrokenAccess().getGroup_3(), "rule__Broken__Group_3__0"); + mappings.put(grammarAccess.getBrokenAccess().getGroup_3_1(), "rule__Broken__Group_3_1__0"); + mappings.put(grammarAccess.getThirdAccess().getGroup(), "rule__Third__Group__0"); + mappings.put(grammarAccess.getFragmentAccess().getGroup(), "rule__Fragment__Group__0"); + mappings.put(grammarAccess.getFragmentAccess().getGroup_1(), "rule__Fragment__Group_1__0"); + mappings.put(grammarAccess.getModelAccess().getElementsAssignment(), "rule__Model__ElementsAssignment"); + mappings.put(grammarAccess.getWorksAccess().getNameAssignment_1(), "rule__Works__NameAssignment_1"); + mappings.put(grammarAccess.getWorksAccess().getIdsAssignment_2_0(), "rule__Works__IdsAssignment_2_0"); + mappings.put(grammarAccess.getWorksAccess().getIdsAssignment_2_1_1(), "rule__Works__IdsAssignment_2_1_1"); + mappings.put(grammarAccess.getWorksAccess().getRefsAssignment_3_0(), "rule__Works__RefsAssignment_3_0"); + mappings.put(grammarAccess.getWorksAccess().getRefsAssignment_3_1_1(), "rule__Works__RefsAssignment_3_1_1"); + mappings.put(grammarAccess.getBrokenAccess().getNameAssignment_1(), "rule__Broken__NameAssignment_1"); + mappings.put(grammarAccess.getBrokenAccess().getRefsAssignment_3_0(), "rule__Broken__RefsAssignment_3_0"); + mappings.put(grammarAccess.getBrokenAccess().getRefsAssignment_3_1_1(), "rule__Broken__RefsAssignment_3_1_1"); + mappings.put(grammarAccess.getThirdAccess().getNameAssignment_2(), "rule__Third__NameAssignment_2"); + mappings.put(grammarAccess.getFragmentAccess().getIdsAssignment_0(), "rule__Fragment__IdsAssignment_0"); + mappings.put(grammarAccess.getFragmentAccess().getIdsAssignment_1_1(), "rule__Fragment__IdsAssignment_1_1"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/LookAheadContentAssistTestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/LookAheadContentAssistTestLanguageParser.java index 4077d0c3e1b..2eeb95cc4d4 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/LookAheadContentAssistTestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/LookAheadContentAssistTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,34 +26,34 @@ public static final class NameMappings { @Inject public NameMappings(LookAheadContentAssistTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, LookAheadContentAssistTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getModelAccess().getAlternatives_1(), "rule__Model__Alternatives_1"); - builder.put(grammarAccess.getModelAccess().getGroup(), "rule__Model__Group__0"); - builder.put(grammarAccess.getModelAccess().getGroup_1_0(), "rule__Model__Group_1_0__0"); - builder.put(grammarAccess.getModelAccess().getGroup_1_1(), "rule__Model__Group_1_1__0"); - builder.put(grammarAccess.getModelAccess().getGroup_1_2(), "rule__Model__Group_1_2__0"); - builder.put(grammarAccess.getModelAccess().getGroup_1_3(), "rule__Model__Group_1_3__0"); - builder.put(grammarAccess.getPairAccess().getGroup(), "rule__Pair__Group__0"); - builder.put(grammarAccess.getModelAccess().getAttributeAssignment_1_0_1(), "rule__Model__AttributeAssignment_1_0_1"); - builder.put(grammarAccess.getModelAccess().getAttributeAssignment_1_0_2(), "rule__Model__AttributeAssignment_1_0_2"); - builder.put(grammarAccess.getModelAccess().getAttributeAssignment_1_1_1(), "rule__Model__AttributeAssignment_1_1_1"); - builder.put(grammarAccess.getModelAccess().getAttributeAssignment_1_1_2(), "rule__Model__AttributeAssignment_1_1_2"); - builder.put(grammarAccess.getModelAccess().getAttributeAssignment_1_2_1(), "rule__Model__AttributeAssignment_1_2_1"); - builder.put(grammarAccess.getModelAccess().getAttributeAssignment_1_2_2(), "rule__Model__AttributeAssignment_1_2_2"); - builder.put(grammarAccess.getModelAccess().getAttributeAssignment_1_3_1(), "rule__Model__AttributeAssignment_1_3_1"); - builder.put(grammarAccess.getModelAccess().getAttributeAssignment_1_3_2(), "rule__Model__AttributeAssignment_1_3_2"); - builder.put(grammarAccess.getAttributeAccess().getValueAssignment(), "rule__Attribute__ValueAssignment"); - builder.put(grammarAccess.getPairAccess().getNameAssignment_0(), "rule__Pair__NameAssignment_0"); - builder.put(grammarAccess.getPairAccess().getValueAssignment_2(), "rule__Pair__ValueAssignment_2"); + private static void init(Map mappings, LookAheadContentAssistTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getModelAccess().getAlternatives_1(), "rule__Model__Alternatives_1"); + mappings.put(grammarAccess.getModelAccess().getGroup(), "rule__Model__Group__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_1_0(), "rule__Model__Group_1_0__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_1_1(), "rule__Model__Group_1_1__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_1_2(), "rule__Model__Group_1_2__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_1_3(), "rule__Model__Group_1_3__0"); + mappings.put(grammarAccess.getPairAccess().getGroup(), "rule__Pair__Group__0"); + mappings.put(grammarAccess.getModelAccess().getAttributeAssignment_1_0_1(), "rule__Model__AttributeAssignment_1_0_1"); + mappings.put(grammarAccess.getModelAccess().getAttributeAssignment_1_0_2(), "rule__Model__AttributeAssignment_1_0_2"); + mappings.put(grammarAccess.getModelAccess().getAttributeAssignment_1_1_1(), "rule__Model__AttributeAssignment_1_1_1"); + mappings.put(grammarAccess.getModelAccess().getAttributeAssignment_1_1_2(), "rule__Model__AttributeAssignment_1_1_2"); + mappings.put(grammarAccess.getModelAccess().getAttributeAssignment_1_2_1(), "rule__Model__AttributeAssignment_1_2_1"); + mappings.put(grammarAccess.getModelAccess().getAttributeAssignment_1_2_2(), "rule__Model__AttributeAssignment_1_2_2"); + mappings.put(grammarAccess.getModelAccess().getAttributeAssignment_1_3_1(), "rule__Model__AttributeAssignment_1_3_1"); + mappings.put(grammarAccess.getModelAccess().getAttributeAssignment_1_3_2(), "rule__Model__AttributeAssignment_1_3_2"); + mappings.put(grammarAccess.getAttributeAccess().getValueAssignment(), "rule__Attribute__ValueAssignment"); + mappings.put(grammarAccess.getPairAccess().getNameAssignment_0(), "rule__Pair__NameAssignment_0"); + mappings.put(grammarAccess.getPairAccess().getValueAssignment_2(), "rule__Pair__ValueAssignment_2"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/ParameterizedExpressionsTestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/ParameterizedExpressionsTestLanguageParser.java index b0531566b57..62dd0860c99 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/ParameterizedExpressionsTestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/ParameterizedExpressionsTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,78 +26,78 @@ public static final class NameMappings { @Inject public NameMappings(ParameterizedExpressionsTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, ParameterizedExpressionsTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getRootStatementAccess().getAlternatives(), "rule__RootStatement__Alternatives"); - builder.put(grammarAccess.getFunctionImplAccess().getAlternatives_1(), "rule__FunctionImpl__Alternatives_1"); - builder.put(grammarAccess.getStatementAccess().getAlternatives(), "rule__Statement__Alternatives"); - builder.put(grammarAccess.getMemberExpressionAccess().getAlternatives_1(), "rule__MemberExpression__Alternatives_1"); - builder.put(grammarAccess.getShiftExpressionAccess().getOpAlternatives_1_0_1_0(), "rule__ShiftExpression__OpAlternatives_1_0_1_0"); - builder.put(grammarAccess.getRelationalOperatorAccess().getAlternatives(), "rule__RelationalOperator__Alternatives"); - builder.put(grammarAccess.getAssignmentExpressionAccess().getAlternatives(), "rule__AssignmentExpression__Alternatives"); - builder.put(grammarAccess.getIdentifierAccess().getAlternatives(), "rule__Identifier__Alternatives"); - builder.put(grammarAccess.getFunctionDeclarationAccess().getGroup(), "rule__FunctionDeclaration__Group__0"); - builder.put(grammarAccess.getFunctionDeclarationAccess().getGroup_0(), "rule__FunctionDeclaration__Group_0__0"); - builder.put(grammarAccess.getFunctionDeclarationAccess().getGroup_0_0(), "rule__FunctionDeclaration__Group_0_0__0"); - builder.put(grammarAccess.getFunctionImplAccess().getGroup(), "rule__FunctionImpl__Group__0"); - builder.put(grammarAccess.getFunctionImplAccess().getGroup_1_0(), "rule__FunctionImpl__Group_1_0__0"); - builder.put(grammarAccess.getFunctionImplAccess().getGroup_1_1(), "rule__FunctionImpl__Group_1_1__0"); - builder.put(grammarAccess.getFunctionHeaderAccess().getGroup(), "rule__FunctionHeader__Group__0"); - builder.put(grammarAccess.getBlockAccess().getGroup(), "rule__Block__Group__0"); - builder.put(grammarAccess.getBlockAccess().getGroup_0(), "rule__Block__Group_0__0"); - builder.put(grammarAccess.getBlockAccess().getGroup_0_0(), "rule__Block__Group_0_0__0"); - builder.put(grammarAccess.getExpressionStatementAccess().getGroup(), "rule__ExpressionStatement__Group__0"); - builder.put(grammarAccess.getLabelledStatementAccess().getGroup(), "rule__LabelledStatement__Group__0"); - builder.put(grammarAccess.getLabelledStatementAccess().getGroup_0(), "rule__LabelledStatement__Group_0__0"); - builder.put(grammarAccess.getLabelledStatementAccess().getGroup_0_0(), "rule__LabelledStatement__Group_0_0__0"); - builder.put(grammarAccess.getMemberExpressionAccess().getGroup(), "rule__MemberExpression__Group__0"); - builder.put(grammarAccess.getMemberExpressionAccess().getGroup_1_0(), "rule__MemberExpression__Group_1_0__0"); - builder.put(grammarAccess.getMemberExpressionAccess().getGroup_1_1(), "rule__MemberExpression__Group_1_1__0"); - builder.put(grammarAccess.getIndexedAccessExpressionTailAccess().getGroup(), "rule__IndexedAccessExpressionTail__Group__0"); - builder.put(grammarAccess.getParameterizedPropertyAccessExpressionTailAccess().getGroup(), "rule__ParameterizedPropertyAccessExpressionTail__Group__0"); - builder.put(grammarAccess.getShiftExpressionAccess().getGroup(), "rule__ShiftExpression__Group__0"); - builder.put(grammarAccess.getShiftExpressionAccess().getGroup_1(), "rule__ShiftExpression__Group_1__0"); - builder.put(grammarAccess.getShiftExpressionAccess().getGroup_1_0(), "rule__ShiftExpression__Group_1_0__0"); - builder.put(grammarAccess.getRelationalExpressionAccess().getGroup(), "rule__RelationalExpression__Group__0"); - builder.put(grammarAccess.getRelationalExpressionAccess().getGroup_1(), "rule__RelationalExpression__Group_1__0"); - builder.put(grammarAccess.getRelationalExpressionAccess().getGroup_1_0(), "rule__RelationalExpression__Group_1_0__0"); - builder.put(grammarAccess.getAssignmentExpressionAccess().getGroup_1(), "rule__AssignmentExpression__Group_1__0"); - builder.put(grammarAccess.getAssignmentExpressionAccess().getGroup_1_1(), "rule__AssignmentExpression__Group_1_1__0"); - builder.put(grammarAccess.getAssignmentExpressionAccess().getGroup_1_1_0(), "rule__AssignmentExpression__Group_1_1_0__0"); - builder.put(grammarAccess.getAssignmentExpressionAccess().getGroup_1_1_0_0(), "rule__AssignmentExpression__Group_1_1_0_0__0"); - builder.put(grammarAccess.getYieldExpressionAccess().getGroup(), "rule__YieldExpression__Group__0"); - builder.put(grammarAccess.getExpressionAccess().getGroup(), "rule__Expression__Group__0"); - builder.put(grammarAccess.getExpressionAccess().getGroup_1(), "rule__Expression__Group_1__0"); - builder.put(grammarAccess.getExpressionAccess().getGroup_1_3(), "rule__Expression__Group_1_3__0"); - builder.put(grammarAccess.getFunctionImplAccess().getGeneratorAssignment_1_0_0(), "rule__FunctionImpl__GeneratorAssignment_1_0_0"); - builder.put(grammarAccess.getFunctionHeaderAccess().getNameAssignment_0(), "rule__FunctionHeader__NameAssignment_0"); - builder.put(grammarAccess.getFunctionBodyAccess().getBodyAssignment_1_0(), "rule__FunctionBody__BodyAssignment_1_0"); - builder.put(grammarAccess.getFunctionBodyAccess().getBodyAssignment_0_0(), "rule__FunctionBody__BodyAssignment_0_0"); - builder.put(grammarAccess.getBlockAccess().getStatementsAssignment_1(), "rule__Block__StatementsAssignment_1"); - builder.put(grammarAccess.getExpressionStatementAccess().getExpressionAssignment_0(), "rule__ExpressionStatement__ExpressionAssignment_0"); - builder.put(grammarAccess.getLabelledStatementAccess().getNameAssignment_0_0_0(), "rule__LabelledStatement__NameAssignment_0_0_0"); - builder.put(grammarAccess.getLabelledStatementAccess().getStatementAssignment_1(), "rule__LabelledStatement__StatementAssignment_1"); - builder.put(grammarAccess.getIdentifierRefAccess().getIdAssignment(), "rule__IdentifierRef__IdAssignment"); - builder.put(grammarAccess.getIndexedAccessExpressionTailAccess().getIndexAssignment_1(), "rule__IndexedAccessExpressionTail__IndexAssignment_1"); - builder.put(grammarAccess.getParameterizedPropertyAccessExpressionTailAccess().getPropertyAssignment_1(), "rule__ParameterizedPropertyAccessExpressionTail__PropertyAssignment_1"); - builder.put(grammarAccess.getShiftExpressionAccess().getOpAssignment_1_0_1(), "rule__ShiftExpression__OpAssignment_1_0_1"); - builder.put(grammarAccess.getShiftExpressionAccess().getRhsAssignment_1_0_2(), "rule__ShiftExpression__RhsAssignment_1_0_2"); - builder.put(grammarAccess.getRelationalExpressionAccess().getOpAssignment_1_0_1(), "rule__RelationalExpression__OpAssignment_1_0_1"); - builder.put(grammarAccess.getRelationalExpressionAccess().getRhsAssignment_1_0_2(), "rule__RelationalExpression__RhsAssignment_1_0_2"); - builder.put(grammarAccess.getAssignmentExpressionAccess().getOpAssignment_1_1_0_0_1(), "rule__AssignmentExpression__OpAssignment_1_1_0_0_1"); - builder.put(grammarAccess.getAssignmentExpressionAccess().getRhsAssignment_1_1_1(), "rule__AssignmentExpression__RhsAssignment_1_1_1"); - builder.put(grammarAccess.getYieldExpressionAccess().getManyAssignment_2(), "rule__YieldExpression__ManyAssignment_2"); - builder.put(grammarAccess.getYieldExpressionAccess().getExpressionAssignment_3(), "rule__YieldExpression__ExpressionAssignment_3"); - builder.put(grammarAccess.getExpressionAccess().getExprsAssignment_1_2(), "rule__Expression__ExprsAssignment_1_2"); - builder.put(grammarAccess.getExpressionAccess().getExprsAssignment_1_3_1(), "rule__Expression__ExprsAssignment_1_3_1"); + private static void init(Map mappings, ParameterizedExpressionsTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getRootStatementAccess().getAlternatives(), "rule__RootStatement__Alternatives"); + mappings.put(grammarAccess.getFunctionImplAccess().getAlternatives_1(), "rule__FunctionImpl__Alternatives_1"); + mappings.put(grammarAccess.getStatementAccess().getAlternatives(), "rule__Statement__Alternatives"); + mappings.put(grammarAccess.getMemberExpressionAccess().getAlternatives_1(), "rule__MemberExpression__Alternatives_1"); + mappings.put(grammarAccess.getShiftExpressionAccess().getOpAlternatives_1_0_1_0(), "rule__ShiftExpression__OpAlternatives_1_0_1_0"); + mappings.put(grammarAccess.getRelationalOperatorAccess().getAlternatives(), "rule__RelationalOperator__Alternatives"); + mappings.put(grammarAccess.getAssignmentExpressionAccess().getAlternatives(), "rule__AssignmentExpression__Alternatives"); + mappings.put(grammarAccess.getIdentifierAccess().getAlternatives(), "rule__Identifier__Alternatives"); + mappings.put(grammarAccess.getFunctionDeclarationAccess().getGroup(), "rule__FunctionDeclaration__Group__0"); + mappings.put(grammarAccess.getFunctionDeclarationAccess().getGroup_0(), "rule__FunctionDeclaration__Group_0__0"); + mappings.put(grammarAccess.getFunctionDeclarationAccess().getGroup_0_0(), "rule__FunctionDeclaration__Group_0_0__0"); + mappings.put(grammarAccess.getFunctionImplAccess().getGroup(), "rule__FunctionImpl__Group__0"); + mappings.put(grammarAccess.getFunctionImplAccess().getGroup_1_0(), "rule__FunctionImpl__Group_1_0__0"); + mappings.put(grammarAccess.getFunctionImplAccess().getGroup_1_1(), "rule__FunctionImpl__Group_1_1__0"); + mappings.put(grammarAccess.getFunctionHeaderAccess().getGroup(), "rule__FunctionHeader__Group__0"); + mappings.put(grammarAccess.getBlockAccess().getGroup(), "rule__Block__Group__0"); + mappings.put(grammarAccess.getBlockAccess().getGroup_0(), "rule__Block__Group_0__0"); + mappings.put(grammarAccess.getBlockAccess().getGroup_0_0(), "rule__Block__Group_0_0__0"); + mappings.put(grammarAccess.getExpressionStatementAccess().getGroup(), "rule__ExpressionStatement__Group__0"); + mappings.put(grammarAccess.getLabelledStatementAccess().getGroup(), "rule__LabelledStatement__Group__0"); + mappings.put(grammarAccess.getLabelledStatementAccess().getGroup_0(), "rule__LabelledStatement__Group_0__0"); + mappings.put(grammarAccess.getLabelledStatementAccess().getGroup_0_0(), "rule__LabelledStatement__Group_0_0__0"); + mappings.put(grammarAccess.getMemberExpressionAccess().getGroup(), "rule__MemberExpression__Group__0"); + mappings.put(grammarAccess.getMemberExpressionAccess().getGroup_1_0(), "rule__MemberExpression__Group_1_0__0"); + mappings.put(grammarAccess.getMemberExpressionAccess().getGroup_1_1(), "rule__MemberExpression__Group_1_1__0"); + mappings.put(grammarAccess.getIndexedAccessExpressionTailAccess().getGroup(), "rule__IndexedAccessExpressionTail__Group__0"); + mappings.put(grammarAccess.getParameterizedPropertyAccessExpressionTailAccess().getGroup(), "rule__ParameterizedPropertyAccessExpressionTail__Group__0"); + mappings.put(grammarAccess.getShiftExpressionAccess().getGroup(), "rule__ShiftExpression__Group__0"); + mappings.put(grammarAccess.getShiftExpressionAccess().getGroup_1(), "rule__ShiftExpression__Group_1__0"); + mappings.put(grammarAccess.getShiftExpressionAccess().getGroup_1_0(), "rule__ShiftExpression__Group_1_0__0"); + mappings.put(grammarAccess.getRelationalExpressionAccess().getGroup(), "rule__RelationalExpression__Group__0"); + mappings.put(grammarAccess.getRelationalExpressionAccess().getGroup_1(), "rule__RelationalExpression__Group_1__0"); + mappings.put(grammarAccess.getRelationalExpressionAccess().getGroup_1_0(), "rule__RelationalExpression__Group_1_0__0"); + mappings.put(grammarAccess.getAssignmentExpressionAccess().getGroup_1(), "rule__AssignmentExpression__Group_1__0"); + mappings.put(grammarAccess.getAssignmentExpressionAccess().getGroup_1_1(), "rule__AssignmentExpression__Group_1_1__0"); + mappings.put(grammarAccess.getAssignmentExpressionAccess().getGroup_1_1_0(), "rule__AssignmentExpression__Group_1_1_0__0"); + mappings.put(grammarAccess.getAssignmentExpressionAccess().getGroup_1_1_0_0(), "rule__AssignmentExpression__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getYieldExpressionAccess().getGroup(), "rule__YieldExpression__Group__0"); + mappings.put(grammarAccess.getExpressionAccess().getGroup(), "rule__Expression__Group__0"); + mappings.put(grammarAccess.getExpressionAccess().getGroup_1(), "rule__Expression__Group_1__0"); + mappings.put(grammarAccess.getExpressionAccess().getGroup_1_3(), "rule__Expression__Group_1_3__0"); + mappings.put(grammarAccess.getFunctionImplAccess().getGeneratorAssignment_1_0_0(), "rule__FunctionImpl__GeneratorAssignment_1_0_0"); + mappings.put(grammarAccess.getFunctionHeaderAccess().getNameAssignment_0(), "rule__FunctionHeader__NameAssignment_0"); + mappings.put(grammarAccess.getFunctionBodyAccess().getBodyAssignment_1_0(), "rule__FunctionBody__BodyAssignment_1_0"); + mappings.put(grammarAccess.getFunctionBodyAccess().getBodyAssignment_0_0(), "rule__FunctionBody__BodyAssignment_0_0"); + mappings.put(grammarAccess.getBlockAccess().getStatementsAssignment_1(), "rule__Block__StatementsAssignment_1"); + mappings.put(grammarAccess.getExpressionStatementAccess().getExpressionAssignment_0(), "rule__ExpressionStatement__ExpressionAssignment_0"); + mappings.put(grammarAccess.getLabelledStatementAccess().getNameAssignment_0_0_0(), "rule__LabelledStatement__NameAssignment_0_0_0"); + mappings.put(grammarAccess.getLabelledStatementAccess().getStatementAssignment_1(), "rule__LabelledStatement__StatementAssignment_1"); + mappings.put(grammarAccess.getIdentifierRefAccess().getIdAssignment(), "rule__IdentifierRef__IdAssignment"); + mappings.put(grammarAccess.getIndexedAccessExpressionTailAccess().getIndexAssignment_1(), "rule__IndexedAccessExpressionTail__IndexAssignment_1"); + mappings.put(grammarAccess.getParameterizedPropertyAccessExpressionTailAccess().getPropertyAssignment_1(), "rule__ParameterizedPropertyAccessExpressionTail__PropertyAssignment_1"); + mappings.put(grammarAccess.getShiftExpressionAccess().getOpAssignment_1_0_1(), "rule__ShiftExpression__OpAssignment_1_0_1"); + mappings.put(grammarAccess.getShiftExpressionAccess().getRhsAssignment_1_0_2(), "rule__ShiftExpression__RhsAssignment_1_0_2"); + mappings.put(grammarAccess.getRelationalExpressionAccess().getOpAssignment_1_0_1(), "rule__RelationalExpression__OpAssignment_1_0_1"); + mappings.put(grammarAccess.getRelationalExpressionAccess().getRhsAssignment_1_0_2(), "rule__RelationalExpression__RhsAssignment_1_0_2"); + mappings.put(grammarAccess.getAssignmentExpressionAccess().getOpAssignment_1_1_0_0_1(), "rule__AssignmentExpression__OpAssignment_1_1_0_0_1"); + mappings.put(grammarAccess.getAssignmentExpressionAccess().getRhsAssignment_1_1_1(), "rule__AssignmentExpression__RhsAssignment_1_1_1"); + mappings.put(grammarAccess.getYieldExpressionAccess().getManyAssignment_2(), "rule__YieldExpression__ManyAssignment_2"); + mappings.put(grammarAccess.getYieldExpressionAccess().getExpressionAssignment_3(), "rule__YieldExpression__ExpressionAssignment_3"); + mappings.put(grammarAccess.getExpressionAccess().getExprsAssignment_1_2(), "rule__Expression__ExprsAssignment_1_2"); + mappings.put(grammarAccess.getExpressionAccess().getExprsAssignment_1_3_1(), "rule__Expression__ExprsAssignment_1_3_1"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/ParametersTestLanguageExParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/ParametersTestLanguageExParser.java index cb1c316e94f..2fca3433a2e 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/ParametersTestLanguageExParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/ParametersTestLanguageExParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,76 +26,76 @@ public static final class NameMappings { @Inject public NameMappings(ParametersTestLanguageExGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, ParametersTestLanguageExGrammarAccess grammarAccess) { - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getAlternatives_1(), "superParserRuleParameters__Alternatives_1"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getAlternatives_1_8_1(), "superParserRuleParameters__Alternatives_1_8_1"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getAlternatives_1_9_1(), "superParserRuleParameters__Alternatives_1_9_1"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getAlternatives_1_10_1(), "superParserRuleParameters__Alternatives_1_10_1"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getAlternatives_1_11_1(), "superParserRuleParameters__Alternatives_1_11_1"); - builder.put(grammarAccess.getScenario3Access().getAlternatives(), "rule__Scenario3__Alternatives"); - builder.put(grammarAccess.getScenario5Access().getAlternatives(), "rule__Scenario5__Alternatives"); - builder.put(grammarAccess.getIdOrKeywordAccess().getAlternatives(), "rule__IdOrKeyword__Alternatives"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup(), "superParserRuleParameters__Group__0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_0(), "superParserRuleParameters__Group_1_0__0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_1(), "superParserRuleParameters__Group_1_1__0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_2(), "superParserRuleParameters__Group_1_2__0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_3(), "superParserRuleParameters__Group_1_3__0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_4(), "superParserRuleParameters__Group_1_4__0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_4_0(), "superParserRuleParameters__Group_1_4_0__0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_5(), "superParserRuleParameters__Group_1_5__0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_5_0(), "superParserRuleParameters__Group_1_5_0__0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_6(), "superParserRuleParameters__Group_1_6__0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_7(), "superParserRuleParameters__Group_1_7__0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_8(), "superParserRuleParameters__Group_1_8__0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_8_1_1(), "superParserRuleParameters__Group_1_8_1_1__0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_9(), "superParserRuleParameters__Group_1_9__0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_9_1_1(), "superParserRuleParameters__Group_1_9_1_1__0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_10(), "superParserRuleParameters__Group_1_10__0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_10_1_1(), "superParserRuleParameters__Group_1_10_1_1__0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_11(), "superParserRuleParameters__Group_1_11__0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_11_1_1(), "superParserRuleParameters__Group_1_11_1_1__0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_12(), "superParserRuleParameters__Group_1_12__0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_13(), "superParserRuleParameters__Group_1_13__0"); - builder.put(grammarAccess.getScenario4Access().getGroup(), "rule__Scenario4__Group__0"); - builder.put(grammarAccess.getScenario5Access().getGroup_1(), "rule__Scenario5__Group_1__0"); - builder.put(grammarAccess.getScenario5Access().getGroup_2(), "rule__Scenario5__Group_2__0"); - builder.put(grammarAccess.getScenario5Access().getGroup_3(), "rule__Scenario5__Group_3__0"); - builder.put(grammarAccess.getScenario5Access().getGroup_0(), "rule__Scenario5__Group_0__0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_0_1(), "superParserRuleParameters__ScenarioAssignment_1_0_1"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_1_1(), "superParserRuleParameters__ScenarioAssignment_1_1_1"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_2_1(), "superParserRuleParameters__ScenarioAssignment_1_2_1"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_3_1(), "superParserRuleParameters__ScenarioAssignment_1_3_1"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_4_0_1(), "superParserRuleParameters__ScenarioAssignment_1_4_0_1"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_5_0_1(), "superParserRuleParameters__ScenarioAssignment_1_5_0_1"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_6_1(), "superParserRuleParameters__ScenarioAssignment_1_6_1"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_7_1(), "superParserRuleParameters__ScenarioAssignment_1_7_1"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_8_1_0(), "superParserRuleParameters__ScenarioAssignment_1_8_1_0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_8_1_1_0(), "superParserRuleParameters__ScenarioAssignment_1_8_1_1_0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_9_1_0(), "superParserRuleParameters__ScenarioAssignment_1_9_1_0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_9_1_1_0(), "superParserRuleParameters__ScenarioAssignment_1_9_1_1_0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_10_1_0(), "superParserRuleParameters__ScenarioAssignment_1_10_1_0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_10_1_1_0(), "superParserRuleParameters__ScenarioAssignment_1_10_1_1_0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_11_1_0(), "superParserRuleParameters__ScenarioAssignment_1_11_1_0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_11_1_1_0(), "superParserRuleParameters__ScenarioAssignment_1_11_1_1_0"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_12_1(), "superParserRuleParameters__ScenarioAssignment_1_12_1"); - builder.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_13_1(), "superParserRuleParameters__ScenarioAssignment_1_13_1"); - builder.put(grammarAccess.getParametersTestLanguageScenario1Access().getSecondAssignment_1_0(), "superScenario1__SecondAssignment_1_0"); - builder.put(grammarAccess.getParametersTestLanguageScenario1Access().getFirstAssignment_0_0(), "superScenario1__FirstAssignment_0_0"); - builder.put(grammarAccess.getScenario2Access().getFirstAssignment(), "rule__Scenario2__FirstAssignment"); - builder.put(grammarAccess.getScenario3Access().getFirstAssignment_0(), "rule__Scenario3__FirstAssignment_0"); - builder.put(grammarAccess.getScenario3Access().getSecondAssignment_1(), "rule__Scenario3__SecondAssignment_1"); - builder.put(grammarAccess.getScenario4Access().getSecondAssignment_0(), "rule__Scenario4__SecondAssignment_0"); - builder.put(grammarAccess.getScenario5Access().getFirstAssignment_2_3(), "rule__Scenario5__FirstAssignment_2_3"); - builder.put(grammarAccess.getScenario5Access().getSecondAssignment_2_4(), "rule__Scenario5__SecondAssignment_2_4"); + private static void init(Map mappings, ParametersTestLanguageExGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getAlternatives_1(), "superParserRuleParameters__Alternatives_1"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getAlternatives_1_8_1(), "superParserRuleParameters__Alternatives_1_8_1"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getAlternatives_1_9_1(), "superParserRuleParameters__Alternatives_1_9_1"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getAlternatives_1_10_1(), "superParserRuleParameters__Alternatives_1_10_1"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getAlternatives_1_11_1(), "superParserRuleParameters__Alternatives_1_11_1"); + mappings.put(grammarAccess.getScenario3Access().getAlternatives(), "rule__Scenario3__Alternatives"); + mappings.put(grammarAccess.getScenario5Access().getAlternatives(), "rule__Scenario5__Alternatives"); + mappings.put(grammarAccess.getIdOrKeywordAccess().getAlternatives(), "rule__IdOrKeyword__Alternatives"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup(), "superParserRuleParameters__Group__0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_0(), "superParserRuleParameters__Group_1_0__0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_1(), "superParserRuleParameters__Group_1_1__0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_2(), "superParserRuleParameters__Group_1_2__0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_3(), "superParserRuleParameters__Group_1_3__0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_4(), "superParserRuleParameters__Group_1_4__0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_4_0(), "superParserRuleParameters__Group_1_4_0__0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_5(), "superParserRuleParameters__Group_1_5__0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_5_0(), "superParserRuleParameters__Group_1_5_0__0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_6(), "superParserRuleParameters__Group_1_6__0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_7(), "superParserRuleParameters__Group_1_7__0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_8(), "superParserRuleParameters__Group_1_8__0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_8_1_1(), "superParserRuleParameters__Group_1_8_1_1__0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_9(), "superParserRuleParameters__Group_1_9__0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_9_1_1(), "superParserRuleParameters__Group_1_9_1_1__0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_10(), "superParserRuleParameters__Group_1_10__0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_10_1_1(), "superParserRuleParameters__Group_1_10_1_1__0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_11(), "superParserRuleParameters__Group_1_11__0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_11_1_1(), "superParserRuleParameters__Group_1_11_1_1__0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_12(), "superParserRuleParameters__Group_1_12__0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getGroup_1_13(), "superParserRuleParameters__Group_1_13__0"); + mappings.put(grammarAccess.getScenario4Access().getGroup(), "rule__Scenario4__Group__0"); + mappings.put(grammarAccess.getScenario5Access().getGroup_1(), "rule__Scenario5__Group_1__0"); + mappings.put(grammarAccess.getScenario5Access().getGroup_2(), "rule__Scenario5__Group_2__0"); + mappings.put(grammarAccess.getScenario5Access().getGroup_3(), "rule__Scenario5__Group_3__0"); + mappings.put(grammarAccess.getScenario5Access().getGroup_0(), "rule__Scenario5__Group_0__0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_0_1(), "superParserRuleParameters__ScenarioAssignment_1_0_1"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_1_1(), "superParserRuleParameters__ScenarioAssignment_1_1_1"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_2_1(), "superParserRuleParameters__ScenarioAssignment_1_2_1"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_3_1(), "superParserRuleParameters__ScenarioAssignment_1_3_1"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_4_0_1(), "superParserRuleParameters__ScenarioAssignment_1_4_0_1"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_5_0_1(), "superParserRuleParameters__ScenarioAssignment_1_5_0_1"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_6_1(), "superParserRuleParameters__ScenarioAssignment_1_6_1"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_7_1(), "superParserRuleParameters__ScenarioAssignment_1_7_1"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_8_1_0(), "superParserRuleParameters__ScenarioAssignment_1_8_1_0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_8_1_1_0(), "superParserRuleParameters__ScenarioAssignment_1_8_1_1_0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_9_1_0(), "superParserRuleParameters__ScenarioAssignment_1_9_1_0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_9_1_1_0(), "superParserRuleParameters__ScenarioAssignment_1_9_1_1_0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_10_1_0(), "superParserRuleParameters__ScenarioAssignment_1_10_1_0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_10_1_1_0(), "superParserRuleParameters__ScenarioAssignment_1_10_1_1_0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_11_1_0(), "superParserRuleParameters__ScenarioAssignment_1_11_1_0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_11_1_1_0(), "superParserRuleParameters__ScenarioAssignment_1_11_1_1_0"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_12_1(), "superParserRuleParameters__ScenarioAssignment_1_12_1"); + mappings.put(grammarAccess.getParametersTestLanguageParserRuleParametersAccess().getScenarioAssignment_1_13_1(), "superParserRuleParameters__ScenarioAssignment_1_13_1"); + mappings.put(grammarAccess.getParametersTestLanguageScenario1Access().getSecondAssignment_1_0(), "superScenario1__SecondAssignment_1_0"); + mappings.put(grammarAccess.getParametersTestLanguageScenario1Access().getFirstAssignment_0_0(), "superScenario1__FirstAssignment_0_0"); + mappings.put(grammarAccess.getScenario2Access().getFirstAssignment(), "rule__Scenario2__FirstAssignment"); + mappings.put(grammarAccess.getScenario3Access().getFirstAssignment_0(), "rule__Scenario3__FirstAssignment_0"); + mappings.put(grammarAccess.getScenario3Access().getSecondAssignment_1(), "rule__Scenario3__SecondAssignment_1"); + mappings.put(grammarAccess.getScenario4Access().getSecondAssignment_0(), "rule__Scenario4__SecondAssignment_0"); + mappings.put(grammarAccess.getScenario5Access().getFirstAssignment_2_3(), "rule__Scenario5__FirstAssignment_2_3"); + mappings.put(grammarAccess.getScenario5Access().getSecondAssignment_2_4(), "rule__Scenario5__SecondAssignment_2_4"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/ParametersTestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/ParametersTestLanguageParser.java index 12fbef2ef8c..48c1c325f0a 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/ParametersTestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/ParametersTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,76 +26,76 @@ public static final class NameMappings { @Inject public NameMappings(ParametersTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, ParametersTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getParserRuleParametersAccess().getAlternatives_1(), "rule__ParserRuleParameters__Alternatives_1"); - builder.put(grammarAccess.getParserRuleParametersAccess().getAlternatives_1_8_1(), "rule__ParserRuleParameters__Alternatives_1_8_1"); - builder.put(grammarAccess.getParserRuleParametersAccess().getAlternatives_1_9_1(), "rule__ParserRuleParameters__Alternatives_1_9_1"); - builder.put(grammarAccess.getParserRuleParametersAccess().getAlternatives_1_10_1(), "rule__ParserRuleParameters__Alternatives_1_10_1"); - builder.put(grammarAccess.getParserRuleParametersAccess().getAlternatives_1_11_1(), "rule__ParserRuleParameters__Alternatives_1_11_1"); - builder.put(grammarAccess.getScenario3Access().getAlternatives(), "rule__Scenario3__Alternatives"); - builder.put(grammarAccess.getScenario5Access().getAlternatives(), "rule__Scenario5__Alternatives"); - builder.put(grammarAccess.getIdOrKeywordAccess().getAlternatives(), "rule__IdOrKeyword__Alternatives"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup(), "rule__ParserRuleParameters__Group__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_0(), "rule__ParserRuleParameters__Group_1_0__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_1(), "rule__ParserRuleParameters__Group_1_1__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_2(), "rule__ParserRuleParameters__Group_1_2__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_3(), "rule__ParserRuleParameters__Group_1_3__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_4(), "rule__ParserRuleParameters__Group_1_4__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_4_0(), "rule__ParserRuleParameters__Group_1_4_0__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_5(), "rule__ParserRuleParameters__Group_1_5__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_5_0(), "rule__ParserRuleParameters__Group_1_5_0__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_6(), "rule__ParserRuleParameters__Group_1_6__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_7(), "rule__ParserRuleParameters__Group_1_7__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_8(), "rule__ParserRuleParameters__Group_1_8__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_8_1_1(), "rule__ParserRuleParameters__Group_1_8_1_1__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_9(), "rule__ParserRuleParameters__Group_1_9__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_9_1_1(), "rule__ParserRuleParameters__Group_1_9_1_1__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_10(), "rule__ParserRuleParameters__Group_1_10__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_10_1_1(), "rule__ParserRuleParameters__Group_1_10_1_1__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_11(), "rule__ParserRuleParameters__Group_1_11__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_11_1_1(), "rule__ParserRuleParameters__Group_1_11_1_1__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_12(), "rule__ParserRuleParameters__Group_1_12__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_13(), "rule__ParserRuleParameters__Group_1_13__0"); - builder.put(grammarAccess.getScenario4Access().getGroup(), "rule__Scenario4__Group__0"); - builder.put(grammarAccess.getScenario5Access().getGroup_1(), "rule__Scenario5__Group_1__0"); - builder.put(grammarAccess.getScenario5Access().getGroup_2(), "rule__Scenario5__Group_2__0"); - builder.put(grammarAccess.getScenario5Access().getGroup_3(), "rule__Scenario5__Group_3__0"); - builder.put(grammarAccess.getScenario5Access().getGroup_0(), "rule__Scenario5__Group_0__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_0_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_0_1"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_1_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_1_1"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_2_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_2_1"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_3_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_3_1"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_4_0_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_4_0_1"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_5_0_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_5_0_1"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_6_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_6_1"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_7_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_7_1"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_8_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_8_1_0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_8_1_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_8_1_1_0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_9_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_9_1_0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_9_1_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_9_1_1_0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_10_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_10_1_0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_10_1_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_10_1_1_0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_11_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_11_1_0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_11_1_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_11_1_1_0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_12_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_12_1"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_13_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_13_1"); - builder.put(grammarAccess.getScenario1Access().getSecondAssignment_1_0(), "rule__Scenario1__SecondAssignment_1_0"); - builder.put(grammarAccess.getScenario1Access().getFirstAssignment_0_0(), "rule__Scenario1__FirstAssignment_0_0"); - builder.put(grammarAccess.getScenario2Access().getFirstAssignment(), "rule__Scenario2__FirstAssignment"); - builder.put(grammarAccess.getScenario3Access().getFirstAssignment_0(), "rule__Scenario3__FirstAssignment_0"); - builder.put(grammarAccess.getScenario3Access().getSecondAssignment_1(), "rule__Scenario3__SecondAssignment_1"); - builder.put(grammarAccess.getScenario4Access().getSecondAssignment_0(), "rule__Scenario4__SecondAssignment_0"); - builder.put(grammarAccess.getScenario5Access().getFirstAssignment_2_3(), "rule__Scenario5__FirstAssignment_2_3"); - builder.put(grammarAccess.getScenario5Access().getSecondAssignment_2_4(), "rule__Scenario5__SecondAssignment_2_4"); + private static void init(Map mappings, ParametersTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getParserRuleParametersAccess().getAlternatives_1(), "rule__ParserRuleParameters__Alternatives_1"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getAlternatives_1_8_1(), "rule__ParserRuleParameters__Alternatives_1_8_1"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getAlternatives_1_9_1(), "rule__ParserRuleParameters__Alternatives_1_9_1"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getAlternatives_1_10_1(), "rule__ParserRuleParameters__Alternatives_1_10_1"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getAlternatives_1_11_1(), "rule__ParserRuleParameters__Alternatives_1_11_1"); + mappings.put(grammarAccess.getScenario3Access().getAlternatives(), "rule__Scenario3__Alternatives"); + mappings.put(grammarAccess.getScenario5Access().getAlternatives(), "rule__Scenario5__Alternatives"); + mappings.put(grammarAccess.getIdOrKeywordAccess().getAlternatives(), "rule__IdOrKeyword__Alternatives"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup(), "rule__ParserRuleParameters__Group__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_0(), "rule__ParserRuleParameters__Group_1_0__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_1(), "rule__ParserRuleParameters__Group_1_1__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_2(), "rule__ParserRuleParameters__Group_1_2__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_3(), "rule__ParserRuleParameters__Group_1_3__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_4(), "rule__ParserRuleParameters__Group_1_4__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_4_0(), "rule__ParserRuleParameters__Group_1_4_0__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_5(), "rule__ParserRuleParameters__Group_1_5__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_5_0(), "rule__ParserRuleParameters__Group_1_5_0__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_6(), "rule__ParserRuleParameters__Group_1_6__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_7(), "rule__ParserRuleParameters__Group_1_7__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_8(), "rule__ParserRuleParameters__Group_1_8__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_8_1_1(), "rule__ParserRuleParameters__Group_1_8_1_1__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_9(), "rule__ParserRuleParameters__Group_1_9__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_9_1_1(), "rule__ParserRuleParameters__Group_1_9_1_1__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_10(), "rule__ParserRuleParameters__Group_1_10__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_10_1_1(), "rule__ParserRuleParameters__Group_1_10_1_1__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_11(), "rule__ParserRuleParameters__Group_1_11__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_11_1_1(), "rule__ParserRuleParameters__Group_1_11_1_1__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_12(), "rule__ParserRuleParameters__Group_1_12__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_13(), "rule__ParserRuleParameters__Group_1_13__0"); + mappings.put(grammarAccess.getScenario4Access().getGroup(), "rule__Scenario4__Group__0"); + mappings.put(grammarAccess.getScenario5Access().getGroup_1(), "rule__Scenario5__Group_1__0"); + mappings.put(grammarAccess.getScenario5Access().getGroup_2(), "rule__Scenario5__Group_2__0"); + mappings.put(grammarAccess.getScenario5Access().getGroup_3(), "rule__Scenario5__Group_3__0"); + mappings.put(grammarAccess.getScenario5Access().getGroup_0(), "rule__Scenario5__Group_0__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_0_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_0_1"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_1_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_1_1"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_2_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_2_1"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_3_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_3_1"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_4_0_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_4_0_1"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_5_0_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_5_0_1"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_6_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_6_1"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_7_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_7_1"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_8_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_8_1_0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_8_1_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_8_1_1_0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_9_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_9_1_0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_9_1_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_9_1_1_0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_10_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_10_1_0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_10_1_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_10_1_1_0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_11_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_11_1_0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_11_1_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_11_1_1_0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_12_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_12_1"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_13_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_13_1"); + mappings.put(grammarAccess.getScenario1Access().getSecondAssignment_1_0(), "rule__Scenario1__SecondAssignment_1_0"); + mappings.put(grammarAccess.getScenario1Access().getFirstAssignment_0_0(), "rule__Scenario1__FirstAssignment_0_0"); + mappings.put(grammarAccess.getScenario2Access().getFirstAssignment(), "rule__Scenario2__FirstAssignment"); + mappings.put(grammarAccess.getScenario3Access().getFirstAssignment_0(), "rule__Scenario3__FirstAssignment_0"); + mappings.put(grammarAccess.getScenario3Access().getSecondAssignment_1(), "rule__Scenario3__SecondAssignment_1"); + mappings.put(grammarAccess.getScenario4Access().getSecondAssignment_0(), "rule__Scenario4__SecondAssignment_0"); + mappings.put(grammarAccess.getScenario5Access().getFirstAssignment_2_3(), "rule__Scenario5__FirstAssignment_2_3"); + mappings.put(grammarAccess.getScenario5Access().getSecondAssignment_2_4(), "rule__Scenario5__SecondAssignment_2_4"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/TwoContextsTestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/TwoContextsTestLanguageParser.java index f06f50e1dc1..26da39d413c 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/TwoContextsTestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/TwoContextsTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,21 +26,21 @@ public static final class NameMappings { @Inject public NameMappings(TwoContextsTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, TwoContextsTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getAnElementAccess().getGroup(), "rule__AnElement__Group__0"); - builder.put(grammarAccess.getAnElementAccess().getGroup_1(), "rule__AnElement__Group_1__0"); - builder.put(grammarAccess.getMainModelAccess().getElementsAssignment(), "rule__MainModel__ElementsAssignment"); - builder.put(grammarAccess.getAnElementAccess().getNameAssignment_0(), "rule__AnElement__NameAssignment_0"); - builder.put(grammarAccess.getAnElementAccess().getReferredAssignment_1_1(), "rule__AnElement__ReferredAssignment_1_1"); + private static void init(Map mappings, TwoContextsTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getAnElementAccess().getGroup(), "rule__AnElement__Group__0"); + mappings.put(grammarAccess.getAnElementAccess().getGroup_1(), "rule__AnElement__Group_1__0"); + mappings.put(grammarAccess.getMainModelAccess().getElementsAssignment(), "rule__MainModel__ElementsAssignment"); + mappings.put(grammarAccess.getAnElementAccess().getNameAssignment_0(), "rule__AnElement__NameAssignment_0"); + mappings.put(grammarAccess.getAnElementAccess().getReferredAssignment_1_1(), "rule__AnElement__ReferredAssignment_1_1"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/TwoParametersTestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/TwoParametersTestLanguageParser.java index 81f7f3c2ff8..4fd9e9a35b4 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/TwoParametersTestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/TwoParametersTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,92 +26,92 @@ public static final class NameMappings { @Inject public NameMappings(TwoParametersTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, TwoParametersTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getParserRuleParametersAccess().getAlternatives_1(), "rule__ParserRuleParameters__Alternatives_1"); - builder.put(grammarAccess.getParserRuleParametersAccess().getAlternatives_1_8_1(), "rule__ParserRuleParameters__Alternatives_1_8_1"); - builder.put(grammarAccess.getParserRuleParametersAccess().getAlternatives_1_9_1(), "rule__ParserRuleParameters__Alternatives_1_9_1"); - builder.put(grammarAccess.getParserRuleParametersAccess().getAlternatives_1_10_1(), "rule__ParserRuleParameters__Alternatives_1_10_1"); - builder.put(grammarAccess.getParserRuleParametersAccess().getAlternatives_1_11_1(), "rule__ParserRuleParameters__Alternatives_1_11_1"); - builder.put(grammarAccess.getScenario8Access().getAlternatives(), "rule__Scenario8__Alternatives"); - builder.put(grammarAccess.getScenario10Access().getAlternatives(), "rule__Scenario10__Alternatives"); - builder.put(grammarAccess.getIdOrKeyword2Access().getAlternatives(), "rule__IdOrKeyword2__Alternatives"); - builder.put(grammarAccess.getScenario3Access().getAlternatives(), "rule__Scenario3__Alternatives"); - builder.put(grammarAccess.getScenario5Access().getAlternatives(), "rule__Scenario5__Alternatives"); - builder.put(grammarAccess.getIdOrKeywordAccess().getAlternatives(), "rule__IdOrKeyword__Alternatives"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup(), "rule__ParserRuleParameters__Group__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_0(), "rule__ParserRuleParameters__Group_1_0__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_1(), "rule__ParserRuleParameters__Group_1_1__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_2(), "rule__ParserRuleParameters__Group_1_2__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_3(), "rule__ParserRuleParameters__Group_1_3__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_4(), "rule__ParserRuleParameters__Group_1_4__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_4_0(), "rule__ParserRuleParameters__Group_1_4_0__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_5(), "rule__ParserRuleParameters__Group_1_5__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_5_0(), "rule__ParserRuleParameters__Group_1_5_0__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_6(), "rule__ParserRuleParameters__Group_1_6__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_7(), "rule__ParserRuleParameters__Group_1_7__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_8(), "rule__ParserRuleParameters__Group_1_8__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_8_1_1(), "rule__ParserRuleParameters__Group_1_8_1_1__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_9(), "rule__ParserRuleParameters__Group_1_9__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_9_1_1(), "rule__ParserRuleParameters__Group_1_9_1_1__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_10(), "rule__ParserRuleParameters__Group_1_10__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_10_1_1(), "rule__ParserRuleParameters__Group_1_10_1_1__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_11(), "rule__ParserRuleParameters__Group_1_11__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_11_1_1(), "rule__ParserRuleParameters__Group_1_11_1_1__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_12(), "rule__ParserRuleParameters__Group_1_12__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_13(), "rule__ParserRuleParameters__Group_1_13__0"); - builder.put(grammarAccess.getScenario9Access().getGroup(), "rule__Scenario9__Group__0"); - builder.put(grammarAccess.getScenario10Access().getGroup_1(), "rule__Scenario10__Group_1__0"); - builder.put(grammarAccess.getScenario10Access().getGroup_2(), "rule__Scenario10__Group_2__0"); - builder.put(grammarAccess.getScenario10Access().getGroup_3(), "rule__Scenario10__Group_3__0"); - builder.put(grammarAccess.getScenario10Access().getGroup_0(), "rule__Scenario10__Group_0__0"); - builder.put(grammarAccess.getScenario4Access().getGroup(), "rule__Scenario4__Group__0"); - builder.put(grammarAccess.getScenario5Access().getGroup_1(), "rule__Scenario5__Group_1__0"); - builder.put(grammarAccess.getScenario5Access().getGroup_2(), "rule__Scenario5__Group_2__0"); - builder.put(grammarAccess.getScenario5Access().getGroup_3(), "rule__Scenario5__Group_3__0"); - builder.put(grammarAccess.getScenario5Access().getGroup_0(), "rule__Scenario5__Group_0__0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_0_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_0_1"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_1_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_1_1"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_2_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_2_1"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_3_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_3_1"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_4_0_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_4_0_1"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_5_0_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_5_0_1"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_6_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_6_1"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_7_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_7_1"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_8_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_8_1_0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_8_1_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_8_1_1_0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_9_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_9_1_0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_9_1_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_9_1_1_0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_10_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_10_1_0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_10_1_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_10_1_1_0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_11_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_11_1_0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_11_1_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_11_1_1_0"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_12_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_12_1"); - builder.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_13_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_13_1"); - builder.put(grammarAccess.getScenario6Access().getSecondAssignment_1_0(), "rule__Scenario6__SecondAssignment_1_0"); - builder.put(grammarAccess.getScenario6Access().getFirstAssignment_0_0(), "rule__Scenario6__FirstAssignment_0_0"); - builder.put(grammarAccess.getScenario7Access().getFirstAssignment(), "rule__Scenario7__FirstAssignment"); - builder.put(grammarAccess.getScenario8Access().getFirstAssignment_0(), "rule__Scenario8__FirstAssignment_0"); - builder.put(grammarAccess.getScenario8Access().getSecondAssignment_1(), "rule__Scenario8__SecondAssignment_1"); - builder.put(grammarAccess.getScenario9Access().getSecondAssignment_0(), "rule__Scenario9__SecondAssignment_0"); - builder.put(grammarAccess.getScenario10Access().getFirstAssignment_2_3(), "rule__Scenario10__FirstAssignment_2_3"); - builder.put(grammarAccess.getScenario10Access().getSecondAssignment_2_4(), "rule__Scenario10__SecondAssignment_2_4"); - builder.put(grammarAccess.getScenario1Access().getSecondAssignment_1_0(), "rule__Scenario1__SecondAssignment_1_0"); - builder.put(grammarAccess.getScenario1Access().getFirstAssignment_0_0(), "rule__Scenario1__FirstAssignment_0_0"); - builder.put(grammarAccess.getScenario2Access().getFirstAssignment(), "rule__Scenario2__FirstAssignment"); - builder.put(grammarAccess.getScenario3Access().getFirstAssignment_0(), "rule__Scenario3__FirstAssignment_0"); - builder.put(grammarAccess.getScenario3Access().getSecondAssignment_1(), "rule__Scenario3__SecondAssignment_1"); - builder.put(grammarAccess.getScenario4Access().getSecondAssignment_0(), "rule__Scenario4__SecondAssignment_0"); - builder.put(grammarAccess.getScenario5Access().getFirstAssignment_2_3(), "rule__Scenario5__FirstAssignment_2_3"); - builder.put(grammarAccess.getScenario5Access().getSecondAssignment_2_4(), "rule__Scenario5__SecondAssignment_2_4"); + private static void init(Map mappings, TwoParametersTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getParserRuleParametersAccess().getAlternatives_1(), "rule__ParserRuleParameters__Alternatives_1"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getAlternatives_1_8_1(), "rule__ParserRuleParameters__Alternatives_1_8_1"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getAlternatives_1_9_1(), "rule__ParserRuleParameters__Alternatives_1_9_1"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getAlternatives_1_10_1(), "rule__ParserRuleParameters__Alternatives_1_10_1"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getAlternatives_1_11_1(), "rule__ParserRuleParameters__Alternatives_1_11_1"); + mappings.put(grammarAccess.getScenario8Access().getAlternatives(), "rule__Scenario8__Alternatives"); + mappings.put(grammarAccess.getScenario10Access().getAlternatives(), "rule__Scenario10__Alternatives"); + mappings.put(grammarAccess.getIdOrKeyword2Access().getAlternatives(), "rule__IdOrKeyword2__Alternatives"); + mappings.put(grammarAccess.getScenario3Access().getAlternatives(), "rule__Scenario3__Alternatives"); + mappings.put(grammarAccess.getScenario5Access().getAlternatives(), "rule__Scenario5__Alternatives"); + mappings.put(grammarAccess.getIdOrKeywordAccess().getAlternatives(), "rule__IdOrKeyword__Alternatives"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup(), "rule__ParserRuleParameters__Group__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_0(), "rule__ParserRuleParameters__Group_1_0__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_1(), "rule__ParserRuleParameters__Group_1_1__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_2(), "rule__ParserRuleParameters__Group_1_2__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_3(), "rule__ParserRuleParameters__Group_1_3__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_4(), "rule__ParserRuleParameters__Group_1_4__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_4_0(), "rule__ParserRuleParameters__Group_1_4_0__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_5(), "rule__ParserRuleParameters__Group_1_5__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_5_0(), "rule__ParserRuleParameters__Group_1_5_0__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_6(), "rule__ParserRuleParameters__Group_1_6__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_7(), "rule__ParserRuleParameters__Group_1_7__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_8(), "rule__ParserRuleParameters__Group_1_8__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_8_1_1(), "rule__ParserRuleParameters__Group_1_8_1_1__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_9(), "rule__ParserRuleParameters__Group_1_9__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_9_1_1(), "rule__ParserRuleParameters__Group_1_9_1_1__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_10(), "rule__ParserRuleParameters__Group_1_10__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_10_1_1(), "rule__ParserRuleParameters__Group_1_10_1_1__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_11(), "rule__ParserRuleParameters__Group_1_11__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_11_1_1(), "rule__ParserRuleParameters__Group_1_11_1_1__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_12(), "rule__ParserRuleParameters__Group_1_12__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getGroup_1_13(), "rule__ParserRuleParameters__Group_1_13__0"); + mappings.put(grammarAccess.getScenario9Access().getGroup(), "rule__Scenario9__Group__0"); + mappings.put(grammarAccess.getScenario10Access().getGroup_1(), "rule__Scenario10__Group_1__0"); + mappings.put(grammarAccess.getScenario10Access().getGroup_2(), "rule__Scenario10__Group_2__0"); + mappings.put(grammarAccess.getScenario10Access().getGroup_3(), "rule__Scenario10__Group_3__0"); + mappings.put(grammarAccess.getScenario10Access().getGroup_0(), "rule__Scenario10__Group_0__0"); + mappings.put(grammarAccess.getScenario4Access().getGroup(), "rule__Scenario4__Group__0"); + mappings.put(grammarAccess.getScenario5Access().getGroup_1(), "rule__Scenario5__Group_1__0"); + mappings.put(grammarAccess.getScenario5Access().getGroup_2(), "rule__Scenario5__Group_2__0"); + mappings.put(grammarAccess.getScenario5Access().getGroup_3(), "rule__Scenario5__Group_3__0"); + mappings.put(grammarAccess.getScenario5Access().getGroup_0(), "rule__Scenario5__Group_0__0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_0_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_0_1"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_1_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_1_1"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_2_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_2_1"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_3_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_3_1"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_4_0_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_4_0_1"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_5_0_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_5_0_1"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_6_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_6_1"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_7_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_7_1"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_8_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_8_1_0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_8_1_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_8_1_1_0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_9_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_9_1_0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_9_1_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_9_1_1_0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_10_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_10_1_0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_10_1_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_10_1_1_0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_11_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_11_1_0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_11_1_1_0(), "rule__ParserRuleParameters__ScenarioAssignment_1_11_1_1_0"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_12_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_12_1"); + mappings.put(grammarAccess.getParserRuleParametersAccess().getScenarioAssignment_1_13_1(), "rule__ParserRuleParameters__ScenarioAssignment_1_13_1"); + mappings.put(grammarAccess.getScenario6Access().getSecondAssignment_1_0(), "rule__Scenario6__SecondAssignment_1_0"); + mappings.put(grammarAccess.getScenario6Access().getFirstAssignment_0_0(), "rule__Scenario6__FirstAssignment_0_0"); + mappings.put(grammarAccess.getScenario7Access().getFirstAssignment(), "rule__Scenario7__FirstAssignment"); + mappings.put(grammarAccess.getScenario8Access().getFirstAssignment_0(), "rule__Scenario8__FirstAssignment_0"); + mappings.put(grammarAccess.getScenario8Access().getSecondAssignment_1(), "rule__Scenario8__SecondAssignment_1"); + mappings.put(grammarAccess.getScenario9Access().getSecondAssignment_0(), "rule__Scenario9__SecondAssignment_0"); + mappings.put(grammarAccess.getScenario10Access().getFirstAssignment_2_3(), "rule__Scenario10__FirstAssignment_2_3"); + mappings.put(grammarAccess.getScenario10Access().getSecondAssignment_2_4(), "rule__Scenario10__SecondAssignment_2_4"); + mappings.put(grammarAccess.getScenario1Access().getSecondAssignment_1_0(), "rule__Scenario1__SecondAssignment_1_0"); + mappings.put(grammarAccess.getScenario1Access().getFirstAssignment_0_0(), "rule__Scenario1__FirstAssignment_0_0"); + mappings.put(grammarAccess.getScenario2Access().getFirstAssignment(), "rule__Scenario2__FirstAssignment"); + mappings.put(grammarAccess.getScenario3Access().getFirstAssignment_0(), "rule__Scenario3__FirstAssignment_0"); + mappings.put(grammarAccess.getScenario3Access().getSecondAssignment_1(), "rule__Scenario3__SecondAssignment_1"); + mappings.put(grammarAccess.getScenario4Access().getSecondAssignment_0(), "rule__Scenario4__SecondAssignment_0"); + mappings.put(grammarAccess.getScenario5Access().getFirstAssignment_2_3(), "rule__Scenario5__FirstAssignment_2_3"); + mappings.put(grammarAccess.getScenario5Access().getSecondAssignment_2_4(), "rule__Scenario5__SecondAssignment_2_4"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/UnorderedGroupsTestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/UnorderedGroupsTestLanguageParser.java index 7f9a6ded210..41741c45758 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/UnorderedGroupsTestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/contentassist/ide/contentassist/antlr/UnorderedGroupsTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.contentassist.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,96 +26,96 @@ public static final class NameMappings { @Inject public NameMappings(UnorderedGroupsTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, UnorderedGroupsTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getModelAccess().getAlternatives(), "rule__Model__Alternatives"); - builder.put(grammarAccess.getSimpleModelAccess().getVisibilityAlternatives_0_0_0(), "rule__SimpleModel__VisibilityAlternatives_0_0_0"); - builder.put(grammarAccess.getSimpleModelAccess().getAlternatives_0_3(), "rule__SimpleModel__Alternatives_0_3"); - builder.put(grammarAccess.getMandatoryModelAccess().getVisibilityAlternatives_0_0_0(), "rule__MandatoryModel__VisibilityAlternatives_0_0_0"); - builder.put(grammarAccess.getMandatoryModelAccess().getAlternatives_0_3(), "rule__MandatoryModel__Alternatives_0_3"); - builder.put(grammarAccess.getLoopedModelAccess().getVisibilityAlternatives_0_0_0(), "rule__LoopedModel__VisibilityAlternatives_0_0_0"); - builder.put(grammarAccess.getLoopedModelAccess().getAlternatives_0_3(), "rule__LoopedModel__Alternatives_0_3"); - builder.put(grammarAccess.getGroupLoopedModelAccess().getVisibilityAlternatives_0_0_0(), "rule__GroupLoopedModel__VisibilityAlternatives_0_0_0"); - builder.put(grammarAccess.getGroupLoopedModelAccess().getAlternatives_0_3(), "rule__GroupLoopedModel__Alternatives_0_3"); - builder.put(grammarAccess.getLoopedAlternativeModelAccess().getAlternatives_0(), "rule__LoopedAlternativeModel__Alternatives_0"); - builder.put(grammarAccess.getLoopedAlternativeModelAccess().getVisibilityAlternatives_0_0_0(), "rule__LoopedAlternativeModel__VisibilityAlternatives_0_0_0"); - builder.put(grammarAccess.getLoopedAlternativeModelAccess().getAlternatives_0_3(), "rule__LoopedAlternativeModel__Alternatives_0_3"); - builder.put(grammarAccess.getBug304681FeatureAccess().getAlternatives(), "rule__Bug304681Feature__Alternatives"); - builder.put(grammarAccess.getModelAccess().getGroup_0(), "rule__Model__Group_0__0"); - builder.put(grammarAccess.getModelAccess().getGroup_1(), "rule__Model__Group_1__0"); - builder.put(grammarAccess.getModelAccess().getGroup_2(), "rule__Model__Group_2__0"); - builder.put(grammarAccess.getModelAccess().getGroup_3(), "rule__Model__Group_3__0"); - builder.put(grammarAccess.getModelAccess().getGroup_4(), "rule__Model__Group_4__0"); - builder.put(grammarAccess.getModelAccess().getGroup_5(), "rule__Model__Group_5__0"); - builder.put(grammarAccess.getSimpleModelAccess().getGroup(), "rule__SimpleModel__Group__0"); - builder.put(grammarAccess.getMandatoryModelAccess().getGroup(), "rule__MandatoryModel__Group__0"); - builder.put(grammarAccess.getLoopedModelAccess().getGroup(), "rule__LoopedModel__Group__0"); - builder.put(grammarAccess.getGroupLoopedModelAccess().getGroup(), "rule__GroupLoopedModel__Group__0"); - builder.put(grammarAccess.getLoopedAlternativeModelAccess().getGroup(), "rule__LoopedAlternativeModel__Group__0"); - builder.put(grammarAccess.getLoopedAlternativeModelAccess().getGroup_0_4(), "rule__LoopedAlternativeModel__Group_0_4__0"); - builder.put(grammarAccess.getBug304681ModelAccess().getGroup(), "rule__Bug304681Model__Group__0"); - builder.put(grammarAccess.getBug304681ModelAccess().getGroup_2_0(), "rule__Bug304681Model__Group_2_0__0"); - builder.put(grammarAccess.getBug304681ModelAccess().getGroup_2_1(), "rule__Bug304681Model__Group_2_1__0"); - builder.put(grammarAccess.getBug304681ModelAccess().getGroup_2_2(), "rule__Bug304681Model__Group_2_2__0"); - builder.put(grammarAccess.getBug304681ModelAccess().getGroup_2_3(), "rule__Bug304681Model__Group_2_3__0"); - builder.put(grammarAccess.getBug304681AttributeAccess().getGroup(), "rule__Bug304681Attribute__Group__0"); - builder.put(grammarAccess.getBug304681ReferenceAccess().getGroup(), "rule__Bug304681Reference__Group__0"); - builder.put(grammarAccess.getModelAccess().getFirstAssignment_0_1(), "rule__Model__FirstAssignment_0_1"); - builder.put(grammarAccess.getModelAccess().getSecondAssignment_1_1(), "rule__Model__SecondAssignment_1_1"); - builder.put(grammarAccess.getModelAccess().getThrirdAssignment_2_1(), "rule__Model__ThrirdAssignment_2_1"); - builder.put(grammarAccess.getModelAccess().getForthAssignment_3_1(), "rule__Model__ForthAssignment_3_1"); - builder.put(grammarAccess.getModelAccess().getFifthAssignment_4_1(), "rule__Model__FifthAssignment_4_1"); - builder.put(grammarAccess.getModelAccess().getModelAssignment_5_1(), "rule__Model__ModelAssignment_5_1"); - builder.put(grammarAccess.getSimpleModelAccess().getVisibilityAssignment_0_0(), "rule__SimpleModel__VisibilityAssignment_0_0"); - builder.put(grammarAccess.getSimpleModelAccess().getStaticAssignment_0_1(), "rule__SimpleModel__StaticAssignment_0_1"); - builder.put(grammarAccess.getSimpleModelAccess().getSynchronizedAssignment_0_2(), "rule__SimpleModel__SynchronizedAssignment_0_2"); - builder.put(grammarAccess.getSimpleModelAccess().getAbstractAssignment_0_3_0(), "rule__SimpleModel__AbstractAssignment_0_3_0"); - builder.put(grammarAccess.getSimpleModelAccess().getFinalAssignment_0_3_1(), "rule__SimpleModel__FinalAssignment_0_3_1"); - builder.put(grammarAccess.getSimpleModelAccess().getNameAssignment_2(), "rule__SimpleModel__NameAssignment_2"); - builder.put(grammarAccess.getMandatoryModelAccess().getVisibilityAssignment_0_0(), "rule__MandatoryModel__VisibilityAssignment_0_0"); - builder.put(grammarAccess.getMandatoryModelAccess().getStaticAssignment_0_1(), "rule__MandatoryModel__StaticAssignment_0_1"); - builder.put(grammarAccess.getMandatoryModelAccess().getSynchronizedAssignment_0_2(), "rule__MandatoryModel__SynchronizedAssignment_0_2"); - builder.put(grammarAccess.getMandatoryModelAccess().getAbstractAssignment_0_3_0(), "rule__MandatoryModel__AbstractAssignment_0_3_0"); - builder.put(grammarAccess.getMandatoryModelAccess().getFinalAssignment_0_3_1(), "rule__MandatoryModel__FinalAssignment_0_3_1"); - builder.put(grammarAccess.getMandatoryModelAccess().getNameAssignment_2(), "rule__MandatoryModel__NameAssignment_2"); - builder.put(grammarAccess.getLoopedModelAccess().getVisibilityAssignment_0_0(), "rule__LoopedModel__VisibilityAssignment_0_0"); - builder.put(grammarAccess.getLoopedModelAccess().getStaticAssignment_0_1(), "rule__LoopedModel__StaticAssignment_0_1"); - builder.put(grammarAccess.getLoopedModelAccess().getSynchronizedAssignment_0_2(), "rule__LoopedModel__SynchronizedAssignment_0_2"); - builder.put(grammarAccess.getLoopedModelAccess().getAbstractAssignment_0_3_0(), "rule__LoopedModel__AbstractAssignment_0_3_0"); - builder.put(grammarAccess.getLoopedModelAccess().getFinalAssignment_0_3_1(), "rule__LoopedModel__FinalAssignment_0_3_1"); - builder.put(grammarAccess.getLoopedModelAccess().getNameAssignment_2(), "rule__LoopedModel__NameAssignment_2"); - builder.put(grammarAccess.getGroupLoopedModelAccess().getVisibilityAssignment_0_0(), "rule__GroupLoopedModel__VisibilityAssignment_0_0"); - builder.put(grammarAccess.getGroupLoopedModelAccess().getStaticAssignment_0_1(), "rule__GroupLoopedModel__StaticAssignment_0_1"); - builder.put(grammarAccess.getGroupLoopedModelAccess().getSynchronizedAssignment_0_2(), "rule__GroupLoopedModel__SynchronizedAssignment_0_2"); - builder.put(grammarAccess.getGroupLoopedModelAccess().getAbstractAssignment_0_3_0(), "rule__GroupLoopedModel__AbstractAssignment_0_3_0"); - builder.put(grammarAccess.getGroupLoopedModelAccess().getFinalAssignment_0_3_1(), "rule__GroupLoopedModel__FinalAssignment_0_3_1"); - builder.put(grammarAccess.getGroupLoopedModelAccess().getNameAssignment_2(), "rule__GroupLoopedModel__NameAssignment_2"); - builder.put(grammarAccess.getLoopedAlternativeModelAccess().getVisibilityAssignment_0_0(), "rule__LoopedAlternativeModel__VisibilityAssignment_0_0"); - builder.put(grammarAccess.getLoopedAlternativeModelAccess().getStaticAssignment_0_1(), "rule__LoopedAlternativeModel__StaticAssignment_0_1"); - builder.put(grammarAccess.getLoopedAlternativeModelAccess().getSynchronizedAssignment_0_2(), "rule__LoopedAlternativeModel__SynchronizedAssignment_0_2"); - builder.put(grammarAccess.getLoopedAlternativeModelAccess().getAbstractAssignment_0_3_0(), "rule__LoopedAlternativeModel__AbstractAssignment_0_3_0"); - builder.put(grammarAccess.getLoopedAlternativeModelAccess().getFinalAssignment_0_3_1(), "rule__LoopedAlternativeModel__FinalAssignment_0_3_1"); - builder.put(grammarAccess.getLoopedAlternativeModelAccess().getNameAssignment_2(), "rule__LoopedAlternativeModel__NameAssignment_2"); - builder.put(grammarAccess.getBug304681ModelAccess().getShortDescriptionAssignment_2_0_1(), "rule__Bug304681Model__ShortDescriptionAssignment_2_0_1"); - builder.put(grammarAccess.getBug304681ModelAccess().getLongDescriptionAssignment_2_1_1(), "rule__Bug304681Model__LongDescriptionAssignment_2_1_1"); - builder.put(grammarAccess.getBug304681ModelAccess().getUidAssignment_2_2_1(), "rule__Bug304681Model__UidAssignment_2_2_1"); - builder.put(grammarAccess.getBug304681ModelAccess().getFlagAssignment_2_3_0(), "rule__Bug304681Model__FlagAssignment_2_3_0"); - builder.put(grammarAccess.getBug304681ModelAccess().getFeaturesAssignment_2_4(), "rule__Bug304681Model__FeaturesAssignment_2_4"); - builder.put(grammarAccess.getBug304681AttributeAccess().getNameAssignment_1(), "rule__Bug304681Attribute__NameAssignment_1"); - builder.put(grammarAccess.getBug304681ReferenceAccess().getNameAssignment_1(), "rule__Bug304681Reference__NameAssignment_1"); - builder.put(grammarAccess.getSimpleModelAccess().getUnorderedGroup_0(), "rule__SimpleModel__UnorderedGroup_0"); - builder.put(grammarAccess.getMandatoryModelAccess().getUnorderedGroup_0(), "rule__MandatoryModel__UnorderedGroup_0"); - builder.put(grammarAccess.getLoopedModelAccess().getUnorderedGroup_0(), "rule__LoopedModel__UnorderedGroup_0"); - builder.put(grammarAccess.getGroupLoopedModelAccess().getUnorderedGroup_0(), "rule__GroupLoopedModel__UnorderedGroup_0"); - builder.put(grammarAccess.getBug304681ModelAccess().getUnorderedGroup_2(), "rule__Bug304681Model__UnorderedGroup_2"); + private static void init(Map mappings, UnorderedGroupsTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getModelAccess().getAlternatives(), "rule__Model__Alternatives"); + mappings.put(grammarAccess.getSimpleModelAccess().getVisibilityAlternatives_0_0_0(), "rule__SimpleModel__VisibilityAlternatives_0_0_0"); + mappings.put(grammarAccess.getSimpleModelAccess().getAlternatives_0_3(), "rule__SimpleModel__Alternatives_0_3"); + mappings.put(grammarAccess.getMandatoryModelAccess().getVisibilityAlternatives_0_0_0(), "rule__MandatoryModel__VisibilityAlternatives_0_0_0"); + mappings.put(grammarAccess.getMandatoryModelAccess().getAlternatives_0_3(), "rule__MandatoryModel__Alternatives_0_3"); + mappings.put(grammarAccess.getLoopedModelAccess().getVisibilityAlternatives_0_0_0(), "rule__LoopedModel__VisibilityAlternatives_0_0_0"); + mappings.put(grammarAccess.getLoopedModelAccess().getAlternatives_0_3(), "rule__LoopedModel__Alternatives_0_3"); + mappings.put(grammarAccess.getGroupLoopedModelAccess().getVisibilityAlternatives_0_0_0(), "rule__GroupLoopedModel__VisibilityAlternatives_0_0_0"); + mappings.put(grammarAccess.getGroupLoopedModelAccess().getAlternatives_0_3(), "rule__GroupLoopedModel__Alternatives_0_3"); + mappings.put(grammarAccess.getLoopedAlternativeModelAccess().getAlternatives_0(), "rule__LoopedAlternativeModel__Alternatives_0"); + mappings.put(grammarAccess.getLoopedAlternativeModelAccess().getVisibilityAlternatives_0_0_0(), "rule__LoopedAlternativeModel__VisibilityAlternatives_0_0_0"); + mappings.put(grammarAccess.getLoopedAlternativeModelAccess().getAlternatives_0_3(), "rule__LoopedAlternativeModel__Alternatives_0_3"); + mappings.put(grammarAccess.getBug304681FeatureAccess().getAlternatives(), "rule__Bug304681Feature__Alternatives"); + mappings.put(grammarAccess.getModelAccess().getGroup_0(), "rule__Model__Group_0__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_1(), "rule__Model__Group_1__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_2(), "rule__Model__Group_2__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_3(), "rule__Model__Group_3__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_4(), "rule__Model__Group_4__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_5(), "rule__Model__Group_5__0"); + mappings.put(grammarAccess.getSimpleModelAccess().getGroup(), "rule__SimpleModel__Group__0"); + mappings.put(grammarAccess.getMandatoryModelAccess().getGroup(), "rule__MandatoryModel__Group__0"); + mappings.put(grammarAccess.getLoopedModelAccess().getGroup(), "rule__LoopedModel__Group__0"); + mappings.put(grammarAccess.getGroupLoopedModelAccess().getGroup(), "rule__GroupLoopedModel__Group__0"); + mappings.put(grammarAccess.getLoopedAlternativeModelAccess().getGroup(), "rule__LoopedAlternativeModel__Group__0"); + mappings.put(grammarAccess.getLoopedAlternativeModelAccess().getGroup_0_4(), "rule__LoopedAlternativeModel__Group_0_4__0"); + mappings.put(grammarAccess.getBug304681ModelAccess().getGroup(), "rule__Bug304681Model__Group__0"); + mappings.put(grammarAccess.getBug304681ModelAccess().getGroup_2_0(), "rule__Bug304681Model__Group_2_0__0"); + mappings.put(grammarAccess.getBug304681ModelAccess().getGroup_2_1(), "rule__Bug304681Model__Group_2_1__0"); + mappings.put(grammarAccess.getBug304681ModelAccess().getGroup_2_2(), "rule__Bug304681Model__Group_2_2__0"); + mappings.put(grammarAccess.getBug304681ModelAccess().getGroup_2_3(), "rule__Bug304681Model__Group_2_3__0"); + mappings.put(grammarAccess.getBug304681AttributeAccess().getGroup(), "rule__Bug304681Attribute__Group__0"); + mappings.put(grammarAccess.getBug304681ReferenceAccess().getGroup(), "rule__Bug304681Reference__Group__0"); + mappings.put(grammarAccess.getModelAccess().getFirstAssignment_0_1(), "rule__Model__FirstAssignment_0_1"); + mappings.put(grammarAccess.getModelAccess().getSecondAssignment_1_1(), "rule__Model__SecondAssignment_1_1"); + mappings.put(grammarAccess.getModelAccess().getThrirdAssignment_2_1(), "rule__Model__ThrirdAssignment_2_1"); + mappings.put(grammarAccess.getModelAccess().getForthAssignment_3_1(), "rule__Model__ForthAssignment_3_1"); + mappings.put(grammarAccess.getModelAccess().getFifthAssignment_4_1(), "rule__Model__FifthAssignment_4_1"); + mappings.put(grammarAccess.getModelAccess().getModelAssignment_5_1(), "rule__Model__ModelAssignment_5_1"); + mappings.put(grammarAccess.getSimpleModelAccess().getVisibilityAssignment_0_0(), "rule__SimpleModel__VisibilityAssignment_0_0"); + mappings.put(grammarAccess.getSimpleModelAccess().getStaticAssignment_0_1(), "rule__SimpleModel__StaticAssignment_0_1"); + mappings.put(grammarAccess.getSimpleModelAccess().getSynchronizedAssignment_0_2(), "rule__SimpleModel__SynchronizedAssignment_0_2"); + mappings.put(grammarAccess.getSimpleModelAccess().getAbstractAssignment_0_3_0(), "rule__SimpleModel__AbstractAssignment_0_3_0"); + mappings.put(grammarAccess.getSimpleModelAccess().getFinalAssignment_0_3_1(), "rule__SimpleModel__FinalAssignment_0_3_1"); + mappings.put(grammarAccess.getSimpleModelAccess().getNameAssignment_2(), "rule__SimpleModel__NameAssignment_2"); + mappings.put(grammarAccess.getMandatoryModelAccess().getVisibilityAssignment_0_0(), "rule__MandatoryModel__VisibilityAssignment_0_0"); + mappings.put(grammarAccess.getMandatoryModelAccess().getStaticAssignment_0_1(), "rule__MandatoryModel__StaticAssignment_0_1"); + mappings.put(grammarAccess.getMandatoryModelAccess().getSynchronizedAssignment_0_2(), "rule__MandatoryModel__SynchronizedAssignment_0_2"); + mappings.put(grammarAccess.getMandatoryModelAccess().getAbstractAssignment_0_3_0(), "rule__MandatoryModel__AbstractAssignment_0_3_0"); + mappings.put(grammarAccess.getMandatoryModelAccess().getFinalAssignment_0_3_1(), "rule__MandatoryModel__FinalAssignment_0_3_1"); + mappings.put(grammarAccess.getMandatoryModelAccess().getNameAssignment_2(), "rule__MandatoryModel__NameAssignment_2"); + mappings.put(grammarAccess.getLoopedModelAccess().getVisibilityAssignment_0_0(), "rule__LoopedModel__VisibilityAssignment_0_0"); + mappings.put(grammarAccess.getLoopedModelAccess().getStaticAssignment_0_1(), "rule__LoopedModel__StaticAssignment_0_1"); + mappings.put(grammarAccess.getLoopedModelAccess().getSynchronizedAssignment_0_2(), "rule__LoopedModel__SynchronizedAssignment_0_2"); + mappings.put(grammarAccess.getLoopedModelAccess().getAbstractAssignment_0_3_0(), "rule__LoopedModel__AbstractAssignment_0_3_0"); + mappings.put(grammarAccess.getLoopedModelAccess().getFinalAssignment_0_3_1(), "rule__LoopedModel__FinalAssignment_0_3_1"); + mappings.put(grammarAccess.getLoopedModelAccess().getNameAssignment_2(), "rule__LoopedModel__NameAssignment_2"); + mappings.put(grammarAccess.getGroupLoopedModelAccess().getVisibilityAssignment_0_0(), "rule__GroupLoopedModel__VisibilityAssignment_0_0"); + mappings.put(grammarAccess.getGroupLoopedModelAccess().getStaticAssignment_0_1(), "rule__GroupLoopedModel__StaticAssignment_0_1"); + mappings.put(grammarAccess.getGroupLoopedModelAccess().getSynchronizedAssignment_0_2(), "rule__GroupLoopedModel__SynchronizedAssignment_0_2"); + mappings.put(grammarAccess.getGroupLoopedModelAccess().getAbstractAssignment_0_3_0(), "rule__GroupLoopedModel__AbstractAssignment_0_3_0"); + mappings.put(grammarAccess.getGroupLoopedModelAccess().getFinalAssignment_0_3_1(), "rule__GroupLoopedModel__FinalAssignment_0_3_1"); + mappings.put(grammarAccess.getGroupLoopedModelAccess().getNameAssignment_2(), "rule__GroupLoopedModel__NameAssignment_2"); + mappings.put(grammarAccess.getLoopedAlternativeModelAccess().getVisibilityAssignment_0_0(), "rule__LoopedAlternativeModel__VisibilityAssignment_0_0"); + mappings.put(grammarAccess.getLoopedAlternativeModelAccess().getStaticAssignment_0_1(), "rule__LoopedAlternativeModel__StaticAssignment_0_1"); + mappings.put(grammarAccess.getLoopedAlternativeModelAccess().getSynchronizedAssignment_0_2(), "rule__LoopedAlternativeModel__SynchronizedAssignment_0_2"); + mappings.put(grammarAccess.getLoopedAlternativeModelAccess().getAbstractAssignment_0_3_0(), "rule__LoopedAlternativeModel__AbstractAssignment_0_3_0"); + mappings.put(grammarAccess.getLoopedAlternativeModelAccess().getFinalAssignment_0_3_1(), "rule__LoopedAlternativeModel__FinalAssignment_0_3_1"); + mappings.put(grammarAccess.getLoopedAlternativeModelAccess().getNameAssignment_2(), "rule__LoopedAlternativeModel__NameAssignment_2"); + mappings.put(grammarAccess.getBug304681ModelAccess().getShortDescriptionAssignment_2_0_1(), "rule__Bug304681Model__ShortDescriptionAssignment_2_0_1"); + mappings.put(grammarAccess.getBug304681ModelAccess().getLongDescriptionAssignment_2_1_1(), "rule__Bug304681Model__LongDescriptionAssignment_2_1_1"); + mappings.put(grammarAccess.getBug304681ModelAccess().getUidAssignment_2_2_1(), "rule__Bug304681Model__UidAssignment_2_2_1"); + mappings.put(grammarAccess.getBug304681ModelAccess().getFlagAssignment_2_3_0(), "rule__Bug304681Model__FlagAssignment_2_3_0"); + mappings.put(grammarAccess.getBug304681ModelAccess().getFeaturesAssignment_2_4(), "rule__Bug304681Model__FeaturesAssignment_2_4"); + mappings.put(grammarAccess.getBug304681AttributeAccess().getNameAssignment_1(), "rule__Bug304681Attribute__NameAssignment_1"); + mappings.put(grammarAccess.getBug304681ReferenceAccess().getNameAssignment_1(), "rule__Bug304681Reference__NameAssignment_1"); + mappings.put(grammarAccess.getSimpleModelAccess().getUnorderedGroup_0(), "rule__SimpleModel__UnorderedGroup_0"); + mappings.put(grammarAccess.getMandatoryModelAccess().getUnorderedGroup_0(), "rule__MandatoryModel__UnorderedGroup_0"); + mappings.put(grammarAccess.getLoopedModelAccess().getUnorderedGroup_0(), "rule__LoopedModel__UnorderedGroup_0"); + mappings.put(grammarAccess.getGroupLoopedModelAccess().getUnorderedGroup_0(), "rule__GroupLoopedModel__UnorderedGroup_0"); + mappings.put(grammarAccess.getBug304681ModelAccess().getUnorderedGroup_2(), "rule__Bug304681Model__UnorderedGroup_2"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/encoding/ide/contentassist/antlr/EncodingUiTestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/encoding/ide/contentassist/antlr/EncodingUiTestLanguageParser.java index 6287e778502..af70a15ca6b 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/encoding/ide/contentassist/antlr/EncodingUiTestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/encoding/ide/contentassist/antlr/EncodingUiTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.encoding.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,18 +26,18 @@ public static final class NameMappings { @Inject public NameMappings(EncodingUiTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, EncodingUiTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getModelAccess().getWordsAssignment(), "rule__Model__WordsAssignment"); - builder.put(grammarAccess.getWordAccess().getValueAssignment(), "rule__Word__ValueAssignment"); + private static void init(Map mappings, EncodingUiTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getModelAccess().getWordsAssignment(), "rule__Model__WordsAssignment"); + mappings.put(grammarAccess.getWordAccess().getValueAssignment(), "rule__Word__ValueAssignment"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/outline/ide/contentassist/antlr/OutlineTestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/outline/ide/contentassist/antlr/OutlineTestLanguageParser.java index 3507e2d4391..87acd4449a2 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/outline/ide/contentassist/antlr/OutlineTestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/editor/outline/ide/contentassist/antlr/OutlineTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.editor.outline.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,22 +26,22 @@ public static final class NameMappings { @Inject public NameMappings(OutlineTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, OutlineTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getElementAccess().getGroup(), "rule__Element__Group__0"); - builder.put(grammarAccess.getElementAccess().getGroup_1(), "rule__Element__Group_1__0"); - builder.put(grammarAccess.getModelAccess().getElementsAssignment(), "rule__Model__ElementsAssignment"); - builder.put(grammarAccess.getElementAccess().getNameAssignment_0(), "rule__Element__NameAssignment_0"); - builder.put(grammarAccess.getElementAccess().getXrefsAssignment_1_1(), "rule__Element__XrefsAssignment_1_1"); - builder.put(grammarAccess.getElementAccess().getChildrenAssignment_3(), "rule__Element__ChildrenAssignment_3"); + private static void init(Map mappings, OutlineTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getElementAccess().getGroup(), "rule__Element__Group__0"); + mappings.put(grammarAccess.getElementAccess().getGroup_1(), "rule__Element__Group_1__0"); + mappings.put(grammarAccess.getModelAccess().getElementsAssignment(), "rule__Model__ElementsAssignment"); + mappings.put(grammarAccess.getElementAccess().getNameAssignment_0(), "rule__Element__NameAssignment_0"); + mappings.put(grammarAccess.getElementAccess().getXrefsAssignment_1_1(), "rule__Element__XrefsAssignment_1_1"); + mappings.put(grammarAccess.getElementAccess().getChildrenAssignment_3(), "rule__Element__ChildrenAssignment_3"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/enumrules/ide/contentassist/antlr/EnumRulesUiTestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/enumrules/ide/contentassist/antlr/EnumRulesUiTestLanguageParser.java index 12450b72865..db7f8092ac6 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/enumrules/ide/contentassist/antlr/EnumRulesUiTestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/enumrules/ide/contentassist/antlr/EnumRulesUiTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.enumrules.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,25 +26,25 @@ public static final class NameMappings { @Inject public NameMappings(EnumRulesUiTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, EnumRulesUiTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getModelAccess().getAlternatives(), "rule__Model__Alternatives"); - builder.put(grammarAccess.getExistingEnumAccess().getAlternatives(), "rule__ExistingEnum__Alternatives"); - builder.put(grammarAccess.getGeneratedEnumAccess().getAlternatives(), "rule__GeneratedEnum__Alternatives"); - builder.put(grammarAccess.getModelAccess().getGroup_0(), "rule__Model__Group_0__0"); - builder.put(grammarAccess.getModelAccess().getGroup_0_2(), "rule__Model__Group_0_2__0"); - builder.put(grammarAccess.getModelAccess().getGroup_1(), "rule__Model__Group_1__0"); - builder.put(grammarAccess.getModelAccess().getExistingAssignment_0_1(), "rule__Model__ExistingAssignment_0_1"); - builder.put(grammarAccess.getModelAccess().getGeneratedAssignment_0_2_1(), "rule__Model__GeneratedAssignment_0_2_1"); - builder.put(grammarAccess.getModelAccess().getGeneratedAssignment_1_1(), "rule__Model__GeneratedAssignment_1_1"); + private static void init(Map mappings, EnumRulesUiTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getModelAccess().getAlternatives(), "rule__Model__Alternatives"); + mappings.put(grammarAccess.getExistingEnumAccess().getAlternatives(), "rule__ExistingEnum__Alternatives"); + mappings.put(grammarAccess.getGeneratedEnumAccess().getAlternatives(), "rule__GeneratedEnum__Alternatives"); + mappings.put(grammarAccess.getModelAccess().getGroup_0(), "rule__Model__Group_0__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_0_2(), "rule__Model__Group_0_2__0"); + mappings.put(grammarAccess.getModelAccess().getGroup_1(), "rule__Model__Group_1__0"); + mappings.put(grammarAccess.getModelAccess().getExistingAssignment_0_1(), "rule__Model__ExistingAssignment_0_1"); + mappings.put(grammarAccess.getModelAccess().getGeneratedAssignment_0_2_1(), "rule__Model__GeneratedAssignment_0_2_1"); + mappings.put(grammarAccess.getModelAccess().getGeneratedAssignment_1_1(), "rule__Model__GeneratedAssignment_1_1"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/ide/contentassist/antlr/FoldingTestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/ide/contentassist/antlr/FoldingTestLanguageParser.java index 7a487c14d61..d39283c54c9 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/ide/contentassist/antlr/FoldingTestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/ide/contentassist/antlr/FoldingTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,20 +26,20 @@ public static final class NameMappings { @Inject public NameMappings(FoldingTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, FoldingTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getElementAccess().getGroup(), "rule__Element__Group__0"); - builder.put(grammarAccess.getFoldingModelAccess().getElementsAssignment(), "rule__FoldingModel__ElementsAssignment"); - builder.put(grammarAccess.getElementAccess().getNameAssignment_1(), "rule__Element__NameAssignment_1"); - builder.put(grammarAccess.getElementAccess().getSubelementsAssignment_2(), "rule__Element__SubelementsAssignment_2"); + private static void init(Map mappings, FoldingTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getElementAccess().getGroup(), "rule__Element__Group__0"); + mappings.put(grammarAccess.getFoldingModelAccess().getElementsAssignment(), "rule__FoldingModel__ElementsAssignment"); + mappings.put(grammarAccess.getElementAccess().getNameAssignment_1(), "rule__Element__NameAssignment_1"); + mappings.put(grammarAccess.getElementAccess().getSubelementsAssignment_2(), "rule__Element__SubelementsAssignment_2"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/ide/contentassist/antlr/TestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/ide/contentassist/antlr/TestLanguageParser.java index 863d4572724..b72988725ce 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/ide/contentassist/antlr/TestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/ide/contentassist/antlr/TestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,21 +26,21 @@ public static final class NameMappings { @Inject public NameMappings(TestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, TestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getStuffAccess().getGroup(), "rule__Stuff__Group__0"); - builder.put(grammarAccess.getStuffAccess().getGroup_2(), "rule__Stuff__Group_2__0"); - builder.put(grammarAccess.getFileAccess().getStuffAssignment(), "rule__File__StuffAssignment"); - builder.put(grammarAccess.getStuffAccess().getNameAssignment_1(), "rule__Stuff__NameAssignment_1"); - builder.put(grammarAccess.getStuffAccess().getRefsAssignment_2_1(), "rule__Stuff__RefsAssignment_2_1"); + private static void init(Map mappings, TestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getStuffAccess().getGroup(), "rule__Stuff__Group__0"); + mappings.put(grammarAccess.getStuffAccess().getGroup_2(), "rule__Stuff__Group_2__0"); + mappings.put(grammarAccess.getFileAccess().getStuffAssignment(), "rule__File__StuffAssignment"); + mappings.put(grammarAccess.getStuffAccess().getNameAssignment_1(), "rule__Stuff__NameAssignment_1"); + mappings.put(grammarAccess.getStuffAccess().getRefsAssignment_2_1(), "rule__Stuff__RefsAssignment_2_1"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/linking/ide/contentassist/antlr/ImportUriUiTestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/linking/ide/contentassist/antlr/ImportUriUiTestLanguageParser.java index 7d9137d76fe..bb4155c701b 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/linking/ide/contentassist/antlr/ImportUriUiTestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/linking/ide/contentassist/antlr/ImportUriUiTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.linking.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,24 +26,24 @@ public static final class NameMappings { @Inject public NameMappings(ImportUriUiTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, ImportUriUiTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getMainAccess().getGroup(), "rule__Main__Group__0"); - builder.put(grammarAccess.getImportAccess().getGroup(), "rule__Import__Group__0"); - builder.put(grammarAccess.getTypeAccess().getGroup(), "rule__Type__Group__0"); - builder.put(grammarAccess.getMainAccess().getImportsAssignment_0(), "rule__Main__ImportsAssignment_0"); - builder.put(grammarAccess.getMainAccess().getTypesAssignment_1(), "rule__Main__TypesAssignment_1"); - builder.put(grammarAccess.getImportAccess().getImportURIAssignment_1(), "rule__Import__ImportURIAssignment_1"); - builder.put(grammarAccess.getTypeAccess().getNameAssignment_1(), "rule__Type__NameAssignment_1"); - builder.put(grammarAccess.getTypeAccess().getExtendsAssignment_3(), "rule__Type__ExtendsAssignment_3"); + private static void init(Map mappings, ImportUriUiTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getMainAccess().getGroup(), "rule__Main__Group__0"); + mappings.put(grammarAccess.getImportAccess().getGroup(), "rule__Import__Group__0"); + mappings.put(grammarAccess.getTypeAccess().getGroup(), "rule__Type__Group__0"); + mappings.put(grammarAccess.getMainAccess().getImportsAssignment_0(), "rule__Main__ImportsAssignment_0"); + mappings.put(grammarAccess.getMainAccess().getTypesAssignment_1(), "rule__Main__TypesAssignment_1"); + mappings.put(grammarAccess.getImportAccess().getImportURIAssignment_1(), "rule__Import__ImportURIAssignment_1"); + mappings.put(grammarAccess.getTypeAccess().getNameAssignment_1(), "rule__Type__NameAssignment_1"); + mappings.put(grammarAccess.getTypeAccess().getExtendsAssignment_3(), "rule__Type__ExtendsAssignment_3"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/parser/keywords/ide/contentassist/antlr/KeywordsUiTestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/parser/keywords/ide/contentassist/antlr/KeywordsUiTestLanguageParser.java index ccab20ad290..b8a4384ec73 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/parser/keywords/ide/contentassist/antlr/KeywordsUiTestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/parser/keywords/ide/contentassist/antlr/KeywordsUiTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.parser.keywords.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,25 +26,25 @@ public static final class NameMappings { @Inject public NameMappings(KeywordsUiTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, KeywordsUiTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getModelAccess().getAlternatives(), "rule__Model__Alternatives"); - builder.put(grammarAccess.getModelAccess().getFirstAssignment_0(), "rule__Model__FirstAssignment_0"); - builder.put(grammarAccess.getModelAccess().getSecondAssignment_1(), "rule__Model__SecondAssignment_1"); - builder.put(grammarAccess.getModelAccess().getThirdAssignment_2(), "rule__Model__ThirdAssignment_2"); - builder.put(grammarAccess.getModelAccess().getForthAssignment_3(), "rule__Model__ForthAssignment_3"); - builder.put(grammarAccess.getModelAccess().getFifthAssignment_4(), "rule__Model__FifthAssignment_4"); - builder.put(grammarAccess.getModelAccess().getSixthAssignment_5(), "rule__Model__SixthAssignment_5"); - builder.put(grammarAccess.getModelAccess().getSeventhAssignment_6(), "rule__Model__SeventhAssignment_6"); - builder.put(grammarAccess.getModelAccess().getEighthAssignment_7(), "rule__Model__EighthAssignment_7"); + private static void init(Map mappings, KeywordsUiTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getModelAccess().getAlternatives(), "rule__Model__Alternatives"); + mappings.put(grammarAccess.getModelAccess().getFirstAssignment_0(), "rule__Model__FirstAssignment_0"); + mappings.put(grammarAccess.getModelAccess().getSecondAssignment_1(), "rule__Model__SecondAssignment_1"); + mappings.put(grammarAccess.getModelAccess().getThirdAssignment_2(), "rule__Model__ThirdAssignment_2"); + mappings.put(grammarAccess.getModelAccess().getForthAssignment_3(), "rule__Model__ForthAssignment_3"); + mappings.put(grammarAccess.getModelAccess().getFifthAssignment_4(), "rule__Model__FifthAssignment_4"); + mappings.put(grammarAccess.getModelAccess().getSixthAssignment_5(), "rule__Model__SixthAssignment_5"); + mappings.put(grammarAccess.getModelAccess().getSeventhAssignment_6(), "rule__Model__SeventhAssignment_6"); + mappings.put(grammarAccess.getModelAccess().getEighthAssignment_7(), "rule__Model__EighthAssignment_7"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/quickfix/ide/contentassist/antlr/QuickfixCrossrefTestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/quickfix/ide/contentassist/antlr/QuickfixCrossrefTestLanguageParser.java index 72a4d28b8d4..127b931fbf5 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/quickfix/ide/contentassist/antlr/QuickfixCrossrefTestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/quickfix/ide/contentassist/antlr/QuickfixCrossrefTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.quickfix.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,23 +26,23 @@ public static final class NameMappings { @Inject public NameMappings(QuickfixCrossrefTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, QuickfixCrossrefTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getElementAccess().getGroup(), "rule__Element__Group__0"); - builder.put(grammarAccess.getElementAccess().getGroup_4(), "rule__Element__Group_4__0"); - builder.put(grammarAccess.getMainAccess().getElementsAssignment(), "rule__Main__ElementsAssignment"); - builder.put(grammarAccess.getElementAccess().getDocAssignment_0(), "rule__Element__DocAssignment_0"); - builder.put(grammarAccess.getElementAccess().getNameAssignment_1(), "rule__Element__NameAssignment_1"); - builder.put(grammarAccess.getElementAccess().getContainedAssignment_3(), "rule__Element__ContainedAssignment_3"); - builder.put(grammarAccess.getElementAccess().getReferencedAssignment_4_1(), "rule__Element__ReferencedAssignment_4_1"); + private static void init(Map mappings, QuickfixCrossrefTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getElementAccess().getGroup(), "rule__Element__Group__0"); + mappings.put(grammarAccess.getElementAccess().getGroup_4(), "rule__Element__Group_4__0"); + mappings.put(grammarAccess.getMainAccess().getElementsAssignment(), "rule__Main__ElementsAssignment"); + mappings.put(grammarAccess.getElementAccess().getDocAssignment_0(), "rule__Element__DocAssignment_0"); + mappings.put(grammarAccess.getElementAccess().getNameAssignment_1(), "rule__Element__NameAssignment_1"); + mappings.put(grammarAccess.getElementAccess().getContainedAssignment_3(), "rule__Element__ContainedAssignment_3"); + mappings.put(grammarAccess.getElementAccess().getReferencedAssignment_4_1(), "rule__Element__ReferencedAssignment_4_1"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/refactoring/ide/contentassist/antlr/RefactoringTestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/refactoring/ide/contentassist/antlr/RefactoringTestLanguageParser.java index 172a9486f93..b2384aa3885 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/refactoring/ide/contentassist/antlr/RefactoringTestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/refactoring/ide/contentassist/antlr/RefactoringTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.refactoring.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,30 +26,30 @@ public static final class NameMappings { @Inject public NameMappings(RefactoringTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, RefactoringTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getAbstractElementAccess().getAlternatives(), "rule__AbstractElement__Alternatives"); - builder.put(grammarAccess.getElementAccess().getAlternatives_1_1(), "rule__Element__Alternatives_1_1"); - builder.put(grammarAccess.getImportAccess().getGroup(), "rule__Import__Group__0"); - builder.put(grammarAccess.getElementAccess().getGroup(), "rule__Element__Group__0"); - builder.put(grammarAccess.getElementAccess().getGroup_1(), "rule__Element__Group_1__0"); - builder.put(grammarAccess.getElementAccess().getGroup_1_1_1(), "rule__Element__Group_1_1_1__0"); - builder.put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); - builder.put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); - builder.put(grammarAccess.getFQNWithWCAccess().getGroup(), "rule__FQNWithWC__Group__0"); - builder.put(grammarAccess.getMainAccess().getElementsAssignment(), "rule__Main__ElementsAssignment"); - builder.put(grammarAccess.getImportAccess().getImportedNamespaceAssignment_1(), "rule__Import__ImportedNamespaceAssignment_1"); - builder.put(grammarAccess.getElementAccess().getNameAssignment_0(), "rule__Element__NameAssignment_0"); - builder.put(grammarAccess.getElementAccess().getContainedAssignment_1_1_0(), "rule__Element__ContainedAssignment_1_1_0"); - builder.put(grammarAccess.getElementAccess().getReferencedAssignment_1_1_1_1(), "rule__Element__ReferencedAssignment_1_1_1_1"); + private static void init(Map mappings, RefactoringTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getAbstractElementAccess().getAlternatives(), "rule__AbstractElement__Alternatives"); + mappings.put(grammarAccess.getElementAccess().getAlternatives_1_1(), "rule__Element__Alternatives_1_1"); + mappings.put(grammarAccess.getImportAccess().getGroup(), "rule__Import__Group__0"); + mappings.put(grammarAccess.getElementAccess().getGroup(), "rule__Element__Group__0"); + mappings.put(grammarAccess.getElementAccess().getGroup_1(), "rule__Element__Group_1__0"); + mappings.put(grammarAccess.getElementAccess().getGroup_1_1_1(), "rule__Element__Group_1_1_1__0"); + mappings.put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); + mappings.put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); + mappings.put(grammarAccess.getFQNWithWCAccess().getGroup(), "rule__FQNWithWC__Group__0"); + mappings.put(grammarAccess.getMainAccess().getElementsAssignment(), "rule__Main__ElementsAssignment"); + mappings.put(grammarAccess.getImportAccess().getImportedNamespaceAssignment_1(), "rule__Import__ImportedNamespaceAssignment_1"); + mappings.put(grammarAccess.getElementAccess().getNameAssignment_0(), "rule__Element__NameAssignment_0"); + mappings.put(grammarAccess.getElementAccess().getContainedAssignment_1_1_0(), "rule__Element__ContainedAssignment_1_1_0"); + mappings.put(grammarAccess.getElementAccess().getReferencedAssignment_1_1_1_1(), "rule__Element__ReferencedAssignment_1_1_1_1"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/refactoring/ide/contentassist/antlr/ReferringTestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/refactoring/ide/contentassist/antlr/ReferringTestLanguageParser.java index 0b7f43ab636..2a1e7e147a6 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/refactoring/ide/contentassist/antlr/ReferringTestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/refactoring/ide/contentassist/antlr/ReferringTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.refactoring.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,25 +26,25 @@ public static final class NameMappings { @Inject public NameMappings(ReferringTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, ReferringTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getAbstractReferenceAccess().getAlternatives(), "rule__AbstractReference__Alternatives"); - builder.put(grammarAccess.getReferenceAccess().getGroup(), "rule__Reference__Group__0"); - builder.put(grammarAccess.getReference2Access().getGroup(), "rule__Reference2__Group__0"); - builder.put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); - builder.put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); - builder.put(grammarAccess.getMainAccess().getReferencedAssignment(), "rule__Main__ReferencedAssignment"); - builder.put(grammarAccess.getReferenceAccess().getReferencedAssignment_1(), "rule__Reference__ReferencedAssignment_1"); - builder.put(grammarAccess.getReference2Access().getReferencedAssignment_2(), "rule__Reference2__ReferencedAssignment_2"); - builder.put(grammarAccess.getNamedAccess().getNameAssignment(), "rule__Named__NameAssignment"); + private static void init(Map mappings, ReferringTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getAbstractReferenceAccess().getAlternatives(), "rule__AbstractReference__Alternatives"); + mappings.put(grammarAccess.getReferenceAccess().getGroup(), "rule__Reference__Group__0"); + mappings.put(grammarAccess.getReference2Access().getGroup(), "rule__Reference2__Group__0"); + mappings.put(grammarAccess.getFQNAccess().getGroup(), "rule__FQN__Group__0"); + mappings.put(grammarAccess.getFQNAccess().getGroup_1(), "rule__FQN__Group_1__0"); + mappings.put(grammarAccess.getMainAccess().getReferencedAssignment(), "rule__Main__ReferencedAssignment"); + mappings.put(grammarAccess.getReferenceAccess().getReferencedAssignment_1(), "rule__Reference__ReferencedAssignment_1"); + mappings.put(grammarAccess.getReference2Access().getReferencedAssignment_2(), "rule__Reference2__ReferencedAssignment_2"); + mappings.put(grammarAccess.getNamedAccess().getNameAssignment(), "rule__Named__NameAssignment"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/testlanguages/ide/contentassist/antlr/ContentAssistTestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/testlanguages/ide/contentassist/antlr/ContentAssistTestLanguageParser.java index 734da6e19f3..21cc5227b7a 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/testlanguages/ide/contentassist/antlr/ContentAssistTestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/testlanguages/ide/contentassist/antlr/ContentAssistTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.testlanguages.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,26 +26,26 @@ public static final class NameMappings { @Inject public NameMappings(ContentAssistTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, ContentAssistTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getAbstractRuleAccess().getAlternatives(), "rule__AbstractRule__Alternatives"); - builder.put(grammarAccess.getStartAccess().getGroup(), "rule__Start__Group__0"); - builder.put(grammarAccess.getFirstAbstractRuleChildAccess().getGroup(), "rule__FirstAbstractRuleChild__Group__0"); - builder.put(grammarAccess.getSecondAbstractRuleChildAccess().getGroup(), "rule__SecondAbstractRuleChild__Group__0"); - builder.put(grammarAccess.getStartAccess().getRulesAssignment_1(), "rule__Start__RulesAssignment_1"); - builder.put(grammarAccess.getFirstAbstractRuleChildAccess().getNameAssignment_0(), "rule__FirstAbstractRuleChild__NameAssignment_0"); - builder.put(grammarAccess.getFirstAbstractRuleChildAccess().getElementsAssignment_2(), "rule__FirstAbstractRuleChild__ElementsAssignment_2"); - builder.put(grammarAccess.getSecondAbstractRuleChildAccess().getNameAssignment_0(), "rule__SecondAbstractRuleChild__NameAssignment_0"); - builder.put(grammarAccess.getSecondAbstractRuleChildAccess().getRuleAssignment_3(), "rule__SecondAbstractRuleChild__RuleAssignment_3"); - builder.put(grammarAccess.getAbstractRuleCallAccess().getRuleAssignment(), "rule__AbstractRuleCall__RuleAssignment"); + private static void init(Map mappings, ContentAssistTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getAbstractRuleAccess().getAlternatives(), "rule__AbstractRule__Alternatives"); + mappings.put(grammarAccess.getStartAccess().getGroup(), "rule__Start__Group__0"); + mappings.put(grammarAccess.getFirstAbstractRuleChildAccess().getGroup(), "rule__FirstAbstractRuleChild__Group__0"); + mappings.put(grammarAccess.getSecondAbstractRuleChildAccess().getGroup(), "rule__SecondAbstractRuleChild__Group__0"); + mappings.put(grammarAccess.getStartAccess().getRulesAssignment_1(), "rule__Start__RulesAssignment_1"); + mappings.put(grammarAccess.getFirstAbstractRuleChildAccess().getNameAssignment_0(), "rule__FirstAbstractRuleChild__NameAssignment_0"); + mappings.put(grammarAccess.getFirstAbstractRuleChildAccess().getElementsAssignment_2(), "rule__FirstAbstractRuleChild__ElementsAssignment_2"); + mappings.put(grammarAccess.getSecondAbstractRuleChildAccess().getNameAssignment_0(), "rule__SecondAbstractRuleChild__NameAssignment_0"); + mappings.put(grammarAccess.getSecondAbstractRuleChildAccess().getRuleAssignment_3(), "rule__SecondAbstractRuleChild__RuleAssignment_3"); + mappings.put(grammarAccess.getAbstractRuleCallAccess().getRuleAssignment(), "rule__AbstractRuleCall__RuleAssignment"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/testlanguages/ide/contentassist/antlr/ReferenceGrammarUiTestLanguageParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/testlanguages/ide/contentassist/antlr/ReferenceGrammarUiTestLanguageParser.java index 7727c71ffef..43a58ef34a9 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/testlanguages/ide/contentassist/antlr/ReferenceGrammarUiTestLanguageParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/testlanguages/ide/contentassist/antlr/ReferenceGrammarUiTestLanguageParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.testlanguages.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,44 +26,44 @@ public static final class NameMappings { @Inject public NameMappings(ReferenceGrammarUiTestLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, ReferenceGrammarUiTestLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getSpielplatzAccess().getAlternatives_4(), "rule__Spielplatz__Alternatives_4"); - builder.put(grammarAccess.getPersonAccess().getAlternatives(), "rule__Person__Alternatives"); - builder.put(grammarAccess.getFarbeAccess().getWertAlternatives_0(), "rule__Farbe__WertAlternatives_0"); - builder.put(grammarAccess.getFamilieAccess().getNameAlternatives_2_0(), "rule__Familie__NameAlternatives_2_0"); - builder.put(grammarAccess.getSpielplatzAccess().getGroup(), "rule__Spielplatz__Group__0"); - builder.put(grammarAccess.getKindAccess().getGroup(), "rule__Kind__Group__0"); - builder.put(grammarAccess.getErwachsenerAccess().getGroup(), "rule__Erwachsener__Group__0"); - builder.put(grammarAccess.getSpielzeugAccess().getGroup(), "rule__Spielzeug__Group__0"); - builder.put(grammarAccess.getFamilieAccess().getGroup(), "rule__Familie__Group__0"); - builder.put(grammarAccess.getFamilieAccess().getGroup_6(), "rule__Familie__Group_6__0"); - builder.put(grammarAccess.getSpielplatzAccess().getGroesseAssignment_1(), "rule__Spielplatz__GroesseAssignment_1"); - builder.put(grammarAccess.getSpielplatzAccess().getBeschreibungAssignment_2(), "rule__Spielplatz__BeschreibungAssignment_2"); - builder.put(grammarAccess.getSpielplatzAccess().getKinderAssignment_4_0(), "rule__Spielplatz__KinderAssignment_4_0"); - builder.put(grammarAccess.getSpielplatzAccess().getErzieherAssignment_4_1(), "rule__Spielplatz__ErzieherAssignment_4_1"); - builder.put(grammarAccess.getSpielplatzAccess().getSpielzeugeAssignment_4_2(), "rule__Spielplatz__SpielzeugeAssignment_4_2"); - builder.put(grammarAccess.getSpielplatzAccess().getFamilieAssignment_4_3(), "rule__Spielplatz__FamilieAssignment_4_3"); - builder.put(grammarAccess.getKindAccess().getNameAssignment_2(), "rule__Kind__NameAssignment_2"); - builder.put(grammarAccess.getKindAccess().getAgeAssignment_3(), "rule__Kind__AgeAssignment_3"); - builder.put(grammarAccess.getErwachsenerAccess().getNameAssignment_2(), "rule__Erwachsener__NameAssignment_2"); - builder.put(grammarAccess.getErwachsenerAccess().getAgeAssignment_3(), "rule__Erwachsener__AgeAssignment_3"); - builder.put(grammarAccess.getSpielzeugAccess().getNameAssignment_2(), "rule__Spielzeug__NameAssignment_2"); - builder.put(grammarAccess.getSpielzeugAccess().getFarbeAssignment_3(), "rule__Spielzeug__FarbeAssignment_3"); - builder.put(grammarAccess.getFarbeAccess().getWertAssignment(), "rule__Farbe__WertAssignment"); - builder.put(grammarAccess.getFamilieAccess().getNameAssignment_2(), "rule__Familie__NameAssignment_2"); - builder.put(grammarAccess.getFamilieAccess().getMutterAssignment_3(), "rule__Familie__MutterAssignment_3"); - builder.put(grammarAccess.getFamilieAccess().getVaterAssignment_4(), "rule__Familie__VaterAssignment_4"); - builder.put(grammarAccess.getFamilieAccess().getKinderAssignment_5(), "rule__Familie__KinderAssignment_5"); - builder.put(grammarAccess.getFamilieAccess().getKinderAssignment_6_1(), "rule__Familie__KinderAssignment_6_1"); + private static void init(Map mappings, ReferenceGrammarUiTestLanguageGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getSpielplatzAccess().getAlternatives_4(), "rule__Spielplatz__Alternatives_4"); + mappings.put(grammarAccess.getPersonAccess().getAlternatives(), "rule__Person__Alternatives"); + mappings.put(grammarAccess.getFarbeAccess().getWertAlternatives_0(), "rule__Farbe__WertAlternatives_0"); + mappings.put(grammarAccess.getFamilieAccess().getNameAlternatives_2_0(), "rule__Familie__NameAlternatives_2_0"); + mappings.put(grammarAccess.getSpielplatzAccess().getGroup(), "rule__Spielplatz__Group__0"); + mappings.put(grammarAccess.getKindAccess().getGroup(), "rule__Kind__Group__0"); + mappings.put(grammarAccess.getErwachsenerAccess().getGroup(), "rule__Erwachsener__Group__0"); + mappings.put(grammarAccess.getSpielzeugAccess().getGroup(), "rule__Spielzeug__Group__0"); + mappings.put(grammarAccess.getFamilieAccess().getGroup(), "rule__Familie__Group__0"); + mappings.put(grammarAccess.getFamilieAccess().getGroup_6(), "rule__Familie__Group_6__0"); + mappings.put(grammarAccess.getSpielplatzAccess().getGroesseAssignment_1(), "rule__Spielplatz__GroesseAssignment_1"); + mappings.put(grammarAccess.getSpielplatzAccess().getBeschreibungAssignment_2(), "rule__Spielplatz__BeschreibungAssignment_2"); + mappings.put(grammarAccess.getSpielplatzAccess().getKinderAssignment_4_0(), "rule__Spielplatz__KinderAssignment_4_0"); + mappings.put(grammarAccess.getSpielplatzAccess().getErzieherAssignment_4_1(), "rule__Spielplatz__ErzieherAssignment_4_1"); + mappings.put(grammarAccess.getSpielplatzAccess().getSpielzeugeAssignment_4_2(), "rule__Spielplatz__SpielzeugeAssignment_4_2"); + mappings.put(grammarAccess.getSpielplatzAccess().getFamilieAssignment_4_3(), "rule__Spielplatz__FamilieAssignment_4_3"); + mappings.put(grammarAccess.getKindAccess().getNameAssignment_2(), "rule__Kind__NameAssignment_2"); + mappings.put(grammarAccess.getKindAccess().getAgeAssignment_3(), "rule__Kind__AgeAssignment_3"); + mappings.put(grammarAccess.getErwachsenerAccess().getNameAssignment_2(), "rule__Erwachsener__NameAssignment_2"); + mappings.put(grammarAccess.getErwachsenerAccess().getAgeAssignment_3(), "rule__Erwachsener__AgeAssignment_3"); + mappings.put(grammarAccess.getSpielzeugAccess().getNameAssignment_2(), "rule__Spielzeug__NameAssignment_2"); + mappings.put(grammarAccess.getSpielzeugAccess().getFarbeAssignment_3(), "rule__Spielzeug__FarbeAssignment_3"); + mappings.put(grammarAccess.getFarbeAccess().getWertAssignment(), "rule__Farbe__WertAssignment"); + mappings.put(grammarAccess.getFamilieAccess().getNameAssignment_2(), "rule__Familie__NameAssignment_2"); + mappings.put(grammarAccess.getFamilieAccess().getMutterAssignment_3(), "rule__Familie__MutterAssignment_3"); + mappings.put(grammarAccess.getFamilieAccess().getVaterAssignment_4(), "rule__Familie__VaterAssignment_4"); + mappings.put(grammarAccess.getFamilieAccess().getKinderAssignment_5(), "rule__Familie__KinderAssignment_5"); + mappings.put(grammarAccess.getFamilieAccess().getKinderAssignment_6_1(), "rule__Familie__KinderAssignment_6_1"); } } diff --git a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/xmleditor/ide/contentassist/antlr/XmlParser.java b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/xmleditor/ide/contentassist/antlr/XmlParser.java index 989f5a61c30..afcd196fff5 100644 --- a/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/xmleditor/ide/contentassist/antlr/XmlParser.java +++ b/org.eclipse.xtext.ui.tests/src-gen/org/eclipse/xtext/ui/tests/xmleditor/ide/contentassist/antlr/XmlParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.ui.tests.xmleditor.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,31 +26,31 @@ public static final class NameMappings { @Inject public NameMappings(XmlGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, XmlGrammarAccess grammarAccess) { - builder.put(grammarAccess.getContentAccess().getAlternatives(), "rule__Content__Alternatives"); - builder.put(grammarAccess.getTagAccess().getAlternatives_3(), "rule__Tag__Alternatives_3"); - builder.put(grammarAccess.getXmlDocumentAccess().getGroup(), "rule__XmlDocument__Group__0"); - builder.put(grammarAccess.getTagAccess().getGroup(), "rule__Tag__Group__0"); - builder.put(grammarAccess.getTagAccess().getGroup_3_1(), "rule__Tag__Group_3_1__0"); - builder.put(grammarAccess.getAttributeAccess().getGroup(), "rule__Attribute__Group__0"); - builder.put(grammarAccess.getXmlDocumentAccess().getContentsAssignment_1(), "rule__XmlDocument__ContentsAssignment_1"); - builder.put(grammarAccess.getContentAccess().getTagAssignment_0(), "rule__Content__TagAssignment_0"); - builder.put(grammarAccess.getContentAccess().getTextAssignment_1(), "rule__Content__TextAssignment_1"); - builder.put(grammarAccess.getTagAccess().getNameAssignment_1(), "rule__Tag__NameAssignment_1"); - builder.put(grammarAccess.getTagAccess().getAttributesAssignment_2(), "rule__Tag__AttributesAssignment_2"); - builder.put(grammarAccess.getTagAccess().getContentsAssignment_3_1_1(), "rule__Tag__ContentsAssignment_3_1_1"); - builder.put(grammarAccess.getTagAccess().getCloseNameAssignment_3_1_3(), "rule__Tag__CloseNameAssignment_3_1_3"); - builder.put(grammarAccess.getAttributeAccess().getNameAssignment_0(), "rule__Attribute__NameAssignment_0"); - builder.put(grammarAccess.getAttributeAccess().getValueAssignment_2(), "rule__Attribute__ValueAssignment_2"); + private static void init(Map mappings, XmlGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getContentAccess().getAlternatives(), "rule__Content__Alternatives"); + mappings.put(grammarAccess.getTagAccess().getAlternatives_3(), "rule__Tag__Alternatives_3"); + mappings.put(grammarAccess.getXmlDocumentAccess().getGroup(), "rule__XmlDocument__Group__0"); + mappings.put(grammarAccess.getTagAccess().getGroup(), "rule__Tag__Group__0"); + mappings.put(grammarAccess.getTagAccess().getGroup_3_1(), "rule__Tag__Group_3_1__0"); + mappings.put(grammarAccess.getAttributeAccess().getGroup(), "rule__Attribute__Group__0"); + mappings.put(grammarAccess.getXmlDocumentAccess().getContentsAssignment_1(), "rule__XmlDocument__ContentsAssignment_1"); + mappings.put(grammarAccess.getContentAccess().getTagAssignment_0(), "rule__Content__TagAssignment_0"); + mappings.put(grammarAccess.getContentAccess().getTextAssignment_1(), "rule__Content__TextAssignment_1"); + mappings.put(grammarAccess.getTagAccess().getNameAssignment_1(), "rule__Tag__NameAssignment_1"); + mappings.put(grammarAccess.getTagAccess().getAttributesAssignment_2(), "rule__Tag__AttributesAssignment_2"); + mappings.put(grammarAccess.getTagAccess().getContentsAssignment_3_1_1(), "rule__Tag__ContentsAssignment_3_1_1"); + mappings.put(grammarAccess.getTagAccess().getCloseNameAssignment_3_1_3(), "rule__Tag__CloseNameAssignment_3_1_3"); + mappings.put(grammarAccess.getAttributeAccess().getNameAssignment_0(), "rule__Attribute__NameAssignment_0"); + mappings.put(grammarAccess.getAttributeAccess().getValueAssignment_2(), "rule__Attribute__ValueAssignment_2"); } } diff --git a/org.eclipse.xtext.web.example.entities.ide/src-gen/org/eclipse/xtext/web/example/entities/ide/contentassist/antlr/EntitiesParser.java b/org.eclipse.xtext.web.example.entities.ide/src-gen/org/eclipse/xtext/web/example/entities/ide/contentassist/antlr/EntitiesParser.java index 3a92479f3c4..76126b35170 100644 --- a/org.eclipse.xtext.web.example.entities.ide/src-gen/org/eclipse/xtext/web/example/entities/ide/contentassist/antlr/EntitiesParser.java +++ b/org.eclipse.xtext.web.example.entities.ide/src-gen/org/eclipse/xtext/web/example/entities/ide/contentassist/antlr/EntitiesParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.web.example.entities.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,403 +26,403 @@ public static final class NameMappings { @Inject public NameMappings(EntitiesGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, EntitiesGrammarAccess grammarAccess) { - builder.put(grammarAccess.getAbstractElementAccess().getAlternatives(), "rule__AbstractElement__Alternatives"); - builder.put(grammarAccess.getFeatureAccess().getAlternatives(), "rule__Feature__Alternatives"); - builder.put(grammarAccess.getXAssignmentAccess().getAlternatives(), "rule__XAssignment__Alternatives"); - builder.put(grammarAccess.getOpMultiAssignAccess().getAlternatives(), "rule__OpMultiAssign__Alternatives"); - builder.put(grammarAccess.getOpEqualityAccess().getAlternatives(), "rule__OpEquality__Alternatives"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getAlternatives_1(), "rule__XRelationalExpression__Alternatives_1"); - builder.put(grammarAccess.getOpCompareAccess().getAlternatives(), "rule__OpCompare__Alternatives"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives(), "rule__OpOther__Alternatives"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives_5_1(), "rule__OpOther__Alternatives_5_1"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives_6_1(), "rule__OpOther__Alternatives_6_1"); - builder.put(grammarAccess.getOpAddAccess().getAlternatives(), "rule__OpAdd__Alternatives"); - builder.put(grammarAccess.getOpMultiAccess().getAlternatives(), "rule__OpMulti__Alternatives"); - builder.put(grammarAccess.getXUnaryOperationAccess().getAlternatives(), "rule__XUnaryOperation__Alternatives"); - builder.put(grammarAccess.getOpUnaryAccess().getAlternatives(), "rule__OpUnary__Alternatives"); - builder.put(grammarAccess.getOpPostfixAccess().getAlternatives(), "rule__OpPostfix__Alternatives"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1(), "rule__XMemberFeatureCall__Alternatives_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_0_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_0_0_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_1_0_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_3_1(), "rule__XMemberFeatureCall__Alternatives_1_1_3_1"); - builder.put(grammarAccess.getXPrimaryExpressionAccess().getAlternatives(), "rule__XPrimaryExpression__Alternatives"); - builder.put(grammarAccess.getXLiteralAccess().getAlternatives(), "rule__XLiteral__Alternatives"); - builder.put(grammarAccess.getXCollectionLiteralAccess().getAlternatives(), "rule__XCollectionLiteral__Alternatives"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2(), "rule__XSwitchExpression__Alternatives_2"); - builder.put(grammarAccess.getXCasePartAccess().getAlternatives_3(), "rule__XCasePart__Alternatives_3"); - builder.put(grammarAccess.getXExpressionOrVarDeclarationAccess().getAlternatives(), "rule__XExpressionOrVarDeclaration__Alternatives"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_1(), "rule__XVariableDeclaration__Alternatives_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_2(), "rule__XVariableDeclaration__Alternatives_2"); - builder.put(grammarAccess.getXFeatureCallAccess().getAlternatives_3_1(), "rule__XFeatureCall__Alternatives_3_1"); - builder.put(grammarAccess.getFeatureCallIDAccess().getAlternatives(), "rule__FeatureCallID__Alternatives"); - builder.put(grammarAccess.getIdOrSuperAccess().getAlternatives(), "rule__IdOrSuper__Alternatives"); - builder.put(grammarAccess.getXConstructorCallAccess().getAlternatives_4_1(), "rule__XConstructorCall__Alternatives_4_1"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1(), "rule__XBooleanLiteral__Alternatives_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_3(), "rule__XTryCatchFinallyExpression__Alternatives_3"); - builder.put(grammarAccess.getNumberAccess().getAlternatives(), "rule__Number__Alternatives"); - builder.put(grammarAccess.getNumberAccess().getAlternatives_1_0(), "rule__Number__Alternatives_1_0"); - builder.put(grammarAccess.getNumberAccess().getAlternatives_1_1_1(), "rule__Number__Alternatives_1_1_1"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getAlternatives(), "rule__JvmTypeReference__Alternatives"); - builder.put(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives(), "rule__JvmArgumentTypeReference__Alternatives"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2(), "rule__JvmWildcardTypeReference__Alternatives_2"); - builder.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1(), "rule__XImportDeclaration__Alternatives_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3(), "rule__XImportDeclaration__Alternatives_1_0_3"); - builder.put(grammarAccess.getEntitiesAccess().getGroup(), "rule__Entities__Group__0"); - builder.put(grammarAccess.getPackageDeclarationAccess().getGroup(), "rule__PackageDeclaration__Group__0"); - builder.put(grammarAccess.getEntityAccess().getGroup(), "rule__Entity__Group__0"); - builder.put(grammarAccess.getEntityAccess().getGroup_2(), "rule__Entity__Group_2__0"); - builder.put(grammarAccess.getPropertyAccess().getGroup(), "rule__Property__Group__0"); - builder.put(grammarAccess.getOperationAccess().getGroup(), "rule__Operation__Group__0"); - builder.put(grammarAccess.getOperationAccess().getGroup_3(), "rule__Operation__Group_3__0"); - builder.put(grammarAccess.getOperationAccess().getGroup_3_1(), "rule__Operation__Group_3_1__0"); - builder.put(grammarAccess.getOperationAccess().getGroup_5(), "rule__Operation__Group_5__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_0(), "rule__XAssignment__Group_0__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1(), "rule__XAssignment__Group_1__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1(), "rule__XAssignment__Group_1_1__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0(), "rule__XAssignment__Group_1_1_0__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0_0(), "rule__XAssignment__Group_1_1_0_0__0"); - builder.put(grammarAccess.getOpMultiAssignAccess().getGroup_5(), "rule__OpMultiAssign__Group_5__0"); - builder.put(grammarAccess.getOpMultiAssignAccess().getGroup_6(), "rule__OpMultiAssign__Group_6__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup(), "rule__XOrExpression__Group__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1(), "rule__XOrExpression__Group_1__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0(), "rule__XOrExpression__Group_1_0__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0_0(), "rule__XOrExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup(), "rule__XAndExpression__Group__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1(), "rule__XAndExpression__Group_1__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0(), "rule__XAndExpression__Group_1_0__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0_0(), "rule__XAndExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup(), "rule__XEqualityExpression__Group__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1(), "rule__XEqualityExpression__Group_1__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0(), "rule__XEqualityExpression__Group_1_0__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0_0(), "rule__XEqualityExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup(), "rule__XRelationalExpression__Group__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0(), "rule__XRelationalExpression__Group_1_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0(), "rule__XRelationalExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0_0(), "rule__XRelationalExpression__Group_1_0_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1(), "rule__XRelationalExpression__Group_1_1__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0(), "rule__XRelationalExpression__Group_1_1_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0_0(), "rule__XRelationalExpression__Group_1_1_0_0__0"); - builder.put(grammarAccess.getOpCompareAccess().getGroup_1(), "rule__OpCompare__Group_1__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup(), "rule__XOtherOperatorExpression__Group__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1(), "rule__XOtherOperatorExpression__Group_1__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0(), "rule__XOtherOperatorExpression__Group_1_0__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0_0(), "rule__XOtherOperatorExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_2(), "rule__OpOther__Group_2__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5(), "rule__OpOther__Group_5__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0(), "rule__OpOther__Group_5_1_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0_0(), "rule__OpOther__Group_5_1_0_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6(), "rule__OpOther__Group_6__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0(), "rule__OpOther__Group_6_1_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0_0(), "rule__OpOther__Group_6_1_0_0__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup(), "rule__XAdditiveExpression__Group__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1(), "rule__XAdditiveExpression__Group_1__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0(), "rule__XAdditiveExpression__Group_1_0__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0_0(), "rule__XAdditiveExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup(), "rule__XMultiplicativeExpression__Group__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1(), "rule__XMultiplicativeExpression__Group_1__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0(), "rule__XMultiplicativeExpression__Group_1_0__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0_0(), "rule__XMultiplicativeExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXUnaryOperationAccess().getGroup_0(), "rule__XUnaryOperation__Group_0__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup(), "rule__XCastedExpression__Group__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1(), "rule__XCastedExpression__Group_1__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0(), "rule__XCastedExpression__Group_1_0__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0_0(), "rule__XCastedExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup(), "rule__XPostfixOperation__Group__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup_1(), "rule__XPostfixOperation__Group_1__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup_1_0(), "rule__XPostfixOperation__Group_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup(), "rule__XMemberFeatureCall__Group__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0(), "rule__XMemberFeatureCall__Group_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0(), "rule__XMemberFeatureCall__Group_1_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0_0(), "rule__XMemberFeatureCall__Group_1_0_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1(), "rule__XMemberFeatureCall__Group_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0(), "rule__XMemberFeatureCall__Group_1_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0_0(), "rule__XMemberFeatureCall__Group_1_1_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1_2(), "rule__XMemberFeatureCall__Group_1_1_1_2__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3(), "rule__XMemberFeatureCall__Group_1_1_3__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1_1__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup(), "rule__XSetLiteral__Group__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup_3(), "rule__XSetLiteral__Group_3__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup_3_1(), "rule__XSetLiteral__Group_3_1__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup(), "rule__XListLiteral__Group__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup_3(), "rule__XListLiteral__Group_3__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup_3_1(), "rule__XListLiteral__Group_3_1__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup(), "rule__XClosure__Group__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_0(), "rule__XClosure__Group_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_0_0(), "rule__XClosure__Group_0_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1(), "rule__XClosure__Group_1__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0(), "rule__XClosure__Group_1_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0_0(), "rule__XClosure__Group_1_0_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0_0_1(), "rule__XClosure__Group_1_0_0_1__0"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getGroup(), "rule__XExpressionInClosure__Group__0"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getGroup_1(), "rule__XExpressionInClosure__Group_1__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup(), "rule__XShortClosure__Group__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0(), "rule__XShortClosure__Group_0__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0(), "rule__XShortClosure__Group_0_0__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1(), "rule__XShortClosure__Group_0_0_1__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1_1(), "rule__XShortClosure__Group_0_0_1_1__0"); - builder.put(grammarAccess.getXParenthesizedExpressionAccess().getGroup(), "rule__XParenthesizedExpression__Group__0"); - builder.put(grammarAccess.getXIfExpressionAccess().getGroup(), "rule__XIfExpression__Group__0"); - builder.put(grammarAccess.getXIfExpressionAccess().getGroup_6(), "rule__XIfExpression__Group_6__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup(), "rule__XSwitchExpression__Group__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0(), "rule__XSwitchExpression__Group_2_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0(), "rule__XSwitchExpression__Group_2_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0(), "rule__XSwitchExpression__Group_2_0_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1(), "rule__XSwitchExpression__Group_2_1__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0(), "rule__XSwitchExpression__Group_2_1_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0(), "rule__XSwitchExpression__Group_2_1_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_5(), "rule__XSwitchExpression__Group_5__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup(), "rule__XCasePart__Group__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup_2(), "rule__XCasePart__Group_2__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup_3_0(), "rule__XCasePart__Group_3_0__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup(), "rule__XForLoopExpression__Group__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0(), "rule__XForLoopExpression__Group_0__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0_0(), "rule__XForLoopExpression__Group_0_0__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup(), "rule__XBasicForLoopExpression__Group__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3(), "rule__XBasicForLoopExpression__Group_3__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3_1(), "rule__XBasicForLoopExpression__Group_3_1__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7(), "rule__XBasicForLoopExpression__Group_7__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7_1(), "rule__XBasicForLoopExpression__Group_7_1__0"); - builder.put(grammarAccess.getXWhileExpressionAccess().getGroup(), "rule__XWhileExpression__Group__0"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getGroup(), "rule__XDoWhileExpression__Group__0"); - builder.put(grammarAccess.getXBlockExpressionAccess().getGroup(), "rule__XBlockExpression__Group__0"); - builder.put(grammarAccess.getXBlockExpressionAccess().getGroup_2(), "rule__XBlockExpression__Group_2__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup(), "rule__XVariableDeclaration__Group__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0(), "rule__XVariableDeclaration__Group_2_0__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0_0(), "rule__XVariableDeclaration__Group_2_0_0__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_3(), "rule__XVariableDeclaration__Group_3__0"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getGroup(), "rule__JvmFormalParameter__Group__0"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getGroup(), "rule__FullJvmFormalParameter__Group__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup(), "rule__XFeatureCall__Group__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_1(), "rule__XFeatureCall__Group_1__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_1_2(), "rule__XFeatureCall__Group_1_2__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3(), "rule__XFeatureCall__Group_3__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1(), "rule__XFeatureCall__Group_3_1_1__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1_1(), "rule__XFeatureCall__Group_3_1_1_1__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup(), "rule__XConstructorCall__Group__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_3(), "rule__XConstructorCall__Group_3__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_3_2(), "rule__XConstructorCall__Group_3_2__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4(), "rule__XConstructorCall__Group_4__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1(), "rule__XConstructorCall__Group_4_1_1__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1_1(), "rule__XConstructorCall__Group_4_1_1_1__0"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getGroup(), "rule__XBooleanLiteral__Group__0"); - builder.put(grammarAccess.getXNullLiteralAccess().getGroup(), "rule__XNullLiteral__Group__0"); - builder.put(grammarAccess.getXNumberLiteralAccess().getGroup(), "rule__XNumberLiteral__Group__0"); - builder.put(grammarAccess.getXStringLiteralAccess().getGroup(), "rule__XStringLiteral__Group__0"); - builder.put(grammarAccess.getXTypeLiteralAccess().getGroup(), "rule__XTypeLiteral__Group__0"); - builder.put(grammarAccess.getXThrowExpressionAccess().getGroup(), "rule__XThrowExpression__Group__0"); - builder.put(grammarAccess.getXReturnExpressionAccess().getGroup(), "rule__XReturnExpression__Group__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup(), "rule__XTryCatchFinallyExpression__Group__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0(), "rule__XTryCatchFinallyExpression__Group_3_0__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0_1(), "rule__XTryCatchFinallyExpression__Group_3_0_1__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_1(), "rule__XTryCatchFinallyExpression__Group_3_1__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup(), "rule__XSynchronizedExpression__Group__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0(), "rule__XSynchronizedExpression__Group_0__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0_0(), "rule__XSynchronizedExpression__Group_0_0__0"); - builder.put(grammarAccess.getXCatchClauseAccess().getGroup(), "rule__XCatchClause__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); - builder.put(grammarAccess.getNumberAccess().getGroup_1(), "rule__Number__Group_1__0"); - builder.put(grammarAccess.getNumberAccess().getGroup_1_1(), "rule__Number__Group_1_1__0"); - builder.put(grammarAccess.getStaticQualifierAccess().getGroup(), "rule__StaticQualifier__Group__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0(), "rule__JvmTypeReference__Group_0__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1(), "rule__JvmTypeReference__Group_0_1__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0(), "rule__JvmTypeReference__Group_0_1_0__0"); - builder.put(grammarAccess.getArrayBracketsAccess().getGroup(), "rule__ArrayBrackets__Group__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup(), "rule__XFunctionTypeRef__Group__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0(), "rule__XFunctionTypeRef__Group_0__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1(), "rule__XFunctionTypeRef__Group_0_1__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1(), "rule__XFunctionTypeRef__Group_0_1_1__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup(), "rule__JvmParameterizedTypeReference__Group__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1(), "rule__JvmParameterizedTypeReference__Group_1__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2(), "rule__JvmParameterizedTypeReference__Group_1_2__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4(), "rule__JvmParameterizedTypeReference__Group_1_4__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup(), "rule__JvmWildcardTypeReference__Group__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0(), "rule__JvmWildcardTypeReference__Group_2_0__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1(), "rule__JvmWildcardTypeReference__Group_2_1__0"); - builder.put(grammarAccess.getJvmUpperBoundAccess().getGroup(), "rule__JvmUpperBound__Group__0"); - builder.put(grammarAccess.getJvmUpperBoundAndedAccess().getGroup(), "rule__JvmUpperBoundAnded__Group__0"); - builder.put(grammarAccess.getJvmLowerBoundAccess().getGroup(), "rule__JvmLowerBound__Group__0"); - builder.put(grammarAccess.getJvmLowerBoundAndedAccess().getGroup(), "rule__JvmLowerBoundAnded__Group__0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getGroup(), "rule__JvmTypeParameter__Group__0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getGroup_1(), "rule__JvmTypeParameter__Group_1__0"); - builder.put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup(), "rule__QualifiedNameWithWildcard__Group__0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getGroup(), "rule__XImportDeclaration__Group__0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getGroup_1_0(), "rule__XImportDeclaration__Group_1_0__0"); - builder.put(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup(), "rule__QualifiedNameInStaticImport__Group__0"); - builder.put(grammarAccess.getEntitiesAccess().getImportSectionAssignment_0(), "rule__Entities__ImportSectionAssignment_0"); - builder.put(grammarAccess.getEntitiesAccess().getElementsAssignment_1(), "rule__Entities__ElementsAssignment_1"); - builder.put(grammarAccess.getPackageDeclarationAccess().getNameAssignment_1(), "rule__PackageDeclaration__NameAssignment_1"); - builder.put(grammarAccess.getPackageDeclarationAccess().getElementsAssignment_3(), "rule__PackageDeclaration__ElementsAssignment_3"); - builder.put(grammarAccess.getEntityAccess().getNameAssignment_1(), "rule__Entity__NameAssignment_1"); - builder.put(grammarAccess.getEntityAccess().getSuperTypeAssignment_2_1(), "rule__Entity__SuperTypeAssignment_2_1"); - builder.put(grammarAccess.getEntityAccess().getFeaturesAssignment_4(), "rule__Entity__FeaturesAssignment_4"); - builder.put(grammarAccess.getPropertyAccess().getNameAssignment_0(), "rule__Property__NameAssignment_0"); - builder.put(grammarAccess.getPropertyAccess().getTypeAssignment_2(), "rule__Property__TypeAssignment_2"); - builder.put(grammarAccess.getOperationAccess().getNameAssignment_1(), "rule__Operation__NameAssignment_1"); - builder.put(grammarAccess.getOperationAccess().getParamsAssignment_3_0(), "rule__Operation__ParamsAssignment_3_0"); - builder.put(grammarAccess.getOperationAccess().getParamsAssignment_3_1_1(), "rule__Operation__ParamsAssignment_3_1_1"); - builder.put(grammarAccess.getOperationAccess().getTypeAssignment_5_1(), "rule__Operation__TypeAssignment_5_1"); - builder.put(grammarAccess.getOperationAccess().getBodyAssignment_6(), "rule__Operation__BodyAssignment_6"); - builder.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_0_1(), "rule__XAssignment__FeatureAssignment_0_1"); - builder.put(grammarAccess.getXAssignmentAccess().getValueAssignment_0_3(), "rule__XAssignment__ValueAssignment_0_3"); - builder.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XAssignment__FeatureAssignment_1_1_0_0_1"); - builder.put(grammarAccess.getXAssignmentAccess().getRightOperandAssignment_1_1_1(), "rule__XAssignment__RightOperandAssignment_1_1_1"); - builder.put(grammarAccess.getXOrExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOrExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXOrExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOrExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXAndExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAndExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXAndExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAndExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XEqualityExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getRightOperandAssignment_1_1(), "rule__XEqualityExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getTypeAssignment_1_0_1(), "rule__XRelationalExpression__TypeAssignment_1_0_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XRelationalExpression__FeatureAssignment_1_1_0_0_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getRightOperandAssignment_1_1_1(), "rule__XRelationalExpression__RightOperandAssignment_1_1_1"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOtherOperatorExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOtherOperatorExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAdditiveExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAdditiveExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XMultiplicativeExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandAssignment_1_1(), "rule__XMultiplicativeExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXUnaryOperationAccess().getFeatureAssignment_0_1(), "rule__XUnaryOperation__FeatureAssignment_0_1"); - builder.put(grammarAccess.getXUnaryOperationAccess().getOperandAssignment_0_2(), "rule__XUnaryOperation__OperandAssignment_0_2"); - builder.put(grammarAccess.getXCastedExpressionAccess().getTypeAssignment_1_1(), "rule__XCastedExpression__TypeAssignment_1_1"); - builder.put(grammarAccess.getXPostfixOperationAccess().getFeatureAssignment_1_0_1(), "rule__XPostfixOperation__FeatureAssignment_1_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_0_0_0_1_1(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_0_0_0_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_0_0_0_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getValueAssignment_1_0_1(), "rule__XMemberFeatureCall__ValueAssignment_1_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getNullSafeAssignment_1_1_0_0_1_1(), "rule__XMemberFeatureCall__NullSafeAssignment_1_1_0_0_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_1_0_0_1_2(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_1_0_0_1_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_2_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_2_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_1_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_1_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallAssignment_1_1_3_0(), "rule__XMemberFeatureCall__ExplicitOperationCallAssignment_1_1_3_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_1_1(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_4(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4"); - builder.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_0(), "rule__XSetLiteral__ElementsAssignment_3_0"); - builder.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_1_1(), "rule__XSetLiteral__ElementsAssignment_3_1_1"); - builder.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_0(), "rule__XListLiteral__ElementsAssignment_3_0"); - builder.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_1_1(), "rule__XListLiteral__ElementsAssignment_3_1_1"); - builder.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_0(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_0"); - builder.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_1_1(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_1_1"); - builder.put(grammarAccess.getXClosureAccess().getExplicitSyntaxAssignment_1_0_1(), "rule__XClosure__ExplicitSyntaxAssignment_1_0_1"); - builder.put(grammarAccess.getXClosureAccess().getExpressionAssignment_2(), "rule__XClosure__ExpressionAssignment_2"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getExpressionsAssignment_1_0(), "rule__XExpressionInClosure__ExpressionsAssignment_1_0"); - builder.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_0(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0"); - builder.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_1_1(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1"); - builder.put(grammarAccess.getXShortClosureAccess().getExplicitSyntaxAssignment_0_0_2(), "rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2"); - builder.put(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1(), "rule__XShortClosure__ExpressionAssignment_1"); - builder.put(grammarAccess.getXIfExpressionAccess().getIfAssignment_3(), "rule__XIfExpression__IfAssignment_3"); - builder.put(grammarAccess.getXIfExpressionAccess().getThenAssignment_5(), "rule__XIfExpression__ThenAssignment_5"); - builder.put(grammarAccess.getXIfExpressionAccess().getElseAssignment_6_1(), "rule__XIfExpression__ElseAssignment_6_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_0_0_0_1(), "rule__XSwitchExpression__DeclaredParamAssignment_2_0_0_0_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1(), "rule__XSwitchExpression__SwitchAssignment_2_0_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_1_0_0_0(), "rule__XSwitchExpression__DeclaredParamAssignment_2_1_0_0_0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1(), "rule__XSwitchExpression__SwitchAssignment_2_1_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4(), "rule__XSwitchExpression__CasesAssignment_4"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDefaultAssignment_5_2(), "rule__XSwitchExpression__DefaultAssignment_5_2"); - builder.put(grammarAccess.getXCasePartAccess().getTypeGuardAssignment_1(), "rule__XCasePart__TypeGuardAssignment_1"); - builder.put(grammarAccess.getXCasePartAccess().getCaseAssignment_2_1(), "rule__XCasePart__CaseAssignment_2_1"); - builder.put(grammarAccess.getXCasePartAccess().getThenAssignment_3_0_1(), "rule__XCasePart__ThenAssignment_3_0_1"); - builder.put(grammarAccess.getXCasePartAccess().getFallThroughAssignment_3_1(), "rule__XCasePart__FallThroughAssignment_3_1"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamAssignment_0_0_3(), "rule__XForLoopExpression__DeclaredParamAssignment_0_0_3"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getForExpressionAssignment_1(), "rule__XForLoopExpression__ForExpressionAssignment_1"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getEachExpressionAssignment_3(), "rule__XForLoopExpression__EachExpressionAssignment_3"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_0(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_1_1(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_1_1"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getExpressionAssignment_5(), "rule__XBasicForLoopExpression__ExpressionAssignment_5"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_0(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_1_1(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_1_1"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getEachExpressionAssignment_9(), "rule__XBasicForLoopExpression__EachExpressionAssignment_9"); - builder.put(grammarAccess.getXWhileExpressionAccess().getPredicateAssignment_3(), "rule__XWhileExpression__PredicateAssignment_3"); - builder.put(grammarAccess.getXWhileExpressionAccess().getBodyAssignment_5(), "rule__XWhileExpression__BodyAssignment_5"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getBodyAssignment_2(), "rule__XDoWhileExpression__BodyAssignment_2"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getPredicateAssignment_5(), "rule__XDoWhileExpression__PredicateAssignment_5"); - builder.put(grammarAccess.getXBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__XBlockExpression__ExpressionsAssignment_2_0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getWriteableAssignment_1_0(), "rule__XVariableDeclaration__WriteableAssignment_1_0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getTypeAssignment_2_0_0_0(), "rule__XVariableDeclaration__TypeAssignment_2_0_0_0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_0_0_1(), "rule__XVariableDeclaration__NameAssignment_2_0_0_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_1(), "rule__XVariableDeclaration__NameAssignment_2_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getRightAssignment_3_1(), "rule__XVariableDeclaration__RightAssignment_3_1"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__JvmFormalParameter__ParameterTypeAssignment_0"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getNameAssignment_1(), "rule__JvmFormalParameter__NameAssignment_1"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__FullJvmFormalParameter__ParameterTypeAssignment_0"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getNameAssignment_1(), "rule__FullJvmFormalParameter__NameAssignment_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_2_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_2_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureAssignment_2(), "rule__XFeatureCall__FeatureAssignment_2"); - builder.put(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallAssignment_3_0(), "rule__XFeatureCall__ExplicitOperationCallAssignment_3_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_1_1(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_4"); - builder.put(grammarAccess.getXConstructorCallAccess().getConstructorAssignment_2(), "rule__XConstructorCall__ConstructorAssignment_2"); - builder.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_2_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_2_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getExplicitConstructorCallAssignment_4_0(), "rule__XConstructorCall__ExplicitConstructorCallAssignment_4_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_1_1(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_1_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_5(), "rule__XConstructorCall__ArgumentsAssignment_5"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1(), "rule__XBooleanLiteral__IsTrueAssignment_1_1"); - builder.put(grammarAccess.getXNumberLiteralAccess().getValueAssignment_1(), "rule__XNumberLiteral__ValueAssignment_1"); - builder.put(grammarAccess.getXStringLiteralAccess().getValueAssignment_1(), "rule__XStringLiteral__ValueAssignment_1"); - builder.put(grammarAccess.getXTypeLiteralAccess().getTypeAssignment_3(), "rule__XTypeLiteral__TypeAssignment_3"); - builder.put(grammarAccess.getXTypeLiteralAccess().getArrayDimensionsAssignment_4(), "rule__XTypeLiteral__ArrayDimensionsAssignment_4"); - builder.put(grammarAccess.getXThrowExpressionAccess().getExpressionAssignment_2(), "rule__XThrowExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXReturnExpressionAccess().getExpressionAssignment_2(), "rule__XReturnExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionAssignment_2(), "rule__XTryCatchFinallyExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesAssignment_3_0_0(), "rule__XTryCatchFinallyExpression__CatchClausesAssignment_3_0_0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_0_1_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_1_1"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getParamAssignment_1(), "rule__XSynchronizedExpression__ParamAssignment_1"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getExpressionAssignment_3(), "rule__XSynchronizedExpression__ExpressionAssignment_3"); - builder.put(grammarAccess.getXCatchClauseAccess().getDeclaredParamAssignment_2(), "rule__XCatchClause__DeclaredParamAssignment_2"); - builder.put(grammarAccess.getXCatchClauseAccess().getExpressionAssignment_4(), "rule__XCatchClause__ExpressionAssignment_4"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionTypeRef__ReturnTypeAssignment_2"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0(), "rule__JvmParameterizedTypeReference__TypeAssignment_0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1(), "rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1"); - builder.put(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBound__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBoundAnded__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBound__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBoundAnded__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getNameAssignment_0(), "rule__JvmTypeParameter__NameAssignment_0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_0(), "rule__JvmTypeParameter__ConstraintsAssignment_1_0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_1(), "rule__JvmTypeParameter__ConstraintsAssignment_1_1"); - builder.put(grammarAccess.getXImportSectionAccess().getImportDeclarationsAssignment(), "rule__XImportSection__ImportDeclarationsAssignment"); - builder.put(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0(), "rule__XImportDeclaration__StaticAssignment_1_0_0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1(), "rule__XImportDeclaration__ExtensionAssignment_1_0_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2(), "rule__XImportDeclaration__ImportedTypeAssignment_1_0_2"); - builder.put(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0(), "rule__XImportDeclaration__WildcardAssignment_1_0_3_0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1(), "rule__XImportDeclaration__MemberNameAssignment_1_0_3_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1(), "rule__XImportDeclaration__ImportedTypeAssignment_1_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2(), "rule__XImportDeclaration__ImportedNamespaceAssignment_1_2"); + private static void init(Map mappings, EntitiesGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getAbstractElementAccess().getAlternatives(), "rule__AbstractElement__Alternatives"); + mappings.put(grammarAccess.getFeatureAccess().getAlternatives(), "rule__Feature__Alternatives"); + mappings.put(grammarAccess.getXAssignmentAccess().getAlternatives(), "rule__XAssignment__Alternatives"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getAlternatives(), "rule__OpMultiAssign__Alternatives"); + mappings.put(grammarAccess.getOpEqualityAccess().getAlternatives(), "rule__OpEquality__Alternatives"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getAlternatives_1(), "rule__XRelationalExpression__Alternatives_1"); + mappings.put(grammarAccess.getOpCompareAccess().getAlternatives(), "rule__OpCompare__Alternatives"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives(), "rule__OpOther__Alternatives"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives_5_1(), "rule__OpOther__Alternatives_5_1"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives_6_1(), "rule__OpOther__Alternatives_6_1"); + mappings.put(grammarAccess.getOpAddAccess().getAlternatives(), "rule__OpAdd__Alternatives"); + mappings.put(grammarAccess.getOpMultiAccess().getAlternatives(), "rule__OpMulti__Alternatives"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getAlternatives(), "rule__XUnaryOperation__Alternatives"); + mappings.put(grammarAccess.getOpUnaryAccess().getAlternatives(), "rule__OpUnary__Alternatives"); + mappings.put(grammarAccess.getOpPostfixAccess().getAlternatives(), "rule__OpPostfix__Alternatives"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1(), "rule__XMemberFeatureCall__Alternatives_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_0_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_0_0_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_1_0_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_3_1(), "rule__XMemberFeatureCall__Alternatives_1_1_3_1"); + mappings.put(grammarAccess.getXPrimaryExpressionAccess().getAlternatives(), "rule__XPrimaryExpression__Alternatives"); + mappings.put(grammarAccess.getXLiteralAccess().getAlternatives(), "rule__XLiteral__Alternatives"); + mappings.put(grammarAccess.getXCollectionLiteralAccess().getAlternatives(), "rule__XCollectionLiteral__Alternatives"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2(), "rule__XSwitchExpression__Alternatives_2"); + mappings.put(grammarAccess.getXCasePartAccess().getAlternatives_3(), "rule__XCasePart__Alternatives_3"); + mappings.put(grammarAccess.getXExpressionOrVarDeclarationAccess().getAlternatives(), "rule__XExpressionOrVarDeclaration__Alternatives"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_1(), "rule__XVariableDeclaration__Alternatives_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_2(), "rule__XVariableDeclaration__Alternatives_2"); + mappings.put(grammarAccess.getXFeatureCallAccess().getAlternatives_3_1(), "rule__XFeatureCall__Alternatives_3_1"); + mappings.put(grammarAccess.getFeatureCallIDAccess().getAlternatives(), "rule__FeatureCallID__Alternatives"); + mappings.put(grammarAccess.getIdOrSuperAccess().getAlternatives(), "rule__IdOrSuper__Alternatives"); + mappings.put(grammarAccess.getXConstructorCallAccess().getAlternatives_4_1(), "rule__XConstructorCall__Alternatives_4_1"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1(), "rule__XBooleanLiteral__Alternatives_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_3(), "rule__XTryCatchFinallyExpression__Alternatives_3"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives(), "rule__Number__Alternatives"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives_1_0(), "rule__Number__Alternatives_1_0"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives_1_1_1(), "rule__Number__Alternatives_1_1_1"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getAlternatives(), "rule__JvmTypeReference__Alternatives"); + mappings.put(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives(), "rule__JvmArgumentTypeReference__Alternatives"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2(), "rule__JvmWildcardTypeReference__Alternatives_2"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1(), "rule__XImportDeclaration__Alternatives_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3(), "rule__XImportDeclaration__Alternatives_1_0_3"); + mappings.put(grammarAccess.getEntitiesAccess().getGroup(), "rule__Entities__Group__0"); + mappings.put(grammarAccess.getPackageDeclarationAccess().getGroup(), "rule__PackageDeclaration__Group__0"); + mappings.put(grammarAccess.getEntityAccess().getGroup(), "rule__Entity__Group__0"); + mappings.put(grammarAccess.getEntityAccess().getGroup_2(), "rule__Entity__Group_2__0"); + mappings.put(grammarAccess.getPropertyAccess().getGroup(), "rule__Property__Group__0"); + mappings.put(grammarAccess.getOperationAccess().getGroup(), "rule__Operation__Group__0"); + mappings.put(grammarAccess.getOperationAccess().getGroup_3(), "rule__Operation__Group_3__0"); + mappings.put(grammarAccess.getOperationAccess().getGroup_3_1(), "rule__Operation__Group_3_1__0"); + mappings.put(grammarAccess.getOperationAccess().getGroup_5(), "rule__Operation__Group_5__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_0(), "rule__XAssignment__Group_0__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1(), "rule__XAssignment__Group_1__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1(), "rule__XAssignment__Group_1_1__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0(), "rule__XAssignment__Group_1_1_0__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0_0(), "rule__XAssignment__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getGroup_5(), "rule__OpMultiAssign__Group_5__0"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getGroup_6(), "rule__OpMultiAssign__Group_6__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup(), "rule__XOrExpression__Group__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1(), "rule__XOrExpression__Group_1__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0(), "rule__XOrExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0_0(), "rule__XOrExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup(), "rule__XAndExpression__Group__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1(), "rule__XAndExpression__Group_1__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0(), "rule__XAndExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0_0(), "rule__XAndExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup(), "rule__XEqualityExpression__Group__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1(), "rule__XEqualityExpression__Group_1__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0(), "rule__XEqualityExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0_0(), "rule__XEqualityExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup(), "rule__XRelationalExpression__Group__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0(), "rule__XRelationalExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0(), "rule__XRelationalExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0_0(), "rule__XRelationalExpression__Group_1_0_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1(), "rule__XRelationalExpression__Group_1_1__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0(), "rule__XRelationalExpression__Group_1_1_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0_0(), "rule__XRelationalExpression__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getOpCompareAccess().getGroup_1(), "rule__OpCompare__Group_1__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup(), "rule__XOtherOperatorExpression__Group__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1(), "rule__XOtherOperatorExpression__Group_1__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0(), "rule__XOtherOperatorExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0_0(), "rule__XOtherOperatorExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_2(), "rule__OpOther__Group_2__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5(), "rule__OpOther__Group_5__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0(), "rule__OpOther__Group_5_1_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0_0(), "rule__OpOther__Group_5_1_0_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6(), "rule__OpOther__Group_6__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0(), "rule__OpOther__Group_6_1_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0_0(), "rule__OpOther__Group_6_1_0_0__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup(), "rule__XAdditiveExpression__Group__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1(), "rule__XAdditiveExpression__Group_1__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0(), "rule__XAdditiveExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0_0(), "rule__XAdditiveExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup(), "rule__XMultiplicativeExpression__Group__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1(), "rule__XMultiplicativeExpression__Group_1__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0(), "rule__XMultiplicativeExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0_0(), "rule__XMultiplicativeExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getGroup_0(), "rule__XUnaryOperation__Group_0__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup(), "rule__XCastedExpression__Group__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1(), "rule__XCastedExpression__Group_1__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0(), "rule__XCastedExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0_0(), "rule__XCastedExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup(), "rule__XPostfixOperation__Group__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup_1(), "rule__XPostfixOperation__Group_1__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup_1_0(), "rule__XPostfixOperation__Group_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup(), "rule__XMemberFeatureCall__Group__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0(), "rule__XMemberFeatureCall__Group_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0(), "rule__XMemberFeatureCall__Group_1_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0_0(), "rule__XMemberFeatureCall__Group_1_0_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1(), "rule__XMemberFeatureCall__Group_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0(), "rule__XMemberFeatureCall__Group_1_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0_0(), "rule__XMemberFeatureCall__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1_2(), "rule__XMemberFeatureCall__Group_1_1_1_2__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3(), "rule__XMemberFeatureCall__Group_1_1_3__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1_1__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup(), "rule__XSetLiteral__Group__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup_3(), "rule__XSetLiteral__Group_3__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup_3_1(), "rule__XSetLiteral__Group_3_1__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup(), "rule__XListLiteral__Group__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup_3(), "rule__XListLiteral__Group_3__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup_3_1(), "rule__XListLiteral__Group_3_1__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup(), "rule__XClosure__Group__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_0(), "rule__XClosure__Group_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_0_0(), "rule__XClosure__Group_0_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1(), "rule__XClosure__Group_1__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0(), "rule__XClosure__Group_1_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0_0(), "rule__XClosure__Group_1_0_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0_0_1(), "rule__XClosure__Group_1_0_0_1__0"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getGroup(), "rule__XExpressionInClosure__Group__0"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getGroup_1(), "rule__XExpressionInClosure__Group_1__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup(), "rule__XShortClosure__Group__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0(), "rule__XShortClosure__Group_0__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0(), "rule__XShortClosure__Group_0_0__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1(), "rule__XShortClosure__Group_0_0_1__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1_1(), "rule__XShortClosure__Group_0_0_1_1__0"); + mappings.put(grammarAccess.getXParenthesizedExpressionAccess().getGroup(), "rule__XParenthesizedExpression__Group__0"); + mappings.put(grammarAccess.getXIfExpressionAccess().getGroup(), "rule__XIfExpression__Group__0"); + mappings.put(grammarAccess.getXIfExpressionAccess().getGroup_6(), "rule__XIfExpression__Group_6__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup(), "rule__XSwitchExpression__Group__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0(), "rule__XSwitchExpression__Group_2_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0(), "rule__XSwitchExpression__Group_2_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0(), "rule__XSwitchExpression__Group_2_0_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1(), "rule__XSwitchExpression__Group_2_1__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0(), "rule__XSwitchExpression__Group_2_1_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0(), "rule__XSwitchExpression__Group_2_1_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_5(), "rule__XSwitchExpression__Group_5__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup(), "rule__XCasePart__Group__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup_2(), "rule__XCasePart__Group_2__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup_3_0(), "rule__XCasePart__Group_3_0__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup(), "rule__XForLoopExpression__Group__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0(), "rule__XForLoopExpression__Group_0__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0_0(), "rule__XForLoopExpression__Group_0_0__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup(), "rule__XBasicForLoopExpression__Group__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3(), "rule__XBasicForLoopExpression__Group_3__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3_1(), "rule__XBasicForLoopExpression__Group_3_1__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7(), "rule__XBasicForLoopExpression__Group_7__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7_1(), "rule__XBasicForLoopExpression__Group_7_1__0"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getGroup(), "rule__XWhileExpression__Group__0"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getGroup(), "rule__XDoWhileExpression__Group__0"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getGroup(), "rule__XBlockExpression__Group__0"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getGroup_2(), "rule__XBlockExpression__Group_2__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup(), "rule__XVariableDeclaration__Group__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0(), "rule__XVariableDeclaration__Group_2_0__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0_0(), "rule__XVariableDeclaration__Group_2_0_0__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_3(), "rule__XVariableDeclaration__Group_3__0"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getGroup(), "rule__JvmFormalParameter__Group__0"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getGroup(), "rule__FullJvmFormalParameter__Group__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup(), "rule__XFeatureCall__Group__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_1(), "rule__XFeatureCall__Group_1__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_1_2(), "rule__XFeatureCall__Group_1_2__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3(), "rule__XFeatureCall__Group_3__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1(), "rule__XFeatureCall__Group_3_1_1__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1_1(), "rule__XFeatureCall__Group_3_1_1_1__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup(), "rule__XConstructorCall__Group__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_3(), "rule__XConstructorCall__Group_3__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_3_2(), "rule__XConstructorCall__Group_3_2__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4(), "rule__XConstructorCall__Group_4__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1(), "rule__XConstructorCall__Group_4_1_1__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1_1(), "rule__XConstructorCall__Group_4_1_1_1__0"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getGroup(), "rule__XBooleanLiteral__Group__0"); + mappings.put(grammarAccess.getXNullLiteralAccess().getGroup(), "rule__XNullLiteral__Group__0"); + mappings.put(grammarAccess.getXNumberLiteralAccess().getGroup(), "rule__XNumberLiteral__Group__0"); + mappings.put(grammarAccess.getXStringLiteralAccess().getGroup(), "rule__XStringLiteral__Group__0"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getGroup(), "rule__XTypeLiteral__Group__0"); + mappings.put(grammarAccess.getXThrowExpressionAccess().getGroup(), "rule__XThrowExpression__Group__0"); + mappings.put(grammarAccess.getXReturnExpressionAccess().getGroup(), "rule__XReturnExpression__Group__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup(), "rule__XTryCatchFinallyExpression__Group__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0(), "rule__XTryCatchFinallyExpression__Group_3_0__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0_1(), "rule__XTryCatchFinallyExpression__Group_3_0_1__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_1(), "rule__XTryCatchFinallyExpression__Group_3_1__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup(), "rule__XSynchronizedExpression__Group__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0(), "rule__XSynchronizedExpression__Group_0__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0_0(), "rule__XSynchronizedExpression__Group_0_0__0"); + mappings.put(grammarAccess.getXCatchClauseAccess().getGroup(), "rule__XCatchClause__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); + mappings.put(grammarAccess.getNumberAccess().getGroup_1(), "rule__Number__Group_1__0"); + mappings.put(grammarAccess.getNumberAccess().getGroup_1_1(), "rule__Number__Group_1_1__0"); + mappings.put(grammarAccess.getStaticQualifierAccess().getGroup(), "rule__StaticQualifier__Group__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0(), "rule__JvmTypeReference__Group_0__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1(), "rule__JvmTypeReference__Group_0_1__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0(), "rule__JvmTypeReference__Group_0_1_0__0"); + mappings.put(grammarAccess.getArrayBracketsAccess().getGroup(), "rule__ArrayBrackets__Group__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup(), "rule__XFunctionTypeRef__Group__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0(), "rule__XFunctionTypeRef__Group_0__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1(), "rule__XFunctionTypeRef__Group_0_1__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1(), "rule__XFunctionTypeRef__Group_0_1_1__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup(), "rule__JvmParameterizedTypeReference__Group__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1(), "rule__JvmParameterizedTypeReference__Group_1__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2(), "rule__JvmParameterizedTypeReference__Group_1_2__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4(), "rule__JvmParameterizedTypeReference__Group_1_4__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup(), "rule__JvmWildcardTypeReference__Group__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0(), "rule__JvmWildcardTypeReference__Group_2_0__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1(), "rule__JvmWildcardTypeReference__Group_2_1__0"); + mappings.put(grammarAccess.getJvmUpperBoundAccess().getGroup(), "rule__JvmUpperBound__Group__0"); + mappings.put(grammarAccess.getJvmUpperBoundAndedAccess().getGroup(), "rule__JvmUpperBoundAnded__Group__0"); + mappings.put(grammarAccess.getJvmLowerBoundAccess().getGroup(), "rule__JvmLowerBound__Group__0"); + mappings.put(grammarAccess.getJvmLowerBoundAndedAccess().getGroup(), "rule__JvmLowerBoundAnded__Group__0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getGroup(), "rule__JvmTypeParameter__Group__0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getGroup_1(), "rule__JvmTypeParameter__Group_1__0"); + mappings.put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup(), "rule__QualifiedNameWithWildcard__Group__0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getGroup(), "rule__XImportDeclaration__Group__0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getGroup_1_0(), "rule__XImportDeclaration__Group_1_0__0"); + mappings.put(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup(), "rule__QualifiedNameInStaticImport__Group__0"); + mappings.put(grammarAccess.getEntitiesAccess().getImportSectionAssignment_0(), "rule__Entities__ImportSectionAssignment_0"); + mappings.put(grammarAccess.getEntitiesAccess().getElementsAssignment_1(), "rule__Entities__ElementsAssignment_1"); + mappings.put(grammarAccess.getPackageDeclarationAccess().getNameAssignment_1(), "rule__PackageDeclaration__NameAssignment_1"); + mappings.put(grammarAccess.getPackageDeclarationAccess().getElementsAssignment_3(), "rule__PackageDeclaration__ElementsAssignment_3"); + mappings.put(grammarAccess.getEntityAccess().getNameAssignment_1(), "rule__Entity__NameAssignment_1"); + mappings.put(grammarAccess.getEntityAccess().getSuperTypeAssignment_2_1(), "rule__Entity__SuperTypeAssignment_2_1"); + mappings.put(grammarAccess.getEntityAccess().getFeaturesAssignment_4(), "rule__Entity__FeaturesAssignment_4"); + mappings.put(grammarAccess.getPropertyAccess().getNameAssignment_0(), "rule__Property__NameAssignment_0"); + mappings.put(grammarAccess.getPropertyAccess().getTypeAssignment_2(), "rule__Property__TypeAssignment_2"); + mappings.put(grammarAccess.getOperationAccess().getNameAssignment_1(), "rule__Operation__NameAssignment_1"); + mappings.put(grammarAccess.getOperationAccess().getParamsAssignment_3_0(), "rule__Operation__ParamsAssignment_3_0"); + mappings.put(grammarAccess.getOperationAccess().getParamsAssignment_3_1_1(), "rule__Operation__ParamsAssignment_3_1_1"); + mappings.put(grammarAccess.getOperationAccess().getTypeAssignment_5_1(), "rule__Operation__TypeAssignment_5_1"); + mappings.put(grammarAccess.getOperationAccess().getBodyAssignment_6(), "rule__Operation__BodyAssignment_6"); + mappings.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_0_1(), "rule__XAssignment__FeatureAssignment_0_1"); + mappings.put(grammarAccess.getXAssignmentAccess().getValueAssignment_0_3(), "rule__XAssignment__ValueAssignment_0_3"); + mappings.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XAssignment__FeatureAssignment_1_1_0_0_1"); + mappings.put(grammarAccess.getXAssignmentAccess().getRightOperandAssignment_1_1_1(), "rule__XAssignment__RightOperandAssignment_1_1_1"); + mappings.put(grammarAccess.getXOrExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOrExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXOrExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOrExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXAndExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAndExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXAndExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAndExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XEqualityExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getRightOperandAssignment_1_1(), "rule__XEqualityExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getTypeAssignment_1_0_1(), "rule__XRelationalExpression__TypeAssignment_1_0_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XRelationalExpression__FeatureAssignment_1_1_0_0_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getRightOperandAssignment_1_1_1(), "rule__XRelationalExpression__RightOperandAssignment_1_1_1"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOtherOperatorExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOtherOperatorExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAdditiveExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAdditiveExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XMultiplicativeExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandAssignment_1_1(), "rule__XMultiplicativeExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getFeatureAssignment_0_1(), "rule__XUnaryOperation__FeatureAssignment_0_1"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getOperandAssignment_0_2(), "rule__XUnaryOperation__OperandAssignment_0_2"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getTypeAssignment_1_1(), "rule__XCastedExpression__TypeAssignment_1_1"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getFeatureAssignment_1_0_1(), "rule__XPostfixOperation__FeatureAssignment_1_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_0_0_0_1_1(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_0_0_0_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_0_0_0_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getValueAssignment_1_0_1(), "rule__XMemberFeatureCall__ValueAssignment_1_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getNullSafeAssignment_1_1_0_0_1_1(), "rule__XMemberFeatureCall__NullSafeAssignment_1_1_0_0_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_1_0_0_1_2(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_1_0_0_1_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_2_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_2_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_1_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_1_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallAssignment_1_1_3_0(), "rule__XMemberFeatureCall__ExplicitOperationCallAssignment_1_1_3_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_1_1(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_4(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4"); + mappings.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_0(), "rule__XSetLiteral__ElementsAssignment_3_0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_1_1(), "rule__XSetLiteral__ElementsAssignment_3_1_1"); + mappings.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_0(), "rule__XListLiteral__ElementsAssignment_3_0"); + mappings.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_1_1(), "rule__XListLiteral__ElementsAssignment_3_1_1"); + mappings.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_0(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_0"); + mappings.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_1_1(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_1_1"); + mappings.put(grammarAccess.getXClosureAccess().getExplicitSyntaxAssignment_1_0_1(), "rule__XClosure__ExplicitSyntaxAssignment_1_0_1"); + mappings.put(grammarAccess.getXClosureAccess().getExpressionAssignment_2(), "rule__XClosure__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getExpressionsAssignment_1_0(), "rule__XExpressionInClosure__ExpressionsAssignment_1_0"); + mappings.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_0(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0"); + mappings.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_1_1(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1"); + mappings.put(grammarAccess.getXShortClosureAccess().getExplicitSyntaxAssignment_0_0_2(), "rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2"); + mappings.put(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1(), "rule__XShortClosure__ExpressionAssignment_1"); + mappings.put(grammarAccess.getXIfExpressionAccess().getIfAssignment_3(), "rule__XIfExpression__IfAssignment_3"); + mappings.put(grammarAccess.getXIfExpressionAccess().getThenAssignment_5(), "rule__XIfExpression__ThenAssignment_5"); + mappings.put(grammarAccess.getXIfExpressionAccess().getElseAssignment_6_1(), "rule__XIfExpression__ElseAssignment_6_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_0_0_0_1(), "rule__XSwitchExpression__DeclaredParamAssignment_2_0_0_0_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1(), "rule__XSwitchExpression__SwitchAssignment_2_0_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_1_0_0_0(), "rule__XSwitchExpression__DeclaredParamAssignment_2_1_0_0_0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1(), "rule__XSwitchExpression__SwitchAssignment_2_1_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4(), "rule__XSwitchExpression__CasesAssignment_4"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDefaultAssignment_5_2(), "rule__XSwitchExpression__DefaultAssignment_5_2"); + mappings.put(grammarAccess.getXCasePartAccess().getTypeGuardAssignment_1(), "rule__XCasePart__TypeGuardAssignment_1"); + mappings.put(grammarAccess.getXCasePartAccess().getCaseAssignment_2_1(), "rule__XCasePart__CaseAssignment_2_1"); + mappings.put(grammarAccess.getXCasePartAccess().getThenAssignment_3_0_1(), "rule__XCasePart__ThenAssignment_3_0_1"); + mappings.put(grammarAccess.getXCasePartAccess().getFallThroughAssignment_3_1(), "rule__XCasePart__FallThroughAssignment_3_1"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamAssignment_0_0_3(), "rule__XForLoopExpression__DeclaredParamAssignment_0_0_3"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getForExpressionAssignment_1(), "rule__XForLoopExpression__ForExpressionAssignment_1"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getEachExpressionAssignment_3(), "rule__XForLoopExpression__EachExpressionAssignment_3"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_0(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_1_1(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_1_1"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getExpressionAssignment_5(), "rule__XBasicForLoopExpression__ExpressionAssignment_5"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_0(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_1_1(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_1_1"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getEachExpressionAssignment_9(), "rule__XBasicForLoopExpression__EachExpressionAssignment_9"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getPredicateAssignment_3(), "rule__XWhileExpression__PredicateAssignment_3"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getBodyAssignment_5(), "rule__XWhileExpression__BodyAssignment_5"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getBodyAssignment_2(), "rule__XDoWhileExpression__BodyAssignment_2"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getPredicateAssignment_5(), "rule__XDoWhileExpression__PredicateAssignment_5"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__XBlockExpression__ExpressionsAssignment_2_0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getWriteableAssignment_1_0(), "rule__XVariableDeclaration__WriteableAssignment_1_0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getTypeAssignment_2_0_0_0(), "rule__XVariableDeclaration__TypeAssignment_2_0_0_0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_0_0_1(), "rule__XVariableDeclaration__NameAssignment_2_0_0_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_1(), "rule__XVariableDeclaration__NameAssignment_2_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getRightAssignment_3_1(), "rule__XVariableDeclaration__RightAssignment_3_1"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__JvmFormalParameter__ParameterTypeAssignment_0"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getNameAssignment_1(), "rule__JvmFormalParameter__NameAssignment_1"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__FullJvmFormalParameter__ParameterTypeAssignment_0"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getNameAssignment_1(), "rule__FullJvmFormalParameter__NameAssignment_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_2_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_2_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureAssignment_2(), "rule__XFeatureCall__FeatureAssignment_2"); + mappings.put(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallAssignment_3_0(), "rule__XFeatureCall__ExplicitOperationCallAssignment_3_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_1_1(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_4"); + mappings.put(grammarAccess.getXConstructorCallAccess().getConstructorAssignment_2(), "rule__XConstructorCall__ConstructorAssignment_2"); + mappings.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_2_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_2_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getExplicitConstructorCallAssignment_4_0(), "rule__XConstructorCall__ExplicitConstructorCallAssignment_4_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_1_1(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_1_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_5(), "rule__XConstructorCall__ArgumentsAssignment_5"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1(), "rule__XBooleanLiteral__IsTrueAssignment_1_1"); + mappings.put(grammarAccess.getXNumberLiteralAccess().getValueAssignment_1(), "rule__XNumberLiteral__ValueAssignment_1"); + mappings.put(grammarAccess.getXStringLiteralAccess().getValueAssignment_1(), "rule__XStringLiteral__ValueAssignment_1"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getTypeAssignment_3(), "rule__XTypeLiteral__TypeAssignment_3"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getArrayDimensionsAssignment_4(), "rule__XTypeLiteral__ArrayDimensionsAssignment_4"); + mappings.put(grammarAccess.getXThrowExpressionAccess().getExpressionAssignment_2(), "rule__XThrowExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXReturnExpressionAccess().getExpressionAssignment_2(), "rule__XReturnExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionAssignment_2(), "rule__XTryCatchFinallyExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesAssignment_3_0_0(), "rule__XTryCatchFinallyExpression__CatchClausesAssignment_3_0_0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_0_1_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_1_1"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getParamAssignment_1(), "rule__XSynchronizedExpression__ParamAssignment_1"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getExpressionAssignment_3(), "rule__XSynchronizedExpression__ExpressionAssignment_3"); + mappings.put(grammarAccess.getXCatchClauseAccess().getDeclaredParamAssignment_2(), "rule__XCatchClause__DeclaredParamAssignment_2"); + mappings.put(grammarAccess.getXCatchClauseAccess().getExpressionAssignment_4(), "rule__XCatchClause__ExpressionAssignment_4"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionTypeRef__ReturnTypeAssignment_2"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0(), "rule__JvmParameterizedTypeReference__TypeAssignment_0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1(), "rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1"); + mappings.put(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBound__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBoundAnded__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBound__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBoundAnded__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getNameAssignment_0(), "rule__JvmTypeParameter__NameAssignment_0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_0(), "rule__JvmTypeParameter__ConstraintsAssignment_1_0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_1(), "rule__JvmTypeParameter__ConstraintsAssignment_1_1"); + mappings.put(grammarAccess.getXImportSectionAccess().getImportDeclarationsAssignment(), "rule__XImportSection__ImportDeclarationsAssignment"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0(), "rule__XImportDeclaration__StaticAssignment_1_0_0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1(), "rule__XImportDeclaration__ExtensionAssignment_1_0_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2(), "rule__XImportDeclaration__ImportedTypeAssignment_1_0_2"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0(), "rule__XImportDeclaration__WildcardAssignment_1_0_3_0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1(), "rule__XImportDeclaration__MemberNameAssignment_1_0_3_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1(), "rule__XImportDeclaration__ImportedTypeAssignment_1_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2(), "rule__XImportDeclaration__ImportedNamespaceAssignment_1_2"); } } diff --git a/org.eclipse.xtext.web.example.statemachine.ide/src-gen/org/eclipse/xtext/web/example/statemachine/ide/contentassist/antlr/StatemachineParser.java b/org.eclipse.xtext.web.example.statemachine.ide/src-gen/org/eclipse/xtext/web/example/statemachine/ide/contentassist/antlr/StatemachineParser.java index b315642e8d7..89a257e47de 100644 --- a/org.eclipse.xtext.web.example.statemachine.ide/src-gen/org/eclipse/xtext/web/example/statemachine/ide/contentassist/antlr/StatemachineParser.java +++ b/org.eclipse.xtext.web.example.statemachine.ide/src-gen/org/eclipse/xtext/web/example/statemachine/ide/contentassist/antlr/StatemachineParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.web.example.statemachine.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,44 +26,44 @@ public static final class NameMappings { @Inject public NameMappings(StatemachineGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, StatemachineGrammarAccess grammarAccess) { - builder.put(grammarAccess.getSignalAccess().getAlternatives_0(), "rule__Signal__Alternatives_0"); - builder.put(grammarAccess.getStatemachineAccess().getGroup(), "rule__Statemachine__Group__0"); - builder.put(grammarAccess.getSignalAccess().getGroup(), "rule__Signal__Group__0"); - builder.put(grammarAccess.getInputSignalAccess().getGroup(), "rule__InputSignal__Group__0"); - builder.put(grammarAccess.getOutputSignalAccess().getGroup(), "rule__OutputSignal__Group__0"); - builder.put(grammarAccess.getStateAccess().getGroup(), "rule__State__Group__0"); - builder.put(grammarAccess.getTransitionAccess().getGroup(), "rule__Transition__Group__0"); - builder.put(grammarAccess.getConditionAccess().getGroup(), "rule__Condition__Group__0"); - builder.put(grammarAccess.getConditionAccess().getGroup_1(), "rule__Condition__Group_1__0"); - builder.put(grammarAccess.getEventAccess().getGroup(), "rule__Event__Group__0"); - builder.put(grammarAccess.getCommandAccess().getGroup(), "rule__Command__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); - builder.put(grammarAccess.getStatemachineAccess().getSignalsAssignment_1(), "rule__Statemachine__SignalsAssignment_1"); - builder.put(grammarAccess.getStatemachineAccess().getStatesAssignment_2(), "rule__Statemachine__StatesAssignment_2"); - builder.put(grammarAccess.getSignalAccess().getNameAssignment_2(), "rule__Signal__NameAssignment_2"); - builder.put(grammarAccess.getStateAccess().getNameAssignment_1(), "rule__State__NameAssignment_1"); - builder.put(grammarAccess.getStateAccess().getCommandsAssignment_2(), "rule__State__CommandsAssignment_2"); - builder.put(grammarAccess.getStateAccess().getTransitionsAssignment_3(), "rule__State__TransitionsAssignment_3"); - builder.put(grammarAccess.getStateAccess().getNestedStatesAssignment_4(), "rule__State__NestedStatesAssignment_4"); - builder.put(grammarAccess.getTransitionAccess().getConditionAssignment_1(), "rule__Transition__ConditionAssignment_1"); - builder.put(grammarAccess.getTransitionAccess().getStateAssignment_3(), "rule__Transition__StateAssignment_3"); - builder.put(grammarAccess.getConditionAccess().getEventsAssignment_0(), "rule__Condition__EventsAssignment_0"); - builder.put(grammarAccess.getConditionAccess().getEventsAssignment_1_1(), "rule__Condition__EventsAssignment_1_1"); - builder.put(grammarAccess.getEventAccess().getSignalAssignment_0(), "rule__Event__SignalAssignment_0"); - builder.put(grammarAccess.getEventAccess().getValueAssignment_2(), "rule__Event__ValueAssignment_2"); - builder.put(grammarAccess.getCommandAccess().getSignalAssignment_1(), "rule__Command__SignalAssignment_1"); - builder.put(grammarAccess.getCommandAccess().getNewValueAssignment_3(), "rule__Command__NewValueAssignment_3"); + private static void init(Map mappings, StatemachineGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getSignalAccess().getAlternatives_0(), "rule__Signal__Alternatives_0"); + mappings.put(grammarAccess.getStatemachineAccess().getGroup(), "rule__Statemachine__Group__0"); + mappings.put(grammarAccess.getSignalAccess().getGroup(), "rule__Signal__Group__0"); + mappings.put(grammarAccess.getInputSignalAccess().getGroup(), "rule__InputSignal__Group__0"); + mappings.put(grammarAccess.getOutputSignalAccess().getGroup(), "rule__OutputSignal__Group__0"); + mappings.put(grammarAccess.getStateAccess().getGroup(), "rule__State__Group__0"); + mappings.put(grammarAccess.getTransitionAccess().getGroup(), "rule__Transition__Group__0"); + mappings.put(grammarAccess.getConditionAccess().getGroup(), "rule__Condition__Group__0"); + mappings.put(grammarAccess.getConditionAccess().getGroup_1(), "rule__Condition__Group_1__0"); + mappings.put(grammarAccess.getEventAccess().getGroup(), "rule__Event__Group__0"); + mappings.put(grammarAccess.getCommandAccess().getGroup(), "rule__Command__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); + mappings.put(grammarAccess.getStatemachineAccess().getSignalsAssignment_1(), "rule__Statemachine__SignalsAssignment_1"); + mappings.put(grammarAccess.getStatemachineAccess().getStatesAssignment_2(), "rule__Statemachine__StatesAssignment_2"); + mappings.put(grammarAccess.getSignalAccess().getNameAssignment_2(), "rule__Signal__NameAssignment_2"); + mappings.put(grammarAccess.getStateAccess().getNameAssignment_1(), "rule__State__NameAssignment_1"); + mappings.put(grammarAccess.getStateAccess().getCommandsAssignment_2(), "rule__State__CommandsAssignment_2"); + mappings.put(grammarAccess.getStateAccess().getTransitionsAssignment_3(), "rule__State__TransitionsAssignment_3"); + mappings.put(grammarAccess.getStateAccess().getNestedStatesAssignment_4(), "rule__State__NestedStatesAssignment_4"); + mappings.put(grammarAccess.getTransitionAccess().getConditionAssignment_1(), "rule__Transition__ConditionAssignment_1"); + mappings.put(grammarAccess.getTransitionAccess().getStateAssignment_3(), "rule__Transition__StateAssignment_3"); + mappings.put(grammarAccess.getConditionAccess().getEventsAssignment_0(), "rule__Condition__EventsAssignment_0"); + mappings.put(grammarAccess.getConditionAccess().getEventsAssignment_1_1(), "rule__Condition__EventsAssignment_1_1"); + mappings.put(grammarAccess.getEventAccess().getSignalAssignment_0(), "rule__Event__SignalAssignment_0"); + mappings.put(grammarAccess.getEventAccess().getValueAssignment_2(), "rule__Event__ValueAssignment_2"); + mappings.put(grammarAccess.getCommandAccess().getSignalAssignment_1(), "rule__Command__SignalAssignment_1"); + mappings.put(grammarAccess.getCommandAccess().getNewValueAssignment_3(), "rule__Command__NewValueAssignment_3"); } } diff --git a/org.eclipse.xtext.xbase.ide/src-gen/org/eclipse/xtext/xbase/annotations/ide/contentassist/antlr/XbaseWithAnnotationsParser.java b/org.eclipse.xtext.xbase.ide/src-gen/org/eclipse/xtext/xbase/annotations/ide/contentassist/antlr/XbaseWithAnnotationsParser.java index f343392aa49..bd37ab85234 100644 --- a/org.eclipse.xtext.xbase.ide/src-gen/org/eclipse/xtext/xbase/annotations/ide/contentassist/antlr/XbaseWithAnnotationsParser.java +++ b/org.eclipse.xtext.xbase.ide/src-gen/org/eclipse/xtext/xbase/annotations/ide/contentassist/antlr/XbaseWithAnnotationsParser.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2010, 2023 itemis AG (http://www.itemis.eu) and others. + * Copyright (c) 2010, 2024 itemis AG (http://www.itemis.eu) and others. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0. @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.xbase.annotations.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,413 +26,413 @@ public static final class NameMappings { @Inject public NameMappings(XbaseWithAnnotationsGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, XbaseWithAnnotationsGrammarAccess grammarAccess) { - builder.put(grammarAccess.getXAnnotationAccess().getAlternatives_3_1(), "rule__XAnnotation__Alternatives_3_1"); - builder.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getAlternatives(), "rule__XAnnotationElementValueOrCommaList__Alternatives"); - builder.put(grammarAccess.getXAnnotationElementValueAccess().getAlternatives(), "rule__XAnnotationElementValue__Alternatives"); - builder.put(grammarAccess.getXAnnotationOrExpressionAccess().getAlternatives(), "rule__XAnnotationOrExpression__Alternatives"); - builder.put(grammarAccess.getXAssignmentAccess().getAlternatives(), "rule__XAssignment__Alternatives"); - builder.put(grammarAccess.getOpMultiAssignAccess().getAlternatives(), "rule__OpMultiAssign__Alternatives"); - builder.put(grammarAccess.getOpEqualityAccess().getAlternatives(), "rule__OpEquality__Alternatives"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getAlternatives_1(), "rule__XRelationalExpression__Alternatives_1"); - builder.put(grammarAccess.getOpCompareAccess().getAlternatives(), "rule__OpCompare__Alternatives"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives(), "rule__OpOther__Alternatives"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives_5_1(), "rule__OpOther__Alternatives_5_1"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives_6_1(), "rule__OpOther__Alternatives_6_1"); - builder.put(grammarAccess.getOpAddAccess().getAlternatives(), "rule__OpAdd__Alternatives"); - builder.put(grammarAccess.getOpMultiAccess().getAlternatives(), "rule__OpMulti__Alternatives"); - builder.put(grammarAccess.getXUnaryOperationAccess().getAlternatives(), "rule__XUnaryOperation__Alternatives"); - builder.put(grammarAccess.getOpUnaryAccess().getAlternatives(), "rule__OpUnary__Alternatives"); - builder.put(grammarAccess.getOpPostfixAccess().getAlternatives(), "rule__OpPostfix__Alternatives"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1(), "rule__XMemberFeatureCall__Alternatives_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_0_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_0_0_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_1_0_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_3_1(), "rule__XMemberFeatureCall__Alternatives_1_1_3_1"); - builder.put(grammarAccess.getXPrimaryExpressionAccess().getAlternatives(), "rule__XPrimaryExpression__Alternatives"); - builder.put(grammarAccess.getXLiteralAccess().getAlternatives(), "rule__XLiteral__Alternatives"); - builder.put(grammarAccess.getXCollectionLiteralAccess().getAlternatives(), "rule__XCollectionLiteral__Alternatives"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2(), "rule__XSwitchExpression__Alternatives_2"); - builder.put(grammarAccess.getXCasePartAccess().getAlternatives_3(), "rule__XCasePart__Alternatives_3"); - builder.put(grammarAccess.getXExpressionOrVarDeclarationAccess().getAlternatives(), "rule__XExpressionOrVarDeclaration__Alternatives"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_1(), "rule__XVariableDeclaration__Alternatives_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_2(), "rule__XVariableDeclaration__Alternatives_2"); - builder.put(grammarAccess.getXFeatureCallAccess().getAlternatives_3_1(), "rule__XFeatureCall__Alternatives_3_1"); - builder.put(grammarAccess.getFeatureCallIDAccess().getAlternatives(), "rule__FeatureCallID__Alternatives"); - builder.put(grammarAccess.getIdOrSuperAccess().getAlternatives(), "rule__IdOrSuper__Alternatives"); - builder.put(grammarAccess.getXConstructorCallAccess().getAlternatives_4_1(), "rule__XConstructorCall__Alternatives_4_1"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1(), "rule__XBooleanLiteral__Alternatives_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_3(), "rule__XTryCatchFinallyExpression__Alternatives_3"); - builder.put(grammarAccess.getNumberAccess().getAlternatives(), "rule__Number__Alternatives"); - builder.put(grammarAccess.getNumberAccess().getAlternatives_1_0(), "rule__Number__Alternatives_1_0"); - builder.put(grammarAccess.getNumberAccess().getAlternatives_1_1_1(), "rule__Number__Alternatives_1_1_1"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getAlternatives(), "rule__JvmTypeReference__Alternatives"); - builder.put(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives(), "rule__JvmArgumentTypeReference__Alternatives"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2(), "rule__JvmWildcardTypeReference__Alternatives_2"); - builder.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1(), "rule__XImportDeclaration__Alternatives_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3(), "rule__XImportDeclaration__Alternatives_1_0_3"); - builder.put(grammarAccess.getXAnnotationAccess().getGroup(), "rule__XAnnotation__Group__0"); - builder.put(grammarAccess.getXAnnotationAccess().getGroup_3(), "rule__XAnnotation__Group_3__0"); - builder.put(grammarAccess.getXAnnotationAccess().getGroup_3_1_0(), "rule__XAnnotation__Group_3_1_0__0"); - builder.put(grammarAccess.getXAnnotationAccess().getGroup_3_1_0_1(), "rule__XAnnotation__Group_3_1_0_1__0"); - builder.put(grammarAccess.getXAnnotationElementValuePairAccess().getGroup(), "rule__XAnnotationElementValuePair__Group__0"); - builder.put(grammarAccess.getXAnnotationElementValuePairAccess().getGroup_0(), "rule__XAnnotationElementValuePair__Group_0__0"); - builder.put(grammarAccess.getXAnnotationElementValuePairAccess().getGroup_0_0(), "rule__XAnnotationElementValuePair__Group_0_0__0"); - builder.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0(), "rule__XAnnotationElementValueOrCommaList__Group_0__0"); - builder.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_0(), "rule__XAnnotationElementValueOrCommaList__Group_0_0__0"); - builder.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_0_0(), "rule__XAnnotationElementValueOrCommaList__Group_0_0_0__0"); - builder.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_1(), "rule__XAnnotationElementValueOrCommaList__Group_0_1__0"); - builder.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_1_1(), "rule__XAnnotationElementValueOrCommaList__Group_0_1_1__0"); - builder.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1(), "rule__XAnnotationElementValueOrCommaList__Group_1__0"); - builder.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1_1(), "rule__XAnnotationElementValueOrCommaList__Group_1_1__0"); - builder.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1_1_1(), "rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0"); - builder.put(grammarAccess.getXAnnotationElementValueAccess().getGroup_0(), "rule__XAnnotationElementValue__Group_0__0"); - builder.put(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_0(), "rule__XAnnotationElementValue__Group_0_0__0"); - builder.put(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_0_0(), "rule__XAnnotationElementValue__Group_0_0_0__0"); - builder.put(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_1(), "rule__XAnnotationElementValue__Group_0_1__0"); - builder.put(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_1_1(), "rule__XAnnotationElementValue__Group_0_1_1__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_0(), "rule__XAssignment__Group_0__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1(), "rule__XAssignment__Group_1__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1(), "rule__XAssignment__Group_1_1__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0(), "rule__XAssignment__Group_1_1_0__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0_0(), "rule__XAssignment__Group_1_1_0_0__0"); - builder.put(grammarAccess.getOpMultiAssignAccess().getGroup_5(), "rule__OpMultiAssign__Group_5__0"); - builder.put(grammarAccess.getOpMultiAssignAccess().getGroup_6(), "rule__OpMultiAssign__Group_6__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup(), "rule__XOrExpression__Group__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1(), "rule__XOrExpression__Group_1__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0(), "rule__XOrExpression__Group_1_0__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0_0(), "rule__XOrExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup(), "rule__XAndExpression__Group__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1(), "rule__XAndExpression__Group_1__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0(), "rule__XAndExpression__Group_1_0__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0_0(), "rule__XAndExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup(), "rule__XEqualityExpression__Group__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1(), "rule__XEqualityExpression__Group_1__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0(), "rule__XEqualityExpression__Group_1_0__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0_0(), "rule__XEqualityExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup(), "rule__XRelationalExpression__Group__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0(), "rule__XRelationalExpression__Group_1_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0(), "rule__XRelationalExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0_0(), "rule__XRelationalExpression__Group_1_0_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1(), "rule__XRelationalExpression__Group_1_1__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0(), "rule__XRelationalExpression__Group_1_1_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0_0(), "rule__XRelationalExpression__Group_1_1_0_0__0"); - builder.put(grammarAccess.getOpCompareAccess().getGroup_1(), "rule__OpCompare__Group_1__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup(), "rule__XOtherOperatorExpression__Group__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1(), "rule__XOtherOperatorExpression__Group_1__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0(), "rule__XOtherOperatorExpression__Group_1_0__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0_0(), "rule__XOtherOperatorExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_2(), "rule__OpOther__Group_2__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5(), "rule__OpOther__Group_5__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0(), "rule__OpOther__Group_5_1_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0_0(), "rule__OpOther__Group_5_1_0_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6(), "rule__OpOther__Group_6__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0(), "rule__OpOther__Group_6_1_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0_0(), "rule__OpOther__Group_6_1_0_0__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup(), "rule__XAdditiveExpression__Group__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1(), "rule__XAdditiveExpression__Group_1__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0(), "rule__XAdditiveExpression__Group_1_0__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0_0(), "rule__XAdditiveExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup(), "rule__XMultiplicativeExpression__Group__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1(), "rule__XMultiplicativeExpression__Group_1__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0(), "rule__XMultiplicativeExpression__Group_1_0__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0_0(), "rule__XMultiplicativeExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXUnaryOperationAccess().getGroup_0(), "rule__XUnaryOperation__Group_0__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup(), "rule__XCastedExpression__Group__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1(), "rule__XCastedExpression__Group_1__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0(), "rule__XCastedExpression__Group_1_0__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0_0(), "rule__XCastedExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup(), "rule__XPostfixOperation__Group__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup_1(), "rule__XPostfixOperation__Group_1__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup_1_0(), "rule__XPostfixOperation__Group_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup(), "rule__XMemberFeatureCall__Group__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0(), "rule__XMemberFeatureCall__Group_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0(), "rule__XMemberFeatureCall__Group_1_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0_0(), "rule__XMemberFeatureCall__Group_1_0_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1(), "rule__XMemberFeatureCall__Group_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0(), "rule__XMemberFeatureCall__Group_1_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0_0(), "rule__XMemberFeatureCall__Group_1_1_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1_2(), "rule__XMemberFeatureCall__Group_1_1_1_2__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3(), "rule__XMemberFeatureCall__Group_1_1_3__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1_1__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup(), "rule__XSetLiteral__Group__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup_3(), "rule__XSetLiteral__Group_3__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup_3_1(), "rule__XSetLiteral__Group_3_1__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup(), "rule__XListLiteral__Group__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup_3(), "rule__XListLiteral__Group_3__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup_3_1(), "rule__XListLiteral__Group_3_1__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup(), "rule__XClosure__Group__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_0(), "rule__XClosure__Group_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_0_0(), "rule__XClosure__Group_0_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1(), "rule__XClosure__Group_1__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0(), "rule__XClosure__Group_1_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0_0(), "rule__XClosure__Group_1_0_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0_0_1(), "rule__XClosure__Group_1_0_0_1__0"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getGroup(), "rule__XExpressionInClosure__Group__0"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getGroup_1(), "rule__XExpressionInClosure__Group_1__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup(), "rule__XShortClosure__Group__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0(), "rule__XShortClosure__Group_0__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0(), "rule__XShortClosure__Group_0_0__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1(), "rule__XShortClosure__Group_0_0_1__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1_1(), "rule__XShortClosure__Group_0_0_1_1__0"); - builder.put(grammarAccess.getXParenthesizedExpressionAccess().getGroup(), "rule__XParenthesizedExpression__Group__0"); - builder.put(grammarAccess.getXIfExpressionAccess().getGroup(), "rule__XIfExpression__Group__0"); - builder.put(grammarAccess.getXIfExpressionAccess().getGroup_6(), "rule__XIfExpression__Group_6__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup(), "rule__XSwitchExpression__Group__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0(), "rule__XSwitchExpression__Group_2_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0(), "rule__XSwitchExpression__Group_2_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0(), "rule__XSwitchExpression__Group_2_0_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1(), "rule__XSwitchExpression__Group_2_1__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0(), "rule__XSwitchExpression__Group_2_1_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0(), "rule__XSwitchExpression__Group_2_1_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_5(), "rule__XSwitchExpression__Group_5__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup(), "rule__XCasePart__Group__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup_2(), "rule__XCasePart__Group_2__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup_3_0(), "rule__XCasePart__Group_3_0__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup(), "rule__XForLoopExpression__Group__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0(), "rule__XForLoopExpression__Group_0__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0_0(), "rule__XForLoopExpression__Group_0_0__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup(), "rule__XBasicForLoopExpression__Group__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3(), "rule__XBasicForLoopExpression__Group_3__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3_1(), "rule__XBasicForLoopExpression__Group_3_1__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7(), "rule__XBasicForLoopExpression__Group_7__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7_1(), "rule__XBasicForLoopExpression__Group_7_1__0"); - builder.put(grammarAccess.getXWhileExpressionAccess().getGroup(), "rule__XWhileExpression__Group__0"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getGroup(), "rule__XDoWhileExpression__Group__0"); - builder.put(grammarAccess.getXBlockExpressionAccess().getGroup(), "rule__XBlockExpression__Group__0"); - builder.put(grammarAccess.getXBlockExpressionAccess().getGroup_2(), "rule__XBlockExpression__Group_2__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup(), "rule__XVariableDeclaration__Group__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0(), "rule__XVariableDeclaration__Group_2_0__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0_0(), "rule__XVariableDeclaration__Group_2_0_0__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_3(), "rule__XVariableDeclaration__Group_3__0"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getGroup(), "rule__JvmFormalParameter__Group__0"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getGroup(), "rule__FullJvmFormalParameter__Group__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup(), "rule__XFeatureCall__Group__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_1(), "rule__XFeatureCall__Group_1__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_1_2(), "rule__XFeatureCall__Group_1_2__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3(), "rule__XFeatureCall__Group_3__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1(), "rule__XFeatureCall__Group_3_1_1__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1_1(), "rule__XFeatureCall__Group_3_1_1_1__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup(), "rule__XConstructorCall__Group__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_3(), "rule__XConstructorCall__Group_3__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_3_2(), "rule__XConstructorCall__Group_3_2__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4(), "rule__XConstructorCall__Group_4__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1(), "rule__XConstructorCall__Group_4_1_1__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1_1(), "rule__XConstructorCall__Group_4_1_1_1__0"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getGroup(), "rule__XBooleanLiteral__Group__0"); - builder.put(grammarAccess.getXNullLiteralAccess().getGroup(), "rule__XNullLiteral__Group__0"); - builder.put(grammarAccess.getXNumberLiteralAccess().getGroup(), "rule__XNumberLiteral__Group__0"); - builder.put(grammarAccess.getXStringLiteralAccess().getGroup(), "rule__XStringLiteral__Group__0"); - builder.put(grammarAccess.getXTypeLiteralAccess().getGroup(), "rule__XTypeLiteral__Group__0"); - builder.put(grammarAccess.getXThrowExpressionAccess().getGroup(), "rule__XThrowExpression__Group__0"); - builder.put(grammarAccess.getXReturnExpressionAccess().getGroup(), "rule__XReturnExpression__Group__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup(), "rule__XTryCatchFinallyExpression__Group__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0(), "rule__XTryCatchFinallyExpression__Group_3_0__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0_1(), "rule__XTryCatchFinallyExpression__Group_3_0_1__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_1(), "rule__XTryCatchFinallyExpression__Group_3_1__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup(), "rule__XSynchronizedExpression__Group__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0(), "rule__XSynchronizedExpression__Group_0__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0_0(), "rule__XSynchronizedExpression__Group_0_0__0"); - builder.put(grammarAccess.getXCatchClauseAccess().getGroup(), "rule__XCatchClause__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); - builder.put(grammarAccess.getNumberAccess().getGroup_1(), "rule__Number__Group_1__0"); - builder.put(grammarAccess.getNumberAccess().getGroup_1_1(), "rule__Number__Group_1_1__0"); - builder.put(grammarAccess.getStaticQualifierAccess().getGroup(), "rule__StaticQualifier__Group__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0(), "rule__JvmTypeReference__Group_0__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1(), "rule__JvmTypeReference__Group_0_1__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0(), "rule__JvmTypeReference__Group_0_1_0__0"); - builder.put(grammarAccess.getArrayBracketsAccess().getGroup(), "rule__ArrayBrackets__Group__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup(), "rule__XFunctionTypeRef__Group__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0(), "rule__XFunctionTypeRef__Group_0__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1(), "rule__XFunctionTypeRef__Group_0_1__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1(), "rule__XFunctionTypeRef__Group_0_1_1__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup(), "rule__JvmParameterizedTypeReference__Group__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1(), "rule__JvmParameterizedTypeReference__Group_1__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2(), "rule__JvmParameterizedTypeReference__Group_1_2__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4(), "rule__JvmParameterizedTypeReference__Group_1_4__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup(), "rule__JvmWildcardTypeReference__Group__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0(), "rule__JvmWildcardTypeReference__Group_2_0__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1(), "rule__JvmWildcardTypeReference__Group_2_1__0"); - builder.put(grammarAccess.getJvmUpperBoundAccess().getGroup(), "rule__JvmUpperBound__Group__0"); - builder.put(grammarAccess.getJvmUpperBoundAndedAccess().getGroup(), "rule__JvmUpperBoundAnded__Group__0"); - builder.put(grammarAccess.getJvmLowerBoundAccess().getGroup(), "rule__JvmLowerBound__Group__0"); - builder.put(grammarAccess.getJvmLowerBoundAndedAccess().getGroup(), "rule__JvmLowerBoundAnded__Group__0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getGroup(), "rule__JvmTypeParameter__Group__0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getGroup_1(), "rule__JvmTypeParameter__Group_1__0"); - builder.put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup(), "rule__QualifiedNameWithWildcard__Group__0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getGroup(), "rule__XImportDeclaration__Group__0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getGroup_1_0(), "rule__XImportDeclaration__Group_1_0__0"); - builder.put(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup(), "rule__QualifiedNameInStaticImport__Group__0"); - builder.put(grammarAccess.getXAnnotationAccess().getAnnotationTypeAssignment_2(), "rule__XAnnotation__AnnotationTypeAssignment_2"); - builder.put(grammarAccess.getXAnnotationAccess().getElementValuePairsAssignment_3_1_0_0(), "rule__XAnnotation__ElementValuePairsAssignment_3_1_0_0"); - builder.put(grammarAccess.getXAnnotationAccess().getElementValuePairsAssignment_3_1_0_1_1(), "rule__XAnnotation__ElementValuePairsAssignment_3_1_0_1_1"); - builder.put(grammarAccess.getXAnnotationAccess().getValueAssignment_3_1_1(), "rule__XAnnotation__ValueAssignment_3_1_1"); - builder.put(grammarAccess.getXAnnotationElementValuePairAccess().getElementAssignment_0_0_0(), "rule__XAnnotationElementValuePair__ElementAssignment_0_0_0"); - builder.put(grammarAccess.getXAnnotationElementValuePairAccess().getValueAssignment_1(), "rule__XAnnotationElementValuePair__ValueAssignment_1"); - builder.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsAssignment_0_1_0(), "rule__XAnnotationElementValueOrCommaList__ElementsAssignment_0_1_0"); - builder.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsAssignment_0_1_1_1(), "rule__XAnnotationElementValueOrCommaList__ElementsAssignment_0_1_1_1"); - builder.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsAssignment_1_1_1_1(), "rule__XAnnotationElementValueOrCommaList__ElementsAssignment_1_1_1_1"); - builder.put(grammarAccess.getXAnnotationElementValueAccess().getElementsAssignment_0_1_0(), "rule__XAnnotationElementValue__ElementsAssignment_0_1_0"); - builder.put(grammarAccess.getXAnnotationElementValueAccess().getElementsAssignment_0_1_1_1(), "rule__XAnnotationElementValue__ElementsAssignment_0_1_1_1"); - builder.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_0_1(), "rule__XAssignment__FeatureAssignment_0_1"); - builder.put(grammarAccess.getXAssignmentAccess().getValueAssignment_0_3(), "rule__XAssignment__ValueAssignment_0_3"); - builder.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XAssignment__FeatureAssignment_1_1_0_0_1"); - builder.put(grammarAccess.getXAssignmentAccess().getRightOperandAssignment_1_1_1(), "rule__XAssignment__RightOperandAssignment_1_1_1"); - builder.put(grammarAccess.getXOrExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOrExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXOrExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOrExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXAndExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAndExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXAndExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAndExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XEqualityExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getRightOperandAssignment_1_1(), "rule__XEqualityExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getTypeAssignment_1_0_1(), "rule__XRelationalExpression__TypeAssignment_1_0_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XRelationalExpression__FeatureAssignment_1_1_0_0_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getRightOperandAssignment_1_1_1(), "rule__XRelationalExpression__RightOperandAssignment_1_1_1"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOtherOperatorExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOtherOperatorExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAdditiveExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAdditiveExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XMultiplicativeExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandAssignment_1_1(), "rule__XMultiplicativeExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXUnaryOperationAccess().getFeatureAssignment_0_1(), "rule__XUnaryOperation__FeatureAssignment_0_1"); - builder.put(grammarAccess.getXUnaryOperationAccess().getOperandAssignment_0_2(), "rule__XUnaryOperation__OperandAssignment_0_2"); - builder.put(grammarAccess.getXCastedExpressionAccess().getTypeAssignment_1_1(), "rule__XCastedExpression__TypeAssignment_1_1"); - builder.put(grammarAccess.getXPostfixOperationAccess().getFeatureAssignment_1_0_1(), "rule__XPostfixOperation__FeatureAssignment_1_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_0_0_0_1_1(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_0_0_0_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_0_0_0_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getValueAssignment_1_0_1(), "rule__XMemberFeatureCall__ValueAssignment_1_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getNullSafeAssignment_1_1_0_0_1_1(), "rule__XMemberFeatureCall__NullSafeAssignment_1_1_0_0_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_1_0_0_1_2(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_1_0_0_1_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_2_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_2_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_1_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_1_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallAssignment_1_1_3_0(), "rule__XMemberFeatureCall__ExplicitOperationCallAssignment_1_1_3_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_1_1(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_4(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4"); - builder.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_0(), "rule__XSetLiteral__ElementsAssignment_3_0"); - builder.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_1_1(), "rule__XSetLiteral__ElementsAssignment_3_1_1"); - builder.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_0(), "rule__XListLiteral__ElementsAssignment_3_0"); - builder.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_1_1(), "rule__XListLiteral__ElementsAssignment_3_1_1"); - builder.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_0(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_0"); - builder.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_1_1(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_1_1"); - builder.put(grammarAccess.getXClosureAccess().getExplicitSyntaxAssignment_1_0_1(), "rule__XClosure__ExplicitSyntaxAssignment_1_0_1"); - builder.put(grammarAccess.getXClosureAccess().getExpressionAssignment_2(), "rule__XClosure__ExpressionAssignment_2"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getExpressionsAssignment_1_0(), "rule__XExpressionInClosure__ExpressionsAssignment_1_0"); - builder.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_0(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0"); - builder.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_1_1(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1"); - builder.put(grammarAccess.getXShortClosureAccess().getExplicitSyntaxAssignment_0_0_2(), "rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2"); - builder.put(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1(), "rule__XShortClosure__ExpressionAssignment_1"); - builder.put(grammarAccess.getXIfExpressionAccess().getIfAssignment_3(), "rule__XIfExpression__IfAssignment_3"); - builder.put(grammarAccess.getXIfExpressionAccess().getThenAssignment_5(), "rule__XIfExpression__ThenAssignment_5"); - builder.put(grammarAccess.getXIfExpressionAccess().getElseAssignment_6_1(), "rule__XIfExpression__ElseAssignment_6_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_0_0_0_1(), "rule__XSwitchExpression__DeclaredParamAssignment_2_0_0_0_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1(), "rule__XSwitchExpression__SwitchAssignment_2_0_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_1_0_0_0(), "rule__XSwitchExpression__DeclaredParamAssignment_2_1_0_0_0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1(), "rule__XSwitchExpression__SwitchAssignment_2_1_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4(), "rule__XSwitchExpression__CasesAssignment_4"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDefaultAssignment_5_2(), "rule__XSwitchExpression__DefaultAssignment_5_2"); - builder.put(grammarAccess.getXCasePartAccess().getTypeGuardAssignment_1(), "rule__XCasePart__TypeGuardAssignment_1"); - builder.put(grammarAccess.getXCasePartAccess().getCaseAssignment_2_1(), "rule__XCasePart__CaseAssignment_2_1"); - builder.put(grammarAccess.getXCasePartAccess().getThenAssignment_3_0_1(), "rule__XCasePart__ThenAssignment_3_0_1"); - builder.put(grammarAccess.getXCasePartAccess().getFallThroughAssignment_3_1(), "rule__XCasePart__FallThroughAssignment_3_1"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamAssignment_0_0_3(), "rule__XForLoopExpression__DeclaredParamAssignment_0_0_3"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getForExpressionAssignment_1(), "rule__XForLoopExpression__ForExpressionAssignment_1"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getEachExpressionAssignment_3(), "rule__XForLoopExpression__EachExpressionAssignment_3"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_0(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_1_1(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_1_1"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getExpressionAssignment_5(), "rule__XBasicForLoopExpression__ExpressionAssignment_5"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_0(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_1_1(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_1_1"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getEachExpressionAssignment_9(), "rule__XBasicForLoopExpression__EachExpressionAssignment_9"); - builder.put(grammarAccess.getXWhileExpressionAccess().getPredicateAssignment_3(), "rule__XWhileExpression__PredicateAssignment_3"); - builder.put(grammarAccess.getXWhileExpressionAccess().getBodyAssignment_5(), "rule__XWhileExpression__BodyAssignment_5"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getBodyAssignment_2(), "rule__XDoWhileExpression__BodyAssignment_2"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getPredicateAssignment_5(), "rule__XDoWhileExpression__PredicateAssignment_5"); - builder.put(grammarAccess.getXBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__XBlockExpression__ExpressionsAssignment_2_0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getWriteableAssignment_1_0(), "rule__XVariableDeclaration__WriteableAssignment_1_0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getTypeAssignment_2_0_0_0(), "rule__XVariableDeclaration__TypeAssignment_2_0_0_0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_0_0_1(), "rule__XVariableDeclaration__NameAssignment_2_0_0_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_1(), "rule__XVariableDeclaration__NameAssignment_2_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getRightAssignment_3_1(), "rule__XVariableDeclaration__RightAssignment_3_1"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__JvmFormalParameter__ParameterTypeAssignment_0"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getNameAssignment_1(), "rule__JvmFormalParameter__NameAssignment_1"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__FullJvmFormalParameter__ParameterTypeAssignment_0"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getNameAssignment_1(), "rule__FullJvmFormalParameter__NameAssignment_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_2_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_2_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureAssignment_2(), "rule__XFeatureCall__FeatureAssignment_2"); - builder.put(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallAssignment_3_0(), "rule__XFeatureCall__ExplicitOperationCallAssignment_3_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_1_1(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_4"); - builder.put(grammarAccess.getXConstructorCallAccess().getConstructorAssignment_2(), "rule__XConstructorCall__ConstructorAssignment_2"); - builder.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_2_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_2_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getExplicitConstructorCallAssignment_4_0(), "rule__XConstructorCall__ExplicitConstructorCallAssignment_4_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_1_1(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_1_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_5(), "rule__XConstructorCall__ArgumentsAssignment_5"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1(), "rule__XBooleanLiteral__IsTrueAssignment_1_1"); - builder.put(grammarAccess.getXNumberLiteralAccess().getValueAssignment_1(), "rule__XNumberLiteral__ValueAssignment_1"); - builder.put(grammarAccess.getXStringLiteralAccess().getValueAssignment_1(), "rule__XStringLiteral__ValueAssignment_1"); - builder.put(grammarAccess.getXTypeLiteralAccess().getTypeAssignment_3(), "rule__XTypeLiteral__TypeAssignment_3"); - builder.put(grammarAccess.getXTypeLiteralAccess().getArrayDimensionsAssignment_4(), "rule__XTypeLiteral__ArrayDimensionsAssignment_4"); - builder.put(grammarAccess.getXThrowExpressionAccess().getExpressionAssignment_2(), "rule__XThrowExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXReturnExpressionAccess().getExpressionAssignment_2(), "rule__XReturnExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionAssignment_2(), "rule__XTryCatchFinallyExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesAssignment_3_0_0(), "rule__XTryCatchFinallyExpression__CatchClausesAssignment_3_0_0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_0_1_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_1_1"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getParamAssignment_1(), "rule__XSynchronizedExpression__ParamAssignment_1"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getExpressionAssignment_3(), "rule__XSynchronizedExpression__ExpressionAssignment_3"); - builder.put(grammarAccess.getXCatchClauseAccess().getDeclaredParamAssignment_2(), "rule__XCatchClause__DeclaredParamAssignment_2"); - builder.put(grammarAccess.getXCatchClauseAccess().getExpressionAssignment_4(), "rule__XCatchClause__ExpressionAssignment_4"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionTypeRef__ReturnTypeAssignment_2"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0(), "rule__JvmParameterizedTypeReference__TypeAssignment_0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1(), "rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1"); - builder.put(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBound__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBoundAnded__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBound__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBoundAnded__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getNameAssignment_0(), "rule__JvmTypeParameter__NameAssignment_0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_0(), "rule__JvmTypeParameter__ConstraintsAssignment_1_0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_1(), "rule__JvmTypeParameter__ConstraintsAssignment_1_1"); - builder.put(grammarAccess.getXImportSectionAccess().getImportDeclarationsAssignment(), "rule__XImportSection__ImportDeclarationsAssignment"); - builder.put(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0(), "rule__XImportDeclaration__StaticAssignment_1_0_0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1(), "rule__XImportDeclaration__ExtensionAssignment_1_0_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2(), "rule__XImportDeclaration__ImportedTypeAssignment_1_0_2"); - builder.put(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0(), "rule__XImportDeclaration__WildcardAssignment_1_0_3_0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1(), "rule__XImportDeclaration__MemberNameAssignment_1_0_3_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1(), "rule__XImportDeclaration__ImportedTypeAssignment_1_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2(), "rule__XImportDeclaration__ImportedNamespaceAssignment_1_2"); + private static void init(Map mappings, XbaseWithAnnotationsGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getXAnnotationAccess().getAlternatives_3_1(), "rule__XAnnotation__Alternatives_3_1"); + mappings.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getAlternatives(), "rule__XAnnotationElementValueOrCommaList__Alternatives"); + mappings.put(grammarAccess.getXAnnotationElementValueAccess().getAlternatives(), "rule__XAnnotationElementValue__Alternatives"); + mappings.put(grammarAccess.getXAnnotationOrExpressionAccess().getAlternatives(), "rule__XAnnotationOrExpression__Alternatives"); + mappings.put(grammarAccess.getXAssignmentAccess().getAlternatives(), "rule__XAssignment__Alternatives"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getAlternatives(), "rule__OpMultiAssign__Alternatives"); + mappings.put(grammarAccess.getOpEqualityAccess().getAlternatives(), "rule__OpEquality__Alternatives"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getAlternatives_1(), "rule__XRelationalExpression__Alternatives_1"); + mappings.put(grammarAccess.getOpCompareAccess().getAlternatives(), "rule__OpCompare__Alternatives"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives(), "rule__OpOther__Alternatives"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives_5_1(), "rule__OpOther__Alternatives_5_1"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives_6_1(), "rule__OpOther__Alternatives_6_1"); + mappings.put(grammarAccess.getOpAddAccess().getAlternatives(), "rule__OpAdd__Alternatives"); + mappings.put(grammarAccess.getOpMultiAccess().getAlternatives(), "rule__OpMulti__Alternatives"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getAlternatives(), "rule__XUnaryOperation__Alternatives"); + mappings.put(grammarAccess.getOpUnaryAccess().getAlternatives(), "rule__OpUnary__Alternatives"); + mappings.put(grammarAccess.getOpPostfixAccess().getAlternatives(), "rule__OpPostfix__Alternatives"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1(), "rule__XMemberFeatureCall__Alternatives_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_0_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_0_0_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_1_0_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_3_1(), "rule__XMemberFeatureCall__Alternatives_1_1_3_1"); + mappings.put(grammarAccess.getXPrimaryExpressionAccess().getAlternatives(), "rule__XPrimaryExpression__Alternatives"); + mappings.put(grammarAccess.getXLiteralAccess().getAlternatives(), "rule__XLiteral__Alternatives"); + mappings.put(grammarAccess.getXCollectionLiteralAccess().getAlternatives(), "rule__XCollectionLiteral__Alternatives"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2(), "rule__XSwitchExpression__Alternatives_2"); + mappings.put(grammarAccess.getXCasePartAccess().getAlternatives_3(), "rule__XCasePart__Alternatives_3"); + mappings.put(grammarAccess.getXExpressionOrVarDeclarationAccess().getAlternatives(), "rule__XExpressionOrVarDeclaration__Alternatives"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_1(), "rule__XVariableDeclaration__Alternatives_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_2(), "rule__XVariableDeclaration__Alternatives_2"); + mappings.put(grammarAccess.getXFeatureCallAccess().getAlternatives_3_1(), "rule__XFeatureCall__Alternatives_3_1"); + mappings.put(grammarAccess.getFeatureCallIDAccess().getAlternatives(), "rule__FeatureCallID__Alternatives"); + mappings.put(grammarAccess.getIdOrSuperAccess().getAlternatives(), "rule__IdOrSuper__Alternatives"); + mappings.put(grammarAccess.getXConstructorCallAccess().getAlternatives_4_1(), "rule__XConstructorCall__Alternatives_4_1"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1(), "rule__XBooleanLiteral__Alternatives_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_3(), "rule__XTryCatchFinallyExpression__Alternatives_3"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives(), "rule__Number__Alternatives"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives_1_0(), "rule__Number__Alternatives_1_0"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives_1_1_1(), "rule__Number__Alternatives_1_1_1"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getAlternatives(), "rule__JvmTypeReference__Alternatives"); + mappings.put(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives(), "rule__JvmArgumentTypeReference__Alternatives"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2(), "rule__JvmWildcardTypeReference__Alternatives_2"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1(), "rule__XImportDeclaration__Alternatives_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3(), "rule__XImportDeclaration__Alternatives_1_0_3"); + mappings.put(grammarAccess.getXAnnotationAccess().getGroup(), "rule__XAnnotation__Group__0"); + mappings.put(grammarAccess.getXAnnotationAccess().getGroup_3(), "rule__XAnnotation__Group_3__0"); + mappings.put(grammarAccess.getXAnnotationAccess().getGroup_3_1_0(), "rule__XAnnotation__Group_3_1_0__0"); + mappings.put(grammarAccess.getXAnnotationAccess().getGroup_3_1_0_1(), "rule__XAnnotation__Group_3_1_0_1__0"); + mappings.put(grammarAccess.getXAnnotationElementValuePairAccess().getGroup(), "rule__XAnnotationElementValuePair__Group__0"); + mappings.put(grammarAccess.getXAnnotationElementValuePairAccess().getGroup_0(), "rule__XAnnotationElementValuePair__Group_0__0"); + mappings.put(grammarAccess.getXAnnotationElementValuePairAccess().getGroup_0_0(), "rule__XAnnotationElementValuePair__Group_0_0__0"); + mappings.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0(), "rule__XAnnotationElementValueOrCommaList__Group_0__0"); + mappings.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_0(), "rule__XAnnotationElementValueOrCommaList__Group_0_0__0"); + mappings.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_0_0(), "rule__XAnnotationElementValueOrCommaList__Group_0_0_0__0"); + mappings.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_1(), "rule__XAnnotationElementValueOrCommaList__Group_0_1__0"); + mappings.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_0_1_1(), "rule__XAnnotationElementValueOrCommaList__Group_0_1_1__0"); + mappings.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1(), "rule__XAnnotationElementValueOrCommaList__Group_1__0"); + mappings.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1_1(), "rule__XAnnotationElementValueOrCommaList__Group_1_1__0"); + mappings.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getGroup_1_1_1(), "rule__XAnnotationElementValueOrCommaList__Group_1_1_1__0"); + mappings.put(grammarAccess.getXAnnotationElementValueAccess().getGroup_0(), "rule__XAnnotationElementValue__Group_0__0"); + mappings.put(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_0(), "rule__XAnnotationElementValue__Group_0_0__0"); + mappings.put(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_0_0(), "rule__XAnnotationElementValue__Group_0_0_0__0"); + mappings.put(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_1(), "rule__XAnnotationElementValue__Group_0_1__0"); + mappings.put(grammarAccess.getXAnnotationElementValueAccess().getGroup_0_1_1(), "rule__XAnnotationElementValue__Group_0_1_1__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_0(), "rule__XAssignment__Group_0__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1(), "rule__XAssignment__Group_1__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1(), "rule__XAssignment__Group_1_1__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0(), "rule__XAssignment__Group_1_1_0__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0_0(), "rule__XAssignment__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getGroup_5(), "rule__OpMultiAssign__Group_5__0"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getGroup_6(), "rule__OpMultiAssign__Group_6__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup(), "rule__XOrExpression__Group__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1(), "rule__XOrExpression__Group_1__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0(), "rule__XOrExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0_0(), "rule__XOrExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup(), "rule__XAndExpression__Group__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1(), "rule__XAndExpression__Group_1__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0(), "rule__XAndExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0_0(), "rule__XAndExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup(), "rule__XEqualityExpression__Group__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1(), "rule__XEqualityExpression__Group_1__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0(), "rule__XEqualityExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0_0(), "rule__XEqualityExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup(), "rule__XRelationalExpression__Group__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0(), "rule__XRelationalExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0(), "rule__XRelationalExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0_0(), "rule__XRelationalExpression__Group_1_0_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1(), "rule__XRelationalExpression__Group_1_1__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0(), "rule__XRelationalExpression__Group_1_1_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0_0(), "rule__XRelationalExpression__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getOpCompareAccess().getGroup_1(), "rule__OpCompare__Group_1__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup(), "rule__XOtherOperatorExpression__Group__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1(), "rule__XOtherOperatorExpression__Group_1__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0(), "rule__XOtherOperatorExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0_0(), "rule__XOtherOperatorExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_2(), "rule__OpOther__Group_2__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5(), "rule__OpOther__Group_5__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0(), "rule__OpOther__Group_5_1_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0_0(), "rule__OpOther__Group_5_1_0_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6(), "rule__OpOther__Group_6__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0(), "rule__OpOther__Group_6_1_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0_0(), "rule__OpOther__Group_6_1_0_0__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup(), "rule__XAdditiveExpression__Group__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1(), "rule__XAdditiveExpression__Group_1__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0(), "rule__XAdditiveExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0_0(), "rule__XAdditiveExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup(), "rule__XMultiplicativeExpression__Group__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1(), "rule__XMultiplicativeExpression__Group_1__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0(), "rule__XMultiplicativeExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0_0(), "rule__XMultiplicativeExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getGroup_0(), "rule__XUnaryOperation__Group_0__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup(), "rule__XCastedExpression__Group__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1(), "rule__XCastedExpression__Group_1__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0(), "rule__XCastedExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0_0(), "rule__XCastedExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup(), "rule__XPostfixOperation__Group__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup_1(), "rule__XPostfixOperation__Group_1__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup_1_0(), "rule__XPostfixOperation__Group_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup(), "rule__XMemberFeatureCall__Group__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0(), "rule__XMemberFeatureCall__Group_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0(), "rule__XMemberFeatureCall__Group_1_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0_0(), "rule__XMemberFeatureCall__Group_1_0_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1(), "rule__XMemberFeatureCall__Group_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0(), "rule__XMemberFeatureCall__Group_1_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0_0(), "rule__XMemberFeatureCall__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1_2(), "rule__XMemberFeatureCall__Group_1_1_1_2__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3(), "rule__XMemberFeatureCall__Group_1_1_3__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1_1__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup(), "rule__XSetLiteral__Group__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup_3(), "rule__XSetLiteral__Group_3__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup_3_1(), "rule__XSetLiteral__Group_3_1__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup(), "rule__XListLiteral__Group__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup_3(), "rule__XListLiteral__Group_3__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup_3_1(), "rule__XListLiteral__Group_3_1__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup(), "rule__XClosure__Group__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_0(), "rule__XClosure__Group_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_0_0(), "rule__XClosure__Group_0_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1(), "rule__XClosure__Group_1__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0(), "rule__XClosure__Group_1_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0_0(), "rule__XClosure__Group_1_0_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0_0_1(), "rule__XClosure__Group_1_0_0_1__0"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getGroup(), "rule__XExpressionInClosure__Group__0"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getGroup_1(), "rule__XExpressionInClosure__Group_1__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup(), "rule__XShortClosure__Group__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0(), "rule__XShortClosure__Group_0__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0(), "rule__XShortClosure__Group_0_0__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1(), "rule__XShortClosure__Group_0_0_1__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1_1(), "rule__XShortClosure__Group_0_0_1_1__0"); + mappings.put(grammarAccess.getXParenthesizedExpressionAccess().getGroup(), "rule__XParenthesizedExpression__Group__0"); + mappings.put(grammarAccess.getXIfExpressionAccess().getGroup(), "rule__XIfExpression__Group__0"); + mappings.put(grammarAccess.getXIfExpressionAccess().getGroup_6(), "rule__XIfExpression__Group_6__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup(), "rule__XSwitchExpression__Group__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0(), "rule__XSwitchExpression__Group_2_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0(), "rule__XSwitchExpression__Group_2_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0(), "rule__XSwitchExpression__Group_2_0_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1(), "rule__XSwitchExpression__Group_2_1__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0(), "rule__XSwitchExpression__Group_2_1_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0(), "rule__XSwitchExpression__Group_2_1_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_5(), "rule__XSwitchExpression__Group_5__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup(), "rule__XCasePart__Group__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup_2(), "rule__XCasePart__Group_2__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup_3_0(), "rule__XCasePart__Group_3_0__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup(), "rule__XForLoopExpression__Group__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0(), "rule__XForLoopExpression__Group_0__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0_0(), "rule__XForLoopExpression__Group_0_0__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup(), "rule__XBasicForLoopExpression__Group__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3(), "rule__XBasicForLoopExpression__Group_3__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3_1(), "rule__XBasicForLoopExpression__Group_3_1__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7(), "rule__XBasicForLoopExpression__Group_7__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7_1(), "rule__XBasicForLoopExpression__Group_7_1__0"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getGroup(), "rule__XWhileExpression__Group__0"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getGroup(), "rule__XDoWhileExpression__Group__0"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getGroup(), "rule__XBlockExpression__Group__0"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getGroup_2(), "rule__XBlockExpression__Group_2__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup(), "rule__XVariableDeclaration__Group__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0(), "rule__XVariableDeclaration__Group_2_0__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0_0(), "rule__XVariableDeclaration__Group_2_0_0__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_3(), "rule__XVariableDeclaration__Group_3__0"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getGroup(), "rule__JvmFormalParameter__Group__0"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getGroup(), "rule__FullJvmFormalParameter__Group__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup(), "rule__XFeatureCall__Group__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_1(), "rule__XFeatureCall__Group_1__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_1_2(), "rule__XFeatureCall__Group_1_2__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3(), "rule__XFeatureCall__Group_3__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1(), "rule__XFeatureCall__Group_3_1_1__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1_1(), "rule__XFeatureCall__Group_3_1_1_1__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup(), "rule__XConstructorCall__Group__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_3(), "rule__XConstructorCall__Group_3__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_3_2(), "rule__XConstructorCall__Group_3_2__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4(), "rule__XConstructorCall__Group_4__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1(), "rule__XConstructorCall__Group_4_1_1__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1_1(), "rule__XConstructorCall__Group_4_1_1_1__0"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getGroup(), "rule__XBooleanLiteral__Group__0"); + mappings.put(grammarAccess.getXNullLiteralAccess().getGroup(), "rule__XNullLiteral__Group__0"); + mappings.put(grammarAccess.getXNumberLiteralAccess().getGroup(), "rule__XNumberLiteral__Group__0"); + mappings.put(grammarAccess.getXStringLiteralAccess().getGroup(), "rule__XStringLiteral__Group__0"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getGroup(), "rule__XTypeLiteral__Group__0"); + mappings.put(grammarAccess.getXThrowExpressionAccess().getGroup(), "rule__XThrowExpression__Group__0"); + mappings.put(grammarAccess.getXReturnExpressionAccess().getGroup(), "rule__XReturnExpression__Group__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup(), "rule__XTryCatchFinallyExpression__Group__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0(), "rule__XTryCatchFinallyExpression__Group_3_0__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0_1(), "rule__XTryCatchFinallyExpression__Group_3_0_1__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_1(), "rule__XTryCatchFinallyExpression__Group_3_1__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup(), "rule__XSynchronizedExpression__Group__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0(), "rule__XSynchronizedExpression__Group_0__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0_0(), "rule__XSynchronizedExpression__Group_0_0__0"); + mappings.put(grammarAccess.getXCatchClauseAccess().getGroup(), "rule__XCatchClause__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); + mappings.put(grammarAccess.getNumberAccess().getGroup_1(), "rule__Number__Group_1__0"); + mappings.put(grammarAccess.getNumberAccess().getGroup_1_1(), "rule__Number__Group_1_1__0"); + mappings.put(grammarAccess.getStaticQualifierAccess().getGroup(), "rule__StaticQualifier__Group__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0(), "rule__JvmTypeReference__Group_0__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1(), "rule__JvmTypeReference__Group_0_1__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0(), "rule__JvmTypeReference__Group_0_1_0__0"); + mappings.put(grammarAccess.getArrayBracketsAccess().getGroup(), "rule__ArrayBrackets__Group__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup(), "rule__XFunctionTypeRef__Group__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0(), "rule__XFunctionTypeRef__Group_0__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1(), "rule__XFunctionTypeRef__Group_0_1__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1(), "rule__XFunctionTypeRef__Group_0_1_1__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup(), "rule__JvmParameterizedTypeReference__Group__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1(), "rule__JvmParameterizedTypeReference__Group_1__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2(), "rule__JvmParameterizedTypeReference__Group_1_2__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4(), "rule__JvmParameterizedTypeReference__Group_1_4__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup(), "rule__JvmWildcardTypeReference__Group__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0(), "rule__JvmWildcardTypeReference__Group_2_0__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1(), "rule__JvmWildcardTypeReference__Group_2_1__0"); + mappings.put(grammarAccess.getJvmUpperBoundAccess().getGroup(), "rule__JvmUpperBound__Group__0"); + mappings.put(grammarAccess.getJvmUpperBoundAndedAccess().getGroup(), "rule__JvmUpperBoundAnded__Group__0"); + mappings.put(grammarAccess.getJvmLowerBoundAccess().getGroup(), "rule__JvmLowerBound__Group__0"); + mappings.put(grammarAccess.getJvmLowerBoundAndedAccess().getGroup(), "rule__JvmLowerBoundAnded__Group__0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getGroup(), "rule__JvmTypeParameter__Group__0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getGroup_1(), "rule__JvmTypeParameter__Group_1__0"); + mappings.put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup(), "rule__QualifiedNameWithWildcard__Group__0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getGroup(), "rule__XImportDeclaration__Group__0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getGroup_1_0(), "rule__XImportDeclaration__Group_1_0__0"); + mappings.put(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup(), "rule__QualifiedNameInStaticImport__Group__0"); + mappings.put(grammarAccess.getXAnnotationAccess().getAnnotationTypeAssignment_2(), "rule__XAnnotation__AnnotationTypeAssignment_2"); + mappings.put(grammarAccess.getXAnnotationAccess().getElementValuePairsAssignment_3_1_0_0(), "rule__XAnnotation__ElementValuePairsAssignment_3_1_0_0"); + mappings.put(grammarAccess.getXAnnotationAccess().getElementValuePairsAssignment_3_1_0_1_1(), "rule__XAnnotation__ElementValuePairsAssignment_3_1_0_1_1"); + mappings.put(grammarAccess.getXAnnotationAccess().getValueAssignment_3_1_1(), "rule__XAnnotation__ValueAssignment_3_1_1"); + mappings.put(grammarAccess.getXAnnotationElementValuePairAccess().getElementAssignment_0_0_0(), "rule__XAnnotationElementValuePair__ElementAssignment_0_0_0"); + mappings.put(grammarAccess.getXAnnotationElementValuePairAccess().getValueAssignment_1(), "rule__XAnnotationElementValuePair__ValueAssignment_1"); + mappings.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsAssignment_0_1_0(), "rule__XAnnotationElementValueOrCommaList__ElementsAssignment_0_1_0"); + mappings.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsAssignment_0_1_1_1(), "rule__XAnnotationElementValueOrCommaList__ElementsAssignment_0_1_1_1"); + mappings.put(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsAssignment_1_1_1_1(), "rule__XAnnotationElementValueOrCommaList__ElementsAssignment_1_1_1_1"); + mappings.put(grammarAccess.getXAnnotationElementValueAccess().getElementsAssignment_0_1_0(), "rule__XAnnotationElementValue__ElementsAssignment_0_1_0"); + mappings.put(grammarAccess.getXAnnotationElementValueAccess().getElementsAssignment_0_1_1_1(), "rule__XAnnotationElementValue__ElementsAssignment_0_1_1_1"); + mappings.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_0_1(), "rule__XAssignment__FeatureAssignment_0_1"); + mappings.put(grammarAccess.getXAssignmentAccess().getValueAssignment_0_3(), "rule__XAssignment__ValueAssignment_0_3"); + mappings.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XAssignment__FeatureAssignment_1_1_0_0_1"); + mappings.put(grammarAccess.getXAssignmentAccess().getRightOperandAssignment_1_1_1(), "rule__XAssignment__RightOperandAssignment_1_1_1"); + mappings.put(grammarAccess.getXOrExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOrExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXOrExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOrExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXAndExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAndExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXAndExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAndExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XEqualityExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getRightOperandAssignment_1_1(), "rule__XEqualityExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getTypeAssignment_1_0_1(), "rule__XRelationalExpression__TypeAssignment_1_0_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XRelationalExpression__FeatureAssignment_1_1_0_0_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getRightOperandAssignment_1_1_1(), "rule__XRelationalExpression__RightOperandAssignment_1_1_1"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOtherOperatorExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOtherOperatorExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAdditiveExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAdditiveExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XMultiplicativeExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandAssignment_1_1(), "rule__XMultiplicativeExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getFeatureAssignment_0_1(), "rule__XUnaryOperation__FeatureAssignment_0_1"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getOperandAssignment_0_2(), "rule__XUnaryOperation__OperandAssignment_0_2"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getTypeAssignment_1_1(), "rule__XCastedExpression__TypeAssignment_1_1"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getFeatureAssignment_1_0_1(), "rule__XPostfixOperation__FeatureAssignment_1_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_0_0_0_1_1(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_0_0_0_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_0_0_0_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getValueAssignment_1_0_1(), "rule__XMemberFeatureCall__ValueAssignment_1_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getNullSafeAssignment_1_1_0_0_1_1(), "rule__XMemberFeatureCall__NullSafeAssignment_1_1_0_0_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_1_0_0_1_2(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_1_0_0_1_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_2_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_2_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_1_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_1_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallAssignment_1_1_3_0(), "rule__XMemberFeatureCall__ExplicitOperationCallAssignment_1_1_3_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_1_1(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_4(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4"); + mappings.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_0(), "rule__XSetLiteral__ElementsAssignment_3_0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_1_1(), "rule__XSetLiteral__ElementsAssignment_3_1_1"); + mappings.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_0(), "rule__XListLiteral__ElementsAssignment_3_0"); + mappings.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_1_1(), "rule__XListLiteral__ElementsAssignment_3_1_1"); + mappings.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_0(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_0"); + mappings.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_1_1(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_1_1"); + mappings.put(grammarAccess.getXClosureAccess().getExplicitSyntaxAssignment_1_0_1(), "rule__XClosure__ExplicitSyntaxAssignment_1_0_1"); + mappings.put(grammarAccess.getXClosureAccess().getExpressionAssignment_2(), "rule__XClosure__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getExpressionsAssignment_1_0(), "rule__XExpressionInClosure__ExpressionsAssignment_1_0"); + mappings.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_0(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0"); + mappings.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_1_1(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1"); + mappings.put(grammarAccess.getXShortClosureAccess().getExplicitSyntaxAssignment_0_0_2(), "rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2"); + mappings.put(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1(), "rule__XShortClosure__ExpressionAssignment_1"); + mappings.put(grammarAccess.getXIfExpressionAccess().getIfAssignment_3(), "rule__XIfExpression__IfAssignment_3"); + mappings.put(grammarAccess.getXIfExpressionAccess().getThenAssignment_5(), "rule__XIfExpression__ThenAssignment_5"); + mappings.put(grammarAccess.getXIfExpressionAccess().getElseAssignment_6_1(), "rule__XIfExpression__ElseAssignment_6_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_0_0_0_1(), "rule__XSwitchExpression__DeclaredParamAssignment_2_0_0_0_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1(), "rule__XSwitchExpression__SwitchAssignment_2_0_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_1_0_0_0(), "rule__XSwitchExpression__DeclaredParamAssignment_2_1_0_0_0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1(), "rule__XSwitchExpression__SwitchAssignment_2_1_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4(), "rule__XSwitchExpression__CasesAssignment_4"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDefaultAssignment_5_2(), "rule__XSwitchExpression__DefaultAssignment_5_2"); + mappings.put(grammarAccess.getXCasePartAccess().getTypeGuardAssignment_1(), "rule__XCasePart__TypeGuardAssignment_1"); + mappings.put(grammarAccess.getXCasePartAccess().getCaseAssignment_2_1(), "rule__XCasePart__CaseAssignment_2_1"); + mappings.put(grammarAccess.getXCasePartAccess().getThenAssignment_3_0_1(), "rule__XCasePart__ThenAssignment_3_0_1"); + mappings.put(grammarAccess.getXCasePartAccess().getFallThroughAssignment_3_1(), "rule__XCasePart__FallThroughAssignment_3_1"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamAssignment_0_0_3(), "rule__XForLoopExpression__DeclaredParamAssignment_0_0_3"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getForExpressionAssignment_1(), "rule__XForLoopExpression__ForExpressionAssignment_1"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getEachExpressionAssignment_3(), "rule__XForLoopExpression__EachExpressionAssignment_3"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_0(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_1_1(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_1_1"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getExpressionAssignment_5(), "rule__XBasicForLoopExpression__ExpressionAssignment_5"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_0(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_1_1(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_1_1"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getEachExpressionAssignment_9(), "rule__XBasicForLoopExpression__EachExpressionAssignment_9"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getPredicateAssignment_3(), "rule__XWhileExpression__PredicateAssignment_3"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getBodyAssignment_5(), "rule__XWhileExpression__BodyAssignment_5"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getBodyAssignment_2(), "rule__XDoWhileExpression__BodyAssignment_2"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getPredicateAssignment_5(), "rule__XDoWhileExpression__PredicateAssignment_5"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__XBlockExpression__ExpressionsAssignment_2_0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getWriteableAssignment_1_0(), "rule__XVariableDeclaration__WriteableAssignment_1_0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getTypeAssignment_2_0_0_0(), "rule__XVariableDeclaration__TypeAssignment_2_0_0_0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_0_0_1(), "rule__XVariableDeclaration__NameAssignment_2_0_0_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_1(), "rule__XVariableDeclaration__NameAssignment_2_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getRightAssignment_3_1(), "rule__XVariableDeclaration__RightAssignment_3_1"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__JvmFormalParameter__ParameterTypeAssignment_0"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getNameAssignment_1(), "rule__JvmFormalParameter__NameAssignment_1"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__FullJvmFormalParameter__ParameterTypeAssignment_0"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getNameAssignment_1(), "rule__FullJvmFormalParameter__NameAssignment_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_2_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_2_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureAssignment_2(), "rule__XFeatureCall__FeatureAssignment_2"); + mappings.put(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallAssignment_3_0(), "rule__XFeatureCall__ExplicitOperationCallAssignment_3_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_1_1(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_4"); + mappings.put(grammarAccess.getXConstructorCallAccess().getConstructorAssignment_2(), "rule__XConstructorCall__ConstructorAssignment_2"); + mappings.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_2_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_2_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getExplicitConstructorCallAssignment_4_0(), "rule__XConstructorCall__ExplicitConstructorCallAssignment_4_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_1_1(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_1_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_5(), "rule__XConstructorCall__ArgumentsAssignment_5"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1(), "rule__XBooleanLiteral__IsTrueAssignment_1_1"); + mappings.put(grammarAccess.getXNumberLiteralAccess().getValueAssignment_1(), "rule__XNumberLiteral__ValueAssignment_1"); + mappings.put(grammarAccess.getXStringLiteralAccess().getValueAssignment_1(), "rule__XStringLiteral__ValueAssignment_1"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getTypeAssignment_3(), "rule__XTypeLiteral__TypeAssignment_3"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getArrayDimensionsAssignment_4(), "rule__XTypeLiteral__ArrayDimensionsAssignment_4"); + mappings.put(grammarAccess.getXThrowExpressionAccess().getExpressionAssignment_2(), "rule__XThrowExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXReturnExpressionAccess().getExpressionAssignment_2(), "rule__XReturnExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionAssignment_2(), "rule__XTryCatchFinallyExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesAssignment_3_0_0(), "rule__XTryCatchFinallyExpression__CatchClausesAssignment_3_0_0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_0_1_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_1_1"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getParamAssignment_1(), "rule__XSynchronizedExpression__ParamAssignment_1"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getExpressionAssignment_3(), "rule__XSynchronizedExpression__ExpressionAssignment_3"); + mappings.put(grammarAccess.getXCatchClauseAccess().getDeclaredParamAssignment_2(), "rule__XCatchClause__DeclaredParamAssignment_2"); + mappings.put(grammarAccess.getXCatchClauseAccess().getExpressionAssignment_4(), "rule__XCatchClause__ExpressionAssignment_4"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionTypeRef__ReturnTypeAssignment_2"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0(), "rule__JvmParameterizedTypeReference__TypeAssignment_0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1(), "rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1"); + mappings.put(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBound__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBoundAnded__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBound__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBoundAnded__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getNameAssignment_0(), "rule__JvmTypeParameter__NameAssignment_0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_0(), "rule__JvmTypeParameter__ConstraintsAssignment_1_0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_1(), "rule__JvmTypeParameter__ConstraintsAssignment_1_1"); + mappings.put(grammarAccess.getXImportSectionAccess().getImportDeclarationsAssignment(), "rule__XImportSection__ImportDeclarationsAssignment"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0(), "rule__XImportDeclaration__StaticAssignment_1_0_0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1(), "rule__XImportDeclaration__ExtensionAssignment_1_0_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2(), "rule__XImportDeclaration__ImportedTypeAssignment_1_0_2"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0(), "rule__XImportDeclaration__WildcardAssignment_1_0_3_0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1(), "rule__XImportDeclaration__MemberNameAssignment_1_0_3_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1(), "rule__XImportDeclaration__ImportedTypeAssignment_1_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2(), "rule__XImportDeclaration__ImportedNamespaceAssignment_1_2"); } } diff --git a/org.eclipse.xtext.xbase.ide/src-gen/org/eclipse/xtext/xbase/ide/contentassist/antlr/XbaseParser.java b/org.eclipse.xtext.xbase.ide/src-gen/org/eclipse/xtext/xbase/ide/contentassist/antlr/XbaseParser.java index f03e5e0e1cf..5ea363a0a24 100644 --- a/org.eclipse.xtext.xbase.ide/src-gen/org/eclipse/xtext/xbase/ide/contentassist/antlr/XbaseParser.java +++ b/org.eclipse.xtext.xbase.ide/src-gen/org/eclipse/xtext/xbase/ide/contentassist/antlr/XbaseParser.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2010, 2023 itemis AG (http://www.itemis.eu) and others. + * Copyright (c) 2010, 2024 itemis AG (http://www.itemis.eu) and others. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0. @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.xbase.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,378 +26,378 @@ public static final class NameMappings { @Inject public NameMappings(XbaseGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, XbaseGrammarAccess grammarAccess) { - builder.put(grammarAccess.getXAssignmentAccess().getAlternatives(), "rule__XAssignment__Alternatives"); - builder.put(grammarAccess.getOpMultiAssignAccess().getAlternatives(), "rule__OpMultiAssign__Alternatives"); - builder.put(grammarAccess.getOpEqualityAccess().getAlternatives(), "rule__OpEquality__Alternatives"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getAlternatives_1(), "rule__XRelationalExpression__Alternatives_1"); - builder.put(grammarAccess.getOpCompareAccess().getAlternatives(), "rule__OpCompare__Alternatives"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives(), "rule__OpOther__Alternatives"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives_5_1(), "rule__OpOther__Alternatives_5_1"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives_6_1(), "rule__OpOther__Alternatives_6_1"); - builder.put(grammarAccess.getOpAddAccess().getAlternatives(), "rule__OpAdd__Alternatives"); - builder.put(grammarAccess.getOpMultiAccess().getAlternatives(), "rule__OpMulti__Alternatives"); - builder.put(grammarAccess.getXUnaryOperationAccess().getAlternatives(), "rule__XUnaryOperation__Alternatives"); - builder.put(grammarAccess.getOpUnaryAccess().getAlternatives(), "rule__OpUnary__Alternatives"); - builder.put(grammarAccess.getOpPostfixAccess().getAlternatives(), "rule__OpPostfix__Alternatives"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1(), "rule__XMemberFeatureCall__Alternatives_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_0_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_0_0_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_1_0_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_3_1(), "rule__XMemberFeatureCall__Alternatives_1_1_3_1"); - builder.put(grammarAccess.getXPrimaryExpressionAccess().getAlternatives(), "rule__XPrimaryExpression__Alternatives"); - builder.put(grammarAccess.getXLiteralAccess().getAlternatives(), "rule__XLiteral__Alternatives"); - builder.put(grammarAccess.getXCollectionLiteralAccess().getAlternatives(), "rule__XCollectionLiteral__Alternatives"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2(), "rule__XSwitchExpression__Alternatives_2"); - builder.put(grammarAccess.getXCasePartAccess().getAlternatives_3(), "rule__XCasePart__Alternatives_3"); - builder.put(grammarAccess.getXExpressionOrVarDeclarationAccess().getAlternatives(), "rule__XExpressionOrVarDeclaration__Alternatives"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_1(), "rule__XVariableDeclaration__Alternatives_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_2(), "rule__XVariableDeclaration__Alternatives_2"); - builder.put(grammarAccess.getXFeatureCallAccess().getAlternatives_3_1(), "rule__XFeatureCall__Alternatives_3_1"); - builder.put(grammarAccess.getFeatureCallIDAccess().getAlternatives(), "rule__FeatureCallID__Alternatives"); - builder.put(grammarAccess.getIdOrSuperAccess().getAlternatives(), "rule__IdOrSuper__Alternatives"); - builder.put(grammarAccess.getXConstructorCallAccess().getAlternatives_4_1(), "rule__XConstructorCall__Alternatives_4_1"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1(), "rule__XBooleanLiteral__Alternatives_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_3(), "rule__XTryCatchFinallyExpression__Alternatives_3"); - builder.put(grammarAccess.getNumberAccess().getAlternatives(), "rule__Number__Alternatives"); - builder.put(grammarAccess.getNumberAccess().getAlternatives_1_0(), "rule__Number__Alternatives_1_0"); - builder.put(grammarAccess.getNumberAccess().getAlternatives_1_1_1(), "rule__Number__Alternatives_1_1_1"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getAlternatives(), "rule__JvmTypeReference__Alternatives"); - builder.put(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives(), "rule__JvmArgumentTypeReference__Alternatives"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2(), "rule__JvmWildcardTypeReference__Alternatives_2"); - builder.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1(), "rule__XImportDeclaration__Alternatives_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3(), "rule__XImportDeclaration__Alternatives_1_0_3"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_0(), "rule__XAssignment__Group_0__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1(), "rule__XAssignment__Group_1__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1(), "rule__XAssignment__Group_1_1__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0(), "rule__XAssignment__Group_1_1_0__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0_0(), "rule__XAssignment__Group_1_1_0_0__0"); - builder.put(grammarAccess.getOpMultiAssignAccess().getGroup_5(), "rule__OpMultiAssign__Group_5__0"); - builder.put(grammarAccess.getOpMultiAssignAccess().getGroup_6(), "rule__OpMultiAssign__Group_6__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup(), "rule__XOrExpression__Group__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1(), "rule__XOrExpression__Group_1__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0(), "rule__XOrExpression__Group_1_0__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0_0(), "rule__XOrExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup(), "rule__XAndExpression__Group__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1(), "rule__XAndExpression__Group_1__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0(), "rule__XAndExpression__Group_1_0__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0_0(), "rule__XAndExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup(), "rule__XEqualityExpression__Group__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1(), "rule__XEqualityExpression__Group_1__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0(), "rule__XEqualityExpression__Group_1_0__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0_0(), "rule__XEqualityExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup(), "rule__XRelationalExpression__Group__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0(), "rule__XRelationalExpression__Group_1_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0(), "rule__XRelationalExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0_0(), "rule__XRelationalExpression__Group_1_0_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1(), "rule__XRelationalExpression__Group_1_1__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0(), "rule__XRelationalExpression__Group_1_1_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0_0(), "rule__XRelationalExpression__Group_1_1_0_0__0"); - builder.put(grammarAccess.getOpCompareAccess().getGroup_1(), "rule__OpCompare__Group_1__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup(), "rule__XOtherOperatorExpression__Group__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1(), "rule__XOtherOperatorExpression__Group_1__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0(), "rule__XOtherOperatorExpression__Group_1_0__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0_0(), "rule__XOtherOperatorExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_2(), "rule__OpOther__Group_2__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5(), "rule__OpOther__Group_5__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0(), "rule__OpOther__Group_5_1_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0_0(), "rule__OpOther__Group_5_1_0_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6(), "rule__OpOther__Group_6__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0(), "rule__OpOther__Group_6_1_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0_0(), "rule__OpOther__Group_6_1_0_0__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup(), "rule__XAdditiveExpression__Group__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1(), "rule__XAdditiveExpression__Group_1__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0(), "rule__XAdditiveExpression__Group_1_0__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0_0(), "rule__XAdditiveExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup(), "rule__XMultiplicativeExpression__Group__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1(), "rule__XMultiplicativeExpression__Group_1__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0(), "rule__XMultiplicativeExpression__Group_1_0__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0_0(), "rule__XMultiplicativeExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXUnaryOperationAccess().getGroup_0(), "rule__XUnaryOperation__Group_0__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup(), "rule__XCastedExpression__Group__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1(), "rule__XCastedExpression__Group_1__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0(), "rule__XCastedExpression__Group_1_0__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0_0(), "rule__XCastedExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup(), "rule__XPostfixOperation__Group__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup_1(), "rule__XPostfixOperation__Group_1__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup_1_0(), "rule__XPostfixOperation__Group_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup(), "rule__XMemberFeatureCall__Group__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0(), "rule__XMemberFeatureCall__Group_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0(), "rule__XMemberFeatureCall__Group_1_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0_0(), "rule__XMemberFeatureCall__Group_1_0_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1(), "rule__XMemberFeatureCall__Group_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0(), "rule__XMemberFeatureCall__Group_1_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0_0(), "rule__XMemberFeatureCall__Group_1_1_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1_2(), "rule__XMemberFeatureCall__Group_1_1_1_2__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3(), "rule__XMemberFeatureCall__Group_1_1_3__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1_1__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup(), "rule__XSetLiteral__Group__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup_3(), "rule__XSetLiteral__Group_3__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup_3_1(), "rule__XSetLiteral__Group_3_1__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup(), "rule__XListLiteral__Group__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup_3(), "rule__XListLiteral__Group_3__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup_3_1(), "rule__XListLiteral__Group_3_1__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup(), "rule__XClosure__Group__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_0(), "rule__XClosure__Group_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_0_0(), "rule__XClosure__Group_0_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1(), "rule__XClosure__Group_1__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0(), "rule__XClosure__Group_1_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0_0(), "rule__XClosure__Group_1_0_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0_0_1(), "rule__XClosure__Group_1_0_0_1__0"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getGroup(), "rule__XExpressionInClosure__Group__0"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getGroup_1(), "rule__XExpressionInClosure__Group_1__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup(), "rule__XShortClosure__Group__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0(), "rule__XShortClosure__Group_0__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0(), "rule__XShortClosure__Group_0_0__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1(), "rule__XShortClosure__Group_0_0_1__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1_1(), "rule__XShortClosure__Group_0_0_1_1__0"); - builder.put(grammarAccess.getXParenthesizedExpressionAccess().getGroup(), "rule__XParenthesizedExpression__Group__0"); - builder.put(grammarAccess.getXIfExpressionAccess().getGroup(), "rule__XIfExpression__Group__0"); - builder.put(grammarAccess.getXIfExpressionAccess().getGroup_6(), "rule__XIfExpression__Group_6__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup(), "rule__XSwitchExpression__Group__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0(), "rule__XSwitchExpression__Group_2_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0(), "rule__XSwitchExpression__Group_2_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0(), "rule__XSwitchExpression__Group_2_0_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1(), "rule__XSwitchExpression__Group_2_1__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0(), "rule__XSwitchExpression__Group_2_1_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0(), "rule__XSwitchExpression__Group_2_1_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_5(), "rule__XSwitchExpression__Group_5__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup(), "rule__XCasePart__Group__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup_2(), "rule__XCasePart__Group_2__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup_3_0(), "rule__XCasePart__Group_3_0__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup(), "rule__XForLoopExpression__Group__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0(), "rule__XForLoopExpression__Group_0__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0_0(), "rule__XForLoopExpression__Group_0_0__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup(), "rule__XBasicForLoopExpression__Group__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3(), "rule__XBasicForLoopExpression__Group_3__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3_1(), "rule__XBasicForLoopExpression__Group_3_1__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7(), "rule__XBasicForLoopExpression__Group_7__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7_1(), "rule__XBasicForLoopExpression__Group_7_1__0"); - builder.put(grammarAccess.getXWhileExpressionAccess().getGroup(), "rule__XWhileExpression__Group__0"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getGroup(), "rule__XDoWhileExpression__Group__0"); - builder.put(grammarAccess.getXBlockExpressionAccess().getGroup(), "rule__XBlockExpression__Group__0"); - builder.put(grammarAccess.getXBlockExpressionAccess().getGroup_2(), "rule__XBlockExpression__Group_2__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup(), "rule__XVariableDeclaration__Group__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0(), "rule__XVariableDeclaration__Group_2_0__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0_0(), "rule__XVariableDeclaration__Group_2_0_0__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_3(), "rule__XVariableDeclaration__Group_3__0"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getGroup(), "rule__JvmFormalParameter__Group__0"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getGroup(), "rule__FullJvmFormalParameter__Group__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup(), "rule__XFeatureCall__Group__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_1(), "rule__XFeatureCall__Group_1__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_1_2(), "rule__XFeatureCall__Group_1_2__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3(), "rule__XFeatureCall__Group_3__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1(), "rule__XFeatureCall__Group_3_1_1__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1_1(), "rule__XFeatureCall__Group_3_1_1_1__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup(), "rule__XConstructorCall__Group__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_3(), "rule__XConstructorCall__Group_3__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_3_2(), "rule__XConstructorCall__Group_3_2__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4(), "rule__XConstructorCall__Group_4__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1(), "rule__XConstructorCall__Group_4_1_1__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1_1(), "rule__XConstructorCall__Group_4_1_1_1__0"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getGroup(), "rule__XBooleanLiteral__Group__0"); - builder.put(grammarAccess.getXNullLiteralAccess().getGroup(), "rule__XNullLiteral__Group__0"); - builder.put(grammarAccess.getXNumberLiteralAccess().getGroup(), "rule__XNumberLiteral__Group__0"); - builder.put(grammarAccess.getXStringLiteralAccess().getGroup(), "rule__XStringLiteral__Group__0"); - builder.put(grammarAccess.getXTypeLiteralAccess().getGroup(), "rule__XTypeLiteral__Group__0"); - builder.put(grammarAccess.getXThrowExpressionAccess().getGroup(), "rule__XThrowExpression__Group__0"); - builder.put(grammarAccess.getXReturnExpressionAccess().getGroup(), "rule__XReturnExpression__Group__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup(), "rule__XTryCatchFinallyExpression__Group__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0(), "rule__XTryCatchFinallyExpression__Group_3_0__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0_1(), "rule__XTryCatchFinallyExpression__Group_3_0_1__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_1(), "rule__XTryCatchFinallyExpression__Group_3_1__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup(), "rule__XSynchronizedExpression__Group__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0(), "rule__XSynchronizedExpression__Group_0__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0_0(), "rule__XSynchronizedExpression__Group_0_0__0"); - builder.put(grammarAccess.getXCatchClauseAccess().getGroup(), "rule__XCatchClause__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); - builder.put(grammarAccess.getNumberAccess().getGroup_1(), "rule__Number__Group_1__0"); - builder.put(grammarAccess.getNumberAccess().getGroup_1_1(), "rule__Number__Group_1_1__0"); - builder.put(grammarAccess.getStaticQualifierAccess().getGroup(), "rule__StaticQualifier__Group__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0(), "rule__JvmTypeReference__Group_0__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1(), "rule__JvmTypeReference__Group_0_1__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0(), "rule__JvmTypeReference__Group_0_1_0__0"); - builder.put(grammarAccess.getArrayBracketsAccess().getGroup(), "rule__ArrayBrackets__Group__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup(), "rule__XFunctionTypeRef__Group__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0(), "rule__XFunctionTypeRef__Group_0__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1(), "rule__XFunctionTypeRef__Group_0_1__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1(), "rule__XFunctionTypeRef__Group_0_1_1__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup(), "rule__JvmParameterizedTypeReference__Group__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1(), "rule__JvmParameterizedTypeReference__Group_1__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2(), "rule__JvmParameterizedTypeReference__Group_1_2__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4(), "rule__JvmParameterizedTypeReference__Group_1_4__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup(), "rule__JvmWildcardTypeReference__Group__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0(), "rule__JvmWildcardTypeReference__Group_2_0__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1(), "rule__JvmWildcardTypeReference__Group_2_1__0"); - builder.put(grammarAccess.getJvmUpperBoundAccess().getGroup(), "rule__JvmUpperBound__Group__0"); - builder.put(grammarAccess.getJvmUpperBoundAndedAccess().getGroup(), "rule__JvmUpperBoundAnded__Group__0"); - builder.put(grammarAccess.getJvmLowerBoundAccess().getGroup(), "rule__JvmLowerBound__Group__0"); - builder.put(grammarAccess.getJvmLowerBoundAndedAccess().getGroup(), "rule__JvmLowerBoundAnded__Group__0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getGroup(), "rule__JvmTypeParameter__Group__0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getGroup_1(), "rule__JvmTypeParameter__Group_1__0"); - builder.put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup(), "rule__QualifiedNameWithWildcard__Group__0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getGroup(), "rule__XImportDeclaration__Group__0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getGroup_1_0(), "rule__XImportDeclaration__Group_1_0__0"); - builder.put(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup(), "rule__QualifiedNameInStaticImport__Group__0"); - builder.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_0_1(), "rule__XAssignment__FeatureAssignment_0_1"); - builder.put(grammarAccess.getXAssignmentAccess().getValueAssignment_0_3(), "rule__XAssignment__ValueAssignment_0_3"); - builder.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XAssignment__FeatureAssignment_1_1_0_0_1"); - builder.put(grammarAccess.getXAssignmentAccess().getRightOperandAssignment_1_1_1(), "rule__XAssignment__RightOperandAssignment_1_1_1"); - builder.put(grammarAccess.getXOrExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOrExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXOrExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOrExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXAndExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAndExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXAndExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAndExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XEqualityExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getRightOperandAssignment_1_1(), "rule__XEqualityExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getTypeAssignment_1_0_1(), "rule__XRelationalExpression__TypeAssignment_1_0_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XRelationalExpression__FeatureAssignment_1_1_0_0_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getRightOperandAssignment_1_1_1(), "rule__XRelationalExpression__RightOperandAssignment_1_1_1"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOtherOperatorExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOtherOperatorExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAdditiveExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAdditiveExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XMultiplicativeExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandAssignment_1_1(), "rule__XMultiplicativeExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXUnaryOperationAccess().getFeatureAssignment_0_1(), "rule__XUnaryOperation__FeatureAssignment_0_1"); - builder.put(grammarAccess.getXUnaryOperationAccess().getOperandAssignment_0_2(), "rule__XUnaryOperation__OperandAssignment_0_2"); - builder.put(grammarAccess.getXCastedExpressionAccess().getTypeAssignment_1_1(), "rule__XCastedExpression__TypeAssignment_1_1"); - builder.put(grammarAccess.getXPostfixOperationAccess().getFeatureAssignment_1_0_1(), "rule__XPostfixOperation__FeatureAssignment_1_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_0_0_0_1_1(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_0_0_0_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_0_0_0_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getValueAssignment_1_0_1(), "rule__XMemberFeatureCall__ValueAssignment_1_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getNullSafeAssignment_1_1_0_0_1_1(), "rule__XMemberFeatureCall__NullSafeAssignment_1_1_0_0_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_1_0_0_1_2(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_1_0_0_1_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_2_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_2_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_1_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_1_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallAssignment_1_1_3_0(), "rule__XMemberFeatureCall__ExplicitOperationCallAssignment_1_1_3_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_1_1(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_4(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4"); - builder.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_0(), "rule__XSetLiteral__ElementsAssignment_3_0"); - builder.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_1_1(), "rule__XSetLiteral__ElementsAssignment_3_1_1"); - builder.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_0(), "rule__XListLiteral__ElementsAssignment_3_0"); - builder.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_1_1(), "rule__XListLiteral__ElementsAssignment_3_1_1"); - builder.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_0(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_0"); - builder.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_1_1(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_1_1"); - builder.put(grammarAccess.getXClosureAccess().getExplicitSyntaxAssignment_1_0_1(), "rule__XClosure__ExplicitSyntaxAssignment_1_0_1"); - builder.put(grammarAccess.getXClosureAccess().getExpressionAssignment_2(), "rule__XClosure__ExpressionAssignment_2"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getExpressionsAssignment_1_0(), "rule__XExpressionInClosure__ExpressionsAssignment_1_0"); - builder.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_0(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0"); - builder.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_1_1(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1"); - builder.put(grammarAccess.getXShortClosureAccess().getExplicitSyntaxAssignment_0_0_2(), "rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2"); - builder.put(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1(), "rule__XShortClosure__ExpressionAssignment_1"); - builder.put(grammarAccess.getXIfExpressionAccess().getIfAssignment_3(), "rule__XIfExpression__IfAssignment_3"); - builder.put(grammarAccess.getXIfExpressionAccess().getThenAssignment_5(), "rule__XIfExpression__ThenAssignment_5"); - builder.put(grammarAccess.getXIfExpressionAccess().getElseAssignment_6_1(), "rule__XIfExpression__ElseAssignment_6_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_0_0_0_1(), "rule__XSwitchExpression__DeclaredParamAssignment_2_0_0_0_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1(), "rule__XSwitchExpression__SwitchAssignment_2_0_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_1_0_0_0(), "rule__XSwitchExpression__DeclaredParamAssignment_2_1_0_0_0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1(), "rule__XSwitchExpression__SwitchAssignment_2_1_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4(), "rule__XSwitchExpression__CasesAssignment_4"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDefaultAssignment_5_2(), "rule__XSwitchExpression__DefaultAssignment_5_2"); - builder.put(grammarAccess.getXCasePartAccess().getTypeGuardAssignment_1(), "rule__XCasePart__TypeGuardAssignment_1"); - builder.put(grammarAccess.getXCasePartAccess().getCaseAssignment_2_1(), "rule__XCasePart__CaseAssignment_2_1"); - builder.put(grammarAccess.getXCasePartAccess().getThenAssignment_3_0_1(), "rule__XCasePart__ThenAssignment_3_0_1"); - builder.put(grammarAccess.getXCasePartAccess().getFallThroughAssignment_3_1(), "rule__XCasePart__FallThroughAssignment_3_1"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamAssignment_0_0_3(), "rule__XForLoopExpression__DeclaredParamAssignment_0_0_3"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getForExpressionAssignment_1(), "rule__XForLoopExpression__ForExpressionAssignment_1"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getEachExpressionAssignment_3(), "rule__XForLoopExpression__EachExpressionAssignment_3"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_0(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_1_1(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_1_1"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getExpressionAssignment_5(), "rule__XBasicForLoopExpression__ExpressionAssignment_5"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_0(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_1_1(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_1_1"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getEachExpressionAssignment_9(), "rule__XBasicForLoopExpression__EachExpressionAssignment_9"); - builder.put(grammarAccess.getXWhileExpressionAccess().getPredicateAssignment_3(), "rule__XWhileExpression__PredicateAssignment_3"); - builder.put(grammarAccess.getXWhileExpressionAccess().getBodyAssignment_5(), "rule__XWhileExpression__BodyAssignment_5"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getBodyAssignment_2(), "rule__XDoWhileExpression__BodyAssignment_2"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getPredicateAssignment_5(), "rule__XDoWhileExpression__PredicateAssignment_5"); - builder.put(grammarAccess.getXBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__XBlockExpression__ExpressionsAssignment_2_0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getWriteableAssignment_1_0(), "rule__XVariableDeclaration__WriteableAssignment_1_0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getTypeAssignment_2_0_0_0(), "rule__XVariableDeclaration__TypeAssignment_2_0_0_0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_0_0_1(), "rule__XVariableDeclaration__NameAssignment_2_0_0_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_1(), "rule__XVariableDeclaration__NameAssignment_2_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getRightAssignment_3_1(), "rule__XVariableDeclaration__RightAssignment_3_1"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__JvmFormalParameter__ParameterTypeAssignment_0"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getNameAssignment_1(), "rule__JvmFormalParameter__NameAssignment_1"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__FullJvmFormalParameter__ParameterTypeAssignment_0"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getNameAssignment_1(), "rule__FullJvmFormalParameter__NameAssignment_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_2_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_2_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureAssignment_2(), "rule__XFeatureCall__FeatureAssignment_2"); - builder.put(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallAssignment_3_0(), "rule__XFeatureCall__ExplicitOperationCallAssignment_3_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_1_1(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_4"); - builder.put(grammarAccess.getXConstructorCallAccess().getConstructorAssignment_2(), "rule__XConstructorCall__ConstructorAssignment_2"); - builder.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_2_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_2_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getExplicitConstructorCallAssignment_4_0(), "rule__XConstructorCall__ExplicitConstructorCallAssignment_4_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_1_1(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_1_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_5(), "rule__XConstructorCall__ArgumentsAssignment_5"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1(), "rule__XBooleanLiteral__IsTrueAssignment_1_1"); - builder.put(grammarAccess.getXNumberLiteralAccess().getValueAssignment_1(), "rule__XNumberLiteral__ValueAssignment_1"); - builder.put(grammarAccess.getXStringLiteralAccess().getValueAssignment_1(), "rule__XStringLiteral__ValueAssignment_1"); - builder.put(grammarAccess.getXTypeLiteralAccess().getTypeAssignment_3(), "rule__XTypeLiteral__TypeAssignment_3"); - builder.put(grammarAccess.getXTypeLiteralAccess().getArrayDimensionsAssignment_4(), "rule__XTypeLiteral__ArrayDimensionsAssignment_4"); - builder.put(grammarAccess.getXThrowExpressionAccess().getExpressionAssignment_2(), "rule__XThrowExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXReturnExpressionAccess().getExpressionAssignment_2(), "rule__XReturnExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionAssignment_2(), "rule__XTryCatchFinallyExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesAssignment_3_0_0(), "rule__XTryCatchFinallyExpression__CatchClausesAssignment_3_0_0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_0_1_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_1_1"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getParamAssignment_1(), "rule__XSynchronizedExpression__ParamAssignment_1"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getExpressionAssignment_3(), "rule__XSynchronizedExpression__ExpressionAssignment_3"); - builder.put(grammarAccess.getXCatchClauseAccess().getDeclaredParamAssignment_2(), "rule__XCatchClause__DeclaredParamAssignment_2"); - builder.put(grammarAccess.getXCatchClauseAccess().getExpressionAssignment_4(), "rule__XCatchClause__ExpressionAssignment_4"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionTypeRef__ReturnTypeAssignment_2"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0(), "rule__JvmParameterizedTypeReference__TypeAssignment_0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1(), "rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1"); - builder.put(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBound__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBoundAnded__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBound__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBoundAnded__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getNameAssignment_0(), "rule__JvmTypeParameter__NameAssignment_0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_0(), "rule__JvmTypeParameter__ConstraintsAssignment_1_0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_1(), "rule__JvmTypeParameter__ConstraintsAssignment_1_1"); - builder.put(grammarAccess.getXImportSectionAccess().getImportDeclarationsAssignment(), "rule__XImportSection__ImportDeclarationsAssignment"); - builder.put(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0(), "rule__XImportDeclaration__StaticAssignment_1_0_0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1(), "rule__XImportDeclaration__ExtensionAssignment_1_0_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2(), "rule__XImportDeclaration__ImportedTypeAssignment_1_0_2"); - builder.put(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0(), "rule__XImportDeclaration__WildcardAssignment_1_0_3_0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1(), "rule__XImportDeclaration__MemberNameAssignment_1_0_3_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1(), "rule__XImportDeclaration__ImportedTypeAssignment_1_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2(), "rule__XImportDeclaration__ImportedNamespaceAssignment_1_2"); + private static void init(Map mappings, XbaseGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getXAssignmentAccess().getAlternatives(), "rule__XAssignment__Alternatives"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getAlternatives(), "rule__OpMultiAssign__Alternatives"); + mappings.put(grammarAccess.getOpEqualityAccess().getAlternatives(), "rule__OpEquality__Alternatives"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getAlternatives_1(), "rule__XRelationalExpression__Alternatives_1"); + mappings.put(grammarAccess.getOpCompareAccess().getAlternatives(), "rule__OpCompare__Alternatives"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives(), "rule__OpOther__Alternatives"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives_5_1(), "rule__OpOther__Alternatives_5_1"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives_6_1(), "rule__OpOther__Alternatives_6_1"); + mappings.put(grammarAccess.getOpAddAccess().getAlternatives(), "rule__OpAdd__Alternatives"); + mappings.put(grammarAccess.getOpMultiAccess().getAlternatives(), "rule__OpMulti__Alternatives"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getAlternatives(), "rule__XUnaryOperation__Alternatives"); + mappings.put(grammarAccess.getOpUnaryAccess().getAlternatives(), "rule__OpUnary__Alternatives"); + mappings.put(grammarAccess.getOpPostfixAccess().getAlternatives(), "rule__OpPostfix__Alternatives"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1(), "rule__XMemberFeatureCall__Alternatives_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_0_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_0_0_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_1_0_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_3_1(), "rule__XMemberFeatureCall__Alternatives_1_1_3_1"); + mappings.put(grammarAccess.getXPrimaryExpressionAccess().getAlternatives(), "rule__XPrimaryExpression__Alternatives"); + mappings.put(grammarAccess.getXLiteralAccess().getAlternatives(), "rule__XLiteral__Alternatives"); + mappings.put(grammarAccess.getXCollectionLiteralAccess().getAlternatives(), "rule__XCollectionLiteral__Alternatives"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2(), "rule__XSwitchExpression__Alternatives_2"); + mappings.put(grammarAccess.getXCasePartAccess().getAlternatives_3(), "rule__XCasePart__Alternatives_3"); + mappings.put(grammarAccess.getXExpressionOrVarDeclarationAccess().getAlternatives(), "rule__XExpressionOrVarDeclaration__Alternatives"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_1(), "rule__XVariableDeclaration__Alternatives_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_2(), "rule__XVariableDeclaration__Alternatives_2"); + mappings.put(grammarAccess.getXFeatureCallAccess().getAlternatives_3_1(), "rule__XFeatureCall__Alternatives_3_1"); + mappings.put(grammarAccess.getFeatureCallIDAccess().getAlternatives(), "rule__FeatureCallID__Alternatives"); + mappings.put(grammarAccess.getIdOrSuperAccess().getAlternatives(), "rule__IdOrSuper__Alternatives"); + mappings.put(grammarAccess.getXConstructorCallAccess().getAlternatives_4_1(), "rule__XConstructorCall__Alternatives_4_1"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1(), "rule__XBooleanLiteral__Alternatives_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_3(), "rule__XTryCatchFinallyExpression__Alternatives_3"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives(), "rule__Number__Alternatives"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives_1_0(), "rule__Number__Alternatives_1_0"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives_1_1_1(), "rule__Number__Alternatives_1_1_1"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getAlternatives(), "rule__JvmTypeReference__Alternatives"); + mappings.put(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives(), "rule__JvmArgumentTypeReference__Alternatives"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2(), "rule__JvmWildcardTypeReference__Alternatives_2"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1(), "rule__XImportDeclaration__Alternatives_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3(), "rule__XImportDeclaration__Alternatives_1_0_3"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_0(), "rule__XAssignment__Group_0__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1(), "rule__XAssignment__Group_1__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1(), "rule__XAssignment__Group_1_1__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0(), "rule__XAssignment__Group_1_1_0__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0_0(), "rule__XAssignment__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getGroup_5(), "rule__OpMultiAssign__Group_5__0"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getGroup_6(), "rule__OpMultiAssign__Group_6__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup(), "rule__XOrExpression__Group__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1(), "rule__XOrExpression__Group_1__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0(), "rule__XOrExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0_0(), "rule__XOrExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup(), "rule__XAndExpression__Group__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1(), "rule__XAndExpression__Group_1__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0(), "rule__XAndExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0_0(), "rule__XAndExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup(), "rule__XEqualityExpression__Group__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1(), "rule__XEqualityExpression__Group_1__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0(), "rule__XEqualityExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0_0(), "rule__XEqualityExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup(), "rule__XRelationalExpression__Group__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0(), "rule__XRelationalExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0(), "rule__XRelationalExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0_0(), "rule__XRelationalExpression__Group_1_0_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1(), "rule__XRelationalExpression__Group_1_1__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0(), "rule__XRelationalExpression__Group_1_1_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0_0(), "rule__XRelationalExpression__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getOpCompareAccess().getGroup_1(), "rule__OpCompare__Group_1__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup(), "rule__XOtherOperatorExpression__Group__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1(), "rule__XOtherOperatorExpression__Group_1__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0(), "rule__XOtherOperatorExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0_0(), "rule__XOtherOperatorExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_2(), "rule__OpOther__Group_2__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5(), "rule__OpOther__Group_5__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0(), "rule__OpOther__Group_5_1_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0_0(), "rule__OpOther__Group_5_1_0_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6(), "rule__OpOther__Group_6__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0(), "rule__OpOther__Group_6_1_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0_0(), "rule__OpOther__Group_6_1_0_0__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup(), "rule__XAdditiveExpression__Group__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1(), "rule__XAdditiveExpression__Group_1__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0(), "rule__XAdditiveExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0_0(), "rule__XAdditiveExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup(), "rule__XMultiplicativeExpression__Group__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1(), "rule__XMultiplicativeExpression__Group_1__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0(), "rule__XMultiplicativeExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0_0(), "rule__XMultiplicativeExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getGroup_0(), "rule__XUnaryOperation__Group_0__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup(), "rule__XCastedExpression__Group__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1(), "rule__XCastedExpression__Group_1__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0(), "rule__XCastedExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0_0(), "rule__XCastedExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup(), "rule__XPostfixOperation__Group__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup_1(), "rule__XPostfixOperation__Group_1__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup_1_0(), "rule__XPostfixOperation__Group_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup(), "rule__XMemberFeatureCall__Group__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0(), "rule__XMemberFeatureCall__Group_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0(), "rule__XMemberFeatureCall__Group_1_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0_0(), "rule__XMemberFeatureCall__Group_1_0_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1(), "rule__XMemberFeatureCall__Group_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0(), "rule__XMemberFeatureCall__Group_1_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0_0(), "rule__XMemberFeatureCall__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1_2(), "rule__XMemberFeatureCall__Group_1_1_1_2__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3(), "rule__XMemberFeatureCall__Group_1_1_3__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1_1__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup(), "rule__XSetLiteral__Group__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup_3(), "rule__XSetLiteral__Group_3__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup_3_1(), "rule__XSetLiteral__Group_3_1__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup(), "rule__XListLiteral__Group__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup_3(), "rule__XListLiteral__Group_3__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup_3_1(), "rule__XListLiteral__Group_3_1__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup(), "rule__XClosure__Group__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_0(), "rule__XClosure__Group_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_0_0(), "rule__XClosure__Group_0_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1(), "rule__XClosure__Group_1__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0(), "rule__XClosure__Group_1_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0_0(), "rule__XClosure__Group_1_0_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0_0_1(), "rule__XClosure__Group_1_0_0_1__0"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getGroup(), "rule__XExpressionInClosure__Group__0"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getGroup_1(), "rule__XExpressionInClosure__Group_1__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup(), "rule__XShortClosure__Group__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0(), "rule__XShortClosure__Group_0__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0(), "rule__XShortClosure__Group_0_0__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1(), "rule__XShortClosure__Group_0_0_1__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1_1(), "rule__XShortClosure__Group_0_0_1_1__0"); + mappings.put(grammarAccess.getXParenthesizedExpressionAccess().getGroup(), "rule__XParenthesizedExpression__Group__0"); + mappings.put(grammarAccess.getXIfExpressionAccess().getGroup(), "rule__XIfExpression__Group__0"); + mappings.put(grammarAccess.getXIfExpressionAccess().getGroup_6(), "rule__XIfExpression__Group_6__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup(), "rule__XSwitchExpression__Group__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0(), "rule__XSwitchExpression__Group_2_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0(), "rule__XSwitchExpression__Group_2_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0(), "rule__XSwitchExpression__Group_2_0_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1(), "rule__XSwitchExpression__Group_2_1__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0(), "rule__XSwitchExpression__Group_2_1_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0(), "rule__XSwitchExpression__Group_2_1_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_5(), "rule__XSwitchExpression__Group_5__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup(), "rule__XCasePart__Group__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup_2(), "rule__XCasePart__Group_2__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup_3_0(), "rule__XCasePart__Group_3_0__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup(), "rule__XForLoopExpression__Group__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0(), "rule__XForLoopExpression__Group_0__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0_0(), "rule__XForLoopExpression__Group_0_0__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup(), "rule__XBasicForLoopExpression__Group__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3(), "rule__XBasicForLoopExpression__Group_3__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3_1(), "rule__XBasicForLoopExpression__Group_3_1__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7(), "rule__XBasicForLoopExpression__Group_7__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7_1(), "rule__XBasicForLoopExpression__Group_7_1__0"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getGroup(), "rule__XWhileExpression__Group__0"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getGroup(), "rule__XDoWhileExpression__Group__0"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getGroup(), "rule__XBlockExpression__Group__0"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getGroup_2(), "rule__XBlockExpression__Group_2__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup(), "rule__XVariableDeclaration__Group__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0(), "rule__XVariableDeclaration__Group_2_0__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0_0(), "rule__XVariableDeclaration__Group_2_0_0__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_3(), "rule__XVariableDeclaration__Group_3__0"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getGroup(), "rule__JvmFormalParameter__Group__0"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getGroup(), "rule__FullJvmFormalParameter__Group__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup(), "rule__XFeatureCall__Group__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_1(), "rule__XFeatureCall__Group_1__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_1_2(), "rule__XFeatureCall__Group_1_2__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3(), "rule__XFeatureCall__Group_3__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1(), "rule__XFeatureCall__Group_3_1_1__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1_1(), "rule__XFeatureCall__Group_3_1_1_1__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup(), "rule__XConstructorCall__Group__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_3(), "rule__XConstructorCall__Group_3__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_3_2(), "rule__XConstructorCall__Group_3_2__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4(), "rule__XConstructorCall__Group_4__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1(), "rule__XConstructorCall__Group_4_1_1__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1_1(), "rule__XConstructorCall__Group_4_1_1_1__0"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getGroup(), "rule__XBooleanLiteral__Group__0"); + mappings.put(grammarAccess.getXNullLiteralAccess().getGroup(), "rule__XNullLiteral__Group__0"); + mappings.put(grammarAccess.getXNumberLiteralAccess().getGroup(), "rule__XNumberLiteral__Group__0"); + mappings.put(grammarAccess.getXStringLiteralAccess().getGroup(), "rule__XStringLiteral__Group__0"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getGroup(), "rule__XTypeLiteral__Group__0"); + mappings.put(grammarAccess.getXThrowExpressionAccess().getGroup(), "rule__XThrowExpression__Group__0"); + mappings.put(grammarAccess.getXReturnExpressionAccess().getGroup(), "rule__XReturnExpression__Group__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup(), "rule__XTryCatchFinallyExpression__Group__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0(), "rule__XTryCatchFinallyExpression__Group_3_0__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0_1(), "rule__XTryCatchFinallyExpression__Group_3_0_1__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_1(), "rule__XTryCatchFinallyExpression__Group_3_1__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup(), "rule__XSynchronizedExpression__Group__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0(), "rule__XSynchronizedExpression__Group_0__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0_0(), "rule__XSynchronizedExpression__Group_0_0__0"); + mappings.put(grammarAccess.getXCatchClauseAccess().getGroup(), "rule__XCatchClause__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); + mappings.put(grammarAccess.getNumberAccess().getGroup_1(), "rule__Number__Group_1__0"); + mappings.put(grammarAccess.getNumberAccess().getGroup_1_1(), "rule__Number__Group_1_1__0"); + mappings.put(grammarAccess.getStaticQualifierAccess().getGroup(), "rule__StaticQualifier__Group__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0(), "rule__JvmTypeReference__Group_0__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1(), "rule__JvmTypeReference__Group_0_1__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0(), "rule__JvmTypeReference__Group_0_1_0__0"); + mappings.put(grammarAccess.getArrayBracketsAccess().getGroup(), "rule__ArrayBrackets__Group__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup(), "rule__XFunctionTypeRef__Group__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0(), "rule__XFunctionTypeRef__Group_0__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1(), "rule__XFunctionTypeRef__Group_0_1__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1(), "rule__XFunctionTypeRef__Group_0_1_1__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup(), "rule__JvmParameterizedTypeReference__Group__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1(), "rule__JvmParameterizedTypeReference__Group_1__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2(), "rule__JvmParameterizedTypeReference__Group_1_2__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4(), "rule__JvmParameterizedTypeReference__Group_1_4__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup(), "rule__JvmWildcardTypeReference__Group__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0(), "rule__JvmWildcardTypeReference__Group_2_0__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1(), "rule__JvmWildcardTypeReference__Group_2_1__0"); + mappings.put(grammarAccess.getJvmUpperBoundAccess().getGroup(), "rule__JvmUpperBound__Group__0"); + mappings.put(grammarAccess.getJvmUpperBoundAndedAccess().getGroup(), "rule__JvmUpperBoundAnded__Group__0"); + mappings.put(grammarAccess.getJvmLowerBoundAccess().getGroup(), "rule__JvmLowerBound__Group__0"); + mappings.put(grammarAccess.getJvmLowerBoundAndedAccess().getGroup(), "rule__JvmLowerBoundAnded__Group__0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getGroup(), "rule__JvmTypeParameter__Group__0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getGroup_1(), "rule__JvmTypeParameter__Group_1__0"); + mappings.put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup(), "rule__QualifiedNameWithWildcard__Group__0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getGroup(), "rule__XImportDeclaration__Group__0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getGroup_1_0(), "rule__XImportDeclaration__Group_1_0__0"); + mappings.put(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup(), "rule__QualifiedNameInStaticImport__Group__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_0_1(), "rule__XAssignment__FeatureAssignment_0_1"); + mappings.put(grammarAccess.getXAssignmentAccess().getValueAssignment_0_3(), "rule__XAssignment__ValueAssignment_0_3"); + mappings.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XAssignment__FeatureAssignment_1_1_0_0_1"); + mappings.put(grammarAccess.getXAssignmentAccess().getRightOperandAssignment_1_1_1(), "rule__XAssignment__RightOperandAssignment_1_1_1"); + mappings.put(grammarAccess.getXOrExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOrExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXOrExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOrExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXAndExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAndExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXAndExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAndExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XEqualityExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getRightOperandAssignment_1_1(), "rule__XEqualityExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getTypeAssignment_1_0_1(), "rule__XRelationalExpression__TypeAssignment_1_0_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XRelationalExpression__FeatureAssignment_1_1_0_0_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getRightOperandAssignment_1_1_1(), "rule__XRelationalExpression__RightOperandAssignment_1_1_1"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOtherOperatorExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOtherOperatorExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAdditiveExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAdditiveExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XMultiplicativeExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandAssignment_1_1(), "rule__XMultiplicativeExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getFeatureAssignment_0_1(), "rule__XUnaryOperation__FeatureAssignment_0_1"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getOperandAssignment_0_2(), "rule__XUnaryOperation__OperandAssignment_0_2"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getTypeAssignment_1_1(), "rule__XCastedExpression__TypeAssignment_1_1"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getFeatureAssignment_1_0_1(), "rule__XPostfixOperation__FeatureAssignment_1_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_0_0_0_1_1(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_0_0_0_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_0_0_0_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getValueAssignment_1_0_1(), "rule__XMemberFeatureCall__ValueAssignment_1_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getNullSafeAssignment_1_1_0_0_1_1(), "rule__XMemberFeatureCall__NullSafeAssignment_1_1_0_0_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_1_0_0_1_2(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_1_0_0_1_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_2_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_2_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_1_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_1_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallAssignment_1_1_3_0(), "rule__XMemberFeatureCall__ExplicitOperationCallAssignment_1_1_3_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_1_1(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_4(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4"); + mappings.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_0(), "rule__XSetLiteral__ElementsAssignment_3_0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_1_1(), "rule__XSetLiteral__ElementsAssignment_3_1_1"); + mappings.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_0(), "rule__XListLiteral__ElementsAssignment_3_0"); + mappings.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_1_1(), "rule__XListLiteral__ElementsAssignment_3_1_1"); + mappings.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_0(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_0"); + mappings.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_1_1(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_1_1"); + mappings.put(grammarAccess.getXClosureAccess().getExplicitSyntaxAssignment_1_0_1(), "rule__XClosure__ExplicitSyntaxAssignment_1_0_1"); + mappings.put(grammarAccess.getXClosureAccess().getExpressionAssignment_2(), "rule__XClosure__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getExpressionsAssignment_1_0(), "rule__XExpressionInClosure__ExpressionsAssignment_1_0"); + mappings.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_0(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0"); + mappings.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_1_1(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1"); + mappings.put(grammarAccess.getXShortClosureAccess().getExplicitSyntaxAssignment_0_0_2(), "rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2"); + mappings.put(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1(), "rule__XShortClosure__ExpressionAssignment_1"); + mappings.put(grammarAccess.getXIfExpressionAccess().getIfAssignment_3(), "rule__XIfExpression__IfAssignment_3"); + mappings.put(grammarAccess.getXIfExpressionAccess().getThenAssignment_5(), "rule__XIfExpression__ThenAssignment_5"); + mappings.put(grammarAccess.getXIfExpressionAccess().getElseAssignment_6_1(), "rule__XIfExpression__ElseAssignment_6_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_0_0_0_1(), "rule__XSwitchExpression__DeclaredParamAssignment_2_0_0_0_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1(), "rule__XSwitchExpression__SwitchAssignment_2_0_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_1_0_0_0(), "rule__XSwitchExpression__DeclaredParamAssignment_2_1_0_0_0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1(), "rule__XSwitchExpression__SwitchAssignment_2_1_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4(), "rule__XSwitchExpression__CasesAssignment_4"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDefaultAssignment_5_2(), "rule__XSwitchExpression__DefaultAssignment_5_2"); + mappings.put(grammarAccess.getXCasePartAccess().getTypeGuardAssignment_1(), "rule__XCasePart__TypeGuardAssignment_1"); + mappings.put(grammarAccess.getXCasePartAccess().getCaseAssignment_2_1(), "rule__XCasePart__CaseAssignment_2_1"); + mappings.put(grammarAccess.getXCasePartAccess().getThenAssignment_3_0_1(), "rule__XCasePart__ThenAssignment_3_0_1"); + mappings.put(grammarAccess.getXCasePartAccess().getFallThroughAssignment_3_1(), "rule__XCasePart__FallThroughAssignment_3_1"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamAssignment_0_0_3(), "rule__XForLoopExpression__DeclaredParamAssignment_0_0_3"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getForExpressionAssignment_1(), "rule__XForLoopExpression__ForExpressionAssignment_1"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getEachExpressionAssignment_3(), "rule__XForLoopExpression__EachExpressionAssignment_3"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_0(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_1_1(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_1_1"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getExpressionAssignment_5(), "rule__XBasicForLoopExpression__ExpressionAssignment_5"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_0(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_1_1(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_1_1"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getEachExpressionAssignment_9(), "rule__XBasicForLoopExpression__EachExpressionAssignment_9"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getPredicateAssignment_3(), "rule__XWhileExpression__PredicateAssignment_3"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getBodyAssignment_5(), "rule__XWhileExpression__BodyAssignment_5"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getBodyAssignment_2(), "rule__XDoWhileExpression__BodyAssignment_2"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getPredicateAssignment_5(), "rule__XDoWhileExpression__PredicateAssignment_5"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__XBlockExpression__ExpressionsAssignment_2_0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getWriteableAssignment_1_0(), "rule__XVariableDeclaration__WriteableAssignment_1_0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getTypeAssignment_2_0_0_0(), "rule__XVariableDeclaration__TypeAssignment_2_0_0_0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_0_0_1(), "rule__XVariableDeclaration__NameAssignment_2_0_0_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_1(), "rule__XVariableDeclaration__NameAssignment_2_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getRightAssignment_3_1(), "rule__XVariableDeclaration__RightAssignment_3_1"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__JvmFormalParameter__ParameterTypeAssignment_0"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getNameAssignment_1(), "rule__JvmFormalParameter__NameAssignment_1"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__FullJvmFormalParameter__ParameterTypeAssignment_0"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getNameAssignment_1(), "rule__FullJvmFormalParameter__NameAssignment_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_2_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_2_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureAssignment_2(), "rule__XFeatureCall__FeatureAssignment_2"); + mappings.put(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallAssignment_3_0(), "rule__XFeatureCall__ExplicitOperationCallAssignment_3_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_1_1(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_4"); + mappings.put(grammarAccess.getXConstructorCallAccess().getConstructorAssignment_2(), "rule__XConstructorCall__ConstructorAssignment_2"); + mappings.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_2_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_2_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getExplicitConstructorCallAssignment_4_0(), "rule__XConstructorCall__ExplicitConstructorCallAssignment_4_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_1_1(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_1_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_5(), "rule__XConstructorCall__ArgumentsAssignment_5"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1(), "rule__XBooleanLiteral__IsTrueAssignment_1_1"); + mappings.put(grammarAccess.getXNumberLiteralAccess().getValueAssignment_1(), "rule__XNumberLiteral__ValueAssignment_1"); + mappings.put(grammarAccess.getXStringLiteralAccess().getValueAssignment_1(), "rule__XStringLiteral__ValueAssignment_1"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getTypeAssignment_3(), "rule__XTypeLiteral__TypeAssignment_3"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getArrayDimensionsAssignment_4(), "rule__XTypeLiteral__ArrayDimensionsAssignment_4"); + mappings.put(grammarAccess.getXThrowExpressionAccess().getExpressionAssignment_2(), "rule__XThrowExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXReturnExpressionAccess().getExpressionAssignment_2(), "rule__XReturnExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionAssignment_2(), "rule__XTryCatchFinallyExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesAssignment_3_0_0(), "rule__XTryCatchFinallyExpression__CatchClausesAssignment_3_0_0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_0_1_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_1_1"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getParamAssignment_1(), "rule__XSynchronizedExpression__ParamAssignment_1"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getExpressionAssignment_3(), "rule__XSynchronizedExpression__ExpressionAssignment_3"); + mappings.put(grammarAccess.getXCatchClauseAccess().getDeclaredParamAssignment_2(), "rule__XCatchClause__DeclaredParamAssignment_2"); + mappings.put(grammarAccess.getXCatchClauseAccess().getExpressionAssignment_4(), "rule__XCatchClause__ExpressionAssignment_4"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionTypeRef__ReturnTypeAssignment_2"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0(), "rule__JvmParameterizedTypeReference__TypeAssignment_0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1(), "rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1"); + mappings.put(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBound__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBoundAnded__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBound__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBoundAnded__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getNameAssignment_0(), "rule__JvmTypeParameter__NameAssignment_0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_0(), "rule__JvmTypeParameter__ConstraintsAssignment_1_0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_1(), "rule__JvmTypeParameter__ConstraintsAssignment_1_1"); + mappings.put(grammarAccess.getXImportSectionAccess().getImportDeclarationsAssignment(), "rule__XImportSection__ImportDeclarationsAssignment"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0(), "rule__XImportDeclaration__StaticAssignment_1_0_0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1(), "rule__XImportDeclaration__ExtensionAssignment_1_0_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2(), "rule__XImportDeclaration__ImportedTypeAssignment_1_0_2"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0(), "rule__XImportDeclaration__WildcardAssignment_1_0_3_0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1(), "rule__XImportDeclaration__MemberNameAssignment_1_0_3_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1(), "rule__XImportDeclaration__ImportedTypeAssignment_1_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2(), "rule__XImportDeclaration__ImportedNamespaceAssignment_1_2"); } } diff --git a/org.eclipse.xtext.xbase.ide/src-gen/org/eclipse/xtext/xbase/ide/contentassist/antlr/XtypeParser.java b/org.eclipse.xtext.xbase.ide/src-gen/org/eclipse/xtext/xbase/ide/contentassist/antlr/XtypeParser.java index f7eab70b7d0..bf7d95add94 100644 --- a/org.eclipse.xtext.xbase.ide/src-gen/org/eclipse/xtext/xbase/ide/contentassist/antlr/XtypeParser.java +++ b/org.eclipse.xtext.xbase.ide/src-gen/org/eclipse/xtext/xbase/ide/contentassist/antlr/XtypeParser.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2010, 2023 itemis AG (http://www.itemis.eu) and others. + * Copyright (c) 2010, 2024 itemis AG (http://www.itemis.eu) and others. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0. @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.xbase.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,80 +26,80 @@ public static final class NameMappings { @Inject public NameMappings(XtypeGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, XtypeGrammarAccess grammarAccess) { - builder.put(grammarAccess.getJvmTypeReferenceAccess().getAlternatives(), "rule__JvmTypeReference__Alternatives"); - builder.put(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives(), "rule__JvmArgumentTypeReference__Alternatives"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2(), "rule__JvmWildcardTypeReference__Alternatives_2"); - builder.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1(), "rule__XImportDeclaration__Alternatives_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3(), "rule__XImportDeclaration__Alternatives_1_0_3"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0(), "rule__JvmTypeReference__Group_0__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1(), "rule__JvmTypeReference__Group_0_1__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0(), "rule__JvmTypeReference__Group_0_1_0__0"); - builder.put(grammarAccess.getArrayBracketsAccess().getGroup(), "rule__ArrayBrackets__Group__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup(), "rule__XFunctionTypeRef__Group__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0(), "rule__XFunctionTypeRef__Group_0__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1(), "rule__XFunctionTypeRef__Group_0_1__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1(), "rule__XFunctionTypeRef__Group_0_1_1__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup(), "rule__JvmParameterizedTypeReference__Group__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1(), "rule__JvmParameterizedTypeReference__Group_1__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2(), "rule__JvmParameterizedTypeReference__Group_1_2__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4(), "rule__JvmParameterizedTypeReference__Group_1_4__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup(), "rule__JvmWildcardTypeReference__Group__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0(), "rule__JvmWildcardTypeReference__Group_2_0__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1(), "rule__JvmWildcardTypeReference__Group_2_1__0"); - builder.put(grammarAccess.getJvmUpperBoundAccess().getGroup(), "rule__JvmUpperBound__Group__0"); - builder.put(grammarAccess.getJvmUpperBoundAndedAccess().getGroup(), "rule__JvmUpperBoundAnded__Group__0"); - builder.put(grammarAccess.getJvmLowerBoundAccess().getGroup(), "rule__JvmLowerBound__Group__0"); - builder.put(grammarAccess.getJvmLowerBoundAndedAccess().getGroup(), "rule__JvmLowerBoundAnded__Group__0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getGroup(), "rule__JvmTypeParameter__Group__0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getGroup_1(), "rule__JvmTypeParameter__Group_1__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); - builder.put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup(), "rule__QualifiedNameWithWildcard__Group__0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getGroup(), "rule__XImportDeclaration__Group__0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getGroup_1_0(), "rule__XImportDeclaration__Group_1_0__0"); - builder.put(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup(), "rule__QualifiedNameInStaticImport__Group__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionTypeRef__ReturnTypeAssignment_2"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0(), "rule__JvmParameterizedTypeReference__TypeAssignment_0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1(), "rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1"); - builder.put(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBound__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBoundAnded__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBound__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBoundAnded__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getNameAssignment_0(), "rule__JvmTypeParameter__NameAssignment_0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_0(), "rule__JvmTypeParameter__ConstraintsAssignment_1_0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_1(), "rule__JvmTypeParameter__ConstraintsAssignment_1_1"); - builder.put(grammarAccess.getXImportSectionAccess().getImportDeclarationsAssignment(), "rule__XImportSection__ImportDeclarationsAssignment"); - builder.put(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0(), "rule__XImportDeclaration__StaticAssignment_1_0_0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1(), "rule__XImportDeclaration__ExtensionAssignment_1_0_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2(), "rule__XImportDeclaration__ImportedTypeAssignment_1_0_2"); - builder.put(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0(), "rule__XImportDeclaration__WildcardAssignment_1_0_3_0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1(), "rule__XImportDeclaration__MemberNameAssignment_1_0_3_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1(), "rule__XImportDeclaration__ImportedTypeAssignment_1_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2(), "rule__XImportDeclaration__ImportedNamespaceAssignment_1_2"); + private static void init(Map mappings, XtypeGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getAlternatives(), "rule__JvmTypeReference__Alternatives"); + mappings.put(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives(), "rule__JvmArgumentTypeReference__Alternatives"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2(), "rule__JvmWildcardTypeReference__Alternatives_2"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1(), "rule__XImportDeclaration__Alternatives_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3(), "rule__XImportDeclaration__Alternatives_1_0_3"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0(), "rule__JvmTypeReference__Group_0__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1(), "rule__JvmTypeReference__Group_0_1__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0(), "rule__JvmTypeReference__Group_0_1_0__0"); + mappings.put(grammarAccess.getArrayBracketsAccess().getGroup(), "rule__ArrayBrackets__Group__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup(), "rule__XFunctionTypeRef__Group__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0(), "rule__XFunctionTypeRef__Group_0__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1(), "rule__XFunctionTypeRef__Group_0_1__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1(), "rule__XFunctionTypeRef__Group_0_1_1__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup(), "rule__JvmParameterizedTypeReference__Group__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1(), "rule__JvmParameterizedTypeReference__Group_1__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2(), "rule__JvmParameterizedTypeReference__Group_1_2__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4(), "rule__JvmParameterizedTypeReference__Group_1_4__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup(), "rule__JvmWildcardTypeReference__Group__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0(), "rule__JvmWildcardTypeReference__Group_2_0__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1(), "rule__JvmWildcardTypeReference__Group_2_1__0"); + mappings.put(grammarAccess.getJvmUpperBoundAccess().getGroup(), "rule__JvmUpperBound__Group__0"); + mappings.put(grammarAccess.getJvmUpperBoundAndedAccess().getGroup(), "rule__JvmUpperBoundAnded__Group__0"); + mappings.put(grammarAccess.getJvmLowerBoundAccess().getGroup(), "rule__JvmLowerBound__Group__0"); + mappings.put(grammarAccess.getJvmLowerBoundAndedAccess().getGroup(), "rule__JvmLowerBoundAnded__Group__0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getGroup(), "rule__JvmTypeParameter__Group__0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getGroup_1(), "rule__JvmTypeParameter__Group_1__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); + mappings.put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup(), "rule__QualifiedNameWithWildcard__Group__0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getGroup(), "rule__XImportDeclaration__Group__0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getGroup_1_0(), "rule__XImportDeclaration__Group_1_0__0"); + mappings.put(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup(), "rule__QualifiedNameInStaticImport__Group__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionTypeRef__ReturnTypeAssignment_2"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0(), "rule__JvmParameterizedTypeReference__TypeAssignment_0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1(), "rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1"); + mappings.put(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBound__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBoundAnded__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBound__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBoundAnded__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getNameAssignment_0(), "rule__JvmTypeParameter__NameAssignment_0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_0(), "rule__JvmTypeParameter__ConstraintsAssignment_1_0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_1(), "rule__JvmTypeParameter__ConstraintsAssignment_1_1"); + mappings.put(grammarAccess.getXImportSectionAccess().getImportDeclarationsAssignment(), "rule__XImportSection__ImportDeclarationsAssignment"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0(), "rule__XImportDeclaration__StaticAssignment_1_0_0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1(), "rule__XImportDeclaration__ExtensionAssignment_1_0_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2(), "rule__XImportDeclaration__ImportedTypeAssignment_1_0_2"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0(), "rule__XImportDeclaration__WildcardAssignment_1_0_3_0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1(), "rule__XImportDeclaration__MemberNameAssignment_1_0_3_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1(), "rule__XImportDeclaration__ImportedTypeAssignment_1_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2(), "rule__XImportDeclaration__ImportedNamespaceAssignment_1_2"); } } diff --git a/org.eclipse.xtext.xbase.testlanguages.ide/src-gen/org/eclipse/xtext/xbase/testlanguages/bug462047/ide/contentassist/antlr/Bug462047LangParser.java b/org.eclipse.xtext.xbase.testlanguages.ide/src-gen/org/eclipse/xtext/xbase/testlanguages/bug462047/ide/contentassist/antlr/Bug462047LangParser.java index d6f22c868e2..177c41ecca0 100644 --- a/org.eclipse.xtext.xbase.testlanguages.ide/src-gen/org/eclipse/xtext/xbase/testlanguages/bug462047/ide/contentassist/antlr/Bug462047LangParser.java +++ b/org.eclipse.xtext.xbase.testlanguages.ide/src-gen/org/eclipse/xtext/xbase/testlanguages/bug462047/ide/contentassist/antlr/Bug462047LangParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.xbase.testlanguages.bug462047.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,383 +26,383 @@ public static final class NameMappings { @Inject public NameMappings(Bug462047LangGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, Bug462047LangGrammarAccess grammarAccess) { - builder.put(grammarAccess.getXAssignmentAccess().getAlternatives(), "rule__XAssignment__Alternatives"); - builder.put(grammarAccess.getOpMultiAssignAccess().getAlternatives(), "rule__OpMultiAssign__Alternatives"); - builder.put(grammarAccess.getOpEqualityAccess().getAlternatives(), "rule__OpEquality__Alternatives"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getAlternatives_1(), "rule__XRelationalExpression__Alternatives_1"); - builder.put(grammarAccess.getOpCompareAccess().getAlternatives(), "rule__OpCompare__Alternatives"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives(), "rule__OpOther__Alternatives"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives_5_1(), "rule__OpOther__Alternatives_5_1"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives_6_1(), "rule__OpOther__Alternatives_6_1"); - builder.put(grammarAccess.getOpAddAccess().getAlternatives(), "rule__OpAdd__Alternatives"); - builder.put(grammarAccess.getOpMultiAccess().getAlternatives(), "rule__OpMulti__Alternatives"); - builder.put(grammarAccess.getXUnaryOperationAccess().getAlternatives(), "rule__XUnaryOperation__Alternatives"); - builder.put(grammarAccess.getOpUnaryAccess().getAlternatives(), "rule__OpUnary__Alternatives"); - builder.put(grammarAccess.getOpPostfixAccess().getAlternatives(), "rule__OpPostfix__Alternatives"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1(), "rule__XMemberFeatureCall__Alternatives_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_0_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_0_0_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_1_0_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_3_1(), "rule__XMemberFeatureCall__Alternatives_1_1_3_1"); - builder.put(grammarAccess.getXPrimaryExpressionAccess().getAlternatives(), "rule__XPrimaryExpression__Alternatives"); - builder.put(grammarAccess.getXLiteralAccess().getAlternatives(), "rule__XLiteral__Alternatives"); - builder.put(grammarAccess.getXCollectionLiteralAccess().getAlternatives(), "rule__XCollectionLiteral__Alternatives"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2(), "rule__XSwitchExpression__Alternatives_2"); - builder.put(grammarAccess.getXCasePartAccess().getAlternatives_3(), "rule__XCasePart__Alternatives_3"); - builder.put(grammarAccess.getXExpressionOrVarDeclarationAccess().getAlternatives(), "rule__XExpressionOrVarDeclaration__Alternatives"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_1(), "rule__XVariableDeclaration__Alternatives_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_2(), "rule__XVariableDeclaration__Alternatives_2"); - builder.put(grammarAccess.getXFeatureCallAccess().getAlternatives_3_1(), "rule__XFeatureCall__Alternatives_3_1"); - builder.put(grammarAccess.getFeatureCallIDAccess().getAlternatives(), "rule__FeatureCallID__Alternatives"); - builder.put(grammarAccess.getIdOrSuperAccess().getAlternatives(), "rule__IdOrSuper__Alternatives"); - builder.put(grammarAccess.getXConstructorCallAccess().getAlternatives_4_1(), "rule__XConstructorCall__Alternatives_4_1"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1(), "rule__XBooleanLiteral__Alternatives_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_3(), "rule__XTryCatchFinallyExpression__Alternatives_3"); - builder.put(grammarAccess.getNumberAccess().getAlternatives(), "rule__Number__Alternatives"); - builder.put(grammarAccess.getNumberAccess().getAlternatives_1_0(), "rule__Number__Alternatives_1_0"); - builder.put(grammarAccess.getNumberAccess().getAlternatives_1_1_1(), "rule__Number__Alternatives_1_1_1"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getAlternatives(), "rule__JvmTypeReference__Alternatives"); - builder.put(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives(), "rule__JvmArgumentTypeReference__Alternatives"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2(), "rule__JvmWildcardTypeReference__Alternatives_2"); - builder.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1(), "rule__XImportDeclaration__Alternatives_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3(), "rule__XImportDeclaration__Alternatives_1_0_3"); - builder.put(grammarAccess.getBug462047ElementAccess().getGroup(), "rule__Bug462047Element__Group__0"); - builder.put(grammarAccess.getBug462047ElementAccess().getGroup_2(), "rule__Bug462047Element__Group_2__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_0(), "rule__XAssignment__Group_0__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1(), "rule__XAssignment__Group_1__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1(), "rule__XAssignment__Group_1_1__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0(), "rule__XAssignment__Group_1_1_0__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0_0(), "rule__XAssignment__Group_1_1_0_0__0"); - builder.put(grammarAccess.getOpMultiAssignAccess().getGroup_5(), "rule__OpMultiAssign__Group_5__0"); - builder.put(grammarAccess.getOpMultiAssignAccess().getGroup_6(), "rule__OpMultiAssign__Group_6__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup(), "rule__XOrExpression__Group__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1(), "rule__XOrExpression__Group_1__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0(), "rule__XOrExpression__Group_1_0__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0_0(), "rule__XOrExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup(), "rule__XAndExpression__Group__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1(), "rule__XAndExpression__Group_1__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0(), "rule__XAndExpression__Group_1_0__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0_0(), "rule__XAndExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup(), "rule__XEqualityExpression__Group__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1(), "rule__XEqualityExpression__Group_1__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0(), "rule__XEqualityExpression__Group_1_0__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0_0(), "rule__XEqualityExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup(), "rule__XRelationalExpression__Group__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0(), "rule__XRelationalExpression__Group_1_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0(), "rule__XRelationalExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0_0(), "rule__XRelationalExpression__Group_1_0_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1(), "rule__XRelationalExpression__Group_1_1__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0(), "rule__XRelationalExpression__Group_1_1_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0_0(), "rule__XRelationalExpression__Group_1_1_0_0__0"); - builder.put(grammarAccess.getOpCompareAccess().getGroup_1(), "rule__OpCompare__Group_1__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup(), "rule__XOtherOperatorExpression__Group__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1(), "rule__XOtherOperatorExpression__Group_1__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0(), "rule__XOtherOperatorExpression__Group_1_0__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0_0(), "rule__XOtherOperatorExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_2(), "rule__OpOther__Group_2__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5(), "rule__OpOther__Group_5__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0(), "rule__OpOther__Group_5_1_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0_0(), "rule__OpOther__Group_5_1_0_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6(), "rule__OpOther__Group_6__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0(), "rule__OpOther__Group_6_1_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0_0(), "rule__OpOther__Group_6_1_0_0__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup(), "rule__XAdditiveExpression__Group__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1(), "rule__XAdditiveExpression__Group_1__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0(), "rule__XAdditiveExpression__Group_1_0__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0_0(), "rule__XAdditiveExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup(), "rule__XMultiplicativeExpression__Group__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1(), "rule__XMultiplicativeExpression__Group_1__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0(), "rule__XMultiplicativeExpression__Group_1_0__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0_0(), "rule__XMultiplicativeExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXUnaryOperationAccess().getGroup_0(), "rule__XUnaryOperation__Group_0__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup(), "rule__XCastedExpression__Group__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1(), "rule__XCastedExpression__Group_1__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0(), "rule__XCastedExpression__Group_1_0__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0_0(), "rule__XCastedExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup(), "rule__XPostfixOperation__Group__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup_1(), "rule__XPostfixOperation__Group_1__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup_1_0(), "rule__XPostfixOperation__Group_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup(), "rule__XMemberFeatureCall__Group__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0(), "rule__XMemberFeatureCall__Group_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0(), "rule__XMemberFeatureCall__Group_1_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0_0(), "rule__XMemberFeatureCall__Group_1_0_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1(), "rule__XMemberFeatureCall__Group_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0(), "rule__XMemberFeatureCall__Group_1_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0_0(), "rule__XMemberFeatureCall__Group_1_1_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1_2(), "rule__XMemberFeatureCall__Group_1_1_1_2__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3(), "rule__XMemberFeatureCall__Group_1_1_3__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1_1__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup(), "rule__XSetLiteral__Group__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup_3(), "rule__XSetLiteral__Group_3__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup_3_1(), "rule__XSetLiteral__Group_3_1__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup(), "rule__XListLiteral__Group__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup_3(), "rule__XListLiteral__Group_3__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup_3_1(), "rule__XListLiteral__Group_3_1__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup(), "rule__XClosure__Group__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_0(), "rule__XClosure__Group_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_0_0(), "rule__XClosure__Group_0_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1(), "rule__XClosure__Group_1__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0(), "rule__XClosure__Group_1_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0_0(), "rule__XClosure__Group_1_0_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0_0_1(), "rule__XClosure__Group_1_0_0_1__0"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getGroup(), "rule__XExpressionInClosure__Group__0"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getGroup_1(), "rule__XExpressionInClosure__Group_1__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup(), "rule__XShortClosure__Group__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0(), "rule__XShortClosure__Group_0__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0(), "rule__XShortClosure__Group_0_0__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1(), "rule__XShortClosure__Group_0_0_1__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1_1(), "rule__XShortClosure__Group_0_0_1_1__0"); - builder.put(grammarAccess.getXParenthesizedExpressionAccess().getGroup(), "rule__XParenthesizedExpression__Group__0"); - builder.put(grammarAccess.getXIfExpressionAccess().getGroup(), "rule__XIfExpression__Group__0"); - builder.put(grammarAccess.getXIfExpressionAccess().getGroup_6(), "rule__XIfExpression__Group_6__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup(), "rule__XSwitchExpression__Group__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0(), "rule__XSwitchExpression__Group_2_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0(), "rule__XSwitchExpression__Group_2_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0(), "rule__XSwitchExpression__Group_2_0_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1(), "rule__XSwitchExpression__Group_2_1__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0(), "rule__XSwitchExpression__Group_2_1_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0(), "rule__XSwitchExpression__Group_2_1_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_5(), "rule__XSwitchExpression__Group_5__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup(), "rule__XCasePart__Group__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup_2(), "rule__XCasePart__Group_2__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup_3_0(), "rule__XCasePart__Group_3_0__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup(), "rule__XForLoopExpression__Group__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0(), "rule__XForLoopExpression__Group_0__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0_0(), "rule__XForLoopExpression__Group_0_0__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup(), "rule__XBasicForLoopExpression__Group__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3(), "rule__XBasicForLoopExpression__Group_3__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3_1(), "rule__XBasicForLoopExpression__Group_3_1__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7(), "rule__XBasicForLoopExpression__Group_7__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7_1(), "rule__XBasicForLoopExpression__Group_7_1__0"); - builder.put(grammarAccess.getXWhileExpressionAccess().getGroup(), "rule__XWhileExpression__Group__0"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getGroup(), "rule__XDoWhileExpression__Group__0"); - builder.put(grammarAccess.getXBlockExpressionAccess().getGroup(), "rule__XBlockExpression__Group__0"); - builder.put(grammarAccess.getXBlockExpressionAccess().getGroup_2(), "rule__XBlockExpression__Group_2__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup(), "rule__XVariableDeclaration__Group__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0(), "rule__XVariableDeclaration__Group_2_0__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0_0(), "rule__XVariableDeclaration__Group_2_0_0__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_3(), "rule__XVariableDeclaration__Group_3__0"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getGroup(), "rule__JvmFormalParameter__Group__0"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getGroup(), "rule__FullJvmFormalParameter__Group__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup(), "rule__XFeatureCall__Group__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_1(), "rule__XFeatureCall__Group_1__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_1_2(), "rule__XFeatureCall__Group_1_2__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3(), "rule__XFeatureCall__Group_3__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1(), "rule__XFeatureCall__Group_3_1_1__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1_1(), "rule__XFeatureCall__Group_3_1_1_1__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup(), "rule__XConstructorCall__Group__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_3(), "rule__XConstructorCall__Group_3__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_3_2(), "rule__XConstructorCall__Group_3_2__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4(), "rule__XConstructorCall__Group_4__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1(), "rule__XConstructorCall__Group_4_1_1__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1_1(), "rule__XConstructorCall__Group_4_1_1_1__0"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getGroup(), "rule__XBooleanLiteral__Group__0"); - builder.put(grammarAccess.getXNullLiteralAccess().getGroup(), "rule__XNullLiteral__Group__0"); - builder.put(grammarAccess.getXNumberLiteralAccess().getGroup(), "rule__XNumberLiteral__Group__0"); - builder.put(grammarAccess.getXStringLiteralAccess().getGroup(), "rule__XStringLiteral__Group__0"); - builder.put(grammarAccess.getXTypeLiteralAccess().getGroup(), "rule__XTypeLiteral__Group__0"); - builder.put(grammarAccess.getXThrowExpressionAccess().getGroup(), "rule__XThrowExpression__Group__0"); - builder.put(grammarAccess.getXReturnExpressionAccess().getGroup(), "rule__XReturnExpression__Group__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup(), "rule__XTryCatchFinallyExpression__Group__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0(), "rule__XTryCatchFinallyExpression__Group_3_0__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0_1(), "rule__XTryCatchFinallyExpression__Group_3_0_1__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_1(), "rule__XTryCatchFinallyExpression__Group_3_1__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup(), "rule__XSynchronizedExpression__Group__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0(), "rule__XSynchronizedExpression__Group_0__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0_0(), "rule__XSynchronizedExpression__Group_0_0__0"); - builder.put(grammarAccess.getXCatchClauseAccess().getGroup(), "rule__XCatchClause__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); - builder.put(grammarAccess.getNumberAccess().getGroup_1(), "rule__Number__Group_1__0"); - builder.put(grammarAccess.getNumberAccess().getGroup_1_1(), "rule__Number__Group_1_1__0"); - builder.put(grammarAccess.getStaticQualifierAccess().getGroup(), "rule__StaticQualifier__Group__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0(), "rule__JvmTypeReference__Group_0__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1(), "rule__JvmTypeReference__Group_0_1__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0(), "rule__JvmTypeReference__Group_0_1_0__0"); - builder.put(grammarAccess.getArrayBracketsAccess().getGroup(), "rule__ArrayBrackets__Group__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup(), "rule__XFunctionTypeRef__Group__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0(), "rule__XFunctionTypeRef__Group_0__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1(), "rule__XFunctionTypeRef__Group_0_1__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1(), "rule__XFunctionTypeRef__Group_0_1_1__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup(), "rule__JvmParameterizedTypeReference__Group__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1(), "rule__JvmParameterizedTypeReference__Group_1__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2(), "rule__JvmParameterizedTypeReference__Group_1_2__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4(), "rule__JvmParameterizedTypeReference__Group_1_4__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup(), "rule__JvmWildcardTypeReference__Group__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0(), "rule__JvmWildcardTypeReference__Group_2_0__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1(), "rule__JvmWildcardTypeReference__Group_2_1__0"); - builder.put(grammarAccess.getJvmUpperBoundAccess().getGroup(), "rule__JvmUpperBound__Group__0"); - builder.put(grammarAccess.getJvmUpperBoundAndedAccess().getGroup(), "rule__JvmUpperBoundAnded__Group__0"); - builder.put(grammarAccess.getJvmLowerBoundAccess().getGroup(), "rule__JvmLowerBound__Group__0"); - builder.put(grammarAccess.getJvmLowerBoundAndedAccess().getGroup(), "rule__JvmLowerBoundAnded__Group__0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getGroup(), "rule__JvmTypeParameter__Group__0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getGroup_1(), "rule__JvmTypeParameter__Group_1__0"); - builder.put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup(), "rule__QualifiedNameWithWildcard__Group__0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getGroup(), "rule__XImportDeclaration__Group__0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getGroup_1_0(), "rule__XImportDeclaration__Group_1_0__0"); - builder.put(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup(), "rule__QualifiedNameInStaticImport__Group__0"); - builder.put(grammarAccess.getBug462047RootAccess().getElementsAssignment(), "rule__Bug462047Root__ElementsAssignment"); - builder.put(grammarAccess.getBug462047ElementAccess().getNameAssignment_1(), "rule__Bug462047Element__NameAssignment_1"); - builder.put(grammarAccess.getBug462047ElementAccess().getRefAssignment_2_1(), "rule__Bug462047Element__RefAssignment_2_1"); - builder.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_0_1(), "rule__XAssignment__FeatureAssignment_0_1"); - builder.put(grammarAccess.getXAssignmentAccess().getValueAssignment_0_3(), "rule__XAssignment__ValueAssignment_0_3"); - builder.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XAssignment__FeatureAssignment_1_1_0_0_1"); - builder.put(grammarAccess.getXAssignmentAccess().getRightOperandAssignment_1_1_1(), "rule__XAssignment__RightOperandAssignment_1_1_1"); - builder.put(grammarAccess.getXOrExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOrExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXOrExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOrExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXAndExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAndExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXAndExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAndExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XEqualityExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getRightOperandAssignment_1_1(), "rule__XEqualityExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getTypeAssignment_1_0_1(), "rule__XRelationalExpression__TypeAssignment_1_0_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XRelationalExpression__FeatureAssignment_1_1_0_0_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getRightOperandAssignment_1_1_1(), "rule__XRelationalExpression__RightOperandAssignment_1_1_1"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOtherOperatorExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOtherOperatorExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAdditiveExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAdditiveExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XMultiplicativeExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandAssignment_1_1(), "rule__XMultiplicativeExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXUnaryOperationAccess().getFeatureAssignment_0_1(), "rule__XUnaryOperation__FeatureAssignment_0_1"); - builder.put(grammarAccess.getXUnaryOperationAccess().getOperandAssignment_0_2(), "rule__XUnaryOperation__OperandAssignment_0_2"); - builder.put(grammarAccess.getXCastedExpressionAccess().getTypeAssignment_1_1(), "rule__XCastedExpression__TypeAssignment_1_1"); - builder.put(grammarAccess.getXPostfixOperationAccess().getFeatureAssignment_1_0_1(), "rule__XPostfixOperation__FeatureAssignment_1_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_0_0_0_1_1(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_0_0_0_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_0_0_0_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getValueAssignment_1_0_1(), "rule__XMemberFeatureCall__ValueAssignment_1_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getNullSafeAssignment_1_1_0_0_1_1(), "rule__XMemberFeatureCall__NullSafeAssignment_1_1_0_0_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_1_0_0_1_2(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_1_0_0_1_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_2_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_2_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_1_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_1_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallAssignment_1_1_3_0(), "rule__XMemberFeatureCall__ExplicitOperationCallAssignment_1_1_3_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_1_1(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_4(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4"); - builder.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_0(), "rule__XSetLiteral__ElementsAssignment_3_0"); - builder.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_1_1(), "rule__XSetLiteral__ElementsAssignment_3_1_1"); - builder.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_0(), "rule__XListLiteral__ElementsAssignment_3_0"); - builder.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_1_1(), "rule__XListLiteral__ElementsAssignment_3_1_1"); - builder.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_0(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_0"); - builder.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_1_1(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_1_1"); - builder.put(grammarAccess.getXClosureAccess().getExplicitSyntaxAssignment_1_0_1(), "rule__XClosure__ExplicitSyntaxAssignment_1_0_1"); - builder.put(grammarAccess.getXClosureAccess().getExpressionAssignment_2(), "rule__XClosure__ExpressionAssignment_2"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getExpressionsAssignment_1_0(), "rule__XExpressionInClosure__ExpressionsAssignment_1_0"); - builder.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_0(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0"); - builder.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_1_1(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1"); - builder.put(grammarAccess.getXShortClosureAccess().getExplicitSyntaxAssignment_0_0_2(), "rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2"); - builder.put(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1(), "rule__XShortClosure__ExpressionAssignment_1"); - builder.put(grammarAccess.getXIfExpressionAccess().getIfAssignment_3(), "rule__XIfExpression__IfAssignment_3"); - builder.put(grammarAccess.getXIfExpressionAccess().getThenAssignment_5(), "rule__XIfExpression__ThenAssignment_5"); - builder.put(grammarAccess.getXIfExpressionAccess().getElseAssignment_6_1(), "rule__XIfExpression__ElseAssignment_6_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_0_0_0_1(), "rule__XSwitchExpression__DeclaredParamAssignment_2_0_0_0_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1(), "rule__XSwitchExpression__SwitchAssignment_2_0_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_1_0_0_0(), "rule__XSwitchExpression__DeclaredParamAssignment_2_1_0_0_0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1(), "rule__XSwitchExpression__SwitchAssignment_2_1_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4(), "rule__XSwitchExpression__CasesAssignment_4"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDefaultAssignment_5_2(), "rule__XSwitchExpression__DefaultAssignment_5_2"); - builder.put(grammarAccess.getXCasePartAccess().getTypeGuardAssignment_1(), "rule__XCasePart__TypeGuardAssignment_1"); - builder.put(grammarAccess.getXCasePartAccess().getCaseAssignment_2_1(), "rule__XCasePart__CaseAssignment_2_1"); - builder.put(grammarAccess.getXCasePartAccess().getThenAssignment_3_0_1(), "rule__XCasePart__ThenAssignment_3_0_1"); - builder.put(grammarAccess.getXCasePartAccess().getFallThroughAssignment_3_1(), "rule__XCasePart__FallThroughAssignment_3_1"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamAssignment_0_0_3(), "rule__XForLoopExpression__DeclaredParamAssignment_0_0_3"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getForExpressionAssignment_1(), "rule__XForLoopExpression__ForExpressionAssignment_1"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getEachExpressionAssignment_3(), "rule__XForLoopExpression__EachExpressionAssignment_3"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_0(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_1_1(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_1_1"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getExpressionAssignment_5(), "rule__XBasicForLoopExpression__ExpressionAssignment_5"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_0(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_1_1(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_1_1"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getEachExpressionAssignment_9(), "rule__XBasicForLoopExpression__EachExpressionAssignment_9"); - builder.put(grammarAccess.getXWhileExpressionAccess().getPredicateAssignment_3(), "rule__XWhileExpression__PredicateAssignment_3"); - builder.put(grammarAccess.getXWhileExpressionAccess().getBodyAssignment_5(), "rule__XWhileExpression__BodyAssignment_5"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getBodyAssignment_2(), "rule__XDoWhileExpression__BodyAssignment_2"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getPredicateAssignment_5(), "rule__XDoWhileExpression__PredicateAssignment_5"); - builder.put(grammarAccess.getXBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__XBlockExpression__ExpressionsAssignment_2_0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getWriteableAssignment_1_0(), "rule__XVariableDeclaration__WriteableAssignment_1_0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getTypeAssignment_2_0_0_0(), "rule__XVariableDeclaration__TypeAssignment_2_0_0_0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_0_0_1(), "rule__XVariableDeclaration__NameAssignment_2_0_0_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_1(), "rule__XVariableDeclaration__NameAssignment_2_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getRightAssignment_3_1(), "rule__XVariableDeclaration__RightAssignment_3_1"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__JvmFormalParameter__ParameterTypeAssignment_0"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getNameAssignment_1(), "rule__JvmFormalParameter__NameAssignment_1"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__FullJvmFormalParameter__ParameterTypeAssignment_0"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getNameAssignment_1(), "rule__FullJvmFormalParameter__NameAssignment_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_2_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_2_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureAssignment_2(), "rule__XFeatureCall__FeatureAssignment_2"); - builder.put(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallAssignment_3_0(), "rule__XFeatureCall__ExplicitOperationCallAssignment_3_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_1_1(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_4"); - builder.put(grammarAccess.getXConstructorCallAccess().getConstructorAssignment_2(), "rule__XConstructorCall__ConstructorAssignment_2"); - builder.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_2_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_2_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getExplicitConstructorCallAssignment_4_0(), "rule__XConstructorCall__ExplicitConstructorCallAssignment_4_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_1_1(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_1_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_5(), "rule__XConstructorCall__ArgumentsAssignment_5"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1(), "rule__XBooleanLiteral__IsTrueAssignment_1_1"); - builder.put(grammarAccess.getXNumberLiteralAccess().getValueAssignment_1(), "rule__XNumberLiteral__ValueAssignment_1"); - builder.put(grammarAccess.getXStringLiteralAccess().getValueAssignment_1(), "rule__XStringLiteral__ValueAssignment_1"); - builder.put(grammarAccess.getXTypeLiteralAccess().getTypeAssignment_3(), "rule__XTypeLiteral__TypeAssignment_3"); - builder.put(grammarAccess.getXTypeLiteralAccess().getArrayDimensionsAssignment_4(), "rule__XTypeLiteral__ArrayDimensionsAssignment_4"); - builder.put(grammarAccess.getXThrowExpressionAccess().getExpressionAssignment_2(), "rule__XThrowExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXReturnExpressionAccess().getExpressionAssignment_2(), "rule__XReturnExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionAssignment_2(), "rule__XTryCatchFinallyExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesAssignment_3_0_0(), "rule__XTryCatchFinallyExpression__CatchClausesAssignment_3_0_0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_0_1_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_1_1"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getParamAssignment_1(), "rule__XSynchronizedExpression__ParamAssignment_1"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getExpressionAssignment_3(), "rule__XSynchronizedExpression__ExpressionAssignment_3"); - builder.put(grammarAccess.getXCatchClauseAccess().getDeclaredParamAssignment_2(), "rule__XCatchClause__DeclaredParamAssignment_2"); - builder.put(grammarAccess.getXCatchClauseAccess().getExpressionAssignment_4(), "rule__XCatchClause__ExpressionAssignment_4"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionTypeRef__ReturnTypeAssignment_2"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0(), "rule__JvmParameterizedTypeReference__TypeAssignment_0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1(), "rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1"); - builder.put(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBound__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBoundAnded__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBound__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBoundAnded__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getNameAssignment_0(), "rule__JvmTypeParameter__NameAssignment_0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_0(), "rule__JvmTypeParameter__ConstraintsAssignment_1_0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_1(), "rule__JvmTypeParameter__ConstraintsAssignment_1_1"); - builder.put(grammarAccess.getXImportSectionAccess().getImportDeclarationsAssignment(), "rule__XImportSection__ImportDeclarationsAssignment"); - builder.put(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0(), "rule__XImportDeclaration__StaticAssignment_1_0_0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1(), "rule__XImportDeclaration__ExtensionAssignment_1_0_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2(), "rule__XImportDeclaration__ImportedTypeAssignment_1_0_2"); - builder.put(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0(), "rule__XImportDeclaration__WildcardAssignment_1_0_3_0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1(), "rule__XImportDeclaration__MemberNameAssignment_1_0_3_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1(), "rule__XImportDeclaration__ImportedTypeAssignment_1_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2(), "rule__XImportDeclaration__ImportedNamespaceAssignment_1_2"); + private static void init(Map mappings, Bug462047LangGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getXAssignmentAccess().getAlternatives(), "rule__XAssignment__Alternatives"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getAlternatives(), "rule__OpMultiAssign__Alternatives"); + mappings.put(grammarAccess.getOpEqualityAccess().getAlternatives(), "rule__OpEquality__Alternatives"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getAlternatives_1(), "rule__XRelationalExpression__Alternatives_1"); + mappings.put(grammarAccess.getOpCompareAccess().getAlternatives(), "rule__OpCompare__Alternatives"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives(), "rule__OpOther__Alternatives"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives_5_1(), "rule__OpOther__Alternatives_5_1"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives_6_1(), "rule__OpOther__Alternatives_6_1"); + mappings.put(grammarAccess.getOpAddAccess().getAlternatives(), "rule__OpAdd__Alternatives"); + mappings.put(grammarAccess.getOpMultiAccess().getAlternatives(), "rule__OpMulti__Alternatives"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getAlternatives(), "rule__XUnaryOperation__Alternatives"); + mappings.put(grammarAccess.getOpUnaryAccess().getAlternatives(), "rule__OpUnary__Alternatives"); + mappings.put(grammarAccess.getOpPostfixAccess().getAlternatives(), "rule__OpPostfix__Alternatives"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1(), "rule__XMemberFeatureCall__Alternatives_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_0_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_0_0_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_1_0_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_3_1(), "rule__XMemberFeatureCall__Alternatives_1_1_3_1"); + mappings.put(grammarAccess.getXPrimaryExpressionAccess().getAlternatives(), "rule__XPrimaryExpression__Alternatives"); + mappings.put(grammarAccess.getXLiteralAccess().getAlternatives(), "rule__XLiteral__Alternatives"); + mappings.put(grammarAccess.getXCollectionLiteralAccess().getAlternatives(), "rule__XCollectionLiteral__Alternatives"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2(), "rule__XSwitchExpression__Alternatives_2"); + mappings.put(grammarAccess.getXCasePartAccess().getAlternatives_3(), "rule__XCasePart__Alternatives_3"); + mappings.put(grammarAccess.getXExpressionOrVarDeclarationAccess().getAlternatives(), "rule__XExpressionOrVarDeclaration__Alternatives"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_1(), "rule__XVariableDeclaration__Alternatives_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_2(), "rule__XVariableDeclaration__Alternatives_2"); + mappings.put(grammarAccess.getXFeatureCallAccess().getAlternatives_3_1(), "rule__XFeatureCall__Alternatives_3_1"); + mappings.put(grammarAccess.getFeatureCallIDAccess().getAlternatives(), "rule__FeatureCallID__Alternatives"); + mappings.put(grammarAccess.getIdOrSuperAccess().getAlternatives(), "rule__IdOrSuper__Alternatives"); + mappings.put(grammarAccess.getXConstructorCallAccess().getAlternatives_4_1(), "rule__XConstructorCall__Alternatives_4_1"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1(), "rule__XBooleanLiteral__Alternatives_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_3(), "rule__XTryCatchFinallyExpression__Alternatives_3"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives(), "rule__Number__Alternatives"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives_1_0(), "rule__Number__Alternatives_1_0"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives_1_1_1(), "rule__Number__Alternatives_1_1_1"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getAlternatives(), "rule__JvmTypeReference__Alternatives"); + mappings.put(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives(), "rule__JvmArgumentTypeReference__Alternatives"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2(), "rule__JvmWildcardTypeReference__Alternatives_2"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1(), "rule__XImportDeclaration__Alternatives_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3(), "rule__XImportDeclaration__Alternatives_1_0_3"); + mappings.put(grammarAccess.getBug462047ElementAccess().getGroup(), "rule__Bug462047Element__Group__0"); + mappings.put(grammarAccess.getBug462047ElementAccess().getGroup_2(), "rule__Bug462047Element__Group_2__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_0(), "rule__XAssignment__Group_0__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1(), "rule__XAssignment__Group_1__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1(), "rule__XAssignment__Group_1_1__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0(), "rule__XAssignment__Group_1_1_0__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0_0(), "rule__XAssignment__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getGroup_5(), "rule__OpMultiAssign__Group_5__0"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getGroup_6(), "rule__OpMultiAssign__Group_6__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup(), "rule__XOrExpression__Group__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1(), "rule__XOrExpression__Group_1__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0(), "rule__XOrExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0_0(), "rule__XOrExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup(), "rule__XAndExpression__Group__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1(), "rule__XAndExpression__Group_1__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0(), "rule__XAndExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0_0(), "rule__XAndExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup(), "rule__XEqualityExpression__Group__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1(), "rule__XEqualityExpression__Group_1__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0(), "rule__XEqualityExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0_0(), "rule__XEqualityExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup(), "rule__XRelationalExpression__Group__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0(), "rule__XRelationalExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0(), "rule__XRelationalExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0_0(), "rule__XRelationalExpression__Group_1_0_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1(), "rule__XRelationalExpression__Group_1_1__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0(), "rule__XRelationalExpression__Group_1_1_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0_0(), "rule__XRelationalExpression__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getOpCompareAccess().getGroup_1(), "rule__OpCompare__Group_1__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup(), "rule__XOtherOperatorExpression__Group__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1(), "rule__XOtherOperatorExpression__Group_1__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0(), "rule__XOtherOperatorExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0_0(), "rule__XOtherOperatorExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_2(), "rule__OpOther__Group_2__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5(), "rule__OpOther__Group_5__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0(), "rule__OpOther__Group_5_1_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0_0(), "rule__OpOther__Group_5_1_0_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6(), "rule__OpOther__Group_6__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0(), "rule__OpOther__Group_6_1_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0_0(), "rule__OpOther__Group_6_1_0_0__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup(), "rule__XAdditiveExpression__Group__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1(), "rule__XAdditiveExpression__Group_1__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0(), "rule__XAdditiveExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0_0(), "rule__XAdditiveExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup(), "rule__XMultiplicativeExpression__Group__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1(), "rule__XMultiplicativeExpression__Group_1__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0(), "rule__XMultiplicativeExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0_0(), "rule__XMultiplicativeExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getGroup_0(), "rule__XUnaryOperation__Group_0__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup(), "rule__XCastedExpression__Group__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1(), "rule__XCastedExpression__Group_1__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0(), "rule__XCastedExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0_0(), "rule__XCastedExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup(), "rule__XPostfixOperation__Group__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup_1(), "rule__XPostfixOperation__Group_1__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup_1_0(), "rule__XPostfixOperation__Group_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup(), "rule__XMemberFeatureCall__Group__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0(), "rule__XMemberFeatureCall__Group_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0(), "rule__XMemberFeatureCall__Group_1_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0_0(), "rule__XMemberFeatureCall__Group_1_0_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1(), "rule__XMemberFeatureCall__Group_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0(), "rule__XMemberFeatureCall__Group_1_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0_0(), "rule__XMemberFeatureCall__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1_2(), "rule__XMemberFeatureCall__Group_1_1_1_2__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3(), "rule__XMemberFeatureCall__Group_1_1_3__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1_1__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup(), "rule__XSetLiteral__Group__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup_3(), "rule__XSetLiteral__Group_3__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup_3_1(), "rule__XSetLiteral__Group_3_1__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup(), "rule__XListLiteral__Group__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup_3(), "rule__XListLiteral__Group_3__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup_3_1(), "rule__XListLiteral__Group_3_1__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup(), "rule__XClosure__Group__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_0(), "rule__XClosure__Group_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_0_0(), "rule__XClosure__Group_0_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1(), "rule__XClosure__Group_1__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0(), "rule__XClosure__Group_1_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0_0(), "rule__XClosure__Group_1_0_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0_0_1(), "rule__XClosure__Group_1_0_0_1__0"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getGroup(), "rule__XExpressionInClosure__Group__0"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getGroup_1(), "rule__XExpressionInClosure__Group_1__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup(), "rule__XShortClosure__Group__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0(), "rule__XShortClosure__Group_0__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0(), "rule__XShortClosure__Group_0_0__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1(), "rule__XShortClosure__Group_0_0_1__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1_1(), "rule__XShortClosure__Group_0_0_1_1__0"); + mappings.put(grammarAccess.getXParenthesizedExpressionAccess().getGroup(), "rule__XParenthesizedExpression__Group__0"); + mappings.put(grammarAccess.getXIfExpressionAccess().getGroup(), "rule__XIfExpression__Group__0"); + mappings.put(grammarAccess.getXIfExpressionAccess().getGroup_6(), "rule__XIfExpression__Group_6__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup(), "rule__XSwitchExpression__Group__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0(), "rule__XSwitchExpression__Group_2_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0(), "rule__XSwitchExpression__Group_2_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0(), "rule__XSwitchExpression__Group_2_0_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1(), "rule__XSwitchExpression__Group_2_1__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0(), "rule__XSwitchExpression__Group_2_1_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0(), "rule__XSwitchExpression__Group_2_1_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_5(), "rule__XSwitchExpression__Group_5__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup(), "rule__XCasePart__Group__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup_2(), "rule__XCasePart__Group_2__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup_3_0(), "rule__XCasePart__Group_3_0__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup(), "rule__XForLoopExpression__Group__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0(), "rule__XForLoopExpression__Group_0__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0_0(), "rule__XForLoopExpression__Group_0_0__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup(), "rule__XBasicForLoopExpression__Group__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3(), "rule__XBasicForLoopExpression__Group_3__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3_1(), "rule__XBasicForLoopExpression__Group_3_1__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7(), "rule__XBasicForLoopExpression__Group_7__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7_1(), "rule__XBasicForLoopExpression__Group_7_1__0"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getGroup(), "rule__XWhileExpression__Group__0"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getGroup(), "rule__XDoWhileExpression__Group__0"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getGroup(), "rule__XBlockExpression__Group__0"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getGroup_2(), "rule__XBlockExpression__Group_2__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup(), "rule__XVariableDeclaration__Group__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0(), "rule__XVariableDeclaration__Group_2_0__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0_0(), "rule__XVariableDeclaration__Group_2_0_0__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_3(), "rule__XVariableDeclaration__Group_3__0"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getGroup(), "rule__JvmFormalParameter__Group__0"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getGroup(), "rule__FullJvmFormalParameter__Group__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup(), "rule__XFeatureCall__Group__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_1(), "rule__XFeatureCall__Group_1__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_1_2(), "rule__XFeatureCall__Group_1_2__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3(), "rule__XFeatureCall__Group_3__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1(), "rule__XFeatureCall__Group_3_1_1__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1_1(), "rule__XFeatureCall__Group_3_1_1_1__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup(), "rule__XConstructorCall__Group__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_3(), "rule__XConstructorCall__Group_3__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_3_2(), "rule__XConstructorCall__Group_3_2__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4(), "rule__XConstructorCall__Group_4__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1(), "rule__XConstructorCall__Group_4_1_1__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1_1(), "rule__XConstructorCall__Group_4_1_1_1__0"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getGroup(), "rule__XBooleanLiteral__Group__0"); + mappings.put(grammarAccess.getXNullLiteralAccess().getGroup(), "rule__XNullLiteral__Group__0"); + mappings.put(grammarAccess.getXNumberLiteralAccess().getGroup(), "rule__XNumberLiteral__Group__0"); + mappings.put(grammarAccess.getXStringLiteralAccess().getGroup(), "rule__XStringLiteral__Group__0"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getGroup(), "rule__XTypeLiteral__Group__0"); + mappings.put(grammarAccess.getXThrowExpressionAccess().getGroup(), "rule__XThrowExpression__Group__0"); + mappings.put(grammarAccess.getXReturnExpressionAccess().getGroup(), "rule__XReturnExpression__Group__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup(), "rule__XTryCatchFinallyExpression__Group__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0(), "rule__XTryCatchFinallyExpression__Group_3_0__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0_1(), "rule__XTryCatchFinallyExpression__Group_3_0_1__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_1(), "rule__XTryCatchFinallyExpression__Group_3_1__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup(), "rule__XSynchronizedExpression__Group__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0(), "rule__XSynchronizedExpression__Group_0__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0_0(), "rule__XSynchronizedExpression__Group_0_0__0"); + mappings.put(grammarAccess.getXCatchClauseAccess().getGroup(), "rule__XCatchClause__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); + mappings.put(grammarAccess.getNumberAccess().getGroup_1(), "rule__Number__Group_1__0"); + mappings.put(grammarAccess.getNumberAccess().getGroup_1_1(), "rule__Number__Group_1_1__0"); + mappings.put(grammarAccess.getStaticQualifierAccess().getGroup(), "rule__StaticQualifier__Group__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0(), "rule__JvmTypeReference__Group_0__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1(), "rule__JvmTypeReference__Group_0_1__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0(), "rule__JvmTypeReference__Group_0_1_0__0"); + mappings.put(grammarAccess.getArrayBracketsAccess().getGroup(), "rule__ArrayBrackets__Group__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup(), "rule__XFunctionTypeRef__Group__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0(), "rule__XFunctionTypeRef__Group_0__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1(), "rule__XFunctionTypeRef__Group_0_1__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1(), "rule__XFunctionTypeRef__Group_0_1_1__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup(), "rule__JvmParameterizedTypeReference__Group__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1(), "rule__JvmParameterizedTypeReference__Group_1__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2(), "rule__JvmParameterizedTypeReference__Group_1_2__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4(), "rule__JvmParameterizedTypeReference__Group_1_4__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup(), "rule__JvmWildcardTypeReference__Group__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0(), "rule__JvmWildcardTypeReference__Group_2_0__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1(), "rule__JvmWildcardTypeReference__Group_2_1__0"); + mappings.put(grammarAccess.getJvmUpperBoundAccess().getGroup(), "rule__JvmUpperBound__Group__0"); + mappings.put(grammarAccess.getJvmUpperBoundAndedAccess().getGroup(), "rule__JvmUpperBoundAnded__Group__0"); + mappings.put(grammarAccess.getJvmLowerBoundAccess().getGroup(), "rule__JvmLowerBound__Group__0"); + mappings.put(grammarAccess.getJvmLowerBoundAndedAccess().getGroup(), "rule__JvmLowerBoundAnded__Group__0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getGroup(), "rule__JvmTypeParameter__Group__0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getGroup_1(), "rule__JvmTypeParameter__Group_1__0"); + mappings.put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup(), "rule__QualifiedNameWithWildcard__Group__0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getGroup(), "rule__XImportDeclaration__Group__0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getGroup_1_0(), "rule__XImportDeclaration__Group_1_0__0"); + mappings.put(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup(), "rule__QualifiedNameInStaticImport__Group__0"); + mappings.put(grammarAccess.getBug462047RootAccess().getElementsAssignment(), "rule__Bug462047Root__ElementsAssignment"); + mappings.put(grammarAccess.getBug462047ElementAccess().getNameAssignment_1(), "rule__Bug462047Element__NameAssignment_1"); + mappings.put(grammarAccess.getBug462047ElementAccess().getRefAssignment_2_1(), "rule__Bug462047Element__RefAssignment_2_1"); + mappings.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_0_1(), "rule__XAssignment__FeatureAssignment_0_1"); + mappings.put(grammarAccess.getXAssignmentAccess().getValueAssignment_0_3(), "rule__XAssignment__ValueAssignment_0_3"); + mappings.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XAssignment__FeatureAssignment_1_1_0_0_1"); + mappings.put(grammarAccess.getXAssignmentAccess().getRightOperandAssignment_1_1_1(), "rule__XAssignment__RightOperandAssignment_1_1_1"); + mappings.put(grammarAccess.getXOrExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOrExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXOrExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOrExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXAndExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAndExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXAndExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAndExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XEqualityExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getRightOperandAssignment_1_1(), "rule__XEqualityExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getTypeAssignment_1_0_1(), "rule__XRelationalExpression__TypeAssignment_1_0_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XRelationalExpression__FeatureAssignment_1_1_0_0_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getRightOperandAssignment_1_1_1(), "rule__XRelationalExpression__RightOperandAssignment_1_1_1"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOtherOperatorExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOtherOperatorExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAdditiveExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAdditiveExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XMultiplicativeExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandAssignment_1_1(), "rule__XMultiplicativeExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getFeatureAssignment_0_1(), "rule__XUnaryOperation__FeatureAssignment_0_1"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getOperandAssignment_0_2(), "rule__XUnaryOperation__OperandAssignment_0_2"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getTypeAssignment_1_1(), "rule__XCastedExpression__TypeAssignment_1_1"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getFeatureAssignment_1_0_1(), "rule__XPostfixOperation__FeatureAssignment_1_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_0_0_0_1_1(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_0_0_0_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_0_0_0_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getValueAssignment_1_0_1(), "rule__XMemberFeatureCall__ValueAssignment_1_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getNullSafeAssignment_1_1_0_0_1_1(), "rule__XMemberFeatureCall__NullSafeAssignment_1_1_0_0_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_1_0_0_1_2(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_1_0_0_1_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_2_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_2_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_1_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_1_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallAssignment_1_1_3_0(), "rule__XMemberFeatureCall__ExplicitOperationCallAssignment_1_1_3_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_1_1(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_4(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4"); + mappings.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_0(), "rule__XSetLiteral__ElementsAssignment_3_0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_1_1(), "rule__XSetLiteral__ElementsAssignment_3_1_1"); + mappings.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_0(), "rule__XListLiteral__ElementsAssignment_3_0"); + mappings.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_1_1(), "rule__XListLiteral__ElementsAssignment_3_1_1"); + mappings.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_0(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_0"); + mappings.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_1_1(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_1_1"); + mappings.put(grammarAccess.getXClosureAccess().getExplicitSyntaxAssignment_1_0_1(), "rule__XClosure__ExplicitSyntaxAssignment_1_0_1"); + mappings.put(grammarAccess.getXClosureAccess().getExpressionAssignment_2(), "rule__XClosure__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getExpressionsAssignment_1_0(), "rule__XExpressionInClosure__ExpressionsAssignment_1_0"); + mappings.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_0(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0"); + mappings.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_1_1(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1"); + mappings.put(grammarAccess.getXShortClosureAccess().getExplicitSyntaxAssignment_0_0_2(), "rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2"); + mappings.put(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1(), "rule__XShortClosure__ExpressionAssignment_1"); + mappings.put(grammarAccess.getXIfExpressionAccess().getIfAssignment_3(), "rule__XIfExpression__IfAssignment_3"); + mappings.put(grammarAccess.getXIfExpressionAccess().getThenAssignment_5(), "rule__XIfExpression__ThenAssignment_5"); + mappings.put(grammarAccess.getXIfExpressionAccess().getElseAssignment_6_1(), "rule__XIfExpression__ElseAssignment_6_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_0_0_0_1(), "rule__XSwitchExpression__DeclaredParamAssignment_2_0_0_0_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1(), "rule__XSwitchExpression__SwitchAssignment_2_0_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_1_0_0_0(), "rule__XSwitchExpression__DeclaredParamAssignment_2_1_0_0_0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1(), "rule__XSwitchExpression__SwitchAssignment_2_1_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4(), "rule__XSwitchExpression__CasesAssignment_4"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDefaultAssignment_5_2(), "rule__XSwitchExpression__DefaultAssignment_5_2"); + mappings.put(grammarAccess.getXCasePartAccess().getTypeGuardAssignment_1(), "rule__XCasePart__TypeGuardAssignment_1"); + mappings.put(grammarAccess.getXCasePartAccess().getCaseAssignment_2_1(), "rule__XCasePart__CaseAssignment_2_1"); + mappings.put(grammarAccess.getXCasePartAccess().getThenAssignment_3_0_1(), "rule__XCasePart__ThenAssignment_3_0_1"); + mappings.put(grammarAccess.getXCasePartAccess().getFallThroughAssignment_3_1(), "rule__XCasePart__FallThroughAssignment_3_1"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamAssignment_0_0_3(), "rule__XForLoopExpression__DeclaredParamAssignment_0_0_3"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getForExpressionAssignment_1(), "rule__XForLoopExpression__ForExpressionAssignment_1"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getEachExpressionAssignment_3(), "rule__XForLoopExpression__EachExpressionAssignment_3"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_0(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_1_1(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_1_1"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getExpressionAssignment_5(), "rule__XBasicForLoopExpression__ExpressionAssignment_5"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_0(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_1_1(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_1_1"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getEachExpressionAssignment_9(), "rule__XBasicForLoopExpression__EachExpressionAssignment_9"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getPredicateAssignment_3(), "rule__XWhileExpression__PredicateAssignment_3"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getBodyAssignment_5(), "rule__XWhileExpression__BodyAssignment_5"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getBodyAssignment_2(), "rule__XDoWhileExpression__BodyAssignment_2"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getPredicateAssignment_5(), "rule__XDoWhileExpression__PredicateAssignment_5"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__XBlockExpression__ExpressionsAssignment_2_0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getWriteableAssignment_1_0(), "rule__XVariableDeclaration__WriteableAssignment_1_0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getTypeAssignment_2_0_0_0(), "rule__XVariableDeclaration__TypeAssignment_2_0_0_0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_0_0_1(), "rule__XVariableDeclaration__NameAssignment_2_0_0_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_1(), "rule__XVariableDeclaration__NameAssignment_2_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getRightAssignment_3_1(), "rule__XVariableDeclaration__RightAssignment_3_1"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__JvmFormalParameter__ParameterTypeAssignment_0"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getNameAssignment_1(), "rule__JvmFormalParameter__NameAssignment_1"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__FullJvmFormalParameter__ParameterTypeAssignment_0"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getNameAssignment_1(), "rule__FullJvmFormalParameter__NameAssignment_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_2_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_2_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureAssignment_2(), "rule__XFeatureCall__FeatureAssignment_2"); + mappings.put(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallAssignment_3_0(), "rule__XFeatureCall__ExplicitOperationCallAssignment_3_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_1_1(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_4"); + mappings.put(grammarAccess.getXConstructorCallAccess().getConstructorAssignment_2(), "rule__XConstructorCall__ConstructorAssignment_2"); + mappings.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_2_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_2_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getExplicitConstructorCallAssignment_4_0(), "rule__XConstructorCall__ExplicitConstructorCallAssignment_4_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_1_1(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_1_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_5(), "rule__XConstructorCall__ArgumentsAssignment_5"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1(), "rule__XBooleanLiteral__IsTrueAssignment_1_1"); + mappings.put(grammarAccess.getXNumberLiteralAccess().getValueAssignment_1(), "rule__XNumberLiteral__ValueAssignment_1"); + mappings.put(grammarAccess.getXStringLiteralAccess().getValueAssignment_1(), "rule__XStringLiteral__ValueAssignment_1"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getTypeAssignment_3(), "rule__XTypeLiteral__TypeAssignment_3"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getArrayDimensionsAssignment_4(), "rule__XTypeLiteral__ArrayDimensionsAssignment_4"); + mappings.put(grammarAccess.getXThrowExpressionAccess().getExpressionAssignment_2(), "rule__XThrowExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXReturnExpressionAccess().getExpressionAssignment_2(), "rule__XReturnExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionAssignment_2(), "rule__XTryCatchFinallyExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesAssignment_3_0_0(), "rule__XTryCatchFinallyExpression__CatchClausesAssignment_3_0_0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_0_1_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_1_1"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getParamAssignment_1(), "rule__XSynchronizedExpression__ParamAssignment_1"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getExpressionAssignment_3(), "rule__XSynchronizedExpression__ExpressionAssignment_3"); + mappings.put(grammarAccess.getXCatchClauseAccess().getDeclaredParamAssignment_2(), "rule__XCatchClause__DeclaredParamAssignment_2"); + mappings.put(grammarAccess.getXCatchClauseAccess().getExpressionAssignment_4(), "rule__XCatchClause__ExpressionAssignment_4"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionTypeRef__ReturnTypeAssignment_2"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0(), "rule__JvmParameterizedTypeReference__TypeAssignment_0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1(), "rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1"); + mappings.put(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBound__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBoundAnded__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBound__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBoundAnded__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getNameAssignment_0(), "rule__JvmTypeParameter__NameAssignment_0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_0(), "rule__JvmTypeParameter__ConstraintsAssignment_1_0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_1(), "rule__JvmTypeParameter__ConstraintsAssignment_1_1"); + mappings.put(grammarAccess.getXImportSectionAccess().getImportDeclarationsAssignment(), "rule__XImportSection__ImportDeclarationsAssignment"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0(), "rule__XImportDeclaration__StaticAssignment_1_0_0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1(), "rule__XImportDeclaration__ExtensionAssignment_1_0_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2(), "rule__XImportDeclaration__ImportedTypeAssignment_1_0_2"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0(), "rule__XImportDeclaration__WildcardAssignment_1_0_3_0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1(), "rule__XImportDeclaration__MemberNameAssignment_1_0_3_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1(), "rule__XImportDeclaration__ImportedTypeAssignment_1_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2(), "rule__XImportDeclaration__ImportedNamespaceAssignment_1_2"); } } diff --git a/org.eclipse.xtext.xbase.testlanguages.ide/src-gen/org/eclipse/xtext/xbase/testlanguages/ide/contentassist/antlr/ContentAssistFragmentTestLangParser.java b/org.eclipse.xtext.xbase.testlanguages.ide/src-gen/org/eclipse/xtext/xbase/testlanguages/ide/contentassist/antlr/ContentAssistFragmentTestLangParser.java index da525bf3d53..d9f006dc165 100644 --- a/org.eclipse.xtext.xbase.testlanguages.ide/src-gen/org/eclipse/xtext/xbase/testlanguages/ide/contentassist/antlr/ContentAssistFragmentTestLangParser.java +++ b/org.eclipse.xtext.xbase.testlanguages.ide/src-gen/org/eclipse/xtext/xbase/testlanguages/ide/contentassist/antlr/ContentAssistFragmentTestLangParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.xbase.testlanguages.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,385 +26,385 @@ public static final class NameMappings { @Inject public NameMappings(ContentAssistFragmentTestLangGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, ContentAssistFragmentTestLangGrammarAccess grammarAccess) { - builder.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_1(), "rule__XVariableDeclaration__Alternatives_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_2(), "rule__XVariableDeclaration__Alternatives_2"); - builder.put(grammarAccess.getXAssignmentAccess().getAlternatives(), "rule__XAssignment__Alternatives"); - builder.put(grammarAccess.getOpMultiAssignAccess().getAlternatives(), "rule__OpMultiAssign__Alternatives"); - builder.put(grammarAccess.getOpEqualityAccess().getAlternatives(), "rule__OpEquality__Alternatives"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getAlternatives_1(), "rule__XRelationalExpression__Alternatives_1"); - builder.put(grammarAccess.getOpCompareAccess().getAlternatives(), "rule__OpCompare__Alternatives"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives(), "rule__OpOther__Alternatives"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives_5_1(), "rule__OpOther__Alternatives_5_1"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives_6_1(), "rule__OpOther__Alternatives_6_1"); - builder.put(grammarAccess.getOpAddAccess().getAlternatives(), "rule__OpAdd__Alternatives"); - builder.put(grammarAccess.getOpMultiAccess().getAlternatives(), "rule__OpMulti__Alternatives"); - builder.put(grammarAccess.getXUnaryOperationAccess().getAlternatives(), "rule__XUnaryOperation__Alternatives"); - builder.put(grammarAccess.getOpUnaryAccess().getAlternatives(), "rule__OpUnary__Alternatives"); - builder.put(grammarAccess.getOpPostfixAccess().getAlternatives(), "rule__OpPostfix__Alternatives"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1(), "rule__XMemberFeatureCall__Alternatives_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_0_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_0_0_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_1_0_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_3_1(), "rule__XMemberFeatureCall__Alternatives_1_1_3_1"); - builder.put(grammarAccess.getXPrimaryExpressionAccess().getAlternatives(), "rule__XPrimaryExpression__Alternatives"); - builder.put(grammarAccess.getXLiteralAccess().getAlternatives(), "rule__XLiteral__Alternatives"); - builder.put(grammarAccess.getXCollectionLiteralAccess().getAlternatives(), "rule__XCollectionLiteral__Alternatives"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2(), "rule__XSwitchExpression__Alternatives_2"); - builder.put(grammarAccess.getXCasePartAccess().getAlternatives_3(), "rule__XCasePart__Alternatives_3"); - builder.put(grammarAccess.getXExpressionOrVarDeclarationAccess().getAlternatives(), "rule__XExpressionOrVarDeclaration__Alternatives"); - builder.put(grammarAccess.getXFeatureCallAccess().getAlternatives_3_1(), "rule__XFeatureCall__Alternatives_3_1"); - builder.put(grammarAccess.getFeatureCallIDAccess().getAlternatives(), "rule__FeatureCallID__Alternatives"); - builder.put(grammarAccess.getIdOrSuperAccess().getAlternatives(), "rule__IdOrSuper__Alternatives"); - builder.put(grammarAccess.getXConstructorCallAccess().getAlternatives_4_1(), "rule__XConstructorCall__Alternatives_4_1"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1(), "rule__XBooleanLiteral__Alternatives_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_3(), "rule__XTryCatchFinallyExpression__Alternatives_3"); - builder.put(grammarAccess.getNumberAccess().getAlternatives(), "rule__Number__Alternatives"); - builder.put(grammarAccess.getNumberAccess().getAlternatives_1_0(), "rule__Number__Alternatives_1_0"); - builder.put(grammarAccess.getNumberAccess().getAlternatives_1_1_1(), "rule__Number__Alternatives_1_1_1"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getAlternatives(), "rule__JvmTypeReference__Alternatives"); - builder.put(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives(), "rule__JvmArgumentTypeReference__Alternatives"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2(), "rule__JvmWildcardTypeReference__Alternatives_2"); - builder.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1(), "rule__XImportDeclaration__Alternatives_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3(), "rule__XImportDeclaration__Alternatives_1_0_3"); - builder.put(grammarAccess.getContentAssistFragmentTestLanguageRootAccess().getGroup(), "rule__ContentAssistFragmentTestLanguageRoot__Group__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup(), "rule__XVariableDeclaration__Group__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0(), "rule__XVariableDeclaration__Group_2_0__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0_0(), "rule__XVariableDeclaration__Group_2_0_0__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_3(), "rule__XVariableDeclaration__Group_3__0"); - builder.put(grammarAccess.getEntityAccess().getGroup(), "rule__Entity__Group__0"); - builder.put(grammarAccess.getEntityAccess().getGroup_2(), "rule__Entity__Group_2__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_0(), "rule__XAssignment__Group_0__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1(), "rule__XAssignment__Group_1__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1(), "rule__XAssignment__Group_1_1__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0(), "rule__XAssignment__Group_1_1_0__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0_0(), "rule__XAssignment__Group_1_1_0_0__0"); - builder.put(grammarAccess.getOpMultiAssignAccess().getGroup_5(), "rule__OpMultiAssign__Group_5__0"); - builder.put(grammarAccess.getOpMultiAssignAccess().getGroup_6(), "rule__OpMultiAssign__Group_6__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup(), "rule__XOrExpression__Group__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1(), "rule__XOrExpression__Group_1__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0(), "rule__XOrExpression__Group_1_0__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0_0(), "rule__XOrExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup(), "rule__XAndExpression__Group__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1(), "rule__XAndExpression__Group_1__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0(), "rule__XAndExpression__Group_1_0__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0_0(), "rule__XAndExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup(), "rule__XEqualityExpression__Group__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1(), "rule__XEqualityExpression__Group_1__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0(), "rule__XEqualityExpression__Group_1_0__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0_0(), "rule__XEqualityExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup(), "rule__XRelationalExpression__Group__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0(), "rule__XRelationalExpression__Group_1_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0(), "rule__XRelationalExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0_0(), "rule__XRelationalExpression__Group_1_0_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1(), "rule__XRelationalExpression__Group_1_1__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0(), "rule__XRelationalExpression__Group_1_1_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0_0(), "rule__XRelationalExpression__Group_1_1_0_0__0"); - builder.put(grammarAccess.getOpCompareAccess().getGroup_1(), "rule__OpCompare__Group_1__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup(), "rule__XOtherOperatorExpression__Group__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1(), "rule__XOtherOperatorExpression__Group_1__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0(), "rule__XOtherOperatorExpression__Group_1_0__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0_0(), "rule__XOtherOperatorExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_2(), "rule__OpOther__Group_2__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5(), "rule__OpOther__Group_5__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0(), "rule__OpOther__Group_5_1_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0_0(), "rule__OpOther__Group_5_1_0_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6(), "rule__OpOther__Group_6__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0(), "rule__OpOther__Group_6_1_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0_0(), "rule__OpOther__Group_6_1_0_0__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup(), "rule__XAdditiveExpression__Group__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1(), "rule__XAdditiveExpression__Group_1__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0(), "rule__XAdditiveExpression__Group_1_0__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0_0(), "rule__XAdditiveExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup(), "rule__XMultiplicativeExpression__Group__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1(), "rule__XMultiplicativeExpression__Group_1__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0(), "rule__XMultiplicativeExpression__Group_1_0__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0_0(), "rule__XMultiplicativeExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXUnaryOperationAccess().getGroup_0(), "rule__XUnaryOperation__Group_0__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup(), "rule__XCastedExpression__Group__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1(), "rule__XCastedExpression__Group_1__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0(), "rule__XCastedExpression__Group_1_0__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0_0(), "rule__XCastedExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup(), "rule__XPostfixOperation__Group__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup_1(), "rule__XPostfixOperation__Group_1__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup_1_0(), "rule__XPostfixOperation__Group_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup(), "rule__XMemberFeatureCall__Group__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0(), "rule__XMemberFeatureCall__Group_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0(), "rule__XMemberFeatureCall__Group_1_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0_0(), "rule__XMemberFeatureCall__Group_1_0_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1(), "rule__XMemberFeatureCall__Group_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0(), "rule__XMemberFeatureCall__Group_1_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0_0(), "rule__XMemberFeatureCall__Group_1_1_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1_2(), "rule__XMemberFeatureCall__Group_1_1_1_2__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3(), "rule__XMemberFeatureCall__Group_1_1_3__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1_1__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup(), "rule__XSetLiteral__Group__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup_3(), "rule__XSetLiteral__Group_3__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup_3_1(), "rule__XSetLiteral__Group_3_1__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup(), "rule__XListLiteral__Group__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup_3(), "rule__XListLiteral__Group_3__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup_3_1(), "rule__XListLiteral__Group_3_1__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup(), "rule__XClosure__Group__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_0(), "rule__XClosure__Group_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_0_0(), "rule__XClosure__Group_0_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1(), "rule__XClosure__Group_1__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0(), "rule__XClosure__Group_1_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0_0(), "rule__XClosure__Group_1_0_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0_0_1(), "rule__XClosure__Group_1_0_0_1__0"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getGroup(), "rule__XExpressionInClosure__Group__0"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getGroup_1(), "rule__XExpressionInClosure__Group_1__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup(), "rule__XShortClosure__Group__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0(), "rule__XShortClosure__Group_0__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0(), "rule__XShortClosure__Group_0_0__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1(), "rule__XShortClosure__Group_0_0_1__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1_1(), "rule__XShortClosure__Group_0_0_1_1__0"); - builder.put(grammarAccess.getXParenthesizedExpressionAccess().getGroup(), "rule__XParenthesizedExpression__Group__0"); - builder.put(grammarAccess.getXIfExpressionAccess().getGroup(), "rule__XIfExpression__Group__0"); - builder.put(grammarAccess.getXIfExpressionAccess().getGroup_6(), "rule__XIfExpression__Group_6__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup(), "rule__XSwitchExpression__Group__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0(), "rule__XSwitchExpression__Group_2_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0(), "rule__XSwitchExpression__Group_2_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0(), "rule__XSwitchExpression__Group_2_0_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1(), "rule__XSwitchExpression__Group_2_1__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0(), "rule__XSwitchExpression__Group_2_1_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0(), "rule__XSwitchExpression__Group_2_1_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_5(), "rule__XSwitchExpression__Group_5__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup(), "rule__XCasePart__Group__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup_2(), "rule__XCasePart__Group_2__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup_3_0(), "rule__XCasePart__Group_3_0__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup(), "rule__XForLoopExpression__Group__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0(), "rule__XForLoopExpression__Group_0__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0_0(), "rule__XForLoopExpression__Group_0_0__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup(), "rule__XBasicForLoopExpression__Group__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3(), "rule__XBasicForLoopExpression__Group_3__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3_1(), "rule__XBasicForLoopExpression__Group_3_1__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7(), "rule__XBasicForLoopExpression__Group_7__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7_1(), "rule__XBasicForLoopExpression__Group_7_1__0"); - builder.put(grammarAccess.getXWhileExpressionAccess().getGroup(), "rule__XWhileExpression__Group__0"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getGroup(), "rule__XDoWhileExpression__Group__0"); - builder.put(grammarAccess.getXBlockExpressionAccess().getGroup(), "rule__XBlockExpression__Group__0"); - builder.put(grammarAccess.getXBlockExpressionAccess().getGroup_2(), "rule__XBlockExpression__Group_2__0"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getGroup(), "rule__JvmFormalParameter__Group__0"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getGroup(), "rule__FullJvmFormalParameter__Group__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup(), "rule__XFeatureCall__Group__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_1(), "rule__XFeatureCall__Group_1__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_1_2(), "rule__XFeatureCall__Group_1_2__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3(), "rule__XFeatureCall__Group_3__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1(), "rule__XFeatureCall__Group_3_1_1__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1_1(), "rule__XFeatureCall__Group_3_1_1_1__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup(), "rule__XConstructorCall__Group__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_3(), "rule__XConstructorCall__Group_3__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_3_2(), "rule__XConstructorCall__Group_3_2__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4(), "rule__XConstructorCall__Group_4__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1(), "rule__XConstructorCall__Group_4_1_1__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1_1(), "rule__XConstructorCall__Group_4_1_1_1__0"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getGroup(), "rule__XBooleanLiteral__Group__0"); - builder.put(grammarAccess.getXNullLiteralAccess().getGroup(), "rule__XNullLiteral__Group__0"); - builder.put(grammarAccess.getXNumberLiteralAccess().getGroup(), "rule__XNumberLiteral__Group__0"); - builder.put(grammarAccess.getXStringLiteralAccess().getGroup(), "rule__XStringLiteral__Group__0"); - builder.put(grammarAccess.getXTypeLiteralAccess().getGroup(), "rule__XTypeLiteral__Group__0"); - builder.put(grammarAccess.getXThrowExpressionAccess().getGroup(), "rule__XThrowExpression__Group__0"); - builder.put(grammarAccess.getXReturnExpressionAccess().getGroup(), "rule__XReturnExpression__Group__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup(), "rule__XTryCatchFinallyExpression__Group__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0(), "rule__XTryCatchFinallyExpression__Group_3_0__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0_1(), "rule__XTryCatchFinallyExpression__Group_3_0_1__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_1(), "rule__XTryCatchFinallyExpression__Group_3_1__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup(), "rule__XSynchronizedExpression__Group__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0(), "rule__XSynchronizedExpression__Group_0__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0_0(), "rule__XSynchronizedExpression__Group_0_0__0"); - builder.put(grammarAccess.getXCatchClauseAccess().getGroup(), "rule__XCatchClause__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); - builder.put(grammarAccess.getNumberAccess().getGroup_1(), "rule__Number__Group_1__0"); - builder.put(grammarAccess.getNumberAccess().getGroup_1_1(), "rule__Number__Group_1_1__0"); - builder.put(grammarAccess.getStaticQualifierAccess().getGroup(), "rule__StaticQualifier__Group__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0(), "rule__JvmTypeReference__Group_0__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1(), "rule__JvmTypeReference__Group_0_1__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0(), "rule__JvmTypeReference__Group_0_1_0__0"); - builder.put(grammarAccess.getArrayBracketsAccess().getGroup(), "rule__ArrayBrackets__Group__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup(), "rule__XFunctionTypeRef__Group__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0(), "rule__XFunctionTypeRef__Group_0__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1(), "rule__XFunctionTypeRef__Group_0_1__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1(), "rule__XFunctionTypeRef__Group_0_1_1__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup(), "rule__JvmParameterizedTypeReference__Group__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1(), "rule__JvmParameterizedTypeReference__Group_1__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2(), "rule__JvmParameterizedTypeReference__Group_1_2__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4(), "rule__JvmParameterizedTypeReference__Group_1_4__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup(), "rule__JvmWildcardTypeReference__Group__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0(), "rule__JvmWildcardTypeReference__Group_2_0__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1(), "rule__JvmWildcardTypeReference__Group_2_1__0"); - builder.put(grammarAccess.getJvmUpperBoundAccess().getGroup(), "rule__JvmUpperBound__Group__0"); - builder.put(grammarAccess.getJvmUpperBoundAndedAccess().getGroup(), "rule__JvmUpperBoundAnded__Group__0"); - builder.put(grammarAccess.getJvmLowerBoundAccess().getGroup(), "rule__JvmLowerBound__Group__0"); - builder.put(grammarAccess.getJvmLowerBoundAndedAccess().getGroup(), "rule__JvmLowerBoundAnded__Group__0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getGroup(), "rule__JvmTypeParameter__Group__0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getGroup_1(), "rule__JvmTypeParameter__Group_1__0"); - builder.put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup(), "rule__QualifiedNameWithWildcard__Group__0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getGroup(), "rule__XImportDeclaration__Group__0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getGroup_1_0(), "rule__XImportDeclaration__Group_1_0__0"); - builder.put(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup(), "rule__QualifiedNameInStaticImport__Group__0"); - builder.put(grammarAccess.getContentAssistFragmentTestLanguageRootAccess().getExpressionAssignment_0(), "rule__ContentAssistFragmentTestLanguageRoot__ExpressionAssignment_0"); - builder.put(grammarAccess.getContentAssistFragmentTestLanguageRootAccess().getEntitiesAssignment_1(), "rule__ContentAssistFragmentTestLanguageRoot__EntitiesAssignment_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getWriteableAssignment_1_0(), "rule__XVariableDeclaration__WriteableAssignment_1_0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getTypeAssignment_2_0_0_0(), "rule__XVariableDeclaration__TypeAssignment_2_0_0_0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_0_0_1(), "rule__XVariableDeclaration__NameAssignment_2_0_0_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_1(), "rule__XVariableDeclaration__NameAssignment_2_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getRightAssignment_3_1(), "rule__XVariableDeclaration__RightAssignment_3_1"); - builder.put(grammarAccess.getEntityAccess().getNameAssignment_1(), "rule__Entity__NameAssignment_1"); - builder.put(grammarAccess.getEntityAccess().getExtendsAssignment_2_1(), "rule__Entity__ExtendsAssignment_2_1"); - builder.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_0_1(), "rule__XAssignment__FeatureAssignment_0_1"); - builder.put(grammarAccess.getXAssignmentAccess().getValueAssignment_0_3(), "rule__XAssignment__ValueAssignment_0_3"); - builder.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XAssignment__FeatureAssignment_1_1_0_0_1"); - builder.put(grammarAccess.getXAssignmentAccess().getRightOperandAssignment_1_1_1(), "rule__XAssignment__RightOperandAssignment_1_1_1"); - builder.put(grammarAccess.getXOrExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOrExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXOrExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOrExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXAndExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAndExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXAndExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAndExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XEqualityExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getRightOperandAssignment_1_1(), "rule__XEqualityExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getTypeAssignment_1_0_1(), "rule__XRelationalExpression__TypeAssignment_1_0_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XRelationalExpression__FeatureAssignment_1_1_0_0_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getRightOperandAssignment_1_1_1(), "rule__XRelationalExpression__RightOperandAssignment_1_1_1"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOtherOperatorExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOtherOperatorExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAdditiveExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAdditiveExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XMultiplicativeExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandAssignment_1_1(), "rule__XMultiplicativeExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXUnaryOperationAccess().getFeatureAssignment_0_1(), "rule__XUnaryOperation__FeatureAssignment_0_1"); - builder.put(grammarAccess.getXUnaryOperationAccess().getOperandAssignment_0_2(), "rule__XUnaryOperation__OperandAssignment_0_2"); - builder.put(grammarAccess.getXCastedExpressionAccess().getTypeAssignment_1_1(), "rule__XCastedExpression__TypeAssignment_1_1"); - builder.put(grammarAccess.getXPostfixOperationAccess().getFeatureAssignment_1_0_1(), "rule__XPostfixOperation__FeatureAssignment_1_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_0_0_0_1_1(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_0_0_0_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_0_0_0_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getValueAssignment_1_0_1(), "rule__XMemberFeatureCall__ValueAssignment_1_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getNullSafeAssignment_1_1_0_0_1_1(), "rule__XMemberFeatureCall__NullSafeAssignment_1_1_0_0_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_1_0_0_1_2(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_1_0_0_1_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_2_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_2_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_1_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_1_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallAssignment_1_1_3_0(), "rule__XMemberFeatureCall__ExplicitOperationCallAssignment_1_1_3_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_1_1(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_4(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4"); - builder.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_0(), "rule__XSetLiteral__ElementsAssignment_3_0"); - builder.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_1_1(), "rule__XSetLiteral__ElementsAssignment_3_1_1"); - builder.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_0(), "rule__XListLiteral__ElementsAssignment_3_0"); - builder.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_1_1(), "rule__XListLiteral__ElementsAssignment_3_1_1"); - builder.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_0(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_0"); - builder.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_1_1(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_1_1"); - builder.put(grammarAccess.getXClosureAccess().getExplicitSyntaxAssignment_1_0_1(), "rule__XClosure__ExplicitSyntaxAssignment_1_0_1"); - builder.put(grammarAccess.getXClosureAccess().getExpressionAssignment_2(), "rule__XClosure__ExpressionAssignment_2"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getExpressionsAssignment_1_0(), "rule__XExpressionInClosure__ExpressionsAssignment_1_0"); - builder.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_0(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0"); - builder.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_1_1(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1"); - builder.put(grammarAccess.getXShortClosureAccess().getExplicitSyntaxAssignment_0_0_2(), "rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2"); - builder.put(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1(), "rule__XShortClosure__ExpressionAssignment_1"); - builder.put(grammarAccess.getXIfExpressionAccess().getIfAssignment_3(), "rule__XIfExpression__IfAssignment_3"); - builder.put(grammarAccess.getXIfExpressionAccess().getThenAssignment_5(), "rule__XIfExpression__ThenAssignment_5"); - builder.put(grammarAccess.getXIfExpressionAccess().getElseAssignment_6_1(), "rule__XIfExpression__ElseAssignment_6_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_0_0_0_1(), "rule__XSwitchExpression__DeclaredParamAssignment_2_0_0_0_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1(), "rule__XSwitchExpression__SwitchAssignment_2_0_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_1_0_0_0(), "rule__XSwitchExpression__DeclaredParamAssignment_2_1_0_0_0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1(), "rule__XSwitchExpression__SwitchAssignment_2_1_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4(), "rule__XSwitchExpression__CasesAssignment_4"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDefaultAssignment_5_2(), "rule__XSwitchExpression__DefaultAssignment_5_2"); - builder.put(grammarAccess.getXCasePartAccess().getTypeGuardAssignment_1(), "rule__XCasePart__TypeGuardAssignment_1"); - builder.put(grammarAccess.getXCasePartAccess().getCaseAssignment_2_1(), "rule__XCasePart__CaseAssignment_2_1"); - builder.put(grammarAccess.getXCasePartAccess().getThenAssignment_3_0_1(), "rule__XCasePart__ThenAssignment_3_0_1"); - builder.put(grammarAccess.getXCasePartAccess().getFallThroughAssignment_3_1(), "rule__XCasePart__FallThroughAssignment_3_1"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamAssignment_0_0_3(), "rule__XForLoopExpression__DeclaredParamAssignment_0_0_3"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getForExpressionAssignment_1(), "rule__XForLoopExpression__ForExpressionAssignment_1"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getEachExpressionAssignment_3(), "rule__XForLoopExpression__EachExpressionAssignment_3"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_0(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_1_1(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_1_1"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getExpressionAssignment_5(), "rule__XBasicForLoopExpression__ExpressionAssignment_5"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_0(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_1_1(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_1_1"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getEachExpressionAssignment_9(), "rule__XBasicForLoopExpression__EachExpressionAssignment_9"); - builder.put(grammarAccess.getXWhileExpressionAccess().getPredicateAssignment_3(), "rule__XWhileExpression__PredicateAssignment_3"); - builder.put(grammarAccess.getXWhileExpressionAccess().getBodyAssignment_5(), "rule__XWhileExpression__BodyAssignment_5"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getBodyAssignment_2(), "rule__XDoWhileExpression__BodyAssignment_2"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getPredicateAssignment_5(), "rule__XDoWhileExpression__PredicateAssignment_5"); - builder.put(grammarAccess.getXBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__XBlockExpression__ExpressionsAssignment_2_0"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__JvmFormalParameter__ParameterTypeAssignment_0"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getNameAssignment_1(), "rule__JvmFormalParameter__NameAssignment_1"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__FullJvmFormalParameter__ParameterTypeAssignment_0"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getNameAssignment_1(), "rule__FullJvmFormalParameter__NameAssignment_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_2_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_2_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureAssignment_2(), "rule__XFeatureCall__FeatureAssignment_2"); - builder.put(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallAssignment_3_0(), "rule__XFeatureCall__ExplicitOperationCallAssignment_3_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_1_1(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_4"); - builder.put(grammarAccess.getXConstructorCallAccess().getConstructorAssignment_2(), "rule__XConstructorCall__ConstructorAssignment_2"); - builder.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_2_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_2_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getExplicitConstructorCallAssignment_4_0(), "rule__XConstructorCall__ExplicitConstructorCallAssignment_4_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_1_1(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_1_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_5(), "rule__XConstructorCall__ArgumentsAssignment_5"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1(), "rule__XBooleanLiteral__IsTrueAssignment_1_1"); - builder.put(grammarAccess.getXNumberLiteralAccess().getValueAssignment_1(), "rule__XNumberLiteral__ValueAssignment_1"); - builder.put(grammarAccess.getXStringLiteralAccess().getValueAssignment_1(), "rule__XStringLiteral__ValueAssignment_1"); - builder.put(grammarAccess.getXTypeLiteralAccess().getTypeAssignment_3(), "rule__XTypeLiteral__TypeAssignment_3"); - builder.put(grammarAccess.getXTypeLiteralAccess().getArrayDimensionsAssignment_4(), "rule__XTypeLiteral__ArrayDimensionsAssignment_4"); - builder.put(grammarAccess.getXThrowExpressionAccess().getExpressionAssignment_2(), "rule__XThrowExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXReturnExpressionAccess().getExpressionAssignment_2(), "rule__XReturnExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionAssignment_2(), "rule__XTryCatchFinallyExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesAssignment_3_0_0(), "rule__XTryCatchFinallyExpression__CatchClausesAssignment_3_0_0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_0_1_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_1_1"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getParamAssignment_1(), "rule__XSynchronizedExpression__ParamAssignment_1"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getExpressionAssignment_3(), "rule__XSynchronizedExpression__ExpressionAssignment_3"); - builder.put(grammarAccess.getXCatchClauseAccess().getDeclaredParamAssignment_2(), "rule__XCatchClause__DeclaredParamAssignment_2"); - builder.put(grammarAccess.getXCatchClauseAccess().getExpressionAssignment_4(), "rule__XCatchClause__ExpressionAssignment_4"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionTypeRef__ReturnTypeAssignment_2"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0(), "rule__JvmParameterizedTypeReference__TypeAssignment_0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1(), "rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1"); - builder.put(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBound__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBoundAnded__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBound__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBoundAnded__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getNameAssignment_0(), "rule__JvmTypeParameter__NameAssignment_0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_0(), "rule__JvmTypeParameter__ConstraintsAssignment_1_0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_1(), "rule__JvmTypeParameter__ConstraintsAssignment_1_1"); - builder.put(grammarAccess.getXImportSectionAccess().getImportDeclarationsAssignment(), "rule__XImportSection__ImportDeclarationsAssignment"); - builder.put(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0(), "rule__XImportDeclaration__StaticAssignment_1_0_0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1(), "rule__XImportDeclaration__ExtensionAssignment_1_0_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2(), "rule__XImportDeclaration__ImportedTypeAssignment_1_0_2"); - builder.put(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0(), "rule__XImportDeclaration__WildcardAssignment_1_0_3_0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1(), "rule__XImportDeclaration__MemberNameAssignment_1_0_3_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1(), "rule__XImportDeclaration__ImportedTypeAssignment_1_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2(), "rule__XImportDeclaration__ImportedNamespaceAssignment_1_2"); + private static void init(Map mappings, ContentAssistFragmentTestLangGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_1(), "rule__XVariableDeclaration__Alternatives_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_2(), "rule__XVariableDeclaration__Alternatives_2"); + mappings.put(grammarAccess.getXAssignmentAccess().getAlternatives(), "rule__XAssignment__Alternatives"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getAlternatives(), "rule__OpMultiAssign__Alternatives"); + mappings.put(grammarAccess.getOpEqualityAccess().getAlternatives(), "rule__OpEquality__Alternatives"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getAlternatives_1(), "rule__XRelationalExpression__Alternatives_1"); + mappings.put(grammarAccess.getOpCompareAccess().getAlternatives(), "rule__OpCompare__Alternatives"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives(), "rule__OpOther__Alternatives"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives_5_1(), "rule__OpOther__Alternatives_5_1"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives_6_1(), "rule__OpOther__Alternatives_6_1"); + mappings.put(grammarAccess.getOpAddAccess().getAlternatives(), "rule__OpAdd__Alternatives"); + mappings.put(grammarAccess.getOpMultiAccess().getAlternatives(), "rule__OpMulti__Alternatives"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getAlternatives(), "rule__XUnaryOperation__Alternatives"); + mappings.put(grammarAccess.getOpUnaryAccess().getAlternatives(), "rule__OpUnary__Alternatives"); + mappings.put(grammarAccess.getOpPostfixAccess().getAlternatives(), "rule__OpPostfix__Alternatives"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1(), "rule__XMemberFeatureCall__Alternatives_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_0_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_0_0_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_1_0_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_3_1(), "rule__XMemberFeatureCall__Alternatives_1_1_3_1"); + mappings.put(grammarAccess.getXPrimaryExpressionAccess().getAlternatives(), "rule__XPrimaryExpression__Alternatives"); + mappings.put(grammarAccess.getXLiteralAccess().getAlternatives(), "rule__XLiteral__Alternatives"); + mappings.put(grammarAccess.getXCollectionLiteralAccess().getAlternatives(), "rule__XCollectionLiteral__Alternatives"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2(), "rule__XSwitchExpression__Alternatives_2"); + mappings.put(grammarAccess.getXCasePartAccess().getAlternatives_3(), "rule__XCasePart__Alternatives_3"); + mappings.put(grammarAccess.getXExpressionOrVarDeclarationAccess().getAlternatives(), "rule__XExpressionOrVarDeclaration__Alternatives"); + mappings.put(grammarAccess.getXFeatureCallAccess().getAlternatives_3_1(), "rule__XFeatureCall__Alternatives_3_1"); + mappings.put(grammarAccess.getFeatureCallIDAccess().getAlternatives(), "rule__FeatureCallID__Alternatives"); + mappings.put(grammarAccess.getIdOrSuperAccess().getAlternatives(), "rule__IdOrSuper__Alternatives"); + mappings.put(grammarAccess.getXConstructorCallAccess().getAlternatives_4_1(), "rule__XConstructorCall__Alternatives_4_1"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1(), "rule__XBooleanLiteral__Alternatives_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_3(), "rule__XTryCatchFinallyExpression__Alternatives_3"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives(), "rule__Number__Alternatives"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives_1_0(), "rule__Number__Alternatives_1_0"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives_1_1_1(), "rule__Number__Alternatives_1_1_1"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getAlternatives(), "rule__JvmTypeReference__Alternatives"); + mappings.put(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives(), "rule__JvmArgumentTypeReference__Alternatives"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2(), "rule__JvmWildcardTypeReference__Alternatives_2"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1(), "rule__XImportDeclaration__Alternatives_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3(), "rule__XImportDeclaration__Alternatives_1_0_3"); + mappings.put(grammarAccess.getContentAssistFragmentTestLanguageRootAccess().getGroup(), "rule__ContentAssistFragmentTestLanguageRoot__Group__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup(), "rule__XVariableDeclaration__Group__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0(), "rule__XVariableDeclaration__Group_2_0__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0_0(), "rule__XVariableDeclaration__Group_2_0_0__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_3(), "rule__XVariableDeclaration__Group_3__0"); + mappings.put(grammarAccess.getEntityAccess().getGroup(), "rule__Entity__Group__0"); + mappings.put(grammarAccess.getEntityAccess().getGroup_2(), "rule__Entity__Group_2__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_0(), "rule__XAssignment__Group_0__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1(), "rule__XAssignment__Group_1__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1(), "rule__XAssignment__Group_1_1__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0(), "rule__XAssignment__Group_1_1_0__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0_0(), "rule__XAssignment__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getGroup_5(), "rule__OpMultiAssign__Group_5__0"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getGroup_6(), "rule__OpMultiAssign__Group_6__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup(), "rule__XOrExpression__Group__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1(), "rule__XOrExpression__Group_1__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0(), "rule__XOrExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0_0(), "rule__XOrExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup(), "rule__XAndExpression__Group__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1(), "rule__XAndExpression__Group_1__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0(), "rule__XAndExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0_0(), "rule__XAndExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup(), "rule__XEqualityExpression__Group__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1(), "rule__XEqualityExpression__Group_1__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0(), "rule__XEqualityExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0_0(), "rule__XEqualityExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup(), "rule__XRelationalExpression__Group__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0(), "rule__XRelationalExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0(), "rule__XRelationalExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0_0(), "rule__XRelationalExpression__Group_1_0_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1(), "rule__XRelationalExpression__Group_1_1__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0(), "rule__XRelationalExpression__Group_1_1_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0_0(), "rule__XRelationalExpression__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getOpCompareAccess().getGroup_1(), "rule__OpCompare__Group_1__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup(), "rule__XOtherOperatorExpression__Group__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1(), "rule__XOtherOperatorExpression__Group_1__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0(), "rule__XOtherOperatorExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0_0(), "rule__XOtherOperatorExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_2(), "rule__OpOther__Group_2__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5(), "rule__OpOther__Group_5__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0(), "rule__OpOther__Group_5_1_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0_0(), "rule__OpOther__Group_5_1_0_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6(), "rule__OpOther__Group_6__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0(), "rule__OpOther__Group_6_1_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0_0(), "rule__OpOther__Group_6_1_0_0__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup(), "rule__XAdditiveExpression__Group__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1(), "rule__XAdditiveExpression__Group_1__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0(), "rule__XAdditiveExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0_0(), "rule__XAdditiveExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup(), "rule__XMultiplicativeExpression__Group__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1(), "rule__XMultiplicativeExpression__Group_1__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0(), "rule__XMultiplicativeExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0_0(), "rule__XMultiplicativeExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getGroup_0(), "rule__XUnaryOperation__Group_0__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup(), "rule__XCastedExpression__Group__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1(), "rule__XCastedExpression__Group_1__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0(), "rule__XCastedExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0_0(), "rule__XCastedExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup(), "rule__XPostfixOperation__Group__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup_1(), "rule__XPostfixOperation__Group_1__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup_1_0(), "rule__XPostfixOperation__Group_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup(), "rule__XMemberFeatureCall__Group__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0(), "rule__XMemberFeatureCall__Group_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0(), "rule__XMemberFeatureCall__Group_1_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0_0(), "rule__XMemberFeatureCall__Group_1_0_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1(), "rule__XMemberFeatureCall__Group_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0(), "rule__XMemberFeatureCall__Group_1_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0_0(), "rule__XMemberFeatureCall__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1_2(), "rule__XMemberFeatureCall__Group_1_1_1_2__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3(), "rule__XMemberFeatureCall__Group_1_1_3__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1_1__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup(), "rule__XSetLiteral__Group__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup_3(), "rule__XSetLiteral__Group_3__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup_3_1(), "rule__XSetLiteral__Group_3_1__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup(), "rule__XListLiteral__Group__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup_3(), "rule__XListLiteral__Group_3__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup_3_1(), "rule__XListLiteral__Group_3_1__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup(), "rule__XClosure__Group__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_0(), "rule__XClosure__Group_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_0_0(), "rule__XClosure__Group_0_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1(), "rule__XClosure__Group_1__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0(), "rule__XClosure__Group_1_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0_0(), "rule__XClosure__Group_1_0_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0_0_1(), "rule__XClosure__Group_1_0_0_1__0"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getGroup(), "rule__XExpressionInClosure__Group__0"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getGroup_1(), "rule__XExpressionInClosure__Group_1__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup(), "rule__XShortClosure__Group__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0(), "rule__XShortClosure__Group_0__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0(), "rule__XShortClosure__Group_0_0__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1(), "rule__XShortClosure__Group_0_0_1__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1_1(), "rule__XShortClosure__Group_0_0_1_1__0"); + mappings.put(grammarAccess.getXParenthesizedExpressionAccess().getGroup(), "rule__XParenthesizedExpression__Group__0"); + mappings.put(grammarAccess.getXIfExpressionAccess().getGroup(), "rule__XIfExpression__Group__0"); + mappings.put(grammarAccess.getXIfExpressionAccess().getGroup_6(), "rule__XIfExpression__Group_6__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup(), "rule__XSwitchExpression__Group__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0(), "rule__XSwitchExpression__Group_2_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0(), "rule__XSwitchExpression__Group_2_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0(), "rule__XSwitchExpression__Group_2_0_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1(), "rule__XSwitchExpression__Group_2_1__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0(), "rule__XSwitchExpression__Group_2_1_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0(), "rule__XSwitchExpression__Group_2_1_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_5(), "rule__XSwitchExpression__Group_5__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup(), "rule__XCasePart__Group__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup_2(), "rule__XCasePart__Group_2__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup_3_0(), "rule__XCasePart__Group_3_0__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup(), "rule__XForLoopExpression__Group__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0(), "rule__XForLoopExpression__Group_0__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0_0(), "rule__XForLoopExpression__Group_0_0__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup(), "rule__XBasicForLoopExpression__Group__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3(), "rule__XBasicForLoopExpression__Group_3__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3_1(), "rule__XBasicForLoopExpression__Group_3_1__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7(), "rule__XBasicForLoopExpression__Group_7__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7_1(), "rule__XBasicForLoopExpression__Group_7_1__0"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getGroup(), "rule__XWhileExpression__Group__0"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getGroup(), "rule__XDoWhileExpression__Group__0"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getGroup(), "rule__XBlockExpression__Group__0"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getGroup_2(), "rule__XBlockExpression__Group_2__0"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getGroup(), "rule__JvmFormalParameter__Group__0"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getGroup(), "rule__FullJvmFormalParameter__Group__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup(), "rule__XFeatureCall__Group__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_1(), "rule__XFeatureCall__Group_1__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_1_2(), "rule__XFeatureCall__Group_1_2__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3(), "rule__XFeatureCall__Group_3__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1(), "rule__XFeatureCall__Group_3_1_1__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1_1(), "rule__XFeatureCall__Group_3_1_1_1__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup(), "rule__XConstructorCall__Group__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_3(), "rule__XConstructorCall__Group_3__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_3_2(), "rule__XConstructorCall__Group_3_2__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4(), "rule__XConstructorCall__Group_4__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1(), "rule__XConstructorCall__Group_4_1_1__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1_1(), "rule__XConstructorCall__Group_4_1_1_1__0"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getGroup(), "rule__XBooleanLiteral__Group__0"); + mappings.put(grammarAccess.getXNullLiteralAccess().getGroup(), "rule__XNullLiteral__Group__0"); + mappings.put(grammarAccess.getXNumberLiteralAccess().getGroup(), "rule__XNumberLiteral__Group__0"); + mappings.put(grammarAccess.getXStringLiteralAccess().getGroup(), "rule__XStringLiteral__Group__0"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getGroup(), "rule__XTypeLiteral__Group__0"); + mappings.put(grammarAccess.getXThrowExpressionAccess().getGroup(), "rule__XThrowExpression__Group__0"); + mappings.put(grammarAccess.getXReturnExpressionAccess().getGroup(), "rule__XReturnExpression__Group__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup(), "rule__XTryCatchFinallyExpression__Group__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0(), "rule__XTryCatchFinallyExpression__Group_3_0__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0_1(), "rule__XTryCatchFinallyExpression__Group_3_0_1__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_1(), "rule__XTryCatchFinallyExpression__Group_3_1__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup(), "rule__XSynchronizedExpression__Group__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0(), "rule__XSynchronizedExpression__Group_0__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0_0(), "rule__XSynchronizedExpression__Group_0_0__0"); + mappings.put(grammarAccess.getXCatchClauseAccess().getGroup(), "rule__XCatchClause__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); + mappings.put(grammarAccess.getNumberAccess().getGroup_1(), "rule__Number__Group_1__0"); + mappings.put(grammarAccess.getNumberAccess().getGroup_1_1(), "rule__Number__Group_1_1__0"); + mappings.put(grammarAccess.getStaticQualifierAccess().getGroup(), "rule__StaticQualifier__Group__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0(), "rule__JvmTypeReference__Group_0__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1(), "rule__JvmTypeReference__Group_0_1__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0(), "rule__JvmTypeReference__Group_0_1_0__0"); + mappings.put(grammarAccess.getArrayBracketsAccess().getGroup(), "rule__ArrayBrackets__Group__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup(), "rule__XFunctionTypeRef__Group__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0(), "rule__XFunctionTypeRef__Group_0__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1(), "rule__XFunctionTypeRef__Group_0_1__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1(), "rule__XFunctionTypeRef__Group_0_1_1__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup(), "rule__JvmParameterizedTypeReference__Group__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1(), "rule__JvmParameterizedTypeReference__Group_1__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2(), "rule__JvmParameterizedTypeReference__Group_1_2__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4(), "rule__JvmParameterizedTypeReference__Group_1_4__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup(), "rule__JvmWildcardTypeReference__Group__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0(), "rule__JvmWildcardTypeReference__Group_2_0__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1(), "rule__JvmWildcardTypeReference__Group_2_1__0"); + mappings.put(grammarAccess.getJvmUpperBoundAccess().getGroup(), "rule__JvmUpperBound__Group__0"); + mappings.put(grammarAccess.getJvmUpperBoundAndedAccess().getGroup(), "rule__JvmUpperBoundAnded__Group__0"); + mappings.put(grammarAccess.getJvmLowerBoundAccess().getGroup(), "rule__JvmLowerBound__Group__0"); + mappings.put(grammarAccess.getJvmLowerBoundAndedAccess().getGroup(), "rule__JvmLowerBoundAnded__Group__0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getGroup(), "rule__JvmTypeParameter__Group__0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getGroup_1(), "rule__JvmTypeParameter__Group_1__0"); + mappings.put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup(), "rule__QualifiedNameWithWildcard__Group__0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getGroup(), "rule__XImportDeclaration__Group__0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getGroup_1_0(), "rule__XImportDeclaration__Group_1_0__0"); + mappings.put(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup(), "rule__QualifiedNameInStaticImport__Group__0"); + mappings.put(grammarAccess.getContentAssistFragmentTestLanguageRootAccess().getExpressionAssignment_0(), "rule__ContentAssistFragmentTestLanguageRoot__ExpressionAssignment_0"); + mappings.put(grammarAccess.getContentAssistFragmentTestLanguageRootAccess().getEntitiesAssignment_1(), "rule__ContentAssistFragmentTestLanguageRoot__EntitiesAssignment_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getWriteableAssignment_1_0(), "rule__XVariableDeclaration__WriteableAssignment_1_0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getTypeAssignment_2_0_0_0(), "rule__XVariableDeclaration__TypeAssignment_2_0_0_0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_0_0_1(), "rule__XVariableDeclaration__NameAssignment_2_0_0_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_1(), "rule__XVariableDeclaration__NameAssignment_2_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getRightAssignment_3_1(), "rule__XVariableDeclaration__RightAssignment_3_1"); + mappings.put(grammarAccess.getEntityAccess().getNameAssignment_1(), "rule__Entity__NameAssignment_1"); + mappings.put(grammarAccess.getEntityAccess().getExtendsAssignment_2_1(), "rule__Entity__ExtendsAssignment_2_1"); + mappings.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_0_1(), "rule__XAssignment__FeatureAssignment_0_1"); + mappings.put(grammarAccess.getXAssignmentAccess().getValueAssignment_0_3(), "rule__XAssignment__ValueAssignment_0_3"); + mappings.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XAssignment__FeatureAssignment_1_1_0_0_1"); + mappings.put(grammarAccess.getXAssignmentAccess().getRightOperandAssignment_1_1_1(), "rule__XAssignment__RightOperandAssignment_1_1_1"); + mappings.put(grammarAccess.getXOrExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOrExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXOrExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOrExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXAndExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAndExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXAndExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAndExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XEqualityExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getRightOperandAssignment_1_1(), "rule__XEqualityExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getTypeAssignment_1_0_1(), "rule__XRelationalExpression__TypeAssignment_1_0_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XRelationalExpression__FeatureAssignment_1_1_0_0_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getRightOperandAssignment_1_1_1(), "rule__XRelationalExpression__RightOperandAssignment_1_1_1"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOtherOperatorExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOtherOperatorExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAdditiveExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAdditiveExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XMultiplicativeExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandAssignment_1_1(), "rule__XMultiplicativeExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getFeatureAssignment_0_1(), "rule__XUnaryOperation__FeatureAssignment_0_1"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getOperandAssignment_0_2(), "rule__XUnaryOperation__OperandAssignment_0_2"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getTypeAssignment_1_1(), "rule__XCastedExpression__TypeAssignment_1_1"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getFeatureAssignment_1_0_1(), "rule__XPostfixOperation__FeatureAssignment_1_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_0_0_0_1_1(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_0_0_0_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_0_0_0_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getValueAssignment_1_0_1(), "rule__XMemberFeatureCall__ValueAssignment_1_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getNullSafeAssignment_1_1_0_0_1_1(), "rule__XMemberFeatureCall__NullSafeAssignment_1_1_0_0_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_1_0_0_1_2(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_1_0_0_1_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_2_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_2_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_1_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_1_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallAssignment_1_1_3_0(), "rule__XMemberFeatureCall__ExplicitOperationCallAssignment_1_1_3_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_1_1(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_4(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4"); + mappings.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_0(), "rule__XSetLiteral__ElementsAssignment_3_0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_1_1(), "rule__XSetLiteral__ElementsAssignment_3_1_1"); + mappings.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_0(), "rule__XListLiteral__ElementsAssignment_3_0"); + mappings.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_1_1(), "rule__XListLiteral__ElementsAssignment_3_1_1"); + mappings.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_0(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_0"); + mappings.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_1_1(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_1_1"); + mappings.put(grammarAccess.getXClosureAccess().getExplicitSyntaxAssignment_1_0_1(), "rule__XClosure__ExplicitSyntaxAssignment_1_0_1"); + mappings.put(grammarAccess.getXClosureAccess().getExpressionAssignment_2(), "rule__XClosure__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getExpressionsAssignment_1_0(), "rule__XExpressionInClosure__ExpressionsAssignment_1_0"); + mappings.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_0(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0"); + mappings.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_1_1(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1"); + mappings.put(grammarAccess.getXShortClosureAccess().getExplicitSyntaxAssignment_0_0_2(), "rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2"); + mappings.put(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1(), "rule__XShortClosure__ExpressionAssignment_1"); + mappings.put(grammarAccess.getXIfExpressionAccess().getIfAssignment_3(), "rule__XIfExpression__IfAssignment_3"); + mappings.put(grammarAccess.getXIfExpressionAccess().getThenAssignment_5(), "rule__XIfExpression__ThenAssignment_5"); + mappings.put(grammarAccess.getXIfExpressionAccess().getElseAssignment_6_1(), "rule__XIfExpression__ElseAssignment_6_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_0_0_0_1(), "rule__XSwitchExpression__DeclaredParamAssignment_2_0_0_0_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1(), "rule__XSwitchExpression__SwitchAssignment_2_0_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_1_0_0_0(), "rule__XSwitchExpression__DeclaredParamAssignment_2_1_0_0_0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1(), "rule__XSwitchExpression__SwitchAssignment_2_1_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4(), "rule__XSwitchExpression__CasesAssignment_4"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDefaultAssignment_5_2(), "rule__XSwitchExpression__DefaultAssignment_5_2"); + mappings.put(grammarAccess.getXCasePartAccess().getTypeGuardAssignment_1(), "rule__XCasePart__TypeGuardAssignment_1"); + mappings.put(grammarAccess.getXCasePartAccess().getCaseAssignment_2_1(), "rule__XCasePart__CaseAssignment_2_1"); + mappings.put(grammarAccess.getXCasePartAccess().getThenAssignment_3_0_1(), "rule__XCasePart__ThenAssignment_3_0_1"); + mappings.put(grammarAccess.getXCasePartAccess().getFallThroughAssignment_3_1(), "rule__XCasePart__FallThroughAssignment_3_1"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamAssignment_0_0_3(), "rule__XForLoopExpression__DeclaredParamAssignment_0_0_3"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getForExpressionAssignment_1(), "rule__XForLoopExpression__ForExpressionAssignment_1"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getEachExpressionAssignment_3(), "rule__XForLoopExpression__EachExpressionAssignment_3"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_0(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_1_1(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_1_1"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getExpressionAssignment_5(), "rule__XBasicForLoopExpression__ExpressionAssignment_5"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_0(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_1_1(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_1_1"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getEachExpressionAssignment_9(), "rule__XBasicForLoopExpression__EachExpressionAssignment_9"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getPredicateAssignment_3(), "rule__XWhileExpression__PredicateAssignment_3"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getBodyAssignment_5(), "rule__XWhileExpression__BodyAssignment_5"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getBodyAssignment_2(), "rule__XDoWhileExpression__BodyAssignment_2"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getPredicateAssignment_5(), "rule__XDoWhileExpression__PredicateAssignment_5"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__XBlockExpression__ExpressionsAssignment_2_0"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__JvmFormalParameter__ParameterTypeAssignment_0"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getNameAssignment_1(), "rule__JvmFormalParameter__NameAssignment_1"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__FullJvmFormalParameter__ParameterTypeAssignment_0"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getNameAssignment_1(), "rule__FullJvmFormalParameter__NameAssignment_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_2_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_2_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureAssignment_2(), "rule__XFeatureCall__FeatureAssignment_2"); + mappings.put(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallAssignment_3_0(), "rule__XFeatureCall__ExplicitOperationCallAssignment_3_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_1_1(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_4"); + mappings.put(grammarAccess.getXConstructorCallAccess().getConstructorAssignment_2(), "rule__XConstructorCall__ConstructorAssignment_2"); + mappings.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_2_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_2_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getExplicitConstructorCallAssignment_4_0(), "rule__XConstructorCall__ExplicitConstructorCallAssignment_4_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_1_1(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_1_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_5(), "rule__XConstructorCall__ArgumentsAssignment_5"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1(), "rule__XBooleanLiteral__IsTrueAssignment_1_1"); + mappings.put(grammarAccess.getXNumberLiteralAccess().getValueAssignment_1(), "rule__XNumberLiteral__ValueAssignment_1"); + mappings.put(grammarAccess.getXStringLiteralAccess().getValueAssignment_1(), "rule__XStringLiteral__ValueAssignment_1"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getTypeAssignment_3(), "rule__XTypeLiteral__TypeAssignment_3"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getArrayDimensionsAssignment_4(), "rule__XTypeLiteral__ArrayDimensionsAssignment_4"); + mappings.put(grammarAccess.getXThrowExpressionAccess().getExpressionAssignment_2(), "rule__XThrowExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXReturnExpressionAccess().getExpressionAssignment_2(), "rule__XReturnExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionAssignment_2(), "rule__XTryCatchFinallyExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesAssignment_3_0_0(), "rule__XTryCatchFinallyExpression__CatchClausesAssignment_3_0_0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_0_1_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_1_1"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getParamAssignment_1(), "rule__XSynchronizedExpression__ParamAssignment_1"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getExpressionAssignment_3(), "rule__XSynchronizedExpression__ExpressionAssignment_3"); + mappings.put(grammarAccess.getXCatchClauseAccess().getDeclaredParamAssignment_2(), "rule__XCatchClause__DeclaredParamAssignment_2"); + mappings.put(grammarAccess.getXCatchClauseAccess().getExpressionAssignment_4(), "rule__XCatchClause__ExpressionAssignment_4"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionTypeRef__ReturnTypeAssignment_2"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0(), "rule__JvmParameterizedTypeReference__TypeAssignment_0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1(), "rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1"); + mappings.put(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBound__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBoundAnded__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBound__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBoundAnded__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getNameAssignment_0(), "rule__JvmTypeParameter__NameAssignment_0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_0(), "rule__JvmTypeParameter__ConstraintsAssignment_1_0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_1(), "rule__JvmTypeParameter__ConstraintsAssignment_1_1"); + mappings.put(grammarAccess.getXImportSectionAccess().getImportDeclarationsAssignment(), "rule__XImportSection__ImportDeclarationsAssignment"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0(), "rule__XImportDeclaration__StaticAssignment_1_0_0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1(), "rule__XImportDeclaration__ExtensionAssignment_1_0_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2(), "rule__XImportDeclaration__ImportedTypeAssignment_1_0_2"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0(), "rule__XImportDeclaration__WildcardAssignment_1_0_3_0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1(), "rule__XImportDeclaration__MemberNameAssignment_1_0_3_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1(), "rule__XImportDeclaration__ImportedTypeAssignment_1_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2(), "rule__XImportDeclaration__ImportedNamespaceAssignment_1_2"); } } diff --git a/org.eclipse.xtext.xbase.testlanguages.ide/src-gen/org/eclipse/xtext/xbase/testlanguages/ide/contentassist/antlr/XImportSectionTestLangParser.java b/org.eclipse.xtext.xbase.testlanguages.ide/src-gen/org/eclipse/xtext/xbase/testlanguages/ide/contentassist/antlr/XImportSectionTestLangParser.java index f1ef9d2b3a5..fe0c207c2bc 100644 --- a/org.eclipse.xtext.xbase.testlanguages.ide/src-gen/org/eclipse/xtext/xbase/testlanguages/ide/contentassist/antlr/XImportSectionTestLangParser.java +++ b/org.eclipse.xtext.xbase.testlanguages.ide/src-gen/org/eclipse/xtext/xbase/testlanguages/ide/contentassist/antlr/XImportSectionTestLangParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.xbase.testlanguages.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,381 +26,381 @@ public static final class NameMappings { @Inject public NameMappings(XImportSectionTestLangGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, XImportSectionTestLangGrammarAccess grammarAccess) { - builder.put(grammarAccess.getXAssignmentAccess().getAlternatives(), "rule__XAssignment__Alternatives"); - builder.put(grammarAccess.getOpMultiAssignAccess().getAlternatives(), "rule__OpMultiAssign__Alternatives"); - builder.put(grammarAccess.getOpEqualityAccess().getAlternatives(), "rule__OpEquality__Alternatives"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getAlternatives_1(), "rule__XRelationalExpression__Alternatives_1"); - builder.put(grammarAccess.getOpCompareAccess().getAlternatives(), "rule__OpCompare__Alternatives"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives(), "rule__OpOther__Alternatives"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives_5_1(), "rule__OpOther__Alternatives_5_1"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives_6_1(), "rule__OpOther__Alternatives_6_1"); - builder.put(grammarAccess.getOpAddAccess().getAlternatives(), "rule__OpAdd__Alternatives"); - builder.put(grammarAccess.getOpMultiAccess().getAlternatives(), "rule__OpMulti__Alternatives"); - builder.put(grammarAccess.getXUnaryOperationAccess().getAlternatives(), "rule__XUnaryOperation__Alternatives"); - builder.put(grammarAccess.getOpUnaryAccess().getAlternatives(), "rule__OpUnary__Alternatives"); - builder.put(grammarAccess.getOpPostfixAccess().getAlternatives(), "rule__OpPostfix__Alternatives"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1(), "rule__XMemberFeatureCall__Alternatives_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_0_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_0_0_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_1_0_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_3_1(), "rule__XMemberFeatureCall__Alternatives_1_1_3_1"); - builder.put(grammarAccess.getXPrimaryExpressionAccess().getAlternatives(), "rule__XPrimaryExpression__Alternatives"); - builder.put(grammarAccess.getXLiteralAccess().getAlternatives(), "rule__XLiteral__Alternatives"); - builder.put(grammarAccess.getXCollectionLiteralAccess().getAlternatives(), "rule__XCollectionLiteral__Alternatives"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2(), "rule__XSwitchExpression__Alternatives_2"); - builder.put(grammarAccess.getXCasePartAccess().getAlternatives_3(), "rule__XCasePart__Alternatives_3"); - builder.put(grammarAccess.getXExpressionOrVarDeclarationAccess().getAlternatives(), "rule__XExpressionOrVarDeclaration__Alternatives"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_1(), "rule__XVariableDeclaration__Alternatives_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_2(), "rule__XVariableDeclaration__Alternatives_2"); - builder.put(grammarAccess.getXFeatureCallAccess().getAlternatives_3_1(), "rule__XFeatureCall__Alternatives_3_1"); - builder.put(grammarAccess.getFeatureCallIDAccess().getAlternatives(), "rule__FeatureCallID__Alternatives"); - builder.put(grammarAccess.getIdOrSuperAccess().getAlternatives(), "rule__IdOrSuper__Alternatives"); - builder.put(grammarAccess.getXConstructorCallAccess().getAlternatives_4_1(), "rule__XConstructorCall__Alternatives_4_1"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1(), "rule__XBooleanLiteral__Alternatives_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_3(), "rule__XTryCatchFinallyExpression__Alternatives_3"); - builder.put(grammarAccess.getNumberAccess().getAlternatives(), "rule__Number__Alternatives"); - builder.put(grammarAccess.getNumberAccess().getAlternatives_1_0(), "rule__Number__Alternatives_1_0"); - builder.put(grammarAccess.getNumberAccess().getAlternatives_1_1_1(), "rule__Number__Alternatives_1_1_1"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getAlternatives(), "rule__JvmTypeReference__Alternatives"); - builder.put(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives(), "rule__JvmArgumentTypeReference__Alternatives"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2(), "rule__JvmWildcardTypeReference__Alternatives_2"); - builder.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1(), "rule__XImportDeclaration__Alternatives_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3(), "rule__XImportDeclaration__Alternatives_1_0_3"); - builder.put(grammarAccess.getImportSectionTestLanguageRootAccess().getGroup(), "rule__ImportSectionTestLanguageRoot__Group__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_0(), "rule__XAssignment__Group_0__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1(), "rule__XAssignment__Group_1__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1(), "rule__XAssignment__Group_1_1__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0(), "rule__XAssignment__Group_1_1_0__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0_0(), "rule__XAssignment__Group_1_1_0_0__0"); - builder.put(grammarAccess.getOpMultiAssignAccess().getGroup_5(), "rule__OpMultiAssign__Group_5__0"); - builder.put(grammarAccess.getOpMultiAssignAccess().getGroup_6(), "rule__OpMultiAssign__Group_6__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup(), "rule__XOrExpression__Group__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1(), "rule__XOrExpression__Group_1__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0(), "rule__XOrExpression__Group_1_0__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0_0(), "rule__XOrExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup(), "rule__XAndExpression__Group__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1(), "rule__XAndExpression__Group_1__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0(), "rule__XAndExpression__Group_1_0__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0_0(), "rule__XAndExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup(), "rule__XEqualityExpression__Group__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1(), "rule__XEqualityExpression__Group_1__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0(), "rule__XEqualityExpression__Group_1_0__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0_0(), "rule__XEqualityExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup(), "rule__XRelationalExpression__Group__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0(), "rule__XRelationalExpression__Group_1_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0(), "rule__XRelationalExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0_0(), "rule__XRelationalExpression__Group_1_0_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1(), "rule__XRelationalExpression__Group_1_1__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0(), "rule__XRelationalExpression__Group_1_1_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0_0(), "rule__XRelationalExpression__Group_1_1_0_0__0"); - builder.put(grammarAccess.getOpCompareAccess().getGroup_1(), "rule__OpCompare__Group_1__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup(), "rule__XOtherOperatorExpression__Group__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1(), "rule__XOtherOperatorExpression__Group_1__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0(), "rule__XOtherOperatorExpression__Group_1_0__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0_0(), "rule__XOtherOperatorExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_2(), "rule__OpOther__Group_2__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5(), "rule__OpOther__Group_5__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0(), "rule__OpOther__Group_5_1_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0_0(), "rule__OpOther__Group_5_1_0_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6(), "rule__OpOther__Group_6__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0(), "rule__OpOther__Group_6_1_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0_0(), "rule__OpOther__Group_6_1_0_0__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup(), "rule__XAdditiveExpression__Group__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1(), "rule__XAdditiveExpression__Group_1__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0(), "rule__XAdditiveExpression__Group_1_0__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0_0(), "rule__XAdditiveExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup(), "rule__XMultiplicativeExpression__Group__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1(), "rule__XMultiplicativeExpression__Group_1__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0(), "rule__XMultiplicativeExpression__Group_1_0__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0_0(), "rule__XMultiplicativeExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXUnaryOperationAccess().getGroup_0(), "rule__XUnaryOperation__Group_0__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup(), "rule__XCastedExpression__Group__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1(), "rule__XCastedExpression__Group_1__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0(), "rule__XCastedExpression__Group_1_0__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0_0(), "rule__XCastedExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup(), "rule__XPostfixOperation__Group__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup_1(), "rule__XPostfixOperation__Group_1__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup_1_0(), "rule__XPostfixOperation__Group_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup(), "rule__XMemberFeatureCall__Group__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0(), "rule__XMemberFeatureCall__Group_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0(), "rule__XMemberFeatureCall__Group_1_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0_0(), "rule__XMemberFeatureCall__Group_1_0_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1(), "rule__XMemberFeatureCall__Group_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0(), "rule__XMemberFeatureCall__Group_1_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0_0(), "rule__XMemberFeatureCall__Group_1_1_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1_2(), "rule__XMemberFeatureCall__Group_1_1_1_2__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3(), "rule__XMemberFeatureCall__Group_1_1_3__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1_1__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup(), "rule__XSetLiteral__Group__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup_3(), "rule__XSetLiteral__Group_3__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup_3_1(), "rule__XSetLiteral__Group_3_1__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup(), "rule__XListLiteral__Group__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup_3(), "rule__XListLiteral__Group_3__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup_3_1(), "rule__XListLiteral__Group_3_1__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup(), "rule__XClosure__Group__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_0(), "rule__XClosure__Group_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_0_0(), "rule__XClosure__Group_0_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1(), "rule__XClosure__Group_1__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0(), "rule__XClosure__Group_1_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0_0(), "rule__XClosure__Group_1_0_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0_0_1(), "rule__XClosure__Group_1_0_0_1__0"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getGroup(), "rule__XExpressionInClosure__Group__0"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getGroup_1(), "rule__XExpressionInClosure__Group_1__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup(), "rule__XShortClosure__Group__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0(), "rule__XShortClosure__Group_0__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0(), "rule__XShortClosure__Group_0_0__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1(), "rule__XShortClosure__Group_0_0_1__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1_1(), "rule__XShortClosure__Group_0_0_1_1__0"); - builder.put(grammarAccess.getXParenthesizedExpressionAccess().getGroup(), "rule__XParenthesizedExpression__Group__0"); - builder.put(grammarAccess.getXIfExpressionAccess().getGroup(), "rule__XIfExpression__Group__0"); - builder.put(grammarAccess.getXIfExpressionAccess().getGroup_6(), "rule__XIfExpression__Group_6__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup(), "rule__XSwitchExpression__Group__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0(), "rule__XSwitchExpression__Group_2_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0(), "rule__XSwitchExpression__Group_2_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0(), "rule__XSwitchExpression__Group_2_0_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1(), "rule__XSwitchExpression__Group_2_1__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0(), "rule__XSwitchExpression__Group_2_1_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0(), "rule__XSwitchExpression__Group_2_1_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_5(), "rule__XSwitchExpression__Group_5__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup(), "rule__XCasePart__Group__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup_2(), "rule__XCasePart__Group_2__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup_3_0(), "rule__XCasePart__Group_3_0__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup(), "rule__XForLoopExpression__Group__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0(), "rule__XForLoopExpression__Group_0__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0_0(), "rule__XForLoopExpression__Group_0_0__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup(), "rule__XBasicForLoopExpression__Group__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3(), "rule__XBasicForLoopExpression__Group_3__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3_1(), "rule__XBasicForLoopExpression__Group_3_1__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7(), "rule__XBasicForLoopExpression__Group_7__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7_1(), "rule__XBasicForLoopExpression__Group_7_1__0"); - builder.put(grammarAccess.getXWhileExpressionAccess().getGroup(), "rule__XWhileExpression__Group__0"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getGroup(), "rule__XDoWhileExpression__Group__0"); - builder.put(grammarAccess.getXBlockExpressionAccess().getGroup(), "rule__XBlockExpression__Group__0"); - builder.put(grammarAccess.getXBlockExpressionAccess().getGroup_2(), "rule__XBlockExpression__Group_2__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup(), "rule__XVariableDeclaration__Group__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0(), "rule__XVariableDeclaration__Group_2_0__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0_0(), "rule__XVariableDeclaration__Group_2_0_0__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_3(), "rule__XVariableDeclaration__Group_3__0"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getGroup(), "rule__JvmFormalParameter__Group__0"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getGroup(), "rule__FullJvmFormalParameter__Group__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup(), "rule__XFeatureCall__Group__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_1(), "rule__XFeatureCall__Group_1__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_1_2(), "rule__XFeatureCall__Group_1_2__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3(), "rule__XFeatureCall__Group_3__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1(), "rule__XFeatureCall__Group_3_1_1__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1_1(), "rule__XFeatureCall__Group_3_1_1_1__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup(), "rule__XConstructorCall__Group__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_3(), "rule__XConstructorCall__Group_3__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_3_2(), "rule__XConstructorCall__Group_3_2__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4(), "rule__XConstructorCall__Group_4__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1(), "rule__XConstructorCall__Group_4_1_1__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1_1(), "rule__XConstructorCall__Group_4_1_1_1__0"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getGroup(), "rule__XBooleanLiteral__Group__0"); - builder.put(grammarAccess.getXNullLiteralAccess().getGroup(), "rule__XNullLiteral__Group__0"); - builder.put(grammarAccess.getXNumberLiteralAccess().getGroup(), "rule__XNumberLiteral__Group__0"); - builder.put(grammarAccess.getXStringLiteralAccess().getGroup(), "rule__XStringLiteral__Group__0"); - builder.put(grammarAccess.getXTypeLiteralAccess().getGroup(), "rule__XTypeLiteral__Group__0"); - builder.put(grammarAccess.getXThrowExpressionAccess().getGroup(), "rule__XThrowExpression__Group__0"); - builder.put(grammarAccess.getXReturnExpressionAccess().getGroup(), "rule__XReturnExpression__Group__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup(), "rule__XTryCatchFinallyExpression__Group__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0(), "rule__XTryCatchFinallyExpression__Group_3_0__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0_1(), "rule__XTryCatchFinallyExpression__Group_3_0_1__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_1(), "rule__XTryCatchFinallyExpression__Group_3_1__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup(), "rule__XSynchronizedExpression__Group__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0(), "rule__XSynchronizedExpression__Group_0__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0_0(), "rule__XSynchronizedExpression__Group_0_0__0"); - builder.put(grammarAccess.getXCatchClauseAccess().getGroup(), "rule__XCatchClause__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); - builder.put(grammarAccess.getNumberAccess().getGroup_1(), "rule__Number__Group_1__0"); - builder.put(grammarAccess.getNumberAccess().getGroup_1_1(), "rule__Number__Group_1_1__0"); - builder.put(grammarAccess.getStaticQualifierAccess().getGroup(), "rule__StaticQualifier__Group__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0(), "rule__JvmTypeReference__Group_0__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1(), "rule__JvmTypeReference__Group_0_1__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0(), "rule__JvmTypeReference__Group_0_1_0__0"); - builder.put(grammarAccess.getArrayBracketsAccess().getGroup(), "rule__ArrayBrackets__Group__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup(), "rule__XFunctionTypeRef__Group__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0(), "rule__XFunctionTypeRef__Group_0__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1(), "rule__XFunctionTypeRef__Group_0_1__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1(), "rule__XFunctionTypeRef__Group_0_1_1__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup(), "rule__JvmParameterizedTypeReference__Group__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1(), "rule__JvmParameterizedTypeReference__Group_1__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2(), "rule__JvmParameterizedTypeReference__Group_1_2__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4(), "rule__JvmParameterizedTypeReference__Group_1_4__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup(), "rule__JvmWildcardTypeReference__Group__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0(), "rule__JvmWildcardTypeReference__Group_2_0__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1(), "rule__JvmWildcardTypeReference__Group_2_1__0"); - builder.put(grammarAccess.getJvmUpperBoundAccess().getGroup(), "rule__JvmUpperBound__Group__0"); - builder.put(grammarAccess.getJvmUpperBoundAndedAccess().getGroup(), "rule__JvmUpperBoundAnded__Group__0"); - builder.put(grammarAccess.getJvmLowerBoundAccess().getGroup(), "rule__JvmLowerBound__Group__0"); - builder.put(grammarAccess.getJvmLowerBoundAndedAccess().getGroup(), "rule__JvmLowerBoundAnded__Group__0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getGroup(), "rule__JvmTypeParameter__Group__0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getGroup_1(), "rule__JvmTypeParameter__Group_1__0"); - builder.put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup(), "rule__QualifiedNameWithWildcard__Group__0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getGroup(), "rule__XImportDeclaration__Group__0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getGroup_1_0(), "rule__XImportDeclaration__Group_1_0__0"); - builder.put(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup(), "rule__QualifiedNameInStaticImport__Group__0"); - builder.put(grammarAccess.getImportSectionTestLanguageRootAccess().getImportSectionAssignment_2(), "rule__ImportSectionTestLanguageRoot__ImportSectionAssignment_2"); - builder.put(grammarAccess.getImportSectionTestLanguageRootAccess().getExpressionAssignment_3(), "rule__ImportSectionTestLanguageRoot__ExpressionAssignment_3"); - builder.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_0_1(), "rule__XAssignment__FeatureAssignment_0_1"); - builder.put(grammarAccess.getXAssignmentAccess().getValueAssignment_0_3(), "rule__XAssignment__ValueAssignment_0_3"); - builder.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XAssignment__FeatureAssignment_1_1_0_0_1"); - builder.put(grammarAccess.getXAssignmentAccess().getRightOperandAssignment_1_1_1(), "rule__XAssignment__RightOperandAssignment_1_1_1"); - builder.put(grammarAccess.getXOrExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOrExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXOrExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOrExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXAndExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAndExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXAndExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAndExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XEqualityExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getRightOperandAssignment_1_1(), "rule__XEqualityExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getTypeAssignment_1_0_1(), "rule__XRelationalExpression__TypeAssignment_1_0_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XRelationalExpression__FeatureAssignment_1_1_0_0_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getRightOperandAssignment_1_1_1(), "rule__XRelationalExpression__RightOperandAssignment_1_1_1"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOtherOperatorExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOtherOperatorExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAdditiveExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAdditiveExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XMultiplicativeExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandAssignment_1_1(), "rule__XMultiplicativeExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXUnaryOperationAccess().getFeatureAssignment_0_1(), "rule__XUnaryOperation__FeatureAssignment_0_1"); - builder.put(grammarAccess.getXUnaryOperationAccess().getOperandAssignment_0_2(), "rule__XUnaryOperation__OperandAssignment_0_2"); - builder.put(grammarAccess.getXCastedExpressionAccess().getTypeAssignment_1_1(), "rule__XCastedExpression__TypeAssignment_1_1"); - builder.put(grammarAccess.getXPostfixOperationAccess().getFeatureAssignment_1_0_1(), "rule__XPostfixOperation__FeatureAssignment_1_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_0_0_0_1_1(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_0_0_0_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_0_0_0_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getValueAssignment_1_0_1(), "rule__XMemberFeatureCall__ValueAssignment_1_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getNullSafeAssignment_1_1_0_0_1_1(), "rule__XMemberFeatureCall__NullSafeAssignment_1_1_0_0_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_1_0_0_1_2(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_1_0_0_1_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_2_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_2_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_1_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_1_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallAssignment_1_1_3_0(), "rule__XMemberFeatureCall__ExplicitOperationCallAssignment_1_1_3_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_1_1(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_4(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4"); - builder.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_0(), "rule__XSetLiteral__ElementsAssignment_3_0"); - builder.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_1_1(), "rule__XSetLiteral__ElementsAssignment_3_1_1"); - builder.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_0(), "rule__XListLiteral__ElementsAssignment_3_0"); - builder.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_1_1(), "rule__XListLiteral__ElementsAssignment_3_1_1"); - builder.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_0(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_0"); - builder.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_1_1(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_1_1"); - builder.put(grammarAccess.getXClosureAccess().getExplicitSyntaxAssignment_1_0_1(), "rule__XClosure__ExplicitSyntaxAssignment_1_0_1"); - builder.put(grammarAccess.getXClosureAccess().getExpressionAssignment_2(), "rule__XClosure__ExpressionAssignment_2"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getExpressionsAssignment_1_0(), "rule__XExpressionInClosure__ExpressionsAssignment_1_0"); - builder.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_0(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0"); - builder.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_1_1(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1"); - builder.put(grammarAccess.getXShortClosureAccess().getExplicitSyntaxAssignment_0_0_2(), "rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2"); - builder.put(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1(), "rule__XShortClosure__ExpressionAssignment_1"); - builder.put(grammarAccess.getXIfExpressionAccess().getIfAssignment_3(), "rule__XIfExpression__IfAssignment_3"); - builder.put(grammarAccess.getXIfExpressionAccess().getThenAssignment_5(), "rule__XIfExpression__ThenAssignment_5"); - builder.put(grammarAccess.getXIfExpressionAccess().getElseAssignment_6_1(), "rule__XIfExpression__ElseAssignment_6_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_0_0_0_1(), "rule__XSwitchExpression__DeclaredParamAssignment_2_0_0_0_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1(), "rule__XSwitchExpression__SwitchAssignment_2_0_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_1_0_0_0(), "rule__XSwitchExpression__DeclaredParamAssignment_2_1_0_0_0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1(), "rule__XSwitchExpression__SwitchAssignment_2_1_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4(), "rule__XSwitchExpression__CasesAssignment_4"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDefaultAssignment_5_2(), "rule__XSwitchExpression__DefaultAssignment_5_2"); - builder.put(grammarAccess.getXCasePartAccess().getTypeGuardAssignment_1(), "rule__XCasePart__TypeGuardAssignment_1"); - builder.put(grammarAccess.getXCasePartAccess().getCaseAssignment_2_1(), "rule__XCasePart__CaseAssignment_2_1"); - builder.put(grammarAccess.getXCasePartAccess().getThenAssignment_3_0_1(), "rule__XCasePart__ThenAssignment_3_0_1"); - builder.put(grammarAccess.getXCasePartAccess().getFallThroughAssignment_3_1(), "rule__XCasePart__FallThroughAssignment_3_1"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamAssignment_0_0_3(), "rule__XForLoopExpression__DeclaredParamAssignment_0_0_3"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getForExpressionAssignment_1(), "rule__XForLoopExpression__ForExpressionAssignment_1"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getEachExpressionAssignment_3(), "rule__XForLoopExpression__EachExpressionAssignment_3"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_0(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_1_1(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_1_1"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getExpressionAssignment_5(), "rule__XBasicForLoopExpression__ExpressionAssignment_5"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_0(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_1_1(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_1_1"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getEachExpressionAssignment_9(), "rule__XBasicForLoopExpression__EachExpressionAssignment_9"); - builder.put(grammarAccess.getXWhileExpressionAccess().getPredicateAssignment_3(), "rule__XWhileExpression__PredicateAssignment_3"); - builder.put(grammarAccess.getXWhileExpressionAccess().getBodyAssignment_5(), "rule__XWhileExpression__BodyAssignment_5"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getBodyAssignment_2(), "rule__XDoWhileExpression__BodyAssignment_2"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getPredicateAssignment_5(), "rule__XDoWhileExpression__PredicateAssignment_5"); - builder.put(grammarAccess.getXBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__XBlockExpression__ExpressionsAssignment_2_0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getWriteableAssignment_1_0(), "rule__XVariableDeclaration__WriteableAssignment_1_0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getTypeAssignment_2_0_0_0(), "rule__XVariableDeclaration__TypeAssignment_2_0_0_0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_0_0_1(), "rule__XVariableDeclaration__NameAssignment_2_0_0_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_1(), "rule__XVariableDeclaration__NameAssignment_2_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getRightAssignment_3_1(), "rule__XVariableDeclaration__RightAssignment_3_1"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__JvmFormalParameter__ParameterTypeAssignment_0"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getNameAssignment_1(), "rule__JvmFormalParameter__NameAssignment_1"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__FullJvmFormalParameter__ParameterTypeAssignment_0"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getNameAssignment_1(), "rule__FullJvmFormalParameter__NameAssignment_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_2_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_2_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureAssignment_2(), "rule__XFeatureCall__FeatureAssignment_2"); - builder.put(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallAssignment_3_0(), "rule__XFeatureCall__ExplicitOperationCallAssignment_3_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_1_1(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_4"); - builder.put(grammarAccess.getXConstructorCallAccess().getConstructorAssignment_2(), "rule__XConstructorCall__ConstructorAssignment_2"); - builder.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_2_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_2_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getExplicitConstructorCallAssignment_4_0(), "rule__XConstructorCall__ExplicitConstructorCallAssignment_4_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_1_1(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_1_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_5(), "rule__XConstructorCall__ArgumentsAssignment_5"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1(), "rule__XBooleanLiteral__IsTrueAssignment_1_1"); - builder.put(grammarAccess.getXNumberLiteralAccess().getValueAssignment_1(), "rule__XNumberLiteral__ValueAssignment_1"); - builder.put(grammarAccess.getXStringLiteralAccess().getValueAssignment_1(), "rule__XStringLiteral__ValueAssignment_1"); - builder.put(grammarAccess.getXTypeLiteralAccess().getTypeAssignment_3(), "rule__XTypeLiteral__TypeAssignment_3"); - builder.put(grammarAccess.getXTypeLiteralAccess().getArrayDimensionsAssignment_4(), "rule__XTypeLiteral__ArrayDimensionsAssignment_4"); - builder.put(grammarAccess.getXThrowExpressionAccess().getExpressionAssignment_2(), "rule__XThrowExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXReturnExpressionAccess().getExpressionAssignment_2(), "rule__XReturnExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionAssignment_2(), "rule__XTryCatchFinallyExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesAssignment_3_0_0(), "rule__XTryCatchFinallyExpression__CatchClausesAssignment_3_0_0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_0_1_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_1_1"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getParamAssignment_1(), "rule__XSynchronizedExpression__ParamAssignment_1"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getExpressionAssignment_3(), "rule__XSynchronizedExpression__ExpressionAssignment_3"); - builder.put(grammarAccess.getXCatchClauseAccess().getDeclaredParamAssignment_2(), "rule__XCatchClause__DeclaredParamAssignment_2"); - builder.put(grammarAccess.getXCatchClauseAccess().getExpressionAssignment_4(), "rule__XCatchClause__ExpressionAssignment_4"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionTypeRef__ReturnTypeAssignment_2"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0(), "rule__JvmParameterizedTypeReference__TypeAssignment_0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1(), "rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1"); - builder.put(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBound__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBoundAnded__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBound__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBoundAnded__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getNameAssignment_0(), "rule__JvmTypeParameter__NameAssignment_0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_0(), "rule__JvmTypeParameter__ConstraintsAssignment_1_0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_1(), "rule__JvmTypeParameter__ConstraintsAssignment_1_1"); - builder.put(grammarAccess.getXImportSectionAccess().getImportDeclarationsAssignment(), "rule__XImportSection__ImportDeclarationsAssignment"); - builder.put(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0(), "rule__XImportDeclaration__StaticAssignment_1_0_0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1(), "rule__XImportDeclaration__ExtensionAssignment_1_0_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2(), "rule__XImportDeclaration__ImportedTypeAssignment_1_0_2"); - builder.put(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0(), "rule__XImportDeclaration__WildcardAssignment_1_0_3_0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1(), "rule__XImportDeclaration__MemberNameAssignment_1_0_3_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1(), "rule__XImportDeclaration__ImportedTypeAssignment_1_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2(), "rule__XImportDeclaration__ImportedNamespaceAssignment_1_2"); + private static void init(Map mappings, XImportSectionTestLangGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getXAssignmentAccess().getAlternatives(), "rule__XAssignment__Alternatives"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getAlternatives(), "rule__OpMultiAssign__Alternatives"); + mappings.put(grammarAccess.getOpEqualityAccess().getAlternatives(), "rule__OpEquality__Alternatives"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getAlternatives_1(), "rule__XRelationalExpression__Alternatives_1"); + mappings.put(grammarAccess.getOpCompareAccess().getAlternatives(), "rule__OpCompare__Alternatives"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives(), "rule__OpOther__Alternatives"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives_5_1(), "rule__OpOther__Alternatives_5_1"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives_6_1(), "rule__OpOther__Alternatives_6_1"); + mappings.put(grammarAccess.getOpAddAccess().getAlternatives(), "rule__OpAdd__Alternatives"); + mappings.put(grammarAccess.getOpMultiAccess().getAlternatives(), "rule__OpMulti__Alternatives"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getAlternatives(), "rule__XUnaryOperation__Alternatives"); + mappings.put(grammarAccess.getOpUnaryAccess().getAlternatives(), "rule__OpUnary__Alternatives"); + mappings.put(grammarAccess.getOpPostfixAccess().getAlternatives(), "rule__OpPostfix__Alternatives"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1(), "rule__XMemberFeatureCall__Alternatives_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_0_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_0_0_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_1_0_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_3_1(), "rule__XMemberFeatureCall__Alternatives_1_1_3_1"); + mappings.put(grammarAccess.getXPrimaryExpressionAccess().getAlternatives(), "rule__XPrimaryExpression__Alternatives"); + mappings.put(grammarAccess.getXLiteralAccess().getAlternatives(), "rule__XLiteral__Alternatives"); + mappings.put(grammarAccess.getXCollectionLiteralAccess().getAlternatives(), "rule__XCollectionLiteral__Alternatives"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2(), "rule__XSwitchExpression__Alternatives_2"); + mappings.put(grammarAccess.getXCasePartAccess().getAlternatives_3(), "rule__XCasePart__Alternatives_3"); + mappings.put(grammarAccess.getXExpressionOrVarDeclarationAccess().getAlternatives(), "rule__XExpressionOrVarDeclaration__Alternatives"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_1(), "rule__XVariableDeclaration__Alternatives_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_2(), "rule__XVariableDeclaration__Alternatives_2"); + mappings.put(grammarAccess.getXFeatureCallAccess().getAlternatives_3_1(), "rule__XFeatureCall__Alternatives_3_1"); + mappings.put(grammarAccess.getFeatureCallIDAccess().getAlternatives(), "rule__FeatureCallID__Alternatives"); + mappings.put(grammarAccess.getIdOrSuperAccess().getAlternatives(), "rule__IdOrSuper__Alternatives"); + mappings.put(grammarAccess.getXConstructorCallAccess().getAlternatives_4_1(), "rule__XConstructorCall__Alternatives_4_1"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1(), "rule__XBooleanLiteral__Alternatives_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_3(), "rule__XTryCatchFinallyExpression__Alternatives_3"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives(), "rule__Number__Alternatives"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives_1_0(), "rule__Number__Alternatives_1_0"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives_1_1_1(), "rule__Number__Alternatives_1_1_1"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getAlternatives(), "rule__JvmTypeReference__Alternatives"); + mappings.put(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives(), "rule__JvmArgumentTypeReference__Alternatives"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2(), "rule__JvmWildcardTypeReference__Alternatives_2"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1(), "rule__XImportDeclaration__Alternatives_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3(), "rule__XImportDeclaration__Alternatives_1_0_3"); + mappings.put(grammarAccess.getImportSectionTestLanguageRootAccess().getGroup(), "rule__ImportSectionTestLanguageRoot__Group__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_0(), "rule__XAssignment__Group_0__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1(), "rule__XAssignment__Group_1__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1(), "rule__XAssignment__Group_1_1__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0(), "rule__XAssignment__Group_1_1_0__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0_0(), "rule__XAssignment__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getGroup_5(), "rule__OpMultiAssign__Group_5__0"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getGroup_6(), "rule__OpMultiAssign__Group_6__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup(), "rule__XOrExpression__Group__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1(), "rule__XOrExpression__Group_1__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0(), "rule__XOrExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0_0(), "rule__XOrExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup(), "rule__XAndExpression__Group__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1(), "rule__XAndExpression__Group_1__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0(), "rule__XAndExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0_0(), "rule__XAndExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup(), "rule__XEqualityExpression__Group__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1(), "rule__XEqualityExpression__Group_1__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0(), "rule__XEqualityExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0_0(), "rule__XEqualityExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup(), "rule__XRelationalExpression__Group__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0(), "rule__XRelationalExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0(), "rule__XRelationalExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0_0(), "rule__XRelationalExpression__Group_1_0_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1(), "rule__XRelationalExpression__Group_1_1__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0(), "rule__XRelationalExpression__Group_1_1_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0_0(), "rule__XRelationalExpression__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getOpCompareAccess().getGroup_1(), "rule__OpCompare__Group_1__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup(), "rule__XOtherOperatorExpression__Group__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1(), "rule__XOtherOperatorExpression__Group_1__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0(), "rule__XOtherOperatorExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0_0(), "rule__XOtherOperatorExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_2(), "rule__OpOther__Group_2__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5(), "rule__OpOther__Group_5__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0(), "rule__OpOther__Group_5_1_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0_0(), "rule__OpOther__Group_5_1_0_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6(), "rule__OpOther__Group_6__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0(), "rule__OpOther__Group_6_1_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0_0(), "rule__OpOther__Group_6_1_0_0__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup(), "rule__XAdditiveExpression__Group__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1(), "rule__XAdditiveExpression__Group_1__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0(), "rule__XAdditiveExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0_0(), "rule__XAdditiveExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup(), "rule__XMultiplicativeExpression__Group__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1(), "rule__XMultiplicativeExpression__Group_1__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0(), "rule__XMultiplicativeExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0_0(), "rule__XMultiplicativeExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getGroup_0(), "rule__XUnaryOperation__Group_0__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup(), "rule__XCastedExpression__Group__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1(), "rule__XCastedExpression__Group_1__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0(), "rule__XCastedExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0_0(), "rule__XCastedExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup(), "rule__XPostfixOperation__Group__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup_1(), "rule__XPostfixOperation__Group_1__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup_1_0(), "rule__XPostfixOperation__Group_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup(), "rule__XMemberFeatureCall__Group__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0(), "rule__XMemberFeatureCall__Group_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0(), "rule__XMemberFeatureCall__Group_1_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0_0(), "rule__XMemberFeatureCall__Group_1_0_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1(), "rule__XMemberFeatureCall__Group_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0(), "rule__XMemberFeatureCall__Group_1_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0_0(), "rule__XMemberFeatureCall__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1_2(), "rule__XMemberFeatureCall__Group_1_1_1_2__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3(), "rule__XMemberFeatureCall__Group_1_1_3__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1_1__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup(), "rule__XSetLiteral__Group__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup_3(), "rule__XSetLiteral__Group_3__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup_3_1(), "rule__XSetLiteral__Group_3_1__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup(), "rule__XListLiteral__Group__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup_3(), "rule__XListLiteral__Group_3__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup_3_1(), "rule__XListLiteral__Group_3_1__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup(), "rule__XClosure__Group__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_0(), "rule__XClosure__Group_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_0_0(), "rule__XClosure__Group_0_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1(), "rule__XClosure__Group_1__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0(), "rule__XClosure__Group_1_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0_0(), "rule__XClosure__Group_1_0_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0_0_1(), "rule__XClosure__Group_1_0_0_1__0"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getGroup(), "rule__XExpressionInClosure__Group__0"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getGroup_1(), "rule__XExpressionInClosure__Group_1__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup(), "rule__XShortClosure__Group__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0(), "rule__XShortClosure__Group_0__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0(), "rule__XShortClosure__Group_0_0__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1(), "rule__XShortClosure__Group_0_0_1__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1_1(), "rule__XShortClosure__Group_0_0_1_1__0"); + mappings.put(grammarAccess.getXParenthesizedExpressionAccess().getGroup(), "rule__XParenthesizedExpression__Group__0"); + mappings.put(grammarAccess.getXIfExpressionAccess().getGroup(), "rule__XIfExpression__Group__0"); + mappings.put(grammarAccess.getXIfExpressionAccess().getGroup_6(), "rule__XIfExpression__Group_6__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup(), "rule__XSwitchExpression__Group__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0(), "rule__XSwitchExpression__Group_2_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0(), "rule__XSwitchExpression__Group_2_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0(), "rule__XSwitchExpression__Group_2_0_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1(), "rule__XSwitchExpression__Group_2_1__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0(), "rule__XSwitchExpression__Group_2_1_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0(), "rule__XSwitchExpression__Group_2_1_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_5(), "rule__XSwitchExpression__Group_5__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup(), "rule__XCasePart__Group__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup_2(), "rule__XCasePart__Group_2__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup_3_0(), "rule__XCasePart__Group_3_0__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup(), "rule__XForLoopExpression__Group__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0(), "rule__XForLoopExpression__Group_0__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0_0(), "rule__XForLoopExpression__Group_0_0__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup(), "rule__XBasicForLoopExpression__Group__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3(), "rule__XBasicForLoopExpression__Group_3__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3_1(), "rule__XBasicForLoopExpression__Group_3_1__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7(), "rule__XBasicForLoopExpression__Group_7__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7_1(), "rule__XBasicForLoopExpression__Group_7_1__0"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getGroup(), "rule__XWhileExpression__Group__0"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getGroup(), "rule__XDoWhileExpression__Group__0"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getGroup(), "rule__XBlockExpression__Group__0"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getGroup_2(), "rule__XBlockExpression__Group_2__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup(), "rule__XVariableDeclaration__Group__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0(), "rule__XVariableDeclaration__Group_2_0__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0_0(), "rule__XVariableDeclaration__Group_2_0_0__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_3(), "rule__XVariableDeclaration__Group_3__0"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getGroup(), "rule__JvmFormalParameter__Group__0"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getGroup(), "rule__FullJvmFormalParameter__Group__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup(), "rule__XFeatureCall__Group__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_1(), "rule__XFeatureCall__Group_1__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_1_2(), "rule__XFeatureCall__Group_1_2__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3(), "rule__XFeatureCall__Group_3__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1(), "rule__XFeatureCall__Group_3_1_1__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1_1(), "rule__XFeatureCall__Group_3_1_1_1__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup(), "rule__XConstructorCall__Group__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_3(), "rule__XConstructorCall__Group_3__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_3_2(), "rule__XConstructorCall__Group_3_2__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4(), "rule__XConstructorCall__Group_4__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1(), "rule__XConstructorCall__Group_4_1_1__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1_1(), "rule__XConstructorCall__Group_4_1_1_1__0"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getGroup(), "rule__XBooleanLiteral__Group__0"); + mappings.put(grammarAccess.getXNullLiteralAccess().getGroup(), "rule__XNullLiteral__Group__0"); + mappings.put(grammarAccess.getXNumberLiteralAccess().getGroup(), "rule__XNumberLiteral__Group__0"); + mappings.put(grammarAccess.getXStringLiteralAccess().getGroup(), "rule__XStringLiteral__Group__0"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getGroup(), "rule__XTypeLiteral__Group__0"); + mappings.put(grammarAccess.getXThrowExpressionAccess().getGroup(), "rule__XThrowExpression__Group__0"); + mappings.put(grammarAccess.getXReturnExpressionAccess().getGroup(), "rule__XReturnExpression__Group__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup(), "rule__XTryCatchFinallyExpression__Group__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0(), "rule__XTryCatchFinallyExpression__Group_3_0__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0_1(), "rule__XTryCatchFinallyExpression__Group_3_0_1__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_1(), "rule__XTryCatchFinallyExpression__Group_3_1__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup(), "rule__XSynchronizedExpression__Group__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0(), "rule__XSynchronizedExpression__Group_0__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0_0(), "rule__XSynchronizedExpression__Group_0_0__0"); + mappings.put(grammarAccess.getXCatchClauseAccess().getGroup(), "rule__XCatchClause__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); + mappings.put(grammarAccess.getNumberAccess().getGroup_1(), "rule__Number__Group_1__0"); + mappings.put(grammarAccess.getNumberAccess().getGroup_1_1(), "rule__Number__Group_1_1__0"); + mappings.put(grammarAccess.getStaticQualifierAccess().getGroup(), "rule__StaticQualifier__Group__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0(), "rule__JvmTypeReference__Group_0__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1(), "rule__JvmTypeReference__Group_0_1__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0(), "rule__JvmTypeReference__Group_0_1_0__0"); + mappings.put(grammarAccess.getArrayBracketsAccess().getGroup(), "rule__ArrayBrackets__Group__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup(), "rule__XFunctionTypeRef__Group__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0(), "rule__XFunctionTypeRef__Group_0__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1(), "rule__XFunctionTypeRef__Group_0_1__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1(), "rule__XFunctionTypeRef__Group_0_1_1__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup(), "rule__JvmParameterizedTypeReference__Group__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1(), "rule__JvmParameterizedTypeReference__Group_1__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2(), "rule__JvmParameterizedTypeReference__Group_1_2__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4(), "rule__JvmParameterizedTypeReference__Group_1_4__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup(), "rule__JvmWildcardTypeReference__Group__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0(), "rule__JvmWildcardTypeReference__Group_2_0__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1(), "rule__JvmWildcardTypeReference__Group_2_1__0"); + mappings.put(grammarAccess.getJvmUpperBoundAccess().getGroup(), "rule__JvmUpperBound__Group__0"); + mappings.put(grammarAccess.getJvmUpperBoundAndedAccess().getGroup(), "rule__JvmUpperBoundAnded__Group__0"); + mappings.put(grammarAccess.getJvmLowerBoundAccess().getGroup(), "rule__JvmLowerBound__Group__0"); + mappings.put(grammarAccess.getJvmLowerBoundAndedAccess().getGroup(), "rule__JvmLowerBoundAnded__Group__0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getGroup(), "rule__JvmTypeParameter__Group__0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getGroup_1(), "rule__JvmTypeParameter__Group_1__0"); + mappings.put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup(), "rule__QualifiedNameWithWildcard__Group__0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getGroup(), "rule__XImportDeclaration__Group__0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getGroup_1_0(), "rule__XImportDeclaration__Group_1_0__0"); + mappings.put(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup(), "rule__QualifiedNameInStaticImport__Group__0"); + mappings.put(grammarAccess.getImportSectionTestLanguageRootAccess().getImportSectionAssignment_2(), "rule__ImportSectionTestLanguageRoot__ImportSectionAssignment_2"); + mappings.put(grammarAccess.getImportSectionTestLanguageRootAccess().getExpressionAssignment_3(), "rule__ImportSectionTestLanguageRoot__ExpressionAssignment_3"); + mappings.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_0_1(), "rule__XAssignment__FeatureAssignment_0_1"); + mappings.put(grammarAccess.getXAssignmentAccess().getValueAssignment_0_3(), "rule__XAssignment__ValueAssignment_0_3"); + mappings.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XAssignment__FeatureAssignment_1_1_0_0_1"); + mappings.put(grammarAccess.getXAssignmentAccess().getRightOperandAssignment_1_1_1(), "rule__XAssignment__RightOperandAssignment_1_1_1"); + mappings.put(grammarAccess.getXOrExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOrExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXOrExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOrExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXAndExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAndExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXAndExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAndExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XEqualityExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getRightOperandAssignment_1_1(), "rule__XEqualityExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getTypeAssignment_1_0_1(), "rule__XRelationalExpression__TypeAssignment_1_0_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XRelationalExpression__FeatureAssignment_1_1_0_0_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getRightOperandAssignment_1_1_1(), "rule__XRelationalExpression__RightOperandAssignment_1_1_1"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOtherOperatorExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOtherOperatorExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAdditiveExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAdditiveExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XMultiplicativeExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandAssignment_1_1(), "rule__XMultiplicativeExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getFeatureAssignment_0_1(), "rule__XUnaryOperation__FeatureAssignment_0_1"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getOperandAssignment_0_2(), "rule__XUnaryOperation__OperandAssignment_0_2"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getTypeAssignment_1_1(), "rule__XCastedExpression__TypeAssignment_1_1"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getFeatureAssignment_1_0_1(), "rule__XPostfixOperation__FeatureAssignment_1_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_0_0_0_1_1(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_0_0_0_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_0_0_0_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getValueAssignment_1_0_1(), "rule__XMemberFeatureCall__ValueAssignment_1_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getNullSafeAssignment_1_1_0_0_1_1(), "rule__XMemberFeatureCall__NullSafeAssignment_1_1_0_0_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_1_0_0_1_2(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_1_0_0_1_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_2_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_2_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_1_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_1_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallAssignment_1_1_3_0(), "rule__XMemberFeatureCall__ExplicitOperationCallAssignment_1_1_3_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_1_1(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_4(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4"); + mappings.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_0(), "rule__XSetLiteral__ElementsAssignment_3_0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_1_1(), "rule__XSetLiteral__ElementsAssignment_3_1_1"); + mappings.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_0(), "rule__XListLiteral__ElementsAssignment_3_0"); + mappings.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_1_1(), "rule__XListLiteral__ElementsAssignment_3_1_1"); + mappings.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_0(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_0"); + mappings.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_1_1(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_1_1"); + mappings.put(grammarAccess.getXClosureAccess().getExplicitSyntaxAssignment_1_0_1(), "rule__XClosure__ExplicitSyntaxAssignment_1_0_1"); + mappings.put(grammarAccess.getXClosureAccess().getExpressionAssignment_2(), "rule__XClosure__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getExpressionsAssignment_1_0(), "rule__XExpressionInClosure__ExpressionsAssignment_1_0"); + mappings.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_0(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0"); + mappings.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_1_1(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1"); + mappings.put(grammarAccess.getXShortClosureAccess().getExplicitSyntaxAssignment_0_0_2(), "rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2"); + mappings.put(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1(), "rule__XShortClosure__ExpressionAssignment_1"); + mappings.put(grammarAccess.getXIfExpressionAccess().getIfAssignment_3(), "rule__XIfExpression__IfAssignment_3"); + mappings.put(grammarAccess.getXIfExpressionAccess().getThenAssignment_5(), "rule__XIfExpression__ThenAssignment_5"); + mappings.put(grammarAccess.getXIfExpressionAccess().getElseAssignment_6_1(), "rule__XIfExpression__ElseAssignment_6_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_0_0_0_1(), "rule__XSwitchExpression__DeclaredParamAssignment_2_0_0_0_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1(), "rule__XSwitchExpression__SwitchAssignment_2_0_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_1_0_0_0(), "rule__XSwitchExpression__DeclaredParamAssignment_2_1_0_0_0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1(), "rule__XSwitchExpression__SwitchAssignment_2_1_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4(), "rule__XSwitchExpression__CasesAssignment_4"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDefaultAssignment_5_2(), "rule__XSwitchExpression__DefaultAssignment_5_2"); + mappings.put(grammarAccess.getXCasePartAccess().getTypeGuardAssignment_1(), "rule__XCasePart__TypeGuardAssignment_1"); + mappings.put(grammarAccess.getXCasePartAccess().getCaseAssignment_2_1(), "rule__XCasePart__CaseAssignment_2_1"); + mappings.put(grammarAccess.getXCasePartAccess().getThenAssignment_3_0_1(), "rule__XCasePart__ThenAssignment_3_0_1"); + mappings.put(grammarAccess.getXCasePartAccess().getFallThroughAssignment_3_1(), "rule__XCasePart__FallThroughAssignment_3_1"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamAssignment_0_0_3(), "rule__XForLoopExpression__DeclaredParamAssignment_0_0_3"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getForExpressionAssignment_1(), "rule__XForLoopExpression__ForExpressionAssignment_1"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getEachExpressionAssignment_3(), "rule__XForLoopExpression__EachExpressionAssignment_3"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_0(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_1_1(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_1_1"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getExpressionAssignment_5(), "rule__XBasicForLoopExpression__ExpressionAssignment_5"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_0(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_1_1(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_1_1"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getEachExpressionAssignment_9(), "rule__XBasicForLoopExpression__EachExpressionAssignment_9"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getPredicateAssignment_3(), "rule__XWhileExpression__PredicateAssignment_3"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getBodyAssignment_5(), "rule__XWhileExpression__BodyAssignment_5"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getBodyAssignment_2(), "rule__XDoWhileExpression__BodyAssignment_2"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getPredicateAssignment_5(), "rule__XDoWhileExpression__PredicateAssignment_5"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__XBlockExpression__ExpressionsAssignment_2_0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getWriteableAssignment_1_0(), "rule__XVariableDeclaration__WriteableAssignment_1_0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getTypeAssignment_2_0_0_0(), "rule__XVariableDeclaration__TypeAssignment_2_0_0_0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_0_0_1(), "rule__XVariableDeclaration__NameAssignment_2_0_0_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_1(), "rule__XVariableDeclaration__NameAssignment_2_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getRightAssignment_3_1(), "rule__XVariableDeclaration__RightAssignment_3_1"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__JvmFormalParameter__ParameterTypeAssignment_0"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getNameAssignment_1(), "rule__JvmFormalParameter__NameAssignment_1"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__FullJvmFormalParameter__ParameterTypeAssignment_0"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getNameAssignment_1(), "rule__FullJvmFormalParameter__NameAssignment_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_2_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_2_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureAssignment_2(), "rule__XFeatureCall__FeatureAssignment_2"); + mappings.put(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallAssignment_3_0(), "rule__XFeatureCall__ExplicitOperationCallAssignment_3_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_1_1(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_4"); + mappings.put(grammarAccess.getXConstructorCallAccess().getConstructorAssignment_2(), "rule__XConstructorCall__ConstructorAssignment_2"); + mappings.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_2_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_2_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getExplicitConstructorCallAssignment_4_0(), "rule__XConstructorCall__ExplicitConstructorCallAssignment_4_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_1_1(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_1_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_5(), "rule__XConstructorCall__ArgumentsAssignment_5"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1(), "rule__XBooleanLiteral__IsTrueAssignment_1_1"); + mappings.put(grammarAccess.getXNumberLiteralAccess().getValueAssignment_1(), "rule__XNumberLiteral__ValueAssignment_1"); + mappings.put(grammarAccess.getXStringLiteralAccess().getValueAssignment_1(), "rule__XStringLiteral__ValueAssignment_1"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getTypeAssignment_3(), "rule__XTypeLiteral__TypeAssignment_3"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getArrayDimensionsAssignment_4(), "rule__XTypeLiteral__ArrayDimensionsAssignment_4"); + mappings.put(grammarAccess.getXThrowExpressionAccess().getExpressionAssignment_2(), "rule__XThrowExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXReturnExpressionAccess().getExpressionAssignment_2(), "rule__XReturnExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionAssignment_2(), "rule__XTryCatchFinallyExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesAssignment_3_0_0(), "rule__XTryCatchFinallyExpression__CatchClausesAssignment_3_0_0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_0_1_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_1_1"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getParamAssignment_1(), "rule__XSynchronizedExpression__ParamAssignment_1"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getExpressionAssignment_3(), "rule__XSynchronizedExpression__ExpressionAssignment_3"); + mappings.put(grammarAccess.getXCatchClauseAccess().getDeclaredParamAssignment_2(), "rule__XCatchClause__DeclaredParamAssignment_2"); + mappings.put(grammarAccess.getXCatchClauseAccess().getExpressionAssignment_4(), "rule__XCatchClause__ExpressionAssignment_4"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionTypeRef__ReturnTypeAssignment_2"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0(), "rule__JvmParameterizedTypeReference__TypeAssignment_0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1(), "rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1"); + mappings.put(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBound__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBoundAnded__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBound__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBoundAnded__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getNameAssignment_0(), "rule__JvmTypeParameter__NameAssignment_0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_0(), "rule__JvmTypeParameter__ConstraintsAssignment_1_0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_1(), "rule__JvmTypeParameter__ConstraintsAssignment_1_1"); + mappings.put(grammarAccess.getXImportSectionAccess().getImportDeclarationsAssignment(), "rule__XImportSection__ImportDeclarationsAssignment"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0(), "rule__XImportDeclaration__StaticAssignment_1_0_0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1(), "rule__XImportDeclaration__ExtensionAssignment_1_0_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2(), "rule__XImportDeclaration__ImportedTypeAssignment_1_0_2"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0(), "rule__XImportDeclaration__WildcardAssignment_1_0_3_0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1(), "rule__XImportDeclaration__MemberNameAssignment_1_0_3_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1(), "rule__XImportDeclaration__ImportedTypeAssignment_1_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2(), "rule__XImportDeclaration__ImportedNamespaceAssignment_1_2"); } } diff --git a/org.eclipse.xtext.xtext.generator/src/org/eclipse/xtext/xtext/generator/parser/antlr/XtextAntlrGeneratorFragment2.xtend b/org.eclipse.xtext.xtext.generator/src/org/eclipse/xtext/xtext/generator/parser/antlr/XtextAntlrGeneratorFragment2.xtend index b6f76a0832e..0ac5dea187e 100644 --- a/org.eclipse.xtext.xtext.generator/src/org/eclipse/xtext/xtext/generator/parser/antlr/XtextAntlrGeneratorFragment2.xtend +++ b/org.eclipse.xtext.xtext.generator/src/org/eclipse/xtext/xtext/generator/parser/antlr/XtextAntlrGeneratorFragment2.xtend @@ -8,12 +8,12 @@ *******************************************************************************/ package org.eclipse.xtext.xtext.generator.parser.antlr -import com.google.common.collect.ImmutableMap import com.google.common.collect.Lists import com.google.inject.Inject import com.google.inject.Singleton import com.google.inject.name.Names import java.io.InputStream +import java.util.HashMap import java.util.List import java.util.Map import java.util.Set @@ -372,7 +372,7 @@ class XtextAntlrGeneratorFragment2 extends AbstractAntlrGeneratorFragment2 { */ protected def StringConcatenationClient initNameMappings(List partition) ''' «FOR element : partition» - builder.put(grammarAccess.«element.originalElement.grammarElementAccess», "«element.originalElement.containingRule.contentAssistRuleName»__«element.originalElement.gaElementIdentifier»«IF element instanceof Group»__0«ENDIF»"); + mappings.put(grammarAccess.«element.originalElement.grammarElementAccess», "«element.originalElement.containingRule.contentAssistRuleName»__«element.originalElement.gaElementIdentifier»«IF element instanceof Group»__0«ENDIF»"); «ENDFOR» ''' @@ -394,7 +394,7 @@ class XtextAntlrGeneratorFragment2 extends AbstractAntlrGeneratorFragment2 { «IF partitions.size > 1» «FOR partition : partitions.indexed» private static final class Init«partition.key» { - private static void doInit(«ImmutableMap».Builder<«AbstractElement», «String»> builder, «grammar.grammarAccess» grammarAccess) { + private static void doInit(«Map»<«AbstractElement», «String»> mappings, «grammar.grammarAccess» grammarAccess) { «partition.value.initNameMappings» } } @@ -405,19 +405,19 @@ class XtextAntlrGeneratorFragment2 extends AbstractAntlrGeneratorFragment2 { @«Inject» public NameMappings(«grammar.grammarAccess» grammarAccess) { - «ImmutableMap».Builder<«AbstractElement», «String»> builder = «ImmutableMap».builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + «Map»<«AbstractElement», «String»> mappings = new «HashMap»<>(); + init(mappings, grammarAccess); + this.mappings = «Map».copyOf(mappings); } public «String» getRuleName(«AbstractElement» element) { return mappings.get(element); } - private static void init(«ImmutableMap».Builder<«AbstractElement», «String»> builder, «grammar.grammarAccess» grammarAccess) { + private static void init(«Map»<«AbstractElement», «String»> mappings, «grammar.grammarAccess» grammarAccess) { «IF partitions.size > 1» «FOR partition : partitions.indexed» - Init«partition.key».doInit(builder, grammarAccess); + Init«partition.key».doInit(mappings, grammarAccess); «ENDFOR» «ELSE» «FOR partition : partitions» diff --git a/org.eclipse.xtext.xtext.generator/xtend-gen/org/eclipse/xtext/xtext/generator/parser/antlr/XtextAntlrGeneratorFragment2.java b/org.eclipse.xtext.xtext.generator/xtend-gen/org/eclipse/xtext/xtext/generator/parser/antlr/XtextAntlrGeneratorFragment2.java index 7c4291bb1b8..358951ea901 100644 --- a/org.eclipse.xtext.xtext.generator/xtend-gen/org/eclipse/xtext/xtext/generator/parser/antlr/XtextAntlrGeneratorFragment2.java +++ b/org.eclipse.xtext.xtext.generator/xtend-gen/org/eclipse/xtext/xtext/generator/parser/antlr/XtextAntlrGeneratorFragment2.java @@ -9,7 +9,6 @@ package org.eclipse.xtext.xtext.generator.parser.antlr; import com.google.common.base.Objects; -import com.google.common.collect.ImmutableMap; import com.google.common.collect.Iterables; import com.google.common.collect.Lists; import com.google.inject.Inject; @@ -19,6 +18,7 @@ import java.util.ArrayList; import java.util.Collection; import java.util.Collections; +import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; @@ -841,7 +841,7 @@ protected StringConcatenationClient initNameMappings(final List protected void appendTo(StringConcatenationClient.TargetStringConcatenation _builder) { { for(final AbstractElement element : partition) { - _builder.append("builder.put(grammarAccess."); + _builder.append("mappings.put(grammarAccess."); String _grammarElementAccess = XtextAntlrGeneratorFragment2.this.grammarUtil.grammarElementAccess(AntlrGrammarGenUtil.getOriginalElement(element)); _builder.append(_grammarElementAccess); _builder.append(", \""); @@ -912,12 +912,12 @@ protected void appendTo(StringConcatenationClient.TargetStringConcatenation _bui _builder.append("\t"); _builder.append("\t"); _builder.append("private static void doInit("); - _builder.append(ImmutableMap.class, "\t\t"); - _builder.append(".Builder<"); + _builder.append(Map.class, "\t\t"); + _builder.append("<"); _builder.append(AbstractElement.class, "\t\t"); _builder.append(", "); _builder.append(String.class, "\t\t"); - _builder.append("> builder, "); + _builder.append("> mappings, "); TypeReference _grammarAccess = XtextAntlrGeneratorFragment2.this.grammarUtil.getGrammarAccess(XtextAntlrGeneratorFragment2.this.getGrammar()); _builder.append(_grammarAccess, "\t\t"); _builder.append(" grammarAccess) {"); @@ -962,21 +962,23 @@ protected void appendTo(StringConcatenationClient.TargetStringConcatenation _bui _builder.append(" grammarAccess) {"); _builder.newLineIfNotEmpty(); _builder.append("\t\t"); - _builder.append(ImmutableMap.class, "\t\t"); - _builder.append(".Builder<"); + _builder.append(Map.class, "\t\t"); + _builder.append("<"); _builder.append(AbstractElement.class, "\t\t"); _builder.append(", "); _builder.append(String.class, "\t\t"); - _builder.append("> builder = "); - _builder.append(ImmutableMap.class, "\t\t"); - _builder.append(".builder();"); + _builder.append("> mappings = new "); + _builder.append(HashMap.class, "\t\t"); + _builder.append("<>();"); _builder.newLineIfNotEmpty(); _builder.append("\t\t"); - _builder.append("init(builder, grammarAccess);"); + _builder.append("init(mappings, grammarAccess);"); _builder.newLine(); _builder.append("\t\t"); - _builder.append("this.mappings = builder.build();"); - _builder.newLine(); + _builder.append("this.mappings = "); + _builder.append(Map.class, "\t\t"); + _builder.append(".copyOf(mappings);"); + _builder.newLineIfNotEmpty(); _builder.append("\t"); _builder.append("}"); _builder.newLine(); @@ -999,12 +1001,12 @@ protected void appendTo(StringConcatenationClient.TargetStringConcatenation _bui _builder.newLine(); _builder.append("\t"); _builder.append("private static void init("); - _builder.append(ImmutableMap.class, "\t"); - _builder.append(".Builder<"); + _builder.append(Map.class, "\t"); + _builder.append("<"); _builder.append(AbstractElement.class, "\t"); _builder.append(", "); _builder.append(String.class, "\t"); - _builder.append("> builder, "); + _builder.append("> mappings, "); TypeReference _grammarAccess_2 = XtextAntlrGeneratorFragment2.this.grammarUtil.getGrammarAccess(XtextAntlrGeneratorFragment2.this.getGrammar()); _builder.append(_grammarAccess_2, "\t"); _builder.append(" grammarAccess) {"); @@ -1020,7 +1022,7 @@ protected void appendTo(StringConcatenationClient.TargetStringConcatenation _bui _builder.append("Init"); Integer _key_1 = partition_1.getKey(); _builder.append(_key_1, "\t\t"); - _builder.append(".doInit(builder, grammarAccess);"); + _builder.append(".doInit(mappings, grammarAccess);"); _builder.newLineIfNotEmpty(); } } diff --git a/org.eclipse.xtext.xtext.ide/src-gen/org/eclipse/xtext/xtext/ide/contentassist/antlr/XtextParser.java b/org.eclipse.xtext.xtext.ide/src-gen/org/eclipse/xtext/xtext/ide/contentassist/antlr/XtextParser.java index 8f0a5d99c3d..af72d9da5cc 100644 --- a/org.eclipse.xtext.xtext.ide/src-gen/org/eclipse/xtext/xtext/ide/contentassist/antlr/XtextParser.java +++ b/org.eclipse.xtext.xtext.ide/src-gen/org/eclipse/xtext/xtext/ide/contentassist/antlr/XtextParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.xtext.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,220 +26,220 @@ public static final class NameMappings { @Inject public NameMappings(XtextGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, XtextGrammarAccess grammarAccess) { - builder.put(grammarAccess.getAbstractRuleAccess().getAlternatives(), "rule__AbstractRule__Alternatives"); - builder.put(grammarAccess.getAbstractMetamodelDeclarationAccess().getAlternatives(), "rule__AbstractMetamodelDeclaration__Alternatives"); - builder.put(grammarAccess.getParserRuleAccess().getAlternatives_1(), "rule__ParserRule__Alternatives_1"); - builder.put(grammarAccess.getParserRuleAccess().getAlternatives_1_0_2(), "rule__ParserRule__Alternatives_1_0_2"); - builder.put(grammarAccess.getConditionalBranchAccess().getAlternatives(), "rule__ConditionalBranch__Alternatives"); - builder.put(grammarAccess.getAbstractTokenAccess().getAlternatives(), "rule__AbstractToken__Alternatives"); - builder.put(grammarAccess.getAbstractTokenWithCardinalityAccess().getAlternatives_0(), "rule__AbstractTokenWithCardinality__Alternatives_0"); - builder.put(grammarAccess.getAbstractTokenWithCardinalityAccess().getCardinalityAlternatives_1_0(), "rule__AbstractTokenWithCardinality__CardinalityAlternatives_1_0"); - builder.put(grammarAccess.getActionAccess().getOperatorAlternatives_2_2_0(), "rule__Action__OperatorAlternatives_2_2_0"); - builder.put(grammarAccess.getAbstractTerminalAccess().getAlternatives(), "rule__AbstractTerminal__Alternatives"); - builder.put(grammarAccess.getLiteralConditionAccess().getAlternatives_1(), "rule__LiteralCondition__Alternatives_1"); - builder.put(grammarAccess.getNegationAccess().getAlternatives(), "rule__Negation__Alternatives"); - builder.put(grammarAccess.getAtomAccess().getAlternatives(), "rule__Atom__Alternatives"); - builder.put(grammarAccess.getValidIDAccess().getAlternatives(), "rule__ValidID__Alternatives"); - builder.put(grammarAccess.getPredicatedKeywordAccess().getAlternatives_0(), "rule__PredicatedKeyword__Alternatives_0"); - builder.put(grammarAccess.getPredicatedRuleCallAccess().getAlternatives_0(), "rule__PredicatedRuleCall__Alternatives_0"); - builder.put(grammarAccess.getAssignmentAccess().getAlternatives_0(), "rule__Assignment__Alternatives_0"); - builder.put(grammarAccess.getAssignmentAccess().getOperatorAlternatives_2_0(), "rule__Assignment__OperatorAlternatives_2_0"); - builder.put(grammarAccess.getAssignableTerminalAccess().getAlternatives(), "rule__AssignableTerminal__Alternatives"); - builder.put(grammarAccess.getCrossReferenceableTerminalAccess().getAlternatives(), "rule__CrossReferenceableTerminal__Alternatives"); - builder.put(grammarAccess.getPredicatedGroupAccess().getAlternatives_0(), "rule__PredicatedGroup__Alternatives_0"); - builder.put(grammarAccess.getTerminalRuleAccess().getAlternatives_2(), "rule__TerminalRule__Alternatives_2"); - builder.put(grammarAccess.getTerminalTokenAccess().getCardinalityAlternatives_1_0(), "rule__TerminalToken__CardinalityAlternatives_1_0"); - builder.put(grammarAccess.getTerminalTokenElementAccess().getAlternatives(), "rule__TerminalTokenElement__Alternatives"); - builder.put(grammarAccess.getAbstractNegatedTokenAccess().getAlternatives(), "rule__AbstractNegatedToken__Alternatives"); - builder.put(grammarAccess.getGrammarAccess().getGroup(), "rule__Grammar__Group__0"); - builder.put(grammarAccess.getGrammarAccess().getGroup_2(), "rule__Grammar__Group_2__0"); - builder.put(grammarAccess.getGrammarAccess().getGroup_2_2(), "rule__Grammar__Group_2_2__0"); - builder.put(grammarAccess.getGrammarAccess().getGroup_3(), "rule__Grammar__Group_3__0"); - builder.put(grammarAccess.getGrammarAccess().getGroup_3_2(), "rule__Grammar__Group_3_2__0"); - builder.put(grammarAccess.getGrammarAccess().getGroup_3_2_1(), "rule__Grammar__Group_3_2_1__0"); - builder.put(grammarAccess.getGrammarIDAccess().getGroup(), "rule__GrammarID__Group__0"); - builder.put(grammarAccess.getGrammarIDAccess().getGroup_1(), "rule__GrammarID__Group_1__0"); - builder.put(grammarAccess.getGeneratedMetamodelAccess().getGroup(), "rule__GeneratedMetamodel__Group__0"); - builder.put(grammarAccess.getGeneratedMetamodelAccess().getGroup_3(), "rule__GeneratedMetamodel__Group_3__0"); - builder.put(grammarAccess.getReferencedMetamodelAccess().getGroup(), "rule__ReferencedMetamodel__Group__0"); - builder.put(grammarAccess.getReferencedMetamodelAccess().getGroup_2(), "rule__ReferencedMetamodel__Group_2__0"); - builder.put(grammarAccess.getAnnotationAccess().getGroup(), "rule__Annotation__Group__0"); - builder.put(grammarAccess.getParserRuleAccess().getGroup(), "rule__ParserRule__Group__0"); - builder.put(grammarAccess.getParserRuleAccess().getGroup_1_0(), "rule__ParserRule__Group_1_0__0"); - builder.put(grammarAccess.getParserRuleAccess().getGroup_1_0_2_1(), "rule__ParserRule__Group_1_0_2_1__0"); - builder.put(grammarAccess.getParserRuleAccess().getGroup_1_1(), "rule__ParserRule__Group_1_1__0"); - builder.put(grammarAccess.getParserRuleAccess().getGroup_1_1_1(), "rule__ParserRule__Group_1_1_1__0"); - builder.put(grammarAccess.getParserRuleAccess().getGroup_2(), "rule__ParserRule__Group_2__0"); - builder.put(grammarAccess.getParserRuleAccess().getGroup_2_2(), "rule__ParserRule__Group_2_2__0"); - builder.put(grammarAccess.getParserRuleAccess().getGroup_2_2_1(), "rule__ParserRule__Group_2_2_1__0"); - builder.put(grammarAccess.getRuleNameAndParamsAccess().getGroup(), "rule__RuleNameAndParams__Group__0"); - builder.put(grammarAccess.getRuleNameAndParamsAccess().getGroup_1(), "rule__RuleNameAndParams__Group_1__0"); - builder.put(grammarAccess.getRuleNameAndParamsAccess().getGroup_1_1(), "rule__RuleNameAndParams__Group_1_1__0"); - builder.put(grammarAccess.getRuleNameAndParamsAccess().getGroup_1_1_1(), "rule__RuleNameAndParams__Group_1_1_1__0"); - builder.put(grammarAccess.getTypeRefAccess().getGroup(), "rule__TypeRef__Group__0"); - builder.put(grammarAccess.getTypeRefAccess().getGroup_0(), "rule__TypeRef__Group_0__0"); - builder.put(grammarAccess.getAlternativesAccess().getGroup(), "rule__Alternatives__Group__0"); - builder.put(grammarAccess.getAlternativesAccess().getGroup_1(), "rule__Alternatives__Group_1__0"); - builder.put(grammarAccess.getAlternativesAccess().getGroup_1_1(), "rule__Alternatives__Group_1_1__0"); - builder.put(grammarAccess.getConditionalBranchAccess().getGroup_1(), "rule__ConditionalBranch__Group_1__0"); - builder.put(grammarAccess.getUnorderedGroupAccess().getGroup(), "rule__UnorderedGroup__Group__0"); - builder.put(grammarAccess.getUnorderedGroupAccess().getGroup_1(), "rule__UnorderedGroup__Group_1__0"); - builder.put(grammarAccess.getUnorderedGroupAccess().getGroup_1_1(), "rule__UnorderedGroup__Group_1_1__0"); - builder.put(grammarAccess.getGroupAccess().getGroup(), "rule__Group__Group__0"); - builder.put(grammarAccess.getGroupAccess().getGroup_1(), "rule__Group__Group_1__0"); - builder.put(grammarAccess.getAbstractTokenWithCardinalityAccess().getGroup(), "rule__AbstractTokenWithCardinality__Group__0"); - builder.put(grammarAccess.getActionAccess().getGroup(), "rule__Action__Group__0"); - builder.put(grammarAccess.getActionAccess().getGroup_2(), "rule__Action__Group_2__0"); - builder.put(grammarAccess.getRuleCallAccess().getGroup(), "rule__RuleCall__Group__0"); - builder.put(grammarAccess.getRuleCallAccess().getGroup_1(), "rule__RuleCall__Group_1__0"); - builder.put(grammarAccess.getRuleCallAccess().getGroup_1_2(), "rule__RuleCall__Group_1_2__0"); - builder.put(grammarAccess.getNamedArgumentAccess().getGroup(), "rule__NamedArgument__Group__0"); - builder.put(grammarAccess.getNamedArgumentAccess().getGroup_0(), "rule__NamedArgument__Group_0__0"); - builder.put(grammarAccess.getLiteralConditionAccess().getGroup(), "rule__LiteralCondition__Group__0"); - builder.put(grammarAccess.getDisjunctionAccess().getGroup(), "rule__Disjunction__Group__0"); - builder.put(grammarAccess.getDisjunctionAccess().getGroup_1(), "rule__Disjunction__Group_1__0"); - builder.put(grammarAccess.getConjunctionAccess().getGroup(), "rule__Conjunction__Group__0"); - builder.put(grammarAccess.getConjunctionAccess().getGroup_1(), "rule__Conjunction__Group_1__0"); - builder.put(grammarAccess.getNegationAccess().getGroup_1(), "rule__Negation__Group_1__0"); - builder.put(grammarAccess.getParenthesizedConditionAccess().getGroup(), "rule__ParenthesizedCondition__Group__0"); - builder.put(grammarAccess.getRuleIDAccess().getGroup(), "rule__RuleID__Group__0"); - builder.put(grammarAccess.getRuleIDAccess().getGroup_1(), "rule__RuleID__Group_1__0"); - builder.put(grammarAccess.getPredicatedKeywordAccess().getGroup(), "rule__PredicatedKeyword__Group__0"); - builder.put(grammarAccess.getPredicatedRuleCallAccess().getGroup(), "rule__PredicatedRuleCall__Group__0"); - builder.put(grammarAccess.getPredicatedRuleCallAccess().getGroup_2(), "rule__PredicatedRuleCall__Group_2__0"); - builder.put(grammarAccess.getPredicatedRuleCallAccess().getGroup_2_2(), "rule__PredicatedRuleCall__Group_2_2__0"); - builder.put(grammarAccess.getAssignmentAccess().getGroup(), "rule__Assignment__Group__0"); - builder.put(grammarAccess.getParenthesizedAssignableElementAccess().getGroup(), "rule__ParenthesizedAssignableElement__Group__0"); - builder.put(grammarAccess.getAssignableAlternativesAccess().getGroup(), "rule__AssignableAlternatives__Group__0"); - builder.put(grammarAccess.getAssignableAlternativesAccess().getGroup_1(), "rule__AssignableAlternatives__Group_1__0"); - builder.put(grammarAccess.getAssignableAlternativesAccess().getGroup_1_1(), "rule__AssignableAlternatives__Group_1_1__0"); - builder.put(grammarAccess.getCrossReferenceAccess().getGroup(), "rule__CrossReference__Group__0"); - builder.put(grammarAccess.getCrossReferenceAccess().getGroup_2(), "rule__CrossReference__Group_2__0"); - builder.put(grammarAccess.getParenthesizedElementAccess().getGroup(), "rule__ParenthesizedElement__Group__0"); - builder.put(grammarAccess.getPredicatedGroupAccess().getGroup(), "rule__PredicatedGroup__Group__0"); - builder.put(grammarAccess.getTerminalRuleAccess().getGroup(), "rule__TerminalRule__Group__0"); - builder.put(grammarAccess.getTerminalRuleAccess().getGroup_2_0(), "rule__TerminalRule__Group_2_0__0"); - builder.put(grammarAccess.getTerminalRuleAccess().getGroup_2_1(), "rule__TerminalRule__Group_2_1__0"); - builder.put(grammarAccess.getTerminalRuleAccess().getGroup_2_1_1(), "rule__TerminalRule__Group_2_1_1__0"); - builder.put(grammarAccess.getTerminalAlternativesAccess().getGroup(), "rule__TerminalAlternatives__Group__0"); - builder.put(grammarAccess.getTerminalAlternativesAccess().getGroup_1(), "rule__TerminalAlternatives__Group_1__0"); - builder.put(grammarAccess.getTerminalAlternativesAccess().getGroup_1_1(), "rule__TerminalAlternatives__Group_1_1__0"); - builder.put(grammarAccess.getTerminalGroupAccess().getGroup(), "rule__TerminalGroup__Group__0"); - builder.put(grammarAccess.getTerminalGroupAccess().getGroup_1(), "rule__TerminalGroup__Group_1__0"); - builder.put(grammarAccess.getTerminalTokenAccess().getGroup(), "rule__TerminalToken__Group__0"); - builder.put(grammarAccess.getParenthesizedTerminalElementAccess().getGroup(), "rule__ParenthesizedTerminalElement__Group__0"); - builder.put(grammarAccess.getNegatedTokenAccess().getGroup(), "rule__NegatedToken__Group__0"); - builder.put(grammarAccess.getUntilTokenAccess().getGroup(), "rule__UntilToken__Group__0"); - builder.put(grammarAccess.getWildcardAccess().getGroup(), "rule__Wildcard__Group__0"); - builder.put(grammarAccess.getEOFAccess().getGroup(), "rule__EOF__Group__0"); - builder.put(grammarAccess.getCharacterRangeAccess().getGroup(), "rule__CharacterRange__Group__0"); - builder.put(grammarAccess.getCharacterRangeAccess().getGroup_1(), "rule__CharacterRange__Group_1__0"); - builder.put(grammarAccess.getEnumRuleAccess().getGroup(), "rule__EnumRule__Group__0"); - builder.put(grammarAccess.getEnumRuleAccess().getGroup_3(), "rule__EnumRule__Group_3__0"); - builder.put(grammarAccess.getEnumLiteralsAccess().getGroup(), "rule__EnumLiterals__Group__0"); - builder.put(grammarAccess.getEnumLiteralsAccess().getGroup_1(), "rule__EnumLiterals__Group_1__0"); - builder.put(grammarAccess.getEnumLiteralsAccess().getGroup_1_1(), "rule__EnumLiterals__Group_1_1__0"); - builder.put(grammarAccess.getEnumLiteralDeclarationAccess().getGroup(), "rule__EnumLiteralDeclaration__Group__0"); - builder.put(grammarAccess.getEnumLiteralDeclarationAccess().getGroup_1(), "rule__EnumLiteralDeclaration__Group_1__0"); - builder.put(grammarAccess.getGrammarAccess().getNameAssignment_1(), "rule__Grammar__NameAssignment_1"); - builder.put(grammarAccess.getGrammarAccess().getUsedGrammarsAssignment_2_1(), "rule__Grammar__UsedGrammarsAssignment_2_1"); - builder.put(grammarAccess.getGrammarAccess().getUsedGrammarsAssignment_2_2_1(), "rule__Grammar__UsedGrammarsAssignment_2_2_1"); - builder.put(grammarAccess.getGrammarAccess().getDefinesHiddenTokensAssignment_3_0(), "rule__Grammar__DefinesHiddenTokensAssignment_3_0"); - builder.put(grammarAccess.getGrammarAccess().getHiddenTokensAssignment_3_2_0(), "rule__Grammar__HiddenTokensAssignment_3_2_0"); - builder.put(grammarAccess.getGrammarAccess().getHiddenTokensAssignment_3_2_1_1(), "rule__Grammar__HiddenTokensAssignment_3_2_1_1"); - builder.put(grammarAccess.getGrammarAccess().getMetamodelDeclarationsAssignment_4(), "rule__Grammar__MetamodelDeclarationsAssignment_4"); - builder.put(grammarAccess.getGrammarAccess().getRulesAssignment_5(), "rule__Grammar__RulesAssignment_5"); - builder.put(grammarAccess.getGeneratedMetamodelAccess().getNameAssignment_1(), "rule__GeneratedMetamodel__NameAssignment_1"); - builder.put(grammarAccess.getGeneratedMetamodelAccess().getEPackageAssignment_2(), "rule__GeneratedMetamodel__EPackageAssignment_2"); - builder.put(grammarAccess.getGeneratedMetamodelAccess().getAliasAssignment_3_1(), "rule__GeneratedMetamodel__AliasAssignment_3_1"); - builder.put(grammarAccess.getReferencedMetamodelAccess().getEPackageAssignment_1(), "rule__ReferencedMetamodel__EPackageAssignment_1"); - builder.put(grammarAccess.getReferencedMetamodelAccess().getAliasAssignment_2_1(), "rule__ReferencedMetamodel__AliasAssignment_2_1"); - builder.put(grammarAccess.getAnnotationAccess().getNameAssignment_1(), "rule__Annotation__NameAssignment_1"); - builder.put(grammarAccess.getParserRuleAccess().getAnnotationsAssignment_0(), "rule__ParserRule__AnnotationsAssignment_0"); - builder.put(grammarAccess.getParserRuleAccess().getFragmentAssignment_1_0_0(), "rule__ParserRule__FragmentAssignment_1_0_0"); - builder.put(grammarAccess.getParserRuleAccess().getWildcardAssignment_1_0_2_0(), "rule__ParserRule__WildcardAssignment_1_0_2_0"); - builder.put(grammarAccess.getParserRuleAccess().getTypeAssignment_1_0_2_1_1(), "rule__ParserRule__TypeAssignment_1_0_2_1_1"); - builder.put(grammarAccess.getParserRuleAccess().getTypeAssignment_1_1_1_1(), "rule__ParserRule__TypeAssignment_1_1_1_1"); - builder.put(grammarAccess.getParserRuleAccess().getDefinesHiddenTokensAssignment_2_0(), "rule__ParserRule__DefinesHiddenTokensAssignment_2_0"); - builder.put(grammarAccess.getParserRuleAccess().getHiddenTokensAssignment_2_2_0(), "rule__ParserRule__HiddenTokensAssignment_2_2_0"); - builder.put(grammarAccess.getParserRuleAccess().getHiddenTokensAssignment_2_2_1_1(), "rule__ParserRule__HiddenTokensAssignment_2_2_1_1"); - builder.put(grammarAccess.getParserRuleAccess().getAlternativesAssignment_4(), "rule__ParserRule__AlternativesAssignment_4"); - builder.put(grammarAccess.getRuleNameAndParamsAccess().getNameAssignment_0(), "rule__RuleNameAndParams__NameAssignment_0"); - builder.put(grammarAccess.getRuleNameAndParamsAccess().getParametersAssignment_1_1_0(), "rule__RuleNameAndParams__ParametersAssignment_1_1_0"); - builder.put(grammarAccess.getRuleNameAndParamsAccess().getParametersAssignment_1_1_1_1(), "rule__RuleNameAndParams__ParametersAssignment_1_1_1_1"); - builder.put(grammarAccess.getParameterAccess().getNameAssignment(), "rule__Parameter__NameAssignment"); - builder.put(grammarAccess.getTypeRefAccess().getMetamodelAssignment_0_0(), "rule__TypeRef__MetamodelAssignment_0_0"); - builder.put(grammarAccess.getTypeRefAccess().getClassifierAssignment_1(), "rule__TypeRef__ClassifierAssignment_1"); - builder.put(grammarAccess.getAlternativesAccess().getElementsAssignment_1_1_1(), "rule__Alternatives__ElementsAssignment_1_1_1"); - builder.put(grammarAccess.getConditionalBranchAccess().getGuardConditionAssignment_1_2(), "rule__ConditionalBranch__GuardConditionAssignment_1_2"); - builder.put(grammarAccess.getConditionalBranchAccess().getElementsAssignment_1_4(), "rule__ConditionalBranch__ElementsAssignment_1_4"); - builder.put(grammarAccess.getUnorderedGroupAccess().getElementsAssignment_1_1_1(), "rule__UnorderedGroup__ElementsAssignment_1_1_1"); - builder.put(grammarAccess.getGroupAccess().getElementsAssignment_1_1(), "rule__Group__ElementsAssignment_1_1"); - builder.put(grammarAccess.getAbstractTokenWithCardinalityAccess().getCardinalityAssignment_1(), "rule__AbstractTokenWithCardinality__CardinalityAssignment_1"); - builder.put(grammarAccess.getActionAccess().getTypeAssignment_1(), "rule__Action__TypeAssignment_1"); - builder.put(grammarAccess.getActionAccess().getFeatureAssignment_2_1(), "rule__Action__FeatureAssignment_2_1"); - builder.put(grammarAccess.getActionAccess().getOperatorAssignment_2_2(), "rule__Action__OperatorAssignment_2_2"); - builder.put(grammarAccess.getKeywordAccess().getValueAssignment(), "rule__Keyword__ValueAssignment"); - builder.put(grammarAccess.getRuleCallAccess().getRuleAssignment_0(), "rule__RuleCall__RuleAssignment_0"); - builder.put(grammarAccess.getRuleCallAccess().getArgumentsAssignment_1_1(), "rule__RuleCall__ArgumentsAssignment_1_1"); - builder.put(grammarAccess.getRuleCallAccess().getArgumentsAssignment_1_2_1(), "rule__RuleCall__ArgumentsAssignment_1_2_1"); - builder.put(grammarAccess.getNamedArgumentAccess().getParameterAssignment_0_0(), "rule__NamedArgument__ParameterAssignment_0_0"); - builder.put(grammarAccess.getNamedArgumentAccess().getCalledByNameAssignment_0_1(), "rule__NamedArgument__CalledByNameAssignment_0_1"); - builder.put(grammarAccess.getNamedArgumentAccess().getValueAssignment_1(), "rule__NamedArgument__ValueAssignment_1"); - builder.put(grammarAccess.getLiteralConditionAccess().getTrueAssignment_1_0(), "rule__LiteralCondition__TrueAssignment_1_0"); - builder.put(grammarAccess.getDisjunctionAccess().getRightAssignment_1_2(), "rule__Disjunction__RightAssignment_1_2"); - builder.put(grammarAccess.getConjunctionAccess().getRightAssignment_1_2(), "rule__Conjunction__RightAssignment_1_2"); - builder.put(grammarAccess.getNegationAccess().getValueAssignment_1_2(), "rule__Negation__ValueAssignment_1_2"); - builder.put(grammarAccess.getParameterReferenceAccess().getParameterAssignment(), "rule__ParameterReference__ParameterAssignment"); - builder.put(grammarAccess.getTerminalRuleCallAccess().getRuleAssignment(), "rule__TerminalRuleCall__RuleAssignment"); - builder.put(grammarAccess.getPredicatedKeywordAccess().getPredicatedAssignment_0_0(), "rule__PredicatedKeyword__PredicatedAssignment_0_0"); - builder.put(grammarAccess.getPredicatedKeywordAccess().getFirstSetPredicatedAssignment_0_1(), "rule__PredicatedKeyword__FirstSetPredicatedAssignment_0_1"); - builder.put(grammarAccess.getPredicatedKeywordAccess().getValueAssignment_1(), "rule__PredicatedKeyword__ValueAssignment_1"); - builder.put(grammarAccess.getPredicatedRuleCallAccess().getPredicatedAssignment_0_0(), "rule__PredicatedRuleCall__PredicatedAssignment_0_0"); - builder.put(grammarAccess.getPredicatedRuleCallAccess().getFirstSetPredicatedAssignment_0_1(), "rule__PredicatedRuleCall__FirstSetPredicatedAssignment_0_1"); - builder.put(grammarAccess.getPredicatedRuleCallAccess().getRuleAssignment_1(), "rule__PredicatedRuleCall__RuleAssignment_1"); - builder.put(grammarAccess.getPredicatedRuleCallAccess().getArgumentsAssignment_2_1(), "rule__PredicatedRuleCall__ArgumentsAssignment_2_1"); - builder.put(grammarAccess.getPredicatedRuleCallAccess().getArgumentsAssignment_2_2_1(), "rule__PredicatedRuleCall__ArgumentsAssignment_2_2_1"); - builder.put(grammarAccess.getAssignmentAccess().getPredicatedAssignment_0_0(), "rule__Assignment__PredicatedAssignment_0_0"); - builder.put(grammarAccess.getAssignmentAccess().getFirstSetPredicatedAssignment_0_1(), "rule__Assignment__FirstSetPredicatedAssignment_0_1"); - builder.put(grammarAccess.getAssignmentAccess().getFeatureAssignment_1(), "rule__Assignment__FeatureAssignment_1"); - builder.put(grammarAccess.getAssignmentAccess().getOperatorAssignment_2(), "rule__Assignment__OperatorAssignment_2"); - builder.put(grammarAccess.getAssignmentAccess().getTerminalAssignment_3(), "rule__Assignment__TerminalAssignment_3"); - builder.put(grammarAccess.getAssignableAlternativesAccess().getElementsAssignment_1_1_1(), "rule__AssignableAlternatives__ElementsAssignment_1_1_1"); - builder.put(grammarAccess.getCrossReferenceAccess().getTypeAssignment_1(), "rule__CrossReference__TypeAssignment_1"); - builder.put(grammarAccess.getCrossReferenceAccess().getTerminalAssignment_2_1(), "rule__CrossReference__TerminalAssignment_2_1"); - builder.put(grammarAccess.getPredicatedGroupAccess().getPredicatedAssignment_0_0(), "rule__PredicatedGroup__PredicatedAssignment_0_0"); - builder.put(grammarAccess.getPredicatedGroupAccess().getFirstSetPredicatedAssignment_0_1(), "rule__PredicatedGroup__FirstSetPredicatedAssignment_0_1"); - builder.put(grammarAccess.getPredicatedGroupAccess().getElementsAssignment_2(), "rule__PredicatedGroup__ElementsAssignment_2"); - builder.put(grammarAccess.getTerminalRuleAccess().getAnnotationsAssignment_0(), "rule__TerminalRule__AnnotationsAssignment_0"); - builder.put(grammarAccess.getTerminalRuleAccess().getFragmentAssignment_2_0_0(), "rule__TerminalRule__FragmentAssignment_2_0_0"); - builder.put(grammarAccess.getTerminalRuleAccess().getNameAssignment_2_0_1(), "rule__TerminalRule__NameAssignment_2_0_1"); - builder.put(grammarAccess.getTerminalRuleAccess().getNameAssignment_2_1_0(), "rule__TerminalRule__NameAssignment_2_1_0"); - builder.put(grammarAccess.getTerminalRuleAccess().getTypeAssignment_2_1_1_1(), "rule__TerminalRule__TypeAssignment_2_1_1_1"); - builder.put(grammarAccess.getTerminalRuleAccess().getAlternativesAssignment_4(), "rule__TerminalRule__AlternativesAssignment_4"); - builder.put(grammarAccess.getTerminalAlternativesAccess().getElementsAssignment_1_1_1(), "rule__TerminalAlternatives__ElementsAssignment_1_1_1"); - builder.put(grammarAccess.getTerminalGroupAccess().getElementsAssignment_1_1(), "rule__TerminalGroup__ElementsAssignment_1_1"); - builder.put(grammarAccess.getTerminalTokenAccess().getCardinalityAssignment_1(), "rule__TerminalToken__CardinalityAssignment_1"); - builder.put(grammarAccess.getNegatedTokenAccess().getTerminalAssignment_1(), "rule__NegatedToken__TerminalAssignment_1"); - builder.put(grammarAccess.getUntilTokenAccess().getTerminalAssignment_1(), "rule__UntilToken__TerminalAssignment_1"); - builder.put(grammarAccess.getCharacterRangeAccess().getRightAssignment_1_2(), "rule__CharacterRange__RightAssignment_1_2"); - builder.put(grammarAccess.getEnumRuleAccess().getAnnotationsAssignment_0(), "rule__EnumRule__AnnotationsAssignment_0"); - builder.put(grammarAccess.getEnumRuleAccess().getNameAssignment_2(), "rule__EnumRule__NameAssignment_2"); - builder.put(grammarAccess.getEnumRuleAccess().getTypeAssignment_3_1(), "rule__EnumRule__TypeAssignment_3_1"); - builder.put(grammarAccess.getEnumRuleAccess().getAlternativesAssignment_5(), "rule__EnumRule__AlternativesAssignment_5"); - builder.put(grammarAccess.getEnumLiteralsAccess().getElementsAssignment_1_1_1(), "rule__EnumLiterals__ElementsAssignment_1_1_1"); - builder.put(grammarAccess.getEnumLiteralDeclarationAccess().getEnumLiteralAssignment_0(), "rule__EnumLiteralDeclaration__EnumLiteralAssignment_0"); - builder.put(grammarAccess.getEnumLiteralDeclarationAccess().getLiteralAssignment_1_1(), "rule__EnumLiteralDeclaration__LiteralAssignment_1_1"); + private static void init(Map mappings, XtextGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getAbstractRuleAccess().getAlternatives(), "rule__AbstractRule__Alternatives"); + mappings.put(grammarAccess.getAbstractMetamodelDeclarationAccess().getAlternatives(), "rule__AbstractMetamodelDeclaration__Alternatives"); + mappings.put(grammarAccess.getParserRuleAccess().getAlternatives_1(), "rule__ParserRule__Alternatives_1"); + mappings.put(grammarAccess.getParserRuleAccess().getAlternatives_1_0_2(), "rule__ParserRule__Alternatives_1_0_2"); + mappings.put(grammarAccess.getConditionalBranchAccess().getAlternatives(), "rule__ConditionalBranch__Alternatives"); + mappings.put(grammarAccess.getAbstractTokenAccess().getAlternatives(), "rule__AbstractToken__Alternatives"); + mappings.put(grammarAccess.getAbstractTokenWithCardinalityAccess().getAlternatives_0(), "rule__AbstractTokenWithCardinality__Alternatives_0"); + mappings.put(grammarAccess.getAbstractTokenWithCardinalityAccess().getCardinalityAlternatives_1_0(), "rule__AbstractTokenWithCardinality__CardinalityAlternatives_1_0"); + mappings.put(grammarAccess.getActionAccess().getOperatorAlternatives_2_2_0(), "rule__Action__OperatorAlternatives_2_2_0"); + mappings.put(grammarAccess.getAbstractTerminalAccess().getAlternatives(), "rule__AbstractTerminal__Alternatives"); + mappings.put(grammarAccess.getLiteralConditionAccess().getAlternatives_1(), "rule__LiteralCondition__Alternatives_1"); + mappings.put(grammarAccess.getNegationAccess().getAlternatives(), "rule__Negation__Alternatives"); + mappings.put(grammarAccess.getAtomAccess().getAlternatives(), "rule__Atom__Alternatives"); + mappings.put(grammarAccess.getValidIDAccess().getAlternatives(), "rule__ValidID__Alternatives"); + mappings.put(grammarAccess.getPredicatedKeywordAccess().getAlternatives_0(), "rule__PredicatedKeyword__Alternatives_0"); + mappings.put(grammarAccess.getPredicatedRuleCallAccess().getAlternatives_0(), "rule__PredicatedRuleCall__Alternatives_0"); + mappings.put(grammarAccess.getAssignmentAccess().getAlternatives_0(), "rule__Assignment__Alternatives_0"); + mappings.put(grammarAccess.getAssignmentAccess().getOperatorAlternatives_2_0(), "rule__Assignment__OperatorAlternatives_2_0"); + mappings.put(grammarAccess.getAssignableTerminalAccess().getAlternatives(), "rule__AssignableTerminal__Alternatives"); + mappings.put(grammarAccess.getCrossReferenceableTerminalAccess().getAlternatives(), "rule__CrossReferenceableTerminal__Alternatives"); + mappings.put(grammarAccess.getPredicatedGroupAccess().getAlternatives_0(), "rule__PredicatedGroup__Alternatives_0"); + mappings.put(grammarAccess.getTerminalRuleAccess().getAlternatives_2(), "rule__TerminalRule__Alternatives_2"); + mappings.put(grammarAccess.getTerminalTokenAccess().getCardinalityAlternatives_1_0(), "rule__TerminalToken__CardinalityAlternatives_1_0"); + mappings.put(grammarAccess.getTerminalTokenElementAccess().getAlternatives(), "rule__TerminalTokenElement__Alternatives"); + mappings.put(grammarAccess.getAbstractNegatedTokenAccess().getAlternatives(), "rule__AbstractNegatedToken__Alternatives"); + mappings.put(grammarAccess.getGrammarAccess().getGroup(), "rule__Grammar__Group__0"); + mappings.put(grammarAccess.getGrammarAccess().getGroup_2(), "rule__Grammar__Group_2__0"); + mappings.put(grammarAccess.getGrammarAccess().getGroup_2_2(), "rule__Grammar__Group_2_2__0"); + mappings.put(grammarAccess.getGrammarAccess().getGroup_3(), "rule__Grammar__Group_3__0"); + mappings.put(grammarAccess.getGrammarAccess().getGroup_3_2(), "rule__Grammar__Group_3_2__0"); + mappings.put(grammarAccess.getGrammarAccess().getGroup_3_2_1(), "rule__Grammar__Group_3_2_1__0"); + mappings.put(grammarAccess.getGrammarIDAccess().getGroup(), "rule__GrammarID__Group__0"); + mappings.put(grammarAccess.getGrammarIDAccess().getGroup_1(), "rule__GrammarID__Group_1__0"); + mappings.put(grammarAccess.getGeneratedMetamodelAccess().getGroup(), "rule__GeneratedMetamodel__Group__0"); + mappings.put(grammarAccess.getGeneratedMetamodelAccess().getGroup_3(), "rule__GeneratedMetamodel__Group_3__0"); + mappings.put(grammarAccess.getReferencedMetamodelAccess().getGroup(), "rule__ReferencedMetamodel__Group__0"); + mappings.put(grammarAccess.getReferencedMetamodelAccess().getGroup_2(), "rule__ReferencedMetamodel__Group_2__0"); + mappings.put(grammarAccess.getAnnotationAccess().getGroup(), "rule__Annotation__Group__0"); + mappings.put(grammarAccess.getParserRuleAccess().getGroup(), "rule__ParserRule__Group__0"); + mappings.put(grammarAccess.getParserRuleAccess().getGroup_1_0(), "rule__ParserRule__Group_1_0__0"); + mappings.put(grammarAccess.getParserRuleAccess().getGroup_1_0_2_1(), "rule__ParserRule__Group_1_0_2_1__0"); + mappings.put(grammarAccess.getParserRuleAccess().getGroup_1_1(), "rule__ParserRule__Group_1_1__0"); + mappings.put(grammarAccess.getParserRuleAccess().getGroup_1_1_1(), "rule__ParserRule__Group_1_1_1__0"); + mappings.put(grammarAccess.getParserRuleAccess().getGroup_2(), "rule__ParserRule__Group_2__0"); + mappings.put(grammarAccess.getParserRuleAccess().getGroup_2_2(), "rule__ParserRule__Group_2_2__0"); + mappings.put(grammarAccess.getParserRuleAccess().getGroup_2_2_1(), "rule__ParserRule__Group_2_2_1__0"); + mappings.put(grammarAccess.getRuleNameAndParamsAccess().getGroup(), "rule__RuleNameAndParams__Group__0"); + mappings.put(grammarAccess.getRuleNameAndParamsAccess().getGroup_1(), "rule__RuleNameAndParams__Group_1__0"); + mappings.put(grammarAccess.getRuleNameAndParamsAccess().getGroup_1_1(), "rule__RuleNameAndParams__Group_1_1__0"); + mappings.put(grammarAccess.getRuleNameAndParamsAccess().getGroup_1_1_1(), "rule__RuleNameAndParams__Group_1_1_1__0"); + mappings.put(grammarAccess.getTypeRefAccess().getGroup(), "rule__TypeRef__Group__0"); + mappings.put(grammarAccess.getTypeRefAccess().getGroup_0(), "rule__TypeRef__Group_0__0"); + mappings.put(grammarAccess.getAlternativesAccess().getGroup(), "rule__Alternatives__Group__0"); + mappings.put(grammarAccess.getAlternativesAccess().getGroup_1(), "rule__Alternatives__Group_1__0"); + mappings.put(grammarAccess.getAlternativesAccess().getGroup_1_1(), "rule__Alternatives__Group_1_1__0"); + mappings.put(grammarAccess.getConditionalBranchAccess().getGroup_1(), "rule__ConditionalBranch__Group_1__0"); + mappings.put(grammarAccess.getUnorderedGroupAccess().getGroup(), "rule__UnorderedGroup__Group__0"); + mappings.put(grammarAccess.getUnorderedGroupAccess().getGroup_1(), "rule__UnorderedGroup__Group_1__0"); + mappings.put(grammarAccess.getUnorderedGroupAccess().getGroup_1_1(), "rule__UnorderedGroup__Group_1_1__0"); + mappings.put(grammarAccess.getGroupAccess().getGroup(), "rule__Group__Group__0"); + mappings.put(grammarAccess.getGroupAccess().getGroup_1(), "rule__Group__Group_1__0"); + mappings.put(grammarAccess.getAbstractTokenWithCardinalityAccess().getGroup(), "rule__AbstractTokenWithCardinality__Group__0"); + mappings.put(grammarAccess.getActionAccess().getGroup(), "rule__Action__Group__0"); + mappings.put(grammarAccess.getActionAccess().getGroup_2(), "rule__Action__Group_2__0"); + mappings.put(grammarAccess.getRuleCallAccess().getGroup(), "rule__RuleCall__Group__0"); + mappings.put(grammarAccess.getRuleCallAccess().getGroup_1(), "rule__RuleCall__Group_1__0"); + mappings.put(grammarAccess.getRuleCallAccess().getGroup_1_2(), "rule__RuleCall__Group_1_2__0"); + mappings.put(grammarAccess.getNamedArgumentAccess().getGroup(), "rule__NamedArgument__Group__0"); + mappings.put(grammarAccess.getNamedArgumentAccess().getGroup_0(), "rule__NamedArgument__Group_0__0"); + mappings.put(grammarAccess.getLiteralConditionAccess().getGroup(), "rule__LiteralCondition__Group__0"); + mappings.put(grammarAccess.getDisjunctionAccess().getGroup(), "rule__Disjunction__Group__0"); + mappings.put(grammarAccess.getDisjunctionAccess().getGroup_1(), "rule__Disjunction__Group_1__0"); + mappings.put(grammarAccess.getConjunctionAccess().getGroup(), "rule__Conjunction__Group__0"); + mappings.put(grammarAccess.getConjunctionAccess().getGroup_1(), "rule__Conjunction__Group_1__0"); + mappings.put(grammarAccess.getNegationAccess().getGroup_1(), "rule__Negation__Group_1__0"); + mappings.put(grammarAccess.getParenthesizedConditionAccess().getGroup(), "rule__ParenthesizedCondition__Group__0"); + mappings.put(grammarAccess.getRuleIDAccess().getGroup(), "rule__RuleID__Group__0"); + mappings.put(grammarAccess.getRuleIDAccess().getGroup_1(), "rule__RuleID__Group_1__0"); + mappings.put(grammarAccess.getPredicatedKeywordAccess().getGroup(), "rule__PredicatedKeyword__Group__0"); + mappings.put(grammarAccess.getPredicatedRuleCallAccess().getGroup(), "rule__PredicatedRuleCall__Group__0"); + mappings.put(grammarAccess.getPredicatedRuleCallAccess().getGroup_2(), "rule__PredicatedRuleCall__Group_2__0"); + mappings.put(grammarAccess.getPredicatedRuleCallAccess().getGroup_2_2(), "rule__PredicatedRuleCall__Group_2_2__0"); + mappings.put(grammarAccess.getAssignmentAccess().getGroup(), "rule__Assignment__Group__0"); + mappings.put(grammarAccess.getParenthesizedAssignableElementAccess().getGroup(), "rule__ParenthesizedAssignableElement__Group__0"); + mappings.put(grammarAccess.getAssignableAlternativesAccess().getGroup(), "rule__AssignableAlternatives__Group__0"); + mappings.put(grammarAccess.getAssignableAlternativesAccess().getGroup_1(), "rule__AssignableAlternatives__Group_1__0"); + mappings.put(grammarAccess.getAssignableAlternativesAccess().getGroup_1_1(), "rule__AssignableAlternatives__Group_1_1__0"); + mappings.put(grammarAccess.getCrossReferenceAccess().getGroup(), "rule__CrossReference__Group__0"); + mappings.put(grammarAccess.getCrossReferenceAccess().getGroup_2(), "rule__CrossReference__Group_2__0"); + mappings.put(grammarAccess.getParenthesizedElementAccess().getGroup(), "rule__ParenthesizedElement__Group__0"); + mappings.put(grammarAccess.getPredicatedGroupAccess().getGroup(), "rule__PredicatedGroup__Group__0"); + mappings.put(grammarAccess.getTerminalRuleAccess().getGroup(), "rule__TerminalRule__Group__0"); + mappings.put(grammarAccess.getTerminalRuleAccess().getGroup_2_0(), "rule__TerminalRule__Group_2_0__0"); + mappings.put(grammarAccess.getTerminalRuleAccess().getGroup_2_1(), "rule__TerminalRule__Group_2_1__0"); + mappings.put(grammarAccess.getTerminalRuleAccess().getGroup_2_1_1(), "rule__TerminalRule__Group_2_1_1__0"); + mappings.put(grammarAccess.getTerminalAlternativesAccess().getGroup(), "rule__TerminalAlternatives__Group__0"); + mappings.put(grammarAccess.getTerminalAlternativesAccess().getGroup_1(), "rule__TerminalAlternatives__Group_1__0"); + mappings.put(grammarAccess.getTerminalAlternativesAccess().getGroup_1_1(), "rule__TerminalAlternatives__Group_1_1__0"); + mappings.put(grammarAccess.getTerminalGroupAccess().getGroup(), "rule__TerminalGroup__Group__0"); + mappings.put(grammarAccess.getTerminalGroupAccess().getGroup_1(), "rule__TerminalGroup__Group_1__0"); + mappings.put(grammarAccess.getTerminalTokenAccess().getGroup(), "rule__TerminalToken__Group__0"); + mappings.put(grammarAccess.getParenthesizedTerminalElementAccess().getGroup(), "rule__ParenthesizedTerminalElement__Group__0"); + mappings.put(grammarAccess.getNegatedTokenAccess().getGroup(), "rule__NegatedToken__Group__0"); + mappings.put(grammarAccess.getUntilTokenAccess().getGroup(), "rule__UntilToken__Group__0"); + mappings.put(grammarAccess.getWildcardAccess().getGroup(), "rule__Wildcard__Group__0"); + mappings.put(grammarAccess.getEOFAccess().getGroup(), "rule__EOF__Group__0"); + mappings.put(grammarAccess.getCharacterRangeAccess().getGroup(), "rule__CharacterRange__Group__0"); + mappings.put(grammarAccess.getCharacterRangeAccess().getGroup_1(), "rule__CharacterRange__Group_1__0"); + mappings.put(grammarAccess.getEnumRuleAccess().getGroup(), "rule__EnumRule__Group__0"); + mappings.put(grammarAccess.getEnumRuleAccess().getGroup_3(), "rule__EnumRule__Group_3__0"); + mappings.put(grammarAccess.getEnumLiteralsAccess().getGroup(), "rule__EnumLiterals__Group__0"); + mappings.put(grammarAccess.getEnumLiteralsAccess().getGroup_1(), "rule__EnumLiterals__Group_1__0"); + mappings.put(grammarAccess.getEnumLiteralsAccess().getGroup_1_1(), "rule__EnumLiterals__Group_1_1__0"); + mappings.put(grammarAccess.getEnumLiteralDeclarationAccess().getGroup(), "rule__EnumLiteralDeclaration__Group__0"); + mappings.put(grammarAccess.getEnumLiteralDeclarationAccess().getGroup_1(), "rule__EnumLiteralDeclaration__Group_1__0"); + mappings.put(grammarAccess.getGrammarAccess().getNameAssignment_1(), "rule__Grammar__NameAssignment_1"); + mappings.put(grammarAccess.getGrammarAccess().getUsedGrammarsAssignment_2_1(), "rule__Grammar__UsedGrammarsAssignment_2_1"); + mappings.put(grammarAccess.getGrammarAccess().getUsedGrammarsAssignment_2_2_1(), "rule__Grammar__UsedGrammarsAssignment_2_2_1"); + mappings.put(grammarAccess.getGrammarAccess().getDefinesHiddenTokensAssignment_3_0(), "rule__Grammar__DefinesHiddenTokensAssignment_3_0"); + mappings.put(grammarAccess.getGrammarAccess().getHiddenTokensAssignment_3_2_0(), "rule__Grammar__HiddenTokensAssignment_3_2_0"); + mappings.put(grammarAccess.getGrammarAccess().getHiddenTokensAssignment_3_2_1_1(), "rule__Grammar__HiddenTokensAssignment_3_2_1_1"); + mappings.put(grammarAccess.getGrammarAccess().getMetamodelDeclarationsAssignment_4(), "rule__Grammar__MetamodelDeclarationsAssignment_4"); + mappings.put(grammarAccess.getGrammarAccess().getRulesAssignment_5(), "rule__Grammar__RulesAssignment_5"); + mappings.put(grammarAccess.getGeneratedMetamodelAccess().getNameAssignment_1(), "rule__GeneratedMetamodel__NameAssignment_1"); + mappings.put(grammarAccess.getGeneratedMetamodelAccess().getEPackageAssignment_2(), "rule__GeneratedMetamodel__EPackageAssignment_2"); + mappings.put(grammarAccess.getGeneratedMetamodelAccess().getAliasAssignment_3_1(), "rule__GeneratedMetamodel__AliasAssignment_3_1"); + mappings.put(grammarAccess.getReferencedMetamodelAccess().getEPackageAssignment_1(), "rule__ReferencedMetamodel__EPackageAssignment_1"); + mappings.put(grammarAccess.getReferencedMetamodelAccess().getAliasAssignment_2_1(), "rule__ReferencedMetamodel__AliasAssignment_2_1"); + mappings.put(grammarAccess.getAnnotationAccess().getNameAssignment_1(), "rule__Annotation__NameAssignment_1"); + mappings.put(grammarAccess.getParserRuleAccess().getAnnotationsAssignment_0(), "rule__ParserRule__AnnotationsAssignment_0"); + mappings.put(grammarAccess.getParserRuleAccess().getFragmentAssignment_1_0_0(), "rule__ParserRule__FragmentAssignment_1_0_0"); + mappings.put(grammarAccess.getParserRuleAccess().getWildcardAssignment_1_0_2_0(), "rule__ParserRule__WildcardAssignment_1_0_2_0"); + mappings.put(grammarAccess.getParserRuleAccess().getTypeAssignment_1_0_2_1_1(), "rule__ParserRule__TypeAssignment_1_0_2_1_1"); + mappings.put(grammarAccess.getParserRuleAccess().getTypeAssignment_1_1_1_1(), "rule__ParserRule__TypeAssignment_1_1_1_1"); + mappings.put(grammarAccess.getParserRuleAccess().getDefinesHiddenTokensAssignment_2_0(), "rule__ParserRule__DefinesHiddenTokensAssignment_2_0"); + mappings.put(grammarAccess.getParserRuleAccess().getHiddenTokensAssignment_2_2_0(), "rule__ParserRule__HiddenTokensAssignment_2_2_0"); + mappings.put(grammarAccess.getParserRuleAccess().getHiddenTokensAssignment_2_2_1_1(), "rule__ParserRule__HiddenTokensAssignment_2_2_1_1"); + mappings.put(grammarAccess.getParserRuleAccess().getAlternativesAssignment_4(), "rule__ParserRule__AlternativesAssignment_4"); + mappings.put(grammarAccess.getRuleNameAndParamsAccess().getNameAssignment_0(), "rule__RuleNameAndParams__NameAssignment_0"); + mappings.put(grammarAccess.getRuleNameAndParamsAccess().getParametersAssignment_1_1_0(), "rule__RuleNameAndParams__ParametersAssignment_1_1_0"); + mappings.put(grammarAccess.getRuleNameAndParamsAccess().getParametersAssignment_1_1_1_1(), "rule__RuleNameAndParams__ParametersAssignment_1_1_1_1"); + mappings.put(grammarAccess.getParameterAccess().getNameAssignment(), "rule__Parameter__NameAssignment"); + mappings.put(grammarAccess.getTypeRefAccess().getMetamodelAssignment_0_0(), "rule__TypeRef__MetamodelAssignment_0_0"); + mappings.put(grammarAccess.getTypeRefAccess().getClassifierAssignment_1(), "rule__TypeRef__ClassifierAssignment_1"); + mappings.put(grammarAccess.getAlternativesAccess().getElementsAssignment_1_1_1(), "rule__Alternatives__ElementsAssignment_1_1_1"); + mappings.put(grammarAccess.getConditionalBranchAccess().getGuardConditionAssignment_1_2(), "rule__ConditionalBranch__GuardConditionAssignment_1_2"); + mappings.put(grammarAccess.getConditionalBranchAccess().getElementsAssignment_1_4(), "rule__ConditionalBranch__ElementsAssignment_1_4"); + mappings.put(grammarAccess.getUnorderedGroupAccess().getElementsAssignment_1_1_1(), "rule__UnorderedGroup__ElementsAssignment_1_1_1"); + mappings.put(grammarAccess.getGroupAccess().getElementsAssignment_1_1(), "rule__Group__ElementsAssignment_1_1"); + mappings.put(grammarAccess.getAbstractTokenWithCardinalityAccess().getCardinalityAssignment_1(), "rule__AbstractTokenWithCardinality__CardinalityAssignment_1"); + mappings.put(grammarAccess.getActionAccess().getTypeAssignment_1(), "rule__Action__TypeAssignment_1"); + mappings.put(grammarAccess.getActionAccess().getFeatureAssignment_2_1(), "rule__Action__FeatureAssignment_2_1"); + mappings.put(grammarAccess.getActionAccess().getOperatorAssignment_2_2(), "rule__Action__OperatorAssignment_2_2"); + mappings.put(grammarAccess.getKeywordAccess().getValueAssignment(), "rule__Keyword__ValueAssignment"); + mappings.put(grammarAccess.getRuleCallAccess().getRuleAssignment_0(), "rule__RuleCall__RuleAssignment_0"); + mappings.put(grammarAccess.getRuleCallAccess().getArgumentsAssignment_1_1(), "rule__RuleCall__ArgumentsAssignment_1_1"); + mappings.put(grammarAccess.getRuleCallAccess().getArgumentsAssignment_1_2_1(), "rule__RuleCall__ArgumentsAssignment_1_2_1"); + mappings.put(grammarAccess.getNamedArgumentAccess().getParameterAssignment_0_0(), "rule__NamedArgument__ParameterAssignment_0_0"); + mappings.put(grammarAccess.getNamedArgumentAccess().getCalledByNameAssignment_0_1(), "rule__NamedArgument__CalledByNameAssignment_0_1"); + mappings.put(grammarAccess.getNamedArgumentAccess().getValueAssignment_1(), "rule__NamedArgument__ValueAssignment_1"); + mappings.put(grammarAccess.getLiteralConditionAccess().getTrueAssignment_1_0(), "rule__LiteralCondition__TrueAssignment_1_0"); + mappings.put(grammarAccess.getDisjunctionAccess().getRightAssignment_1_2(), "rule__Disjunction__RightAssignment_1_2"); + mappings.put(grammarAccess.getConjunctionAccess().getRightAssignment_1_2(), "rule__Conjunction__RightAssignment_1_2"); + mappings.put(grammarAccess.getNegationAccess().getValueAssignment_1_2(), "rule__Negation__ValueAssignment_1_2"); + mappings.put(grammarAccess.getParameterReferenceAccess().getParameterAssignment(), "rule__ParameterReference__ParameterAssignment"); + mappings.put(grammarAccess.getTerminalRuleCallAccess().getRuleAssignment(), "rule__TerminalRuleCall__RuleAssignment"); + mappings.put(grammarAccess.getPredicatedKeywordAccess().getPredicatedAssignment_0_0(), "rule__PredicatedKeyword__PredicatedAssignment_0_0"); + mappings.put(grammarAccess.getPredicatedKeywordAccess().getFirstSetPredicatedAssignment_0_1(), "rule__PredicatedKeyword__FirstSetPredicatedAssignment_0_1"); + mappings.put(grammarAccess.getPredicatedKeywordAccess().getValueAssignment_1(), "rule__PredicatedKeyword__ValueAssignment_1"); + mappings.put(grammarAccess.getPredicatedRuleCallAccess().getPredicatedAssignment_0_0(), "rule__PredicatedRuleCall__PredicatedAssignment_0_0"); + mappings.put(grammarAccess.getPredicatedRuleCallAccess().getFirstSetPredicatedAssignment_0_1(), "rule__PredicatedRuleCall__FirstSetPredicatedAssignment_0_1"); + mappings.put(grammarAccess.getPredicatedRuleCallAccess().getRuleAssignment_1(), "rule__PredicatedRuleCall__RuleAssignment_1"); + mappings.put(grammarAccess.getPredicatedRuleCallAccess().getArgumentsAssignment_2_1(), "rule__PredicatedRuleCall__ArgumentsAssignment_2_1"); + mappings.put(grammarAccess.getPredicatedRuleCallAccess().getArgumentsAssignment_2_2_1(), "rule__PredicatedRuleCall__ArgumentsAssignment_2_2_1"); + mappings.put(grammarAccess.getAssignmentAccess().getPredicatedAssignment_0_0(), "rule__Assignment__PredicatedAssignment_0_0"); + mappings.put(grammarAccess.getAssignmentAccess().getFirstSetPredicatedAssignment_0_1(), "rule__Assignment__FirstSetPredicatedAssignment_0_1"); + mappings.put(grammarAccess.getAssignmentAccess().getFeatureAssignment_1(), "rule__Assignment__FeatureAssignment_1"); + mappings.put(grammarAccess.getAssignmentAccess().getOperatorAssignment_2(), "rule__Assignment__OperatorAssignment_2"); + mappings.put(grammarAccess.getAssignmentAccess().getTerminalAssignment_3(), "rule__Assignment__TerminalAssignment_3"); + mappings.put(grammarAccess.getAssignableAlternativesAccess().getElementsAssignment_1_1_1(), "rule__AssignableAlternatives__ElementsAssignment_1_1_1"); + mappings.put(grammarAccess.getCrossReferenceAccess().getTypeAssignment_1(), "rule__CrossReference__TypeAssignment_1"); + mappings.put(grammarAccess.getCrossReferenceAccess().getTerminalAssignment_2_1(), "rule__CrossReference__TerminalAssignment_2_1"); + mappings.put(grammarAccess.getPredicatedGroupAccess().getPredicatedAssignment_0_0(), "rule__PredicatedGroup__PredicatedAssignment_0_0"); + mappings.put(grammarAccess.getPredicatedGroupAccess().getFirstSetPredicatedAssignment_0_1(), "rule__PredicatedGroup__FirstSetPredicatedAssignment_0_1"); + mappings.put(grammarAccess.getPredicatedGroupAccess().getElementsAssignment_2(), "rule__PredicatedGroup__ElementsAssignment_2"); + mappings.put(grammarAccess.getTerminalRuleAccess().getAnnotationsAssignment_0(), "rule__TerminalRule__AnnotationsAssignment_0"); + mappings.put(grammarAccess.getTerminalRuleAccess().getFragmentAssignment_2_0_0(), "rule__TerminalRule__FragmentAssignment_2_0_0"); + mappings.put(grammarAccess.getTerminalRuleAccess().getNameAssignment_2_0_1(), "rule__TerminalRule__NameAssignment_2_0_1"); + mappings.put(grammarAccess.getTerminalRuleAccess().getNameAssignment_2_1_0(), "rule__TerminalRule__NameAssignment_2_1_0"); + mappings.put(grammarAccess.getTerminalRuleAccess().getTypeAssignment_2_1_1_1(), "rule__TerminalRule__TypeAssignment_2_1_1_1"); + mappings.put(grammarAccess.getTerminalRuleAccess().getAlternativesAssignment_4(), "rule__TerminalRule__AlternativesAssignment_4"); + mappings.put(grammarAccess.getTerminalAlternativesAccess().getElementsAssignment_1_1_1(), "rule__TerminalAlternatives__ElementsAssignment_1_1_1"); + mappings.put(grammarAccess.getTerminalGroupAccess().getElementsAssignment_1_1(), "rule__TerminalGroup__ElementsAssignment_1_1"); + mappings.put(grammarAccess.getTerminalTokenAccess().getCardinalityAssignment_1(), "rule__TerminalToken__CardinalityAssignment_1"); + mappings.put(grammarAccess.getNegatedTokenAccess().getTerminalAssignment_1(), "rule__NegatedToken__TerminalAssignment_1"); + mappings.put(grammarAccess.getUntilTokenAccess().getTerminalAssignment_1(), "rule__UntilToken__TerminalAssignment_1"); + mappings.put(grammarAccess.getCharacterRangeAccess().getRightAssignment_1_2(), "rule__CharacterRange__RightAssignment_1_2"); + mappings.put(grammarAccess.getEnumRuleAccess().getAnnotationsAssignment_0(), "rule__EnumRule__AnnotationsAssignment_0"); + mappings.put(grammarAccess.getEnumRuleAccess().getNameAssignment_2(), "rule__EnumRule__NameAssignment_2"); + mappings.put(grammarAccess.getEnumRuleAccess().getTypeAssignment_3_1(), "rule__EnumRule__TypeAssignment_3_1"); + mappings.put(grammarAccess.getEnumRuleAccess().getAlternativesAssignment_5(), "rule__EnumRule__AlternativesAssignment_5"); + mappings.put(grammarAccess.getEnumLiteralsAccess().getElementsAssignment_1_1_1(), "rule__EnumLiterals__ElementsAssignment_1_1_1"); + mappings.put(grammarAccess.getEnumLiteralDeclarationAccess().getEnumLiteralAssignment_0(), "rule__EnumLiteralDeclaration__EnumLiteralAssignment_0"); + mappings.put(grammarAccess.getEnumLiteralDeclarationAccess().getLiteralAssignment_1_1(), "rule__EnumLiteralDeclaration__LiteralAssignment_1_1"); } } diff --git a/org.eclipse.xtext.xtext.ui.examples/projects/arithmetics/org.eclipse.xtext.example.arithmetics.ide/src-gen/org/eclipse/xtext/example/arithmetics/ide/contentassist/antlr/ArithmeticsParser.java b/org.eclipse.xtext.xtext.ui.examples/projects/arithmetics/org.eclipse.xtext.example.arithmetics.ide/src-gen/org/eclipse/xtext/example/arithmetics/ide/contentassist/antlr/ArithmeticsParser.java index 06a3a66a7ac..a6302423bff 100644 --- a/org.eclipse.xtext.xtext.ui.examples/projects/arithmetics/org.eclipse.xtext.example.arithmetics.ide/src-gen/org/eclipse/xtext/example/arithmetics/ide/contentassist/antlr/ArithmeticsParser.java +++ b/org.eclipse.xtext.xtext.ui.examples/projects/arithmetics/org.eclipse.xtext.example.arithmetics.ide/src-gen/org/eclipse/xtext/example/arithmetics/ide/contentassist/antlr/ArithmeticsParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.example.arithmetics.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.example.arithmetics.ide.contentassist.antlr.internal.InternalArithmeticsParser; @@ -26,56 +26,56 @@ public static final class NameMappings { @Inject public NameMappings(ArithmeticsGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, ArithmeticsGrammarAccess grammarAccess) { - builder.put(grammarAccess.getStatementAccess().getAlternatives(), "rule__Statement__Alternatives"); - builder.put(grammarAccess.getAbstractDefinitionAccess().getAlternatives(), "rule__AbstractDefinition__Alternatives"); - builder.put(grammarAccess.getAdditionAccess().getAlternatives_1_0(), "rule__Addition__Alternatives_1_0"); - builder.put(grammarAccess.getMultiplicationAccess().getAlternatives_1_0(), "rule__Multiplication__Alternatives_1_0"); - builder.put(grammarAccess.getPrimaryExpressionAccess().getAlternatives(), "rule__PrimaryExpression__Alternatives"); - builder.put(grammarAccess.getModuleAccess().getGroup(), "rule__Module__Group__0"); - builder.put(grammarAccess.getImportAccess().getGroup(), "rule__Import__Group__0"); - builder.put(grammarAccess.getDefinitionAccess().getGroup(), "rule__Definition__Group__0"); - builder.put(grammarAccess.getDefinitionAccess().getGroup_2(), "rule__Definition__Group_2__0"); - builder.put(grammarAccess.getDefinitionAccess().getGroup_2_2(), "rule__Definition__Group_2_2__0"); - builder.put(grammarAccess.getEvaluationAccess().getGroup(), "rule__Evaluation__Group__0"); - builder.put(grammarAccess.getAdditionAccess().getGroup(), "rule__Addition__Group__0"); - builder.put(grammarAccess.getAdditionAccess().getGroup_1(), "rule__Addition__Group_1__0"); - builder.put(grammarAccess.getAdditionAccess().getGroup_1_0_0(), "rule__Addition__Group_1_0_0__0"); - builder.put(grammarAccess.getAdditionAccess().getGroup_1_0_1(), "rule__Addition__Group_1_0_1__0"); - builder.put(grammarAccess.getMultiplicationAccess().getGroup(), "rule__Multiplication__Group__0"); - builder.put(grammarAccess.getMultiplicationAccess().getGroup_1(), "rule__Multiplication__Group_1__0"); - builder.put(grammarAccess.getMultiplicationAccess().getGroup_1_0_0(), "rule__Multiplication__Group_1_0_0__0"); - builder.put(grammarAccess.getMultiplicationAccess().getGroup_1_0_1(), "rule__Multiplication__Group_1_0_1__0"); - builder.put(grammarAccess.getPrimaryExpressionAccess().getGroup_0(), "rule__PrimaryExpression__Group_0__0"); - builder.put(grammarAccess.getPrimaryExpressionAccess().getGroup_1(), "rule__PrimaryExpression__Group_1__0"); - builder.put(grammarAccess.getPrimaryExpressionAccess().getGroup_2(), "rule__PrimaryExpression__Group_2__0"); - builder.put(grammarAccess.getPrimaryExpressionAccess().getGroup_2_2(), "rule__PrimaryExpression__Group_2_2__0"); - builder.put(grammarAccess.getPrimaryExpressionAccess().getGroup_2_2_2(), "rule__PrimaryExpression__Group_2_2_2__0"); - builder.put(grammarAccess.getModuleAccess().getNameAssignment_1(), "rule__Module__NameAssignment_1"); - builder.put(grammarAccess.getModuleAccess().getImportsAssignment_2(), "rule__Module__ImportsAssignment_2"); - builder.put(grammarAccess.getModuleAccess().getStatementsAssignment_3(), "rule__Module__StatementsAssignment_3"); - builder.put(grammarAccess.getImportAccess().getModuleAssignment_1(), "rule__Import__ModuleAssignment_1"); - builder.put(grammarAccess.getDefinitionAccess().getNameAssignment_1(), "rule__Definition__NameAssignment_1"); - builder.put(grammarAccess.getDefinitionAccess().getArgsAssignment_2_1(), "rule__Definition__ArgsAssignment_2_1"); - builder.put(grammarAccess.getDefinitionAccess().getArgsAssignment_2_2_1(), "rule__Definition__ArgsAssignment_2_2_1"); - builder.put(grammarAccess.getDefinitionAccess().getExprAssignment_4(), "rule__Definition__ExprAssignment_4"); - builder.put(grammarAccess.getDeclaredParameterAccess().getNameAssignment(), "rule__DeclaredParameter__NameAssignment"); - builder.put(grammarAccess.getEvaluationAccess().getExpressionAssignment_0(), "rule__Evaluation__ExpressionAssignment_0"); - builder.put(grammarAccess.getAdditionAccess().getRightAssignment_1_1(), "rule__Addition__RightAssignment_1_1"); - builder.put(grammarAccess.getMultiplicationAccess().getRightAssignment_1_1(), "rule__Multiplication__RightAssignment_1_1"); - builder.put(grammarAccess.getPrimaryExpressionAccess().getValueAssignment_1_1(), "rule__PrimaryExpression__ValueAssignment_1_1"); - builder.put(grammarAccess.getPrimaryExpressionAccess().getFuncAssignment_2_1(), "rule__PrimaryExpression__FuncAssignment_2_1"); - builder.put(grammarAccess.getPrimaryExpressionAccess().getArgsAssignment_2_2_1(), "rule__PrimaryExpression__ArgsAssignment_2_2_1"); - builder.put(grammarAccess.getPrimaryExpressionAccess().getArgsAssignment_2_2_2_1(), "rule__PrimaryExpression__ArgsAssignment_2_2_2_1"); + private static void init(Map mappings, ArithmeticsGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getStatementAccess().getAlternatives(), "rule__Statement__Alternatives"); + mappings.put(grammarAccess.getAbstractDefinitionAccess().getAlternatives(), "rule__AbstractDefinition__Alternatives"); + mappings.put(grammarAccess.getAdditionAccess().getAlternatives_1_0(), "rule__Addition__Alternatives_1_0"); + mappings.put(grammarAccess.getMultiplicationAccess().getAlternatives_1_0(), "rule__Multiplication__Alternatives_1_0"); + mappings.put(grammarAccess.getPrimaryExpressionAccess().getAlternatives(), "rule__PrimaryExpression__Alternatives"); + mappings.put(grammarAccess.getModuleAccess().getGroup(), "rule__Module__Group__0"); + mappings.put(grammarAccess.getImportAccess().getGroup(), "rule__Import__Group__0"); + mappings.put(grammarAccess.getDefinitionAccess().getGroup(), "rule__Definition__Group__0"); + mappings.put(grammarAccess.getDefinitionAccess().getGroup_2(), "rule__Definition__Group_2__0"); + mappings.put(grammarAccess.getDefinitionAccess().getGroup_2_2(), "rule__Definition__Group_2_2__0"); + mappings.put(grammarAccess.getEvaluationAccess().getGroup(), "rule__Evaluation__Group__0"); + mappings.put(grammarAccess.getAdditionAccess().getGroup(), "rule__Addition__Group__0"); + mappings.put(grammarAccess.getAdditionAccess().getGroup_1(), "rule__Addition__Group_1__0"); + mappings.put(grammarAccess.getAdditionAccess().getGroup_1_0_0(), "rule__Addition__Group_1_0_0__0"); + mappings.put(grammarAccess.getAdditionAccess().getGroup_1_0_1(), "rule__Addition__Group_1_0_1__0"); + mappings.put(grammarAccess.getMultiplicationAccess().getGroup(), "rule__Multiplication__Group__0"); + mappings.put(grammarAccess.getMultiplicationAccess().getGroup_1(), "rule__Multiplication__Group_1__0"); + mappings.put(grammarAccess.getMultiplicationAccess().getGroup_1_0_0(), "rule__Multiplication__Group_1_0_0__0"); + mappings.put(grammarAccess.getMultiplicationAccess().getGroup_1_0_1(), "rule__Multiplication__Group_1_0_1__0"); + mappings.put(grammarAccess.getPrimaryExpressionAccess().getGroup_0(), "rule__PrimaryExpression__Group_0__0"); + mappings.put(grammarAccess.getPrimaryExpressionAccess().getGroup_1(), "rule__PrimaryExpression__Group_1__0"); + mappings.put(grammarAccess.getPrimaryExpressionAccess().getGroup_2(), "rule__PrimaryExpression__Group_2__0"); + mappings.put(grammarAccess.getPrimaryExpressionAccess().getGroup_2_2(), "rule__PrimaryExpression__Group_2_2__0"); + mappings.put(grammarAccess.getPrimaryExpressionAccess().getGroup_2_2_2(), "rule__PrimaryExpression__Group_2_2_2__0"); + mappings.put(grammarAccess.getModuleAccess().getNameAssignment_1(), "rule__Module__NameAssignment_1"); + mappings.put(grammarAccess.getModuleAccess().getImportsAssignment_2(), "rule__Module__ImportsAssignment_2"); + mappings.put(grammarAccess.getModuleAccess().getStatementsAssignment_3(), "rule__Module__StatementsAssignment_3"); + mappings.put(grammarAccess.getImportAccess().getModuleAssignment_1(), "rule__Import__ModuleAssignment_1"); + mappings.put(grammarAccess.getDefinitionAccess().getNameAssignment_1(), "rule__Definition__NameAssignment_1"); + mappings.put(grammarAccess.getDefinitionAccess().getArgsAssignment_2_1(), "rule__Definition__ArgsAssignment_2_1"); + mappings.put(grammarAccess.getDefinitionAccess().getArgsAssignment_2_2_1(), "rule__Definition__ArgsAssignment_2_2_1"); + mappings.put(grammarAccess.getDefinitionAccess().getExprAssignment_4(), "rule__Definition__ExprAssignment_4"); + mappings.put(grammarAccess.getDeclaredParameterAccess().getNameAssignment(), "rule__DeclaredParameter__NameAssignment"); + mappings.put(grammarAccess.getEvaluationAccess().getExpressionAssignment_0(), "rule__Evaluation__ExpressionAssignment_0"); + mappings.put(grammarAccess.getAdditionAccess().getRightAssignment_1_1(), "rule__Addition__RightAssignment_1_1"); + mappings.put(grammarAccess.getMultiplicationAccess().getRightAssignment_1_1(), "rule__Multiplication__RightAssignment_1_1"); + mappings.put(grammarAccess.getPrimaryExpressionAccess().getValueAssignment_1_1(), "rule__PrimaryExpression__ValueAssignment_1_1"); + mappings.put(grammarAccess.getPrimaryExpressionAccess().getFuncAssignment_2_1(), "rule__PrimaryExpression__FuncAssignment_2_1"); + mappings.put(grammarAccess.getPrimaryExpressionAccess().getArgsAssignment_2_2_1(), "rule__PrimaryExpression__ArgsAssignment_2_2_1"); + mappings.put(grammarAccess.getPrimaryExpressionAccess().getArgsAssignment_2_2_2_1(), "rule__PrimaryExpression__ArgsAssignment_2_2_2_1"); } } diff --git a/org.eclipse.xtext.xtext.ui.examples/projects/domainmodel/org.eclipse.xtext.example.domainmodel.ide/src-gen/org/eclipse/xtext/example/domainmodel/ide/contentassist/antlr/DomainmodelParser.java b/org.eclipse.xtext.xtext.ui.examples/projects/domainmodel/org.eclipse.xtext.example.domainmodel.ide/src-gen/org/eclipse/xtext/example/domainmodel/ide/contentassist/antlr/DomainmodelParser.java index d9d92b177af..b2eb9376e05 100644 --- a/org.eclipse.xtext.xtext.ui.examples/projects/domainmodel/org.eclipse.xtext.example.domainmodel.ide/src-gen/org/eclipse/xtext/example/domainmodel/ide/contentassist/antlr/DomainmodelParser.java +++ b/org.eclipse.xtext.xtext.ui.examples/projects/domainmodel/org.eclipse.xtext.example.domainmodel.ide/src-gen/org/eclipse/xtext/example/domainmodel/ide/contentassist/antlr/DomainmodelParser.java @@ -8,9 +8,9 @@ */ package org.eclipse.xtext.example.domainmodel.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.example.domainmodel.ide.contentassist.antlr.internal.InternalDomainmodelParser; @@ -26,403 +26,403 @@ public static final class NameMappings { @Inject public NameMappings(DomainmodelGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, DomainmodelGrammarAccess grammarAccess) { - builder.put(grammarAccess.getAbstractElementAccess().getAlternatives(), "rule__AbstractElement__Alternatives"); - builder.put(grammarAccess.getFeatureAccess().getAlternatives(), "rule__Feature__Alternatives"); - builder.put(grammarAccess.getXAssignmentAccess().getAlternatives(), "rule__XAssignment__Alternatives"); - builder.put(grammarAccess.getOpMultiAssignAccess().getAlternatives(), "rule__OpMultiAssign__Alternatives"); - builder.put(grammarAccess.getOpEqualityAccess().getAlternatives(), "rule__OpEquality__Alternatives"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getAlternatives_1(), "rule__XRelationalExpression__Alternatives_1"); - builder.put(grammarAccess.getOpCompareAccess().getAlternatives(), "rule__OpCompare__Alternatives"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives(), "rule__OpOther__Alternatives"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives_5_1(), "rule__OpOther__Alternatives_5_1"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives_6_1(), "rule__OpOther__Alternatives_6_1"); - builder.put(grammarAccess.getOpAddAccess().getAlternatives(), "rule__OpAdd__Alternatives"); - builder.put(grammarAccess.getOpMultiAccess().getAlternatives(), "rule__OpMulti__Alternatives"); - builder.put(grammarAccess.getXUnaryOperationAccess().getAlternatives(), "rule__XUnaryOperation__Alternatives"); - builder.put(grammarAccess.getOpUnaryAccess().getAlternatives(), "rule__OpUnary__Alternatives"); - builder.put(grammarAccess.getOpPostfixAccess().getAlternatives(), "rule__OpPostfix__Alternatives"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1(), "rule__XMemberFeatureCall__Alternatives_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_0_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_0_0_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_1_0_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_3_1(), "rule__XMemberFeatureCall__Alternatives_1_1_3_1"); - builder.put(grammarAccess.getXPrimaryExpressionAccess().getAlternatives(), "rule__XPrimaryExpression__Alternatives"); - builder.put(grammarAccess.getXLiteralAccess().getAlternatives(), "rule__XLiteral__Alternatives"); - builder.put(grammarAccess.getXCollectionLiteralAccess().getAlternatives(), "rule__XCollectionLiteral__Alternatives"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2(), "rule__XSwitchExpression__Alternatives_2"); - builder.put(grammarAccess.getXCasePartAccess().getAlternatives_3(), "rule__XCasePart__Alternatives_3"); - builder.put(grammarAccess.getXExpressionOrVarDeclarationAccess().getAlternatives(), "rule__XExpressionOrVarDeclaration__Alternatives"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_1(), "rule__XVariableDeclaration__Alternatives_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_2(), "rule__XVariableDeclaration__Alternatives_2"); - builder.put(grammarAccess.getXFeatureCallAccess().getAlternatives_3_1(), "rule__XFeatureCall__Alternatives_3_1"); - builder.put(grammarAccess.getFeatureCallIDAccess().getAlternatives(), "rule__FeatureCallID__Alternatives"); - builder.put(grammarAccess.getIdOrSuperAccess().getAlternatives(), "rule__IdOrSuper__Alternatives"); - builder.put(grammarAccess.getXConstructorCallAccess().getAlternatives_4_1(), "rule__XConstructorCall__Alternatives_4_1"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1(), "rule__XBooleanLiteral__Alternatives_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_3(), "rule__XTryCatchFinallyExpression__Alternatives_3"); - builder.put(grammarAccess.getNumberAccess().getAlternatives(), "rule__Number__Alternatives"); - builder.put(grammarAccess.getNumberAccess().getAlternatives_1_0(), "rule__Number__Alternatives_1_0"); - builder.put(grammarAccess.getNumberAccess().getAlternatives_1_1_1(), "rule__Number__Alternatives_1_1_1"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getAlternatives(), "rule__JvmTypeReference__Alternatives"); - builder.put(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives(), "rule__JvmArgumentTypeReference__Alternatives"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2(), "rule__JvmWildcardTypeReference__Alternatives_2"); - builder.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1(), "rule__XImportDeclaration__Alternatives_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3(), "rule__XImportDeclaration__Alternatives_1_0_3"); - builder.put(grammarAccess.getDomainModelAccess().getGroup(), "rule__DomainModel__Group__0"); - builder.put(grammarAccess.getPackageDeclarationAccess().getGroup(), "rule__PackageDeclaration__Group__0"); - builder.put(grammarAccess.getEntityAccess().getGroup(), "rule__Entity__Group__0"); - builder.put(grammarAccess.getEntityAccess().getGroup_2(), "rule__Entity__Group_2__0"); - builder.put(grammarAccess.getPropertyAccess().getGroup(), "rule__Property__Group__0"); - builder.put(grammarAccess.getOperationAccess().getGroup(), "rule__Operation__Group__0"); - builder.put(grammarAccess.getOperationAccess().getGroup_3(), "rule__Operation__Group_3__0"); - builder.put(grammarAccess.getOperationAccess().getGroup_3_1(), "rule__Operation__Group_3_1__0"); - builder.put(grammarAccess.getOperationAccess().getGroup_5(), "rule__Operation__Group_5__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_0(), "rule__XAssignment__Group_0__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1(), "rule__XAssignment__Group_1__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1(), "rule__XAssignment__Group_1_1__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0(), "rule__XAssignment__Group_1_1_0__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0_0(), "rule__XAssignment__Group_1_1_0_0__0"); - builder.put(grammarAccess.getOpMultiAssignAccess().getGroup_5(), "rule__OpMultiAssign__Group_5__0"); - builder.put(grammarAccess.getOpMultiAssignAccess().getGroup_6(), "rule__OpMultiAssign__Group_6__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup(), "rule__XOrExpression__Group__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1(), "rule__XOrExpression__Group_1__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0(), "rule__XOrExpression__Group_1_0__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0_0(), "rule__XOrExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup(), "rule__XAndExpression__Group__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1(), "rule__XAndExpression__Group_1__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0(), "rule__XAndExpression__Group_1_0__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0_0(), "rule__XAndExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup(), "rule__XEqualityExpression__Group__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1(), "rule__XEqualityExpression__Group_1__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0(), "rule__XEqualityExpression__Group_1_0__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0_0(), "rule__XEqualityExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup(), "rule__XRelationalExpression__Group__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0(), "rule__XRelationalExpression__Group_1_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0(), "rule__XRelationalExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0_0(), "rule__XRelationalExpression__Group_1_0_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1(), "rule__XRelationalExpression__Group_1_1__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0(), "rule__XRelationalExpression__Group_1_1_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0_0(), "rule__XRelationalExpression__Group_1_1_0_0__0"); - builder.put(grammarAccess.getOpCompareAccess().getGroup_1(), "rule__OpCompare__Group_1__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup(), "rule__XOtherOperatorExpression__Group__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1(), "rule__XOtherOperatorExpression__Group_1__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0(), "rule__XOtherOperatorExpression__Group_1_0__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0_0(), "rule__XOtherOperatorExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_2(), "rule__OpOther__Group_2__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5(), "rule__OpOther__Group_5__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0(), "rule__OpOther__Group_5_1_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0_0(), "rule__OpOther__Group_5_1_0_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6(), "rule__OpOther__Group_6__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0(), "rule__OpOther__Group_6_1_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0_0(), "rule__OpOther__Group_6_1_0_0__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup(), "rule__XAdditiveExpression__Group__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1(), "rule__XAdditiveExpression__Group_1__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0(), "rule__XAdditiveExpression__Group_1_0__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0_0(), "rule__XAdditiveExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup(), "rule__XMultiplicativeExpression__Group__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1(), "rule__XMultiplicativeExpression__Group_1__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0(), "rule__XMultiplicativeExpression__Group_1_0__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0_0(), "rule__XMultiplicativeExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXUnaryOperationAccess().getGroup_0(), "rule__XUnaryOperation__Group_0__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup(), "rule__XCastedExpression__Group__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1(), "rule__XCastedExpression__Group_1__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0(), "rule__XCastedExpression__Group_1_0__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0_0(), "rule__XCastedExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup(), "rule__XPostfixOperation__Group__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup_1(), "rule__XPostfixOperation__Group_1__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup_1_0(), "rule__XPostfixOperation__Group_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup(), "rule__XMemberFeatureCall__Group__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0(), "rule__XMemberFeatureCall__Group_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0(), "rule__XMemberFeatureCall__Group_1_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0_0(), "rule__XMemberFeatureCall__Group_1_0_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1(), "rule__XMemberFeatureCall__Group_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0(), "rule__XMemberFeatureCall__Group_1_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0_0(), "rule__XMemberFeatureCall__Group_1_1_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1_2(), "rule__XMemberFeatureCall__Group_1_1_1_2__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3(), "rule__XMemberFeatureCall__Group_1_1_3__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1_1__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup(), "rule__XSetLiteral__Group__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup_3(), "rule__XSetLiteral__Group_3__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup_3_1(), "rule__XSetLiteral__Group_3_1__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup(), "rule__XListLiteral__Group__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup_3(), "rule__XListLiteral__Group_3__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup_3_1(), "rule__XListLiteral__Group_3_1__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup(), "rule__XClosure__Group__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_0(), "rule__XClosure__Group_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_0_0(), "rule__XClosure__Group_0_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1(), "rule__XClosure__Group_1__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0(), "rule__XClosure__Group_1_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0_0(), "rule__XClosure__Group_1_0_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0_0_1(), "rule__XClosure__Group_1_0_0_1__0"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getGroup(), "rule__XExpressionInClosure__Group__0"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getGroup_1(), "rule__XExpressionInClosure__Group_1__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup(), "rule__XShortClosure__Group__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0(), "rule__XShortClosure__Group_0__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0(), "rule__XShortClosure__Group_0_0__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1(), "rule__XShortClosure__Group_0_0_1__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1_1(), "rule__XShortClosure__Group_0_0_1_1__0"); - builder.put(grammarAccess.getXParenthesizedExpressionAccess().getGroup(), "rule__XParenthesizedExpression__Group__0"); - builder.put(grammarAccess.getXIfExpressionAccess().getGroup(), "rule__XIfExpression__Group__0"); - builder.put(grammarAccess.getXIfExpressionAccess().getGroup_6(), "rule__XIfExpression__Group_6__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup(), "rule__XSwitchExpression__Group__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0(), "rule__XSwitchExpression__Group_2_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0(), "rule__XSwitchExpression__Group_2_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0(), "rule__XSwitchExpression__Group_2_0_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1(), "rule__XSwitchExpression__Group_2_1__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0(), "rule__XSwitchExpression__Group_2_1_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0(), "rule__XSwitchExpression__Group_2_1_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_5(), "rule__XSwitchExpression__Group_5__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup(), "rule__XCasePart__Group__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup_2(), "rule__XCasePart__Group_2__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup_3_0(), "rule__XCasePart__Group_3_0__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup(), "rule__XForLoopExpression__Group__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0(), "rule__XForLoopExpression__Group_0__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0_0(), "rule__XForLoopExpression__Group_0_0__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup(), "rule__XBasicForLoopExpression__Group__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3(), "rule__XBasicForLoopExpression__Group_3__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3_1(), "rule__XBasicForLoopExpression__Group_3_1__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7(), "rule__XBasicForLoopExpression__Group_7__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7_1(), "rule__XBasicForLoopExpression__Group_7_1__0"); - builder.put(grammarAccess.getXWhileExpressionAccess().getGroup(), "rule__XWhileExpression__Group__0"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getGroup(), "rule__XDoWhileExpression__Group__0"); - builder.put(grammarAccess.getXBlockExpressionAccess().getGroup(), "rule__XBlockExpression__Group__0"); - builder.put(grammarAccess.getXBlockExpressionAccess().getGroup_2(), "rule__XBlockExpression__Group_2__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup(), "rule__XVariableDeclaration__Group__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0(), "rule__XVariableDeclaration__Group_2_0__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0_0(), "rule__XVariableDeclaration__Group_2_0_0__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_3(), "rule__XVariableDeclaration__Group_3__0"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getGroup(), "rule__JvmFormalParameter__Group__0"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getGroup(), "rule__FullJvmFormalParameter__Group__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup(), "rule__XFeatureCall__Group__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_1(), "rule__XFeatureCall__Group_1__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_1_2(), "rule__XFeatureCall__Group_1_2__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3(), "rule__XFeatureCall__Group_3__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1(), "rule__XFeatureCall__Group_3_1_1__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1_1(), "rule__XFeatureCall__Group_3_1_1_1__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup(), "rule__XConstructorCall__Group__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_3(), "rule__XConstructorCall__Group_3__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_3_2(), "rule__XConstructorCall__Group_3_2__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4(), "rule__XConstructorCall__Group_4__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1(), "rule__XConstructorCall__Group_4_1_1__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1_1(), "rule__XConstructorCall__Group_4_1_1_1__0"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getGroup(), "rule__XBooleanLiteral__Group__0"); - builder.put(grammarAccess.getXNullLiteralAccess().getGroup(), "rule__XNullLiteral__Group__0"); - builder.put(grammarAccess.getXNumberLiteralAccess().getGroup(), "rule__XNumberLiteral__Group__0"); - builder.put(grammarAccess.getXStringLiteralAccess().getGroup(), "rule__XStringLiteral__Group__0"); - builder.put(grammarAccess.getXTypeLiteralAccess().getGroup(), "rule__XTypeLiteral__Group__0"); - builder.put(grammarAccess.getXThrowExpressionAccess().getGroup(), "rule__XThrowExpression__Group__0"); - builder.put(grammarAccess.getXReturnExpressionAccess().getGroup(), "rule__XReturnExpression__Group__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup(), "rule__XTryCatchFinallyExpression__Group__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0(), "rule__XTryCatchFinallyExpression__Group_3_0__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0_1(), "rule__XTryCatchFinallyExpression__Group_3_0_1__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_1(), "rule__XTryCatchFinallyExpression__Group_3_1__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup(), "rule__XSynchronizedExpression__Group__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0(), "rule__XSynchronizedExpression__Group_0__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0_0(), "rule__XSynchronizedExpression__Group_0_0__0"); - builder.put(grammarAccess.getXCatchClauseAccess().getGroup(), "rule__XCatchClause__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); - builder.put(grammarAccess.getNumberAccess().getGroup_1(), "rule__Number__Group_1__0"); - builder.put(grammarAccess.getNumberAccess().getGroup_1_1(), "rule__Number__Group_1_1__0"); - builder.put(grammarAccess.getStaticQualifierAccess().getGroup(), "rule__StaticQualifier__Group__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0(), "rule__JvmTypeReference__Group_0__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1(), "rule__JvmTypeReference__Group_0_1__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0(), "rule__JvmTypeReference__Group_0_1_0__0"); - builder.put(grammarAccess.getArrayBracketsAccess().getGroup(), "rule__ArrayBrackets__Group__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup(), "rule__XFunctionTypeRef__Group__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0(), "rule__XFunctionTypeRef__Group_0__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1(), "rule__XFunctionTypeRef__Group_0_1__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1(), "rule__XFunctionTypeRef__Group_0_1_1__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup(), "rule__JvmParameterizedTypeReference__Group__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1(), "rule__JvmParameterizedTypeReference__Group_1__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2(), "rule__JvmParameterizedTypeReference__Group_1_2__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4(), "rule__JvmParameterizedTypeReference__Group_1_4__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup(), "rule__JvmWildcardTypeReference__Group__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0(), "rule__JvmWildcardTypeReference__Group_2_0__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1(), "rule__JvmWildcardTypeReference__Group_2_1__0"); - builder.put(grammarAccess.getJvmUpperBoundAccess().getGroup(), "rule__JvmUpperBound__Group__0"); - builder.put(grammarAccess.getJvmUpperBoundAndedAccess().getGroup(), "rule__JvmUpperBoundAnded__Group__0"); - builder.put(grammarAccess.getJvmLowerBoundAccess().getGroup(), "rule__JvmLowerBound__Group__0"); - builder.put(grammarAccess.getJvmLowerBoundAndedAccess().getGroup(), "rule__JvmLowerBoundAnded__Group__0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getGroup(), "rule__JvmTypeParameter__Group__0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getGroup_1(), "rule__JvmTypeParameter__Group_1__0"); - builder.put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup(), "rule__QualifiedNameWithWildcard__Group__0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getGroup(), "rule__XImportDeclaration__Group__0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getGroup_1_0(), "rule__XImportDeclaration__Group_1_0__0"); - builder.put(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup(), "rule__QualifiedNameInStaticImport__Group__0"); - builder.put(grammarAccess.getDomainModelAccess().getImportSectionAssignment_0(), "rule__DomainModel__ImportSectionAssignment_0"); - builder.put(grammarAccess.getDomainModelAccess().getElementsAssignment_1(), "rule__DomainModel__ElementsAssignment_1"); - builder.put(grammarAccess.getPackageDeclarationAccess().getNameAssignment_1(), "rule__PackageDeclaration__NameAssignment_1"); - builder.put(grammarAccess.getPackageDeclarationAccess().getElementsAssignment_3(), "rule__PackageDeclaration__ElementsAssignment_3"); - builder.put(grammarAccess.getEntityAccess().getNameAssignment_1(), "rule__Entity__NameAssignment_1"); - builder.put(grammarAccess.getEntityAccess().getSuperTypeAssignment_2_1(), "rule__Entity__SuperTypeAssignment_2_1"); - builder.put(grammarAccess.getEntityAccess().getFeaturesAssignment_4(), "rule__Entity__FeaturesAssignment_4"); - builder.put(grammarAccess.getPropertyAccess().getNameAssignment_0(), "rule__Property__NameAssignment_0"); - builder.put(grammarAccess.getPropertyAccess().getTypeAssignment_2(), "rule__Property__TypeAssignment_2"); - builder.put(grammarAccess.getOperationAccess().getNameAssignment_1(), "rule__Operation__NameAssignment_1"); - builder.put(grammarAccess.getOperationAccess().getParamsAssignment_3_0(), "rule__Operation__ParamsAssignment_3_0"); - builder.put(grammarAccess.getOperationAccess().getParamsAssignment_3_1_1(), "rule__Operation__ParamsAssignment_3_1_1"); - builder.put(grammarAccess.getOperationAccess().getTypeAssignment_5_1(), "rule__Operation__TypeAssignment_5_1"); - builder.put(grammarAccess.getOperationAccess().getBodyAssignment_6(), "rule__Operation__BodyAssignment_6"); - builder.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_0_1(), "rule__XAssignment__FeatureAssignment_0_1"); - builder.put(grammarAccess.getXAssignmentAccess().getValueAssignment_0_3(), "rule__XAssignment__ValueAssignment_0_3"); - builder.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XAssignment__FeatureAssignment_1_1_0_0_1"); - builder.put(grammarAccess.getXAssignmentAccess().getRightOperandAssignment_1_1_1(), "rule__XAssignment__RightOperandAssignment_1_1_1"); - builder.put(grammarAccess.getXOrExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOrExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXOrExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOrExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXAndExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAndExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXAndExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAndExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XEqualityExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getRightOperandAssignment_1_1(), "rule__XEqualityExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getTypeAssignment_1_0_1(), "rule__XRelationalExpression__TypeAssignment_1_0_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XRelationalExpression__FeatureAssignment_1_1_0_0_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getRightOperandAssignment_1_1_1(), "rule__XRelationalExpression__RightOperandAssignment_1_1_1"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOtherOperatorExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOtherOperatorExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAdditiveExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAdditiveExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XMultiplicativeExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandAssignment_1_1(), "rule__XMultiplicativeExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXUnaryOperationAccess().getFeatureAssignment_0_1(), "rule__XUnaryOperation__FeatureAssignment_0_1"); - builder.put(grammarAccess.getXUnaryOperationAccess().getOperandAssignment_0_2(), "rule__XUnaryOperation__OperandAssignment_0_2"); - builder.put(grammarAccess.getXCastedExpressionAccess().getTypeAssignment_1_1(), "rule__XCastedExpression__TypeAssignment_1_1"); - builder.put(grammarAccess.getXPostfixOperationAccess().getFeatureAssignment_1_0_1(), "rule__XPostfixOperation__FeatureAssignment_1_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_0_0_0_1_1(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_0_0_0_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_0_0_0_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getValueAssignment_1_0_1(), "rule__XMemberFeatureCall__ValueAssignment_1_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getNullSafeAssignment_1_1_0_0_1_1(), "rule__XMemberFeatureCall__NullSafeAssignment_1_1_0_0_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_1_0_0_1_2(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_1_0_0_1_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_2_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_2_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_1_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_1_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallAssignment_1_1_3_0(), "rule__XMemberFeatureCall__ExplicitOperationCallAssignment_1_1_3_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_1_1(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_4(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4"); - builder.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_0(), "rule__XSetLiteral__ElementsAssignment_3_0"); - builder.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_1_1(), "rule__XSetLiteral__ElementsAssignment_3_1_1"); - builder.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_0(), "rule__XListLiteral__ElementsAssignment_3_0"); - builder.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_1_1(), "rule__XListLiteral__ElementsAssignment_3_1_1"); - builder.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_0(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_0"); - builder.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_1_1(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_1_1"); - builder.put(grammarAccess.getXClosureAccess().getExplicitSyntaxAssignment_1_0_1(), "rule__XClosure__ExplicitSyntaxAssignment_1_0_1"); - builder.put(grammarAccess.getXClosureAccess().getExpressionAssignment_2(), "rule__XClosure__ExpressionAssignment_2"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getExpressionsAssignment_1_0(), "rule__XExpressionInClosure__ExpressionsAssignment_1_0"); - builder.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_0(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0"); - builder.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_1_1(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1"); - builder.put(grammarAccess.getXShortClosureAccess().getExplicitSyntaxAssignment_0_0_2(), "rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2"); - builder.put(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1(), "rule__XShortClosure__ExpressionAssignment_1"); - builder.put(grammarAccess.getXIfExpressionAccess().getIfAssignment_3(), "rule__XIfExpression__IfAssignment_3"); - builder.put(grammarAccess.getXIfExpressionAccess().getThenAssignment_5(), "rule__XIfExpression__ThenAssignment_5"); - builder.put(grammarAccess.getXIfExpressionAccess().getElseAssignment_6_1(), "rule__XIfExpression__ElseAssignment_6_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_0_0_0_1(), "rule__XSwitchExpression__DeclaredParamAssignment_2_0_0_0_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1(), "rule__XSwitchExpression__SwitchAssignment_2_0_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_1_0_0_0(), "rule__XSwitchExpression__DeclaredParamAssignment_2_1_0_0_0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1(), "rule__XSwitchExpression__SwitchAssignment_2_1_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4(), "rule__XSwitchExpression__CasesAssignment_4"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDefaultAssignment_5_2(), "rule__XSwitchExpression__DefaultAssignment_5_2"); - builder.put(grammarAccess.getXCasePartAccess().getTypeGuardAssignment_1(), "rule__XCasePart__TypeGuardAssignment_1"); - builder.put(grammarAccess.getXCasePartAccess().getCaseAssignment_2_1(), "rule__XCasePart__CaseAssignment_2_1"); - builder.put(grammarAccess.getXCasePartAccess().getThenAssignment_3_0_1(), "rule__XCasePart__ThenAssignment_3_0_1"); - builder.put(grammarAccess.getXCasePartAccess().getFallThroughAssignment_3_1(), "rule__XCasePart__FallThroughAssignment_3_1"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamAssignment_0_0_3(), "rule__XForLoopExpression__DeclaredParamAssignment_0_0_3"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getForExpressionAssignment_1(), "rule__XForLoopExpression__ForExpressionAssignment_1"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getEachExpressionAssignment_3(), "rule__XForLoopExpression__EachExpressionAssignment_3"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_0(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_1_1(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_1_1"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getExpressionAssignment_5(), "rule__XBasicForLoopExpression__ExpressionAssignment_5"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_0(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_1_1(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_1_1"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getEachExpressionAssignment_9(), "rule__XBasicForLoopExpression__EachExpressionAssignment_9"); - builder.put(grammarAccess.getXWhileExpressionAccess().getPredicateAssignment_3(), "rule__XWhileExpression__PredicateAssignment_3"); - builder.put(grammarAccess.getXWhileExpressionAccess().getBodyAssignment_5(), "rule__XWhileExpression__BodyAssignment_5"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getBodyAssignment_2(), "rule__XDoWhileExpression__BodyAssignment_2"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getPredicateAssignment_5(), "rule__XDoWhileExpression__PredicateAssignment_5"); - builder.put(grammarAccess.getXBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__XBlockExpression__ExpressionsAssignment_2_0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getWriteableAssignment_1_0(), "rule__XVariableDeclaration__WriteableAssignment_1_0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getTypeAssignment_2_0_0_0(), "rule__XVariableDeclaration__TypeAssignment_2_0_0_0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_0_0_1(), "rule__XVariableDeclaration__NameAssignment_2_0_0_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_1(), "rule__XVariableDeclaration__NameAssignment_2_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getRightAssignment_3_1(), "rule__XVariableDeclaration__RightAssignment_3_1"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__JvmFormalParameter__ParameterTypeAssignment_0"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getNameAssignment_1(), "rule__JvmFormalParameter__NameAssignment_1"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__FullJvmFormalParameter__ParameterTypeAssignment_0"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getNameAssignment_1(), "rule__FullJvmFormalParameter__NameAssignment_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_2_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_2_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureAssignment_2(), "rule__XFeatureCall__FeatureAssignment_2"); - builder.put(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallAssignment_3_0(), "rule__XFeatureCall__ExplicitOperationCallAssignment_3_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_1_1(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_4"); - builder.put(grammarAccess.getXConstructorCallAccess().getConstructorAssignment_2(), "rule__XConstructorCall__ConstructorAssignment_2"); - builder.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_2_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_2_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getExplicitConstructorCallAssignment_4_0(), "rule__XConstructorCall__ExplicitConstructorCallAssignment_4_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_1_1(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_1_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_5(), "rule__XConstructorCall__ArgumentsAssignment_5"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1(), "rule__XBooleanLiteral__IsTrueAssignment_1_1"); - builder.put(grammarAccess.getXNumberLiteralAccess().getValueAssignment_1(), "rule__XNumberLiteral__ValueAssignment_1"); - builder.put(grammarAccess.getXStringLiteralAccess().getValueAssignment_1(), "rule__XStringLiteral__ValueAssignment_1"); - builder.put(grammarAccess.getXTypeLiteralAccess().getTypeAssignment_3(), "rule__XTypeLiteral__TypeAssignment_3"); - builder.put(grammarAccess.getXTypeLiteralAccess().getArrayDimensionsAssignment_4(), "rule__XTypeLiteral__ArrayDimensionsAssignment_4"); - builder.put(grammarAccess.getXThrowExpressionAccess().getExpressionAssignment_2(), "rule__XThrowExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXReturnExpressionAccess().getExpressionAssignment_2(), "rule__XReturnExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionAssignment_2(), "rule__XTryCatchFinallyExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesAssignment_3_0_0(), "rule__XTryCatchFinallyExpression__CatchClausesAssignment_3_0_0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_0_1_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_1_1"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getParamAssignment_1(), "rule__XSynchronizedExpression__ParamAssignment_1"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getExpressionAssignment_3(), "rule__XSynchronizedExpression__ExpressionAssignment_3"); - builder.put(grammarAccess.getXCatchClauseAccess().getDeclaredParamAssignment_2(), "rule__XCatchClause__DeclaredParamAssignment_2"); - builder.put(grammarAccess.getXCatchClauseAccess().getExpressionAssignment_4(), "rule__XCatchClause__ExpressionAssignment_4"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionTypeRef__ReturnTypeAssignment_2"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0(), "rule__JvmParameterizedTypeReference__TypeAssignment_0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1(), "rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1"); - builder.put(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBound__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBoundAnded__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBound__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBoundAnded__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getNameAssignment_0(), "rule__JvmTypeParameter__NameAssignment_0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_0(), "rule__JvmTypeParameter__ConstraintsAssignment_1_0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_1(), "rule__JvmTypeParameter__ConstraintsAssignment_1_1"); - builder.put(grammarAccess.getXImportSectionAccess().getImportDeclarationsAssignment(), "rule__XImportSection__ImportDeclarationsAssignment"); - builder.put(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0(), "rule__XImportDeclaration__StaticAssignment_1_0_0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1(), "rule__XImportDeclaration__ExtensionAssignment_1_0_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2(), "rule__XImportDeclaration__ImportedTypeAssignment_1_0_2"); - builder.put(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0(), "rule__XImportDeclaration__WildcardAssignment_1_0_3_0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1(), "rule__XImportDeclaration__MemberNameAssignment_1_0_3_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1(), "rule__XImportDeclaration__ImportedTypeAssignment_1_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2(), "rule__XImportDeclaration__ImportedNamespaceAssignment_1_2"); + private static void init(Map mappings, DomainmodelGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getAbstractElementAccess().getAlternatives(), "rule__AbstractElement__Alternatives"); + mappings.put(grammarAccess.getFeatureAccess().getAlternatives(), "rule__Feature__Alternatives"); + mappings.put(grammarAccess.getXAssignmentAccess().getAlternatives(), "rule__XAssignment__Alternatives"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getAlternatives(), "rule__OpMultiAssign__Alternatives"); + mappings.put(grammarAccess.getOpEqualityAccess().getAlternatives(), "rule__OpEquality__Alternatives"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getAlternatives_1(), "rule__XRelationalExpression__Alternatives_1"); + mappings.put(grammarAccess.getOpCompareAccess().getAlternatives(), "rule__OpCompare__Alternatives"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives(), "rule__OpOther__Alternatives"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives_5_1(), "rule__OpOther__Alternatives_5_1"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives_6_1(), "rule__OpOther__Alternatives_6_1"); + mappings.put(grammarAccess.getOpAddAccess().getAlternatives(), "rule__OpAdd__Alternatives"); + mappings.put(grammarAccess.getOpMultiAccess().getAlternatives(), "rule__OpMulti__Alternatives"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getAlternatives(), "rule__XUnaryOperation__Alternatives"); + mappings.put(grammarAccess.getOpUnaryAccess().getAlternatives(), "rule__OpUnary__Alternatives"); + mappings.put(grammarAccess.getOpPostfixAccess().getAlternatives(), "rule__OpPostfix__Alternatives"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1(), "rule__XMemberFeatureCall__Alternatives_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_0_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_0_0_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_1_0_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_3_1(), "rule__XMemberFeatureCall__Alternatives_1_1_3_1"); + mappings.put(grammarAccess.getXPrimaryExpressionAccess().getAlternatives(), "rule__XPrimaryExpression__Alternatives"); + mappings.put(grammarAccess.getXLiteralAccess().getAlternatives(), "rule__XLiteral__Alternatives"); + mappings.put(grammarAccess.getXCollectionLiteralAccess().getAlternatives(), "rule__XCollectionLiteral__Alternatives"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2(), "rule__XSwitchExpression__Alternatives_2"); + mappings.put(grammarAccess.getXCasePartAccess().getAlternatives_3(), "rule__XCasePart__Alternatives_3"); + mappings.put(grammarAccess.getXExpressionOrVarDeclarationAccess().getAlternatives(), "rule__XExpressionOrVarDeclaration__Alternatives"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_1(), "rule__XVariableDeclaration__Alternatives_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_2(), "rule__XVariableDeclaration__Alternatives_2"); + mappings.put(grammarAccess.getXFeatureCallAccess().getAlternatives_3_1(), "rule__XFeatureCall__Alternatives_3_1"); + mappings.put(grammarAccess.getFeatureCallIDAccess().getAlternatives(), "rule__FeatureCallID__Alternatives"); + mappings.put(grammarAccess.getIdOrSuperAccess().getAlternatives(), "rule__IdOrSuper__Alternatives"); + mappings.put(grammarAccess.getXConstructorCallAccess().getAlternatives_4_1(), "rule__XConstructorCall__Alternatives_4_1"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1(), "rule__XBooleanLiteral__Alternatives_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_3(), "rule__XTryCatchFinallyExpression__Alternatives_3"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives(), "rule__Number__Alternatives"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives_1_0(), "rule__Number__Alternatives_1_0"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives_1_1_1(), "rule__Number__Alternatives_1_1_1"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getAlternatives(), "rule__JvmTypeReference__Alternatives"); + mappings.put(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives(), "rule__JvmArgumentTypeReference__Alternatives"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2(), "rule__JvmWildcardTypeReference__Alternatives_2"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1(), "rule__XImportDeclaration__Alternatives_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3(), "rule__XImportDeclaration__Alternatives_1_0_3"); + mappings.put(grammarAccess.getDomainModelAccess().getGroup(), "rule__DomainModel__Group__0"); + mappings.put(grammarAccess.getPackageDeclarationAccess().getGroup(), "rule__PackageDeclaration__Group__0"); + mappings.put(grammarAccess.getEntityAccess().getGroup(), "rule__Entity__Group__0"); + mappings.put(grammarAccess.getEntityAccess().getGroup_2(), "rule__Entity__Group_2__0"); + mappings.put(grammarAccess.getPropertyAccess().getGroup(), "rule__Property__Group__0"); + mappings.put(grammarAccess.getOperationAccess().getGroup(), "rule__Operation__Group__0"); + mappings.put(grammarAccess.getOperationAccess().getGroup_3(), "rule__Operation__Group_3__0"); + mappings.put(grammarAccess.getOperationAccess().getGroup_3_1(), "rule__Operation__Group_3_1__0"); + mappings.put(grammarAccess.getOperationAccess().getGroup_5(), "rule__Operation__Group_5__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_0(), "rule__XAssignment__Group_0__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1(), "rule__XAssignment__Group_1__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1(), "rule__XAssignment__Group_1_1__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0(), "rule__XAssignment__Group_1_1_0__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0_0(), "rule__XAssignment__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getGroup_5(), "rule__OpMultiAssign__Group_5__0"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getGroup_6(), "rule__OpMultiAssign__Group_6__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup(), "rule__XOrExpression__Group__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1(), "rule__XOrExpression__Group_1__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0(), "rule__XOrExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0_0(), "rule__XOrExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup(), "rule__XAndExpression__Group__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1(), "rule__XAndExpression__Group_1__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0(), "rule__XAndExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0_0(), "rule__XAndExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup(), "rule__XEqualityExpression__Group__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1(), "rule__XEqualityExpression__Group_1__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0(), "rule__XEqualityExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0_0(), "rule__XEqualityExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup(), "rule__XRelationalExpression__Group__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0(), "rule__XRelationalExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0(), "rule__XRelationalExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0_0(), "rule__XRelationalExpression__Group_1_0_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1(), "rule__XRelationalExpression__Group_1_1__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0(), "rule__XRelationalExpression__Group_1_1_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0_0(), "rule__XRelationalExpression__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getOpCompareAccess().getGroup_1(), "rule__OpCompare__Group_1__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup(), "rule__XOtherOperatorExpression__Group__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1(), "rule__XOtherOperatorExpression__Group_1__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0(), "rule__XOtherOperatorExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0_0(), "rule__XOtherOperatorExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_2(), "rule__OpOther__Group_2__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5(), "rule__OpOther__Group_5__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0(), "rule__OpOther__Group_5_1_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0_0(), "rule__OpOther__Group_5_1_0_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6(), "rule__OpOther__Group_6__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0(), "rule__OpOther__Group_6_1_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0_0(), "rule__OpOther__Group_6_1_0_0__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup(), "rule__XAdditiveExpression__Group__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1(), "rule__XAdditiveExpression__Group_1__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0(), "rule__XAdditiveExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0_0(), "rule__XAdditiveExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup(), "rule__XMultiplicativeExpression__Group__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1(), "rule__XMultiplicativeExpression__Group_1__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0(), "rule__XMultiplicativeExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0_0(), "rule__XMultiplicativeExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getGroup_0(), "rule__XUnaryOperation__Group_0__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup(), "rule__XCastedExpression__Group__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1(), "rule__XCastedExpression__Group_1__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0(), "rule__XCastedExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0_0(), "rule__XCastedExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup(), "rule__XPostfixOperation__Group__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup_1(), "rule__XPostfixOperation__Group_1__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup_1_0(), "rule__XPostfixOperation__Group_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup(), "rule__XMemberFeatureCall__Group__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0(), "rule__XMemberFeatureCall__Group_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0(), "rule__XMemberFeatureCall__Group_1_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0_0(), "rule__XMemberFeatureCall__Group_1_0_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1(), "rule__XMemberFeatureCall__Group_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0(), "rule__XMemberFeatureCall__Group_1_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0_0(), "rule__XMemberFeatureCall__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1_2(), "rule__XMemberFeatureCall__Group_1_1_1_2__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3(), "rule__XMemberFeatureCall__Group_1_1_3__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1_1__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup(), "rule__XSetLiteral__Group__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup_3(), "rule__XSetLiteral__Group_3__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup_3_1(), "rule__XSetLiteral__Group_3_1__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup(), "rule__XListLiteral__Group__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup_3(), "rule__XListLiteral__Group_3__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup_3_1(), "rule__XListLiteral__Group_3_1__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup(), "rule__XClosure__Group__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_0(), "rule__XClosure__Group_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_0_0(), "rule__XClosure__Group_0_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1(), "rule__XClosure__Group_1__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0(), "rule__XClosure__Group_1_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0_0(), "rule__XClosure__Group_1_0_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0_0_1(), "rule__XClosure__Group_1_0_0_1__0"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getGroup(), "rule__XExpressionInClosure__Group__0"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getGroup_1(), "rule__XExpressionInClosure__Group_1__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup(), "rule__XShortClosure__Group__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0(), "rule__XShortClosure__Group_0__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0(), "rule__XShortClosure__Group_0_0__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1(), "rule__XShortClosure__Group_0_0_1__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1_1(), "rule__XShortClosure__Group_0_0_1_1__0"); + mappings.put(grammarAccess.getXParenthesizedExpressionAccess().getGroup(), "rule__XParenthesizedExpression__Group__0"); + mappings.put(grammarAccess.getXIfExpressionAccess().getGroup(), "rule__XIfExpression__Group__0"); + mappings.put(grammarAccess.getXIfExpressionAccess().getGroup_6(), "rule__XIfExpression__Group_6__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup(), "rule__XSwitchExpression__Group__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0(), "rule__XSwitchExpression__Group_2_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0(), "rule__XSwitchExpression__Group_2_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0(), "rule__XSwitchExpression__Group_2_0_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1(), "rule__XSwitchExpression__Group_2_1__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0(), "rule__XSwitchExpression__Group_2_1_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0(), "rule__XSwitchExpression__Group_2_1_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_5(), "rule__XSwitchExpression__Group_5__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup(), "rule__XCasePart__Group__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup_2(), "rule__XCasePart__Group_2__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup_3_0(), "rule__XCasePart__Group_3_0__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup(), "rule__XForLoopExpression__Group__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0(), "rule__XForLoopExpression__Group_0__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0_0(), "rule__XForLoopExpression__Group_0_0__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup(), "rule__XBasicForLoopExpression__Group__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3(), "rule__XBasicForLoopExpression__Group_3__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3_1(), "rule__XBasicForLoopExpression__Group_3_1__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7(), "rule__XBasicForLoopExpression__Group_7__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7_1(), "rule__XBasicForLoopExpression__Group_7_1__0"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getGroup(), "rule__XWhileExpression__Group__0"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getGroup(), "rule__XDoWhileExpression__Group__0"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getGroup(), "rule__XBlockExpression__Group__0"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getGroup_2(), "rule__XBlockExpression__Group_2__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup(), "rule__XVariableDeclaration__Group__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0(), "rule__XVariableDeclaration__Group_2_0__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0_0(), "rule__XVariableDeclaration__Group_2_0_0__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_3(), "rule__XVariableDeclaration__Group_3__0"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getGroup(), "rule__JvmFormalParameter__Group__0"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getGroup(), "rule__FullJvmFormalParameter__Group__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup(), "rule__XFeatureCall__Group__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_1(), "rule__XFeatureCall__Group_1__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_1_2(), "rule__XFeatureCall__Group_1_2__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3(), "rule__XFeatureCall__Group_3__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1(), "rule__XFeatureCall__Group_3_1_1__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1_1(), "rule__XFeatureCall__Group_3_1_1_1__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup(), "rule__XConstructorCall__Group__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_3(), "rule__XConstructorCall__Group_3__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_3_2(), "rule__XConstructorCall__Group_3_2__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4(), "rule__XConstructorCall__Group_4__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1(), "rule__XConstructorCall__Group_4_1_1__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1_1(), "rule__XConstructorCall__Group_4_1_1_1__0"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getGroup(), "rule__XBooleanLiteral__Group__0"); + mappings.put(grammarAccess.getXNullLiteralAccess().getGroup(), "rule__XNullLiteral__Group__0"); + mappings.put(grammarAccess.getXNumberLiteralAccess().getGroup(), "rule__XNumberLiteral__Group__0"); + mappings.put(grammarAccess.getXStringLiteralAccess().getGroup(), "rule__XStringLiteral__Group__0"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getGroup(), "rule__XTypeLiteral__Group__0"); + mappings.put(grammarAccess.getXThrowExpressionAccess().getGroup(), "rule__XThrowExpression__Group__0"); + mappings.put(grammarAccess.getXReturnExpressionAccess().getGroup(), "rule__XReturnExpression__Group__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup(), "rule__XTryCatchFinallyExpression__Group__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0(), "rule__XTryCatchFinallyExpression__Group_3_0__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0_1(), "rule__XTryCatchFinallyExpression__Group_3_0_1__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_1(), "rule__XTryCatchFinallyExpression__Group_3_1__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup(), "rule__XSynchronizedExpression__Group__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0(), "rule__XSynchronizedExpression__Group_0__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0_0(), "rule__XSynchronizedExpression__Group_0_0__0"); + mappings.put(grammarAccess.getXCatchClauseAccess().getGroup(), "rule__XCatchClause__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); + mappings.put(grammarAccess.getNumberAccess().getGroup_1(), "rule__Number__Group_1__0"); + mappings.put(grammarAccess.getNumberAccess().getGroup_1_1(), "rule__Number__Group_1_1__0"); + mappings.put(grammarAccess.getStaticQualifierAccess().getGroup(), "rule__StaticQualifier__Group__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0(), "rule__JvmTypeReference__Group_0__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1(), "rule__JvmTypeReference__Group_0_1__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0(), "rule__JvmTypeReference__Group_0_1_0__0"); + mappings.put(grammarAccess.getArrayBracketsAccess().getGroup(), "rule__ArrayBrackets__Group__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup(), "rule__XFunctionTypeRef__Group__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0(), "rule__XFunctionTypeRef__Group_0__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1(), "rule__XFunctionTypeRef__Group_0_1__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1(), "rule__XFunctionTypeRef__Group_0_1_1__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup(), "rule__JvmParameterizedTypeReference__Group__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1(), "rule__JvmParameterizedTypeReference__Group_1__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2(), "rule__JvmParameterizedTypeReference__Group_1_2__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4(), "rule__JvmParameterizedTypeReference__Group_1_4__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup(), "rule__JvmWildcardTypeReference__Group__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0(), "rule__JvmWildcardTypeReference__Group_2_0__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1(), "rule__JvmWildcardTypeReference__Group_2_1__0"); + mappings.put(grammarAccess.getJvmUpperBoundAccess().getGroup(), "rule__JvmUpperBound__Group__0"); + mappings.put(grammarAccess.getJvmUpperBoundAndedAccess().getGroup(), "rule__JvmUpperBoundAnded__Group__0"); + mappings.put(grammarAccess.getJvmLowerBoundAccess().getGroup(), "rule__JvmLowerBound__Group__0"); + mappings.put(grammarAccess.getJvmLowerBoundAndedAccess().getGroup(), "rule__JvmLowerBoundAnded__Group__0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getGroup(), "rule__JvmTypeParameter__Group__0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getGroup_1(), "rule__JvmTypeParameter__Group_1__0"); + mappings.put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup(), "rule__QualifiedNameWithWildcard__Group__0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getGroup(), "rule__XImportDeclaration__Group__0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getGroup_1_0(), "rule__XImportDeclaration__Group_1_0__0"); + mappings.put(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup(), "rule__QualifiedNameInStaticImport__Group__0"); + mappings.put(grammarAccess.getDomainModelAccess().getImportSectionAssignment_0(), "rule__DomainModel__ImportSectionAssignment_0"); + mappings.put(grammarAccess.getDomainModelAccess().getElementsAssignment_1(), "rule__DomainModel__ElementsAssignment_1"); + mappings.put(grammarAccess.getPackageDeclarationAccess().getNameAssignment_1(), "rule__PackageDeclaration__NameAssignment_1"); + mappings.put(grammarAccess.getPackageDeclarationAccess().getElementsAssignment_3(), "rule__PackageDeclaration__ElementsAssignment_3"); + mappings.put(grammarAccess.getEntityAccess().getNameAssignment_1(), "rule__Entity__NameAssignment_1"); + mappings.put(grammarAccess.getEntityAccess().getSuperTypeAssignment_2_1(), "rule__Entity__SuperTypeAssignment_2_1"); + mappings.put(grammarAccess.getEntityAccess().getFeaturesAssignment_4(), "rule__Entity__FeaturesAssignment_4"); + mappings.put(grammarAccess.getPropertyAccess().getNameAssignment_0(), "rule__Property__NameAssignment_0"); + mappings.put(grammarAccess.getPropertyAccess().getTypeAssignment_2(), "rule__Property__TypeAssignment_2"); + mappings.put(grammarAccess.getOperationAccess().getNameAssignment_1(), "rule__Operation__NameAssignment_1"); + mappings.put(grammarAccess.getOperationAccess().getParamsAssignment_3_0(), "rule__Operation__ParamsAssignment_3_0"); + mappings.put(grammarAccess.getOperationAccess().getParamsAssignment_3_1_1(), "rule__Operation__ParamsAssignment_3_1_1"); + mappings.put(grammarAccess.getOperationAccess().getTypeAssignment_5_1(), "rule__Operation__TypeAssignment_5_1"); + mappings.put(grammarAccess.getOperationAccess().getBodyAssignment_6(), "rule__Operation__BodyAssignment_6"); + mappings.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_0_1(), "rule__XAssignment__FeatureAssignment_0_1"); + mappings.put(grammarAccess.getXAssignmentAccess().getValueAssignment_0_3(), "rule__XAssignment__ValueAssignment_0_3"); + mappings.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XAssignment__FeatureAssignment_1_1_0_0_1"); + mappings.put(grammarAccess.getXAssignmentAccess().getRightOperandAssignment_1_1_1(), "rule__XAssignment__RightOperandAssignment_1_1_1"); + mappings.put(grammarAccess.getXOrExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOrExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXOrExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOrExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXAndExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAndExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXAndExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAndExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XEqualityExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getRightOperandAssignment_1_1(), "rule__XEqualityExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getTypeAssignment_1_0_1(), "rule__XRelationalExpression__TypeAssignment_1_0_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XRelationalExpression__FeatureAssignment_1_1_0_0_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getRightOperandAssignment_1_1_1(), "rule__XRelationalExpression__RightOperandAssignment_1_1_1"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOtherOperatorExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOtherOperatorExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAdditiveExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAdditiveExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XMultiplicativeExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandAssignment_1_1(), "rule__XMultiplicativeExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getFeatureAssignment_0_1(), "rule__XUnaryOperation__FeatureAssignment_0_1"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getOperandAssignment_0_2(), "rule__XUnaryOperation__OperandAssignment_0_2"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getTypeAssignment_1_1(), "rule__XCastedExpression__TypeAssignment_1_1"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getFeatureAssignment_1_0_1(), "rule__XPostfixOperation__FeatureAssignment_1_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_0_0_0_1_1(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_0_0_0_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_0_0_0_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getValueAssignment_1_0_1(), "rule__XMemberFeatureCall__ValueAssignment_1_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getNullSafeAssignment_1_1_0_0_1_1(), "rule__XMemberFeatureCall__NullSafeAssignment_1_1_0_0_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_1_0_0_1_2(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_1_0_0_1_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_2_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_2_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_1_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_1_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallAssignment_1_1_3_0(), "rule__XMemberFeatureCall__ExplicitOperationCallAssignment_1_1_3_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_1_1(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_4(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4"); + mappings.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_0(), "rule__XSetLiteral__ElementsAssignment_3_0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_1_1(), "rule__XSetLiteral__ElementsAssignment_3_1_1"); + mappings.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_0(), "rule__XListLiteral__ElementsAssignment_3_0"); + mappings.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_1_1(), "rule__XListLiteral__ElementsAssignment_3_1_1"); + mappings.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_0(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_0"); + mappings.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_1_1(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_1_1"); + mappings.put(grammarAccess.getXClosureAccess().getExplicitSyntaxAssignment_1_0_1(), "rule__XClosure__ExplicitSyntaxAssignment_1_0_1"); + mappings.put(grammarAccess.getXClosureAccess().getExpressionAssignment_2(), "rule__XClosure__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getExpressionsAssignment_1_0(), "rule__XExpressionInClosure__ExpressionsAssignment_1_0"); + mappings.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_0(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0"); + mappings.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_1_1(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1"); + mappings.put(grammarAccess.getXShortClosureAccess().getExplicitSyntaxAssignment_0_0_2(), "rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2"); + mappings.put(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1(), "rule__XShortClosure__ExpressionAssignment_1"); + mappings.put(grammarAccess.getXIfExpressionAccess().getIfAssignment_3(), "rule__XIfExpression__IfAssignment_3"); + mappings.put(grammarAccess.getXIfExpressionAccess().getThenAssignment_5(), "rule__XIfExpression__ThenAssignment_5"); + mappings.put(grammarAccess.getXIfExpressionAccess().getElseAssignment_6_1(), "rule__XIfExpression__ElseAssignment_6_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_0_0_0_1(), "rule__XSwitchExpression__DeclaredParamAssignment_2_0_0_0_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1(), "rule__XSwitchExpression__SwitchAssignment_2_0_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_1_0_0_0(), "rule__XSwitchExpression__DeclaredParamAssignment_2_1_0_0_0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1(), "rule__XSwitchExpression__SwitchAssignment_2_1_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4(), "rule__XSwitchExpression__CasesAssignment_4"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDefaultAssignment_5_2(), "rule__XSwitchExpression__DefaultAssignment_5_2"); + mappings.put(grammarAccess.getXCasePartAccess().getTypeGuardAssignment_1(), "rule__XCasePart__TypeGuardAssignment_1"); + mappings.put(grammarAccess.getXCasePartAccess().getCaseAssignment_2_1(), "rule__XCasePart__CaseAssignment_2_1"); + mappings.put(grammarAccess.getXCasePartAccess().getThenAssignment_3_0_1(), "rule__XCasePart__ThenAssignment_3_0_1"); + mappings.put(grammarAccess.getXCasePartAccess().getFallThroughAssignment_3_1(), "rule__XCasePart__FallThroughAssignment_3_1"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamAssignment_0_0_3(), "rule__XForLoopExpression__DeclaredParamAssignment_0_0_3"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getForExpressionAssignment_1(), "rule__XForLoopExpression__ForExpressionAssignment_1"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getEachExpressionAssignment_3(), "rule__XForLoopExpression__EachExpressionAssignment_3"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_0(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_1_1(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_1_1"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getExpressionAssignment_5(), "rule__XBasicForLoopExpression__ExpressionAssignment_5"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_0(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_1_1(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_1_1"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getEachExpressionAssignment_9(), "rule__XBasicForLoopExpression__EachExpressionAssignment_9"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getPredicateAssignment_3(), "rule__XWhileExpression__PredicateAssignment_3"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getBodyAssignment_5(), "rule__XWhileExpression__BodyAssignment_5"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getBodyAssignment_2(), "rule__XDoWhileExpression__BodyAssignment_2"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getPredicateAssignment_5(), "rule__XDoWhileExpression__PredicateAssignment_5"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__XBlockExpression__ExpressionsAssignment_2_0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getWriteableAssignment_1_0(), "rule__XVariableDeclaration__WriteableAssignment_1_0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getTypeAssignment_2_0_0_0(), "rule__XVariableDeclaration__TypeAssignment_2_0_0_0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_0_0_1(), "rule__XVariableDeclaration__NameAssignment_2_0_0_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_1(), "rule__XVariableDeclaration__NameAssignment_2_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getRightAssignment_3_1(), "rule__XVariableDeclaration__RightAssignment_3_1"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__JvmFormalParameter__ParameterTypeAssignment_0"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getNameAssignment_1(), "rule__JvmFormalParameter__NameAssignment_1"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__FullJvmFormalParameter__ParameterTypeAssignment_0"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getNameAssignment_1(), "rule__FullJvmFormalParameter__NameAssignment_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_2_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_2_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureAssignment_2(), "rule__XFeatureCall__FeatureAssignment_2"); + mappings.put(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallAssignment_3_0(), "rule__XFeatureCall__ExplicitOperationCallAssignment_3_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_1_1(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_4"); + mappings.put(grammarAccess.getXConstructorCallAccess().getConstructorAssignment_2(), "rule__XConstructorCall__ConstructorAssignment_2"); + mappings.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_2_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_2_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getExplicitConstructorCallAssignment_4_0(), "rule__XConstructorCall__ExplicitConstructorCallAssignment_4_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_1_1(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_1_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_5(), "rule__XConstructorCall__ArgumentsAssignment_5"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1(), "rule__XBooleanLiteral__IsTrueAssignment_1_1"); + mappings.put(grammarAccess.getXNumberLiteralAccess().getValueAssignment_1(), "rule__XNumberLiteral__ValueAssignment_1"); + mappings.put(grammarAccess.getXStringLiteralAccess().getValueAssignment_1(), "rule__XStringLiteral__ValueAssignment_1"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getTypeAssignment_3(), "rule__XTypeLiteral__TypeAssignment_3"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getArrayDimensionsAssignment_4(), "rule__XTypeLiteral__ArrayDimensionsAssignment_4"); + mappings.put(grammarAccess.getXThrowExpressionAccess().getExpressionAssignment_2(), "rule__XThrowExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXReturnExpressionAccess().getExpressionAssignment_2(), "rule__XReturnExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionAssignment_2(), "rule__XTryCatchFinallyExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesAssignment_3_0_0(), "rule__XTryCatchFinallyExpression__CatchClausesAssignment_3_0_0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_0_1_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_1_1"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getParamAssignment_1(), "rule__XSynchronizedExpression__ParamAssignment_1"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getExpressionAssignment_3(), "rule__XSynchronizedExpression__ExpressionAssignment_3"); + mappings.put(grammarAccess.getXCatchClauseAccess().getDeclaredParamAssignment_2(), "rule__XCatchClause__DeclaredParamAssignment_2"); + mappings.put(grammarAccess.getXCatchClauseAccess().getExpressionAssignment_4(), "rule__XCatchClause__ExpressionAssignment_4"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionTypeRef__ReturnTypeAssignment_2"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0(), "rule__JvmParameterizedTypeReference__TypeAssignment_0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1(), "rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1"); + mappings.put(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBound__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBoundAnded__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBound__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBoundAnded__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getNameAssignment_0(), "rule__JvmTypeParameter__NameAssignment_0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_0(), "rule__JvmTypeParameter__ConstraintsAssignment_1_0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_1(), "rule__JvmTypeParameter__ConstraintsAssignment_1_1"); + mappings.put(grammarAccess.getXImportSectionAccess().getImportDeclarationsAssignment(), "rule__XImportSection__ImportDeclarationsAssignment"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0(), "rule__XImportDeclaration__StaticAssignment_1_0_0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1(), "rule__XImportDeclaration__ExtensionAssignment_1_0_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2(), "rule__XImportDeclaration__ImportedTypeAssignment_1_0_2"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0(), "rule__XImportDeclaration__WildcardAssignment_1_0_3_0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1(), "rule__XImportDeclaration__MemberNameAssignment_1_0_3_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1(), "rule__XImportDeclaration__ImportedTypeAssignment_1_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2(), "rule__XImportDeclaration__ImportedNamespaceAssignment_1_2"); } } diff --git a/org.eclipse.xtext.xtext.ui.examples/projects/fowlerdsl/org.eclipse.xtext.example.fowlerdsl.ide/src-gen/org/eclipse/xtext/example/fowlerdsl/ide/contentassist/antlr/StatemachineParser.java b/org.eclipse.xtext.xtext.ui.examples/projects/fowlerdsl/org.eclipse.xtext.example.fowlerdsl.ide/src-gen/org/eclipse/xtext/example/fowlerdsl/ide/contentassist/antlr/StatemachineParser.java index 84d2f0b61b0..317847d2c0e 100644 --- a/org.eclipse.xtext.xtext.ui.examples/projects/fowlerdsl/org.eclipse.xtext.example.fowlerdsl.ide/src-gen/org/eclipse/xtext/example/fowlerdsl/ide/contentassist/antlr/StatemachineParser.java +++ b/org.eclipse.xtext.xtext.ui.examples/projects/fowlerdsl/org.eclipse.xtext.example.fowlerdsl.ide/src-gen/org/eclipse/xtext/example/fowlerdsl/ide/contentassist/antlr/StatemachineParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.example.fowlerdsl.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.example.fowlerdsl.ide.contentassist.antlr.internal.InternalStatemachineParser; @@ -26,38 +26,38 @@ public static final class NameMappings { @Inject public NameMappings(StatemachineGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, StatemachineGrammarAccess grammarAccess) { - builder.put(grammarAccess.getStatemachineAccess().getGroup(), "rule__Statemachine__Group__0"); - builder.put(grammarAccess.getStatemachineAccess().getGroup_1(), "rule__Statemachine__Group_1__0"); - builder.put(grammarAccess.getStatemachineAccess().getGroup_2(), "rule__Statemachine__Group_2__0"); - builder.put(grammarAccess.getStatemachineAccess().getGroup_3(), "rule__Statemachine__Group_3__0"); - builder.put(grammarAccess.getEventAccess().getGroup(), "rule__Event__Group__0"); - builder.put(grammarAccess.getCommandAccess().getGroup(), "rule__Command__Group__0"); - builder.put(grammarAccess.getStateAccess().getGroup(), "rule__State__Group__0"); - builder.put(grammarAccess.getStateAccess().getGroup_2(), "rule__State__Group_2__0"); - builder.put(grammarAccess.getTransitionAccess().getGroup(), "rule__Transition__Group__0"); - builder.put(grammarAccess.getStatemachineAccess().getEventsAssignment_1_1(), "rule__Statemachine__EventsAssignment_1_1"); - builder.put(grammarAccess.getStatemachineAccess().getResetEventsAssignment_2_1(), "rule__Statemachine__ResetEventsAssignment_2_1"); - builder.put(grammarAccess.getStatemachineAccess().getCommandsAssignment_3_1(), "rule__Statemachine__CommandsAssignment_3_1"); - builder.put(grammarAccess.getStatemachineAccess().getStatesAssignment_4(), "rule__Statemachine__StatesAssignment_4"); - builder.put(grammarAccess.getEventAccess().getNameAssignment_0(), "rule__Event__NameAssignment_0"); - builder.put(grammarAccess.getEventAccess().getCodeAssignment_1(), "rule__Event__CodeAssignment_1"); - builder.put(grammarAccess.getCommandAccess().getNameAssignment_0(), "rule__Command__NameAssignment_0"); - builder.put(grammarAccess.getCommandAccess().getCodeAssignment_1(), "rule__Command__CodeAssignment_1"); - builder.put(grammarAccess.getStateAccess().getNameAssignment_1(), "rule__State__NameAssignment_1"); - builder.put(grammarAccess.getStateAccess().getActionsAssignment_2_2(), "rule__State__ActionsAssignment_2_2"); - builder.put(grammarAccess.getStateAccess().getTransitionsAssignment_3(), "rule__State__TransitionsAssignment_3"); - builder.put(grammarAccess.getTransitionAccess().getEventAssignment_0(), "rule__Transition__EventAssignment_0"); - builder.put(grammarAccess.getTransitionAccess().getStateAssignment_2(), "rule__Transition__StateAssignment_2"); + private static void init(Map mappings, StatemachineGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getStatemachineAccess().getGroup(), "rule__Statemachine__Group__0"); + mappings.put(grammarAccess.getStatemachineAccess().getGroup_1(), "rule__Statemachine__Group_1__0"); + mappings.put(grammarAccess.getStatemachineAccess().getGroup_2(), "rule__Statemachine__Group_2__0"); + mappings.put(grammarAccess.getStatemachineAccess().getGroup_3(), "rule__Statemachine__Group_3__0"); + mappings.put(grammarAccess.getEventAccess().getGroup(), "rule__Event__Group__0"); + mappings.put(grammarAccess.getCommandAccess().getGroup(), "rule__Command__Group__0"); + mappings.put(grammarAccess.getStateAccess().getGroup(), "rule__State__Group__0"); + mappings.put(grammarAccess.getStateAccess().getGroup_2(), "rule__State__Group_2__0"); + mappings.put(grammarAccess.getTransitionAccess().getGroup(), "rule__Transition__Group__0"); + mappings.put(grammarAccess.getStatemachineAccess().getEventsAssignment_1_1(), "rule__Statemachine__EventsAssignment_1_1"); + mappings.put(grammarAccess.getStatemachineAccess().getResetEventsAssignment_2_1(), "rule__Statemachine__ResetEventsAssignment_2_1"); + mappings.put(grammarAccess.getStatemachineAccess().getCommandsAssignment_3_1(), "rule__Statemachine__CommandsAssignment_3_1"); + mappings.put(grammarAccess.getStatemachineAccess().getStatesAssignment_4(), "rule__Statemachine__StatesAssignment_4"); + mappings.put(grammarAccess.getEventAccess().getNameAssignment_0(), "rule__Event__NameAssignment_0"); + mappings.put(grammarAccess.getEventAccess().getCodeAssignment_1(), "rule__Event__CodeAssignment_1"); + mappings.put(grammarAccess.getCommandAccess().getNameAssignment_0(), "rule__Command__NameAssignment_0"); + mappings.put(grammarAccess.getCommandAccess().getCodeAssignment_1(), "rule__Command__CodeAssignment_1"); + mappings.put(grammarAccess.getStateAccess().getNameAssignment_1(), "rule__State__NameAssignment_1"); + mappings.put(grammarAccess.getStateAccess().getActionsAssignment_2_2(), "rule__State__ActionsAssignment_2_2"); + mappings.put(grammarAccess.getStateAccess().getTransitionsAssignment_3(), "rule__State__TransitionsAssignment_3"); + mappings.put(grammarAccess.getTransitionAccess().getEventAssignment_0(), "rule__Transition__EventAssignment_0"); + mappings.put(grammarAccess.getTransitionAccess().getStateAssignment_2(), "rule__Transition__StateAssignment_2"); } } diff --git a/org.eclipse.xtext.xtext.ui.examples/projects/homeautomation/org.eclipse.xtext.example.homeautomation.ide/src-gen/org/eclipse/xtext/example/homeautomation/ide/contentassist/antlr/RuleEngineParser.java b/org.eclipse.xtext.xtext.ui.examples/projects/homeautomation/org.eclipse.xtext.example.homeautomation.ide/src-gen/org/eclipse/xtext/example/homeautomation/ide/contentassist/antlr/RuleEngineParser.java index 31e6fd2bd3d..e0db01918c1 100644 --- a/org.eclipse.xtext.xtext.ui.examples/projects/homeautomation/org.eclipse.xtext.example.homeautomation.ide/src-gen/org/eclipse/xtext/example/homeautomation/ide/contentassist/antlr/RuleEngineParser.java +++ b/org.eclipse.xtext.xtext.ui.examples/projects/homeautomation/org.eclipse.xtext.example.homeautomation.ide/src-gen/org/eclipse/xtext/example/homeautomation/ide/contentassist/antlr/RuleEngineParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.example.homeautomation.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.antlr.runtime.CharStream; import org.antlr.runtime.TokenSource; @@ -28,391 +28,391 @@ public static final class NameMappings { @Inject public NameMappings(RuleEngineGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, RuleEngineGrammarAccess grammarAccess) { - builder.put(grammarAccess.getDeclarationAccess().getAlternatives(), "rule__Declaration__Alternatives"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2(), "rule__XSwitchExpression__Alternatives_2"); - builder.put(grammarAccess.getXAssignmentAccess().getAlternatives(), "rule__XAssignment__Alternatives"); - builder.put(grammarAccess.getOpMultiAssignAccess().getAlternatives(), "rule__OpMultiAssign__Alternatives"); - builder.put(grammarAccess.getOpEqualityAccess().getAlternatives(), "rule__OpEquality__Alternatives"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getAlternatives_1(), "rule__XRelationalExpression__Alternatives_1"); - builder.put(grammarAccess.getOpCompareAccess().getAlternatives(), "rule__OpCompare__Alternatives"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives(), "rule__OpOther__Alternatives"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives_5_1(), "rule__OpOther__Alternatives_5_1"); - builder.put(grammarAccess.getOpOtherAccess().getAlternatives_6_1(), "rule__OpOther__Alternatives_6_1"); - builder.put(grammarAccess.getOpAddAccess().getAlternatives(), "rule__OpAdd__Alternatives"); - builder.put(grammarAccess.getOpMultiAccess().getAlternatives(), "rule__OpMulti__Alternatives"); - builder.put(grammarAccess.getXUnaryOperationAccess().getAlternatives(), "rule__XUnaryOperation__Alternatives"); - builder.put(grammarAccess.getOpUnaryAccess().getAlternatives(), "rule__OpUnary__Alternatives"); - builder.put(grammarAccess.getOpPostfixAccess().getAlternatives(), "rule__OpPostfix__Alternatives"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1(), "rule__XMemberFeatureCall__Alternatives_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_0_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_0_0_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_1_0_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_3_1(), "rule__XMemberFeatureCall__Alternatives_1_1_3_1"); - builder.put(grammarAccess.getXPrimaryExpressionAccess().getAlternatives(), "rule__XPrimaryExpression__Alternatives"); - builder.put(grammarAccess.getXLiteralAccess().getAlternatives(), "rule__XLiteral__Alternatives"); - builder.put(grammarAccess.getXCollectionLiteralAccess().getAlternatives(), "rule__XCollectionLiteral__Alternatives"); - builder.put(grammarAccess.getXCasePartAccess().getAlternatives_3(), "rule__XCasePart__Alternatives_3"); - builder.put(grammarAccess.getXExpressionOrVarDeclarationAccess().getAlternatives(), "rule__XExpressionOrVarDeclaration__Alternatives"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_1(), "rule__XVariableDeclaration__Alternatives_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_2(), "rule__XVariableDeclaration__Alternatives_2"); - builder.put(grammarAccess.getXFeatureCallAccess().getAlternatives_3_1(), "rule__XFeatureCall__Alternatives_3_1"); - builder.put(grammarAccess.getFeatureCallIDAccess().getAlternatives(), "rule__FeatureCallID__Alternatives"); - builder.put(grammarAccess.getIdOrSuperAccess().getAlternatives(), "rule__IdOrSuper__Alternatives"); - builder.put(grammarAccess.getXConstructorCallAccess().getAlternatives_4_1(), "rule__XConstructorCall__Alternatives_4_1"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1(), "rule__XBooleanLiteral__Alternatives_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_3(), "rule__XTryCatchFinallyExpression__Alternatives_3"); - builder.put(grammarAccess.getNumberAccess().getAlternatives(), "rule__Number__Alternatives"); - builder.put(grammarAccess.getNumberAccess().getAlternatives_1_0(), "rule__Number__Alternatives_1_0"); - builder.put(grammarAccess.getNumberAccess().getAlternatives_1_1_1(), "rule__Number__Alternatives_1_1_1"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getAlternatives(), "rule__JvmTypeReference__Alternatives"); - builder.put(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives(), "rule__JvmArgumentTypeReference__Alternatives"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2(), "rule__JvmWildcardTypeReference__Alternatives_2"); - builder.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1(), "rule__XImportDeclaration__Alternatives_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3(), "rule__XImportDeclaration__Alternatives_1_0_3"); - builder.put(grammarAccess.getDeviceAccess().getGroup(), "rule__Device__Group__0"); - builder.put(grammarAccess.getDeviceAccess().getGroup_4(), "rule__Device__Group_4__0"); - builder.put(grammarAccess.getDeviceAccess().getGroup_4_1(), "rule__Device__Group_4_1__0"); - builder.put(grammarAccess.getRuleAccess().getGroup(), "rule__Rule__Group__0"); - builder.put(grammarAccess.getXBlockExpressionAccess().getGroup(), "rule__XBlockExpression__Group__0"); - builder.put(grammarAccess.getXBlockExpressionAccess().getGroup_2(), "rule__XBlockExpression__Group_2__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup(), "rule__XSwitchExpression__Group__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0(), "rule__XSwitchExpression__Group_2_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0(), "rule__XSwitchExpression__Group_2_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0(), "rule__XSwitchExpression__Group_2_0_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1(), "rule__XSwitchExpression__Group_2_1__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0(), "rule__XSwitchExpression__Group_2_1_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0(), "rule__XSwitchExpression__Group_2_1_0_0__0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getGroup_5(), "rule__XSwitchExpression__Group_5__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_0(), "rule__XAssignment__Group_0__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1(), "rule__XAssignment__Group_1__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1(), "rule__XAssignment__Group_1_1__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0(), "rule__XAssignment__Group_1_1_0__0"); - builder.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0_0(), "rule__XAssignment__Group_1_1_0_0__0"); - builder.put(grammarAccess.getOpMultiAssignAccess().getGroup_5(), "rule__OpMultiAssign__Group_5__0"); - builder.put(grammarAccess.getOpMultiAssignAccess().getGroup_6(), "rule__OpMultiAssign__Group_6__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup(), "rule__XOrExpression__Group__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1(), "rule__XOrExpression__Group_1__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0(), "rule__XOrExpression__Group_1_0__0"); - builder.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0_0(), "rule__XOrExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup(), "rule__XAndExpression__Group__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1(), "rule__XAndExpression__Group_1__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0(), "rule__XAndExpression__Group_1_0__0"); - builder.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0_0(), "rule__XAndExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup(), "rule__XEqualityExpression__Group__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1(), "rule__XEqualityExpression__Group_1__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0(), "rule__XEqualityExpression__Group_1_0__0"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0_0(), "rule__XEqualityExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup(), "rule__XRelationalExpression__Group__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0(), "rule__XRelationalExpression__Group_1_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0(), "rule__XRelationalExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0_0(), "rule__XRelationalExpression__Group_1_0_0_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1(), "rule__XRelationalExpression__Group_1_1__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0(), "rule__XRelationalExpression__Group_1_1_0__0"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0_0(), "rule__XRelationalExpression__Group_1_1_0_0__0"); - builder.put(grammarAccess.getOpCompareAccess().getGroup_1(), "rule__OpCompare__Group_1__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup(), "rule__XOtherOperatorExpression__Group__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1(), "rule__XOtherOperatorExpression__Group_1__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0(), "rule__XOtherOperatorExpression__Group_1_0__0"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0_0(), "rule__XOtherOperatorExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_2(), "rule__OpOther__Group_2__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5(), "rule__OpOther__Group_5__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0(), "rule__OpOther__Group_5_1_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0_0(), "rule__OpOther__Group_5_1_0_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6(), "rule__OpOther__Group_6__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0(), "rule__OpOther__Group_6_1_0__0"); - builder.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0_0(), "rule__OpOther__Group_6_1_0_0__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup(), "rule__XAdditiveExpression__Group__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1(), "rule__XAdditiveExpression__Group_1__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0(), "rule__XAdditiveExpression__Group_1_0__0"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0_0(), "rule__XAdditiveExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup(), "rule__XMultiplicativeExpression__Group__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1(), "rule__XMultiplicativeExpression__Group_1__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0(), "rule__XMultiplicativeExpression__Group_1_0__0"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0_0(), "rule__XMultiplicativeExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXUnaryOperationAccess().getGroup_0(), "rule__XUnaryOperation__Group_0__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup(), "rule__XCastedExpression__Group__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1(), "rule__XCastedExpression__Group_1__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0(), "rule__XCastedExpression__Group_1_0__0"); - builder.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0_0(), "rule__XCastedExpression__Group_1_0_0__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup(), "rule__XPostfixOperation__Group__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup_1(), "rule__XPostfixOperation__Group_1__0"); - builder.put(grammarAccess.getXPostfixOperationAccess().getGroup_1_0(), "rule__XPostfixOperation__Group_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup(), "rule__XMemberFeatureCall__Group__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0(), "rule__XMemberFeatureCall__Group_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0(), "rule__XMemberFeatureCall__Group_1_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0_0(), "rule__XMemberFeatureCall__Group_1_0_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1(), "rule__XMemberFeatureCall__Group_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0(), "rule__XMemberFeatureCall__Group_1_1_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0_0(), "rule__XMemberFeatureCall__Group_1_1_0_0__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1_2(), "rule__XMemberFeatureCall__Group_1_1_1_2__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3(), "rule__XMemberFeatureCall__Group_1_1_3__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1__0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1_1__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup(), "rule__XSetLiteral__Group__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup_3(), "rule__XSetLiteral__Group_3__0"); - builder.put(grammarAccess.getXSetLiteralAccess().getGroup_3_1(), "rule__XSetLiteral__Group_3_1__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup(), "rule__XListLiteral__Group__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup_3(), "rule__XListLiteral__Group_3__0"); - builder.put(grammarAccess.getXListLiteralAccess().getGroup_3_1(), "rule__XListLiteral__Group_3_1__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup(), "rule__XClosure__Group__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_0(), "rule__XClosure__Group_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_0_0(), "rule__XClosure__Group_0_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1(), "rule__XClosure__Group_1__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0(), "rule__XClosure__Group_1_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0_0(), "rule__XClosure__Group_1_0_0__0"); - builder.put(grammarAccess.getXClosureAccess().getGroup_1_0_0_1(), "rule__XClosure__Group_1_0_0_1__0"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getGroup(), "rule__XExpressionInClosure__Group__0"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getGroup_1(), "rule__XExpressionInClosure__Group_1__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup(), "rule__XShortClosure__Group__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0(), "rule__XShortClosure__Group_0__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0(), "rule__XShortClosure__Group_0_0__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1(), "rule__XShortClosure__Group_0_0_1__0"); - builder.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1_1(), "rule__XShortClosure__Group_0_0_1_1__0"); - builder.put(grammarAccess.getXParenthesizedExpressionAccess().getGroup(), "rule__XParenthesizedExpression__Group__0"); - builder.put(grammarAccess.getXIfExpressionAccess().getGroup(), "rule__XIfExpression__Group__0"); - builder.put(grammarAccess.getXIfExpressionAccess().getGroup_6(), "rule__XIfExpression__Group_6__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup(), "rule__XCasePart__Group__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup_2(), "rule__XCasePart__Group_2__0"); - builder.put(grammarAccess.getXCasePartAccess().getGroup_3_0(), "rule__XCasePart__Group_3_0__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup(), "rule__XForLoopExpression__Group__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0(), "rule__XForLoopExpression__Group_0__0"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0_0(), "rule__XForLoopExpression__Group_0_0__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup(), "rule__XBasicForLoopExpression__Group__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3(), "rule__XBasicForLoopExpression__Group_3__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3_1(), "rule__XBasicForLoopExpression__Group_3_1__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7(), "rule__XBasicForLoopExpression__Group_7__0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7_1(), "rule__XBasicForLoopExpression__Group_7_1__0"); - builder.put(grammarAccess.getXWhileExpressionAccess().getGroup(), "rule__XWhileExpression__Group__0"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getGroup(), "rule__XDoWhileExpression__Group__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup(), "rule__XVariableDeclaration__Group__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0(), "rule__XVariableDeclaration__Group_2_0__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0_0(), "rule__XVariableDeclaration__Group_2_0_0__0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getGroup_3(), "rule__XVariableDeclaration__Group_3__0"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getGroup(), "rule__JvmFormalParameter__Group__0"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getGroup(), "rule__FullJvmFormalParameter__Group__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup(), "rule__XFeatureCall__Group__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_1(), "rule__XFeatureCall__Group_1__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_1_2(), "rule__XFeatureCall__Group_1_2__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3(), "rule__XFeatureCall__Group_3__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1(), "rule__XFeatureCall__Group_3_1_1__0"); - builder.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1_1(), "rule__XFeatureCall__Group_3_1_1_1__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup(), "rule__XConstructorCall__Group__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_3(), "rule__XConstructorCall__Group_3__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_3_2(), "rule__XConstructorCall__Group_3_2__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4(), "rule__XConstructorCall__Group_4__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1(), "rule__XConstructorCall__Group_4_1_1__0"); - builder.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1_1(), "rule__XConstructorCall__Group_4_1_1_1__0"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getGroup(), "rule__XBooleanLiteral__Group__0"); - builder.put(grammarAccess.getXNullLiteralAccess().getGroup(), "rule__XNullLiteral__Group__0"); - builder.put(grammarAccess.getXNumberLiteralAccess().getGroup(), "rule__XNumberLiteral__Group__0"); - builder.put(grammarAccess.getXStringLiteralAccess().getGroup(), "rule__XStringLiteral__Group__0"); - builder.put(grammarAccess.getXTypeLiteralAccess().getGroup(), "rule__XTypeLiteral__Group__0"); - builder.put(grammarAccess.getXThrowExpressionAccess().getGroup(), "rule__XThrowExpression__Group__0"); - builder.put(grammarAccess.getXReturnExpressionAccess().getGroup(), "rule__XReturnExpression__Group__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup(), "rule__XTryCatchFinallyExpression__Group__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0(), "rule__XTryCatchFinallyExpression__Group_3_0__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0_1(), "rule__XTryCatchFinallyExpression__Group_3_0_1__0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_1(), "rule__XTryCatchFinallyExpression__Group_3_1__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup(), "rule__XSynchronizedExpression__Group__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0(), "rule__XSynchronizedExpression__Group_0__0"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0_0(), "rule__XSynchronizedExpression__Group_0_0__0"); - builder.put(grammarAccess.getXCatchClauseAccess().getGroup(), "rule__XCatchClause__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); - builder.put(grammarAccess.getNumberAccess().getGroup_1(), "rule__Number__Group_1__0"); - builder.put(grammarAccess.getNumberAccess().getGroup_1_1(), "rule__Number__Group_1_1__0"); - builder.put(grammarAccess.getStaticQualifierAccess().getGroup(), "rule__StaticQualifier__Group__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0(), "rule__JvmTypeReference__Group_0__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1(), "rule__JvmTypeReference__Group_0_1__0"); - builder.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0(), "rule__JvmTypeReference__Group_0_1_0__0"); - builder.put(grammarAccess.getArrayBracketsAccess().getGroup(), "rule__ArrayBrackets__Group__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup(), "rule__XFunctionTypeRef__Group__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0(), "rule__XFunctionTypeRef__Group_0__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1(), "rule__XFunctionTypeRef__Group_0_1__0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1(), "rule__XFunctionTypeRef__Group_0_1_1__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup(), "rule__JvmParameterizedTypeReference__Group__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1(), "rule__JvmParameterizedTypeReference__Group_1__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2(), "rule__JvmParameterizedTypeReference__Group_1_2__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4(), "rule__JvmParameterizedTypeReference__Group_1_4__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2__0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup(), "rule__JvmWildcardTypeReference__Group__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0(), "rule__JvmWildcardTypeReference__Group_2_0__0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1(), "rule__JvmWildcardTypeReference__Group_2_1__0"); - builder.put(grammarAccess.getJvmUpperBoundAccess().getGroup(), "rule__JvmUpperBound__Group__0"); - builder.put(grammarAccess.getJvmUpperBoundAndedAccess().getGroup(), "rule__JvmUpperBoundAnded__Group__0"); - builder.put(grammarAccess.getJvmLowerBoundAccess().getGroup(), "rule__JvmLowerBound__Group__0"); - builder.put(grammarAccess.getJvmLowerBoundAndedAccess().getGroup(), "rule__JvmLowerBoundAnded__Group__0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getGroup(), "rule__JvmTypeParameter__Group__0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getGroup_1(), "rule__JvmTypeParameter__Group_1__0"); - builder.put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup(), "rule__QualifiedNameWithWildcard__Group__0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getGroup(), "rule__XImportDeclaration__Group__0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getGroup_1_0(), "rule__XImportDeclaration__Group_1_0__0"); - builder.put(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup(), "rule__QualifiedNameInStaticImport__Group__0"); - builder.put(grammarAccess.getModelAccess().getDeclarationsAssignment(), "rule__Model__DeclarationsAssignment"); - builder.put(grammarAccess.getDeviceAccess().getNameAssignment_1(), "rule__Device__NameAssignment_1"); - builder.put(grammarAccess.getDeviceAccess().getStatesAssignment_4_0(), "rule__Device__StatesAssignment_4_0"); - builder.put(grammarAccess.getDeviceAccess().getStatesAssignment_4_1_1(), "rule__Device__StatesAssignment_4_1_1"); - builder.put(grammarAccess.getStateAccess().getNameAssignment(), "rule__State__NameAssignment"); - builder.put(grammarAccess.getRuleAccess().getDescriptionAssignment_1(), "rule__Rule__DescriptionAssignment_1"); - builder.put(grammarAccess.getRuleAccess().getDeviceStateAssignment_3(), "rule__Rule__DeviceStateAssignment_3"); - builder.put(grammarAccess.getRuleAccess().getThenPartAssignment_5(), "rule__Rule__ThenPartAssignment_5"); - builder.put(grammarAccess.getXBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__XBlockExpression__ExpressionsAssignment_2_0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_0_0_0_1(), "rule__XSwitchExpression__DeclaredParamAssignment_2_0_0_0_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1(), "rule__XSwitchExpression__SwitchAssignment_2_0_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_1_0_0_0(), "rule__XSwitchExpression__DeclaredParamAssignment_2_1_0_0_0"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1(), "rule__XSwitchExpression__SwitchAssignment_2_1_1"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4(), "rule__XSwitchExpression__CasesAssignment_4"); - builder.put(grammarAccess.getXSwitchExpressionAccess().getDefaultAssignment_5_2(), "rule__XSwitchExpression__DefaultAssignment_5_2"); - builder.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_0_1(), "rule__XAssignment__FeatureAssignment_0_1"); - builder.put(grammarAccess.getXAssignmentAccess().getValueAssignment_0_3(), "rule__XAssignment__ValueAssignment_0_3"); - builder.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XAssignment__FeatureAssignment_1_1_0_0_1"); - builder.put(grammarAccess.getXAssignmentAccess().getRightOperandAssignment_1_1_1(), "rule__XAssignment__RightOperandAssignment_1_1_1"); - builder.put(grammarAccess.getXOrExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOrExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXOrExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOrExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXAndExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAndExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXAndExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAndExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XEqualityExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXEqualityExpressionAccess().getRightOperandAssignment_1_1(), "rule__XEqualityExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getTypeAssignment_1_0_1(), "rule__XRelationalExpression__TypeAssignment_1_0_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XRelationalExpression__FeatureAssignment_1_1_0_0_1"); - builder.put(grammarAccess.getXRelationalExpressionAccess().getRightOperandAssignment_1_1_1(), "rule__XRelationalExpression__RightOperandAssignment_1_1_1"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOtherOperatorExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOtherOperatorExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAdditiveExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXAdditiveExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAdditiveExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XMultiplicativeExpression__FeatureAssignment_1_0_0_1"); - builder.put(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandAssignment_1_1(), "rule__XMultiplicativeExpression__RightOperandAssignment_1_1"); - builder.put(grammarAccess.getXUnaryOperationAccess().getFeatureAssignment_0_1(), "rule__XUnaryOperation__FeatureAssignment_0_1"); - builder.put(grammarAccess.getXUnaryOperationAccess().getOperandAssignment_0_2(), "rule__XUnaryOperation__OperandAssignment_0_2"); - builder.put(grammarAccess.getXCastedExpressionAccess().getTypeAssignment_1_1(), "rule__XCastedExpression__TypeAssignment_1_1"); - builder.put(grammarAccess.getXPostfixOperationAccess().getFeatureAssignment_1_0_1(), "rule__XPostfixOperation__FeatureAssignment_1_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_0_0_0_1_1(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_0_0_0_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_0_0_0_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getValueAssignment_1_0_1(), "rule__XMemberFeatureCall__ValueAssignment_1_0_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getNullSafeAssignment_1_1_0_0_1_1(), "rule__XMemberFeatureCall__NullSafeAssignment_1_1_0_0_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_1_0_0_1_2(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_1_0_0_1_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_2_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_2_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_1_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_1_2"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallAssignment_1_1_3_0(), "rule__XMemberFeatureCall__ExplicitOperationCallAssignment_1_1_3_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_1_1(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1"); - builder.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_4(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4"); - builder.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_0(), "rule__XSetLiteral__ElementsAssignment_3_0"); - builder.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_1_1(), "rule__XSetLiteral__ElementsAssignment_3_1_1"); - builder.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_0(), "rule__XListLiteral__ElementsAssignment_3_0"); - builder.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_1_1(), "rule__XListLiteral__ElementsAssignment_3_1_1"); - builder.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_0(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_0"); - builder.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_1_1(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_1_1"); - builder.put(grammarAccess.getXClosureAccess().getExplicitSyntaxAssignment_1_0_1(), "rule__XClosure__ExplicitSyntaxAssignment_1_0_1"); - builder.put(grammarAccess.getXClosureAccess().getExpressionAssignment_2(), "rule__XClosure__ExpressionAssignment_2"); - builder.put(grammarAccess.getXExpressionInClosureAccess().getExpressionsAssignment_1_0(), "rule__XExpressionInClosure__ExpressionsAssignment_1_0"); - builder.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_0(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0"); - builder.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_1_1(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1"); - builder.put(grammarAccess.getXShortClosureAccess().getExplicitSyntaxAssignment_0_0_2(), "rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2"); - builder.put(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1(), "rule__XShortClosure__ExpressionAssignment_1"); - builder.put(grammarAccess.getXIfExpressionAccess().getIfAssignment_3(), "rule__XIfExpression__IfAssignment_3"); - builder.put(grammarAccess.getXIfExpressionAccess().getThenAssignment_5(), "rule__XIfExpression__ThenAssignment_5"); - builder.put(grammarAccess.getXIfExpressionAccess().getElseAssignment_6_1(), "rule__XIfExpression__ElseAssignment_6_1"); - builder.put(grammarAccess.getXCasePartAccess().getTypeGuardAssignment_1(), "rule__XCasePart__TypeGuardAssignment_1"); - builder.put(grammarAccess.getXCasePartAccess().getCaseAssignment_2_1(), "rule__XCasePart__CaseAssignment_2_1"); - builder.put(grammarAccess.getXCasePartAccess().getThenAssignment_3_0_1(), "rule__XCasePart__ThenAssignment_3_0_1"); - builder.put(grammarAccess.getXCasePartAccess().getFallThroughAssignment_3_1(), "rule__XCasePart__FallThroughAssignment_3_1"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamAssignment_0_0_3(), "rule__XForLoopExpression__DeclaredParamAssignment_0_0_3"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getForExpressionAssignment_1(), "rule__XForLoopExpression__ForExpressionAssignment_1"); - builder.put(grammarAccess.getXForLoopExpressionAccess().getEachExpressionAssignment_3(), "rule__XForLoopExpression__EachExpressionAssignment_3"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_0(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_1_1(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_1_1"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getExpressionAssignment_5(), "rule__XBasicForLoopExpression__ExpressionAssignment_5"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_0(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_0"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_1_1(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_1_1"); - builder.put(grammarAccess.getXBasicForLoopExpressionAccess().getEachExpressionAssignment_9(), "rule__XBasicForLoopExpression__EachExpressionAssignment_9"); - builder.put(grammarAccess.getXWhileExpressionAccess().getPredicateAssignment_3(), "rule__XWhileExpression__PredicateAssignment_3"); - builder.put(grammarAccess.getXWhileExpressionAccess().getBodyAssignment_5(), "rule__XWhileExpression__BodyAssignment_5"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getBodyAssignment_2(), "rule__XDoWhileExpression__BodyAssignment_2"); - builder.put(grammarAccess.getXDoWhileExpressionAccess().getPredicateAssignment_5(), "rule__XDoWhileExpression__PredicateAssignment_5"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getWriteableAssignment_1_0(), "rule__XVariableDeclaration__WriteableAssignment_1_0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getTypeAssignment_2_0_0_0(), "rule__XVariableDeclaration__TypeAssignment_2_0_0_0"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_0_0_1(), "rule__XVariableDeclaration__NameAssignment_2_0_0_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_1(), "rule__XVariableDeclaration__NameAssignment_2_1"); - builder.put(grammarAccess.getXVariableDeclarationAccess().getRightAssignment_3_1(), "rule__XVariableDeclaration__RightAssignment_3_1"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__JvmFormalParameter__ParameterTypeAssignment_0"); - builder.put(grammarAccess.getJvmFormalParameterAccess().getNameAssignment_1(), "rule__JvmFormalParameter__NameAssignment_1"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__FullJvmFormalParameter__ParameterTypeAssignment_0"); - builder.put(grammarAccess.getFullJvmFormalParameterAccess().getNameAssignment_1(), "rule__FullJvmFormalParameter__NameAssignment_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_2_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_2_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureAssignment_2(), "rule__XFeatureCall__FeatureAssignment_2"); - builder.put(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallAssignment_3_0(), "rule__XFeatureCall__ExplicitOperationCallAssignment_3_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_1_1(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1"); - builder.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_4"); - builder.put(grammarAccess.getXConstructorCallAccess().getConstructorAssignment_2(), "rule__XConstructorCall__ConstructorAssignment_2"); - builder.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_2_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_2_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getExplicitConstructorCallAssignment_4_0(), "rule__XConstructorCall__ExplicitConstructorCallAssignment_4_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_0"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_1_1(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_1_1"); - builder.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_5(), "rule__XConstructorCall__ArgumentsAssignment_5"); - builder.put(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1(), "rule__XBooleanLiteral__IsTrueAssignment_1_1"); - builder.put(grammarAccess.getXNumberLiteralAccess().getValueAssignment_1(), "rule__XNumberLiteral__ValueAssignment_1"); - builder.put(grammarAccess.getXStringLiteralAccess().getValueAssignment_1(), "rule__XStringLiteral__ValueAssignment_1"); - builder.put(grammarAccess.getXTypeLiteralAccess().getTypeAssignment_3(), "rule__XTypeLiteral__TypeAssignment_3"); - builder.put(grammarAccess.getXTypeLiteralAccess().getArrayDimensionsAssignment_4(), "rule__XTypeLiteral__ArrayDimensionsAssignment_4"); - builder.put(grammarAccess.getXThrowExpressionAccess().getExpressionAssignment_2(), "rule__XThrowExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXReturnExpressionAccess().getExpressionAssignment_2(), "rule__XReturnExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionAssignment_2(), "rule__XTryCatchFinallyExpression__ExpressionAssignment_2"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesAssignment_3_0_0(), "rule__XTryCatchFinallyExpression__CatchClausesAssignment_3_0_0"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_0_1_1"); - builder.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_1_1"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getParamAssignment_1(), "rule__XSynchronizedExpression__ParamAssignment_1"); - builder.put(grammarAccess.getXSynchronizedExpressionAccess().getExpressionAssignment_3(), "rule__XSynchronizedExpression__ExpressionAssignment_3"); - builder.put(grammarAccess.getXCatchClauseAccess().getDeclaredParamAssignment_2(), "rule__XCatchClause__DeclaredParamAssignment_2"); - builder.put(grammarAccess.getXCatchClauseAccess().getExpressionAssignment_4(), "rule__XCatchClause__ExpressionAssignment_4"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1"); - builder.put(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionTypeRef__ReturnTypeAssignment_2"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0(), "rule__JvmParameterizedTypeReference__TypeAssignment_0"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1(), "rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1"); - builder.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0"); - builder.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1"); - builder.put(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBound__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBoundAnded__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBound__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBoundAnded__TypeReferenceAssignment_1"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getNameAssignment_0(), "rule__JvmTypeParameter__NameAssignment_0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_0(), "rule__JvmTypeParameter__ConstraintsAssignment_1_0"); - builder.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_1(), "rule__JvmTypeParameter__ConstraintsAssignment_1_1"); - builder.put(grammarAccess.getXImportSectionAccess().getImportDeclarationsAssignment(), "rule__XImportSection__ImportDeclarationsAssignment"); - builder.put(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0(), "rule__XImportDeclaration__StaticAssignment_1_0_0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1(), "rule__XImportDeclaration__ExtensionAssignment_1_0_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2(), "rule__XImportDeclaration__ImportedTypeAssignment_1_0_2"); - builder.put(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0(), "rule__XImportDeclaration__WildcardAssignment_1_0_3_0"); - builder.put(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1(), "rule__XImportDeclaration__MemberNameAssignment_1_0_3_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1(), "rule__XImportDeclaration__ImportedTypeAssignment_1_1"); - builder.put(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2(), "rule__XImportDeclaration__ImportedNamespaceAssignment_1_2"); + private static void init(Map mappings, RuleEngineGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getDeclarationAccess().getAlternatives(), "rule__Declaration__Alternatives"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2(), "rule__XSwitchExpression__Alternatives_2"); + mappings.put(grammarAccess.getXAssignmentAccess().getAlternatives(), "rule__XAssignment__Alternatives"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getAlternatives(), "rule__OpMultiAssign__Alternatives"); + mappings.put(grammarAccess.getOpEqualityAccess().getAlternatives(), "rule__OpEquality__Alternatives"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getAlternatives_1(), "rule__XRelationalExpression__Alternatives_1"); + mappings.put(grammarAccess.getOpCompareAccess().getAlternatives(), "rule__OpCompare__Alternatives"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives(), "rule__OpOther__Alternatives"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives_5_1(), "rule__OpOther__Alternatives_5_1"); + mappings.put(grammarAccess.getOpOtherAccess().getAlternatives_6_1(), "rule__OpOther__Alternatives_6_1"); + mappings.put(grammarAccess.getOpAddAccess().getAlternatives(), "rule__OpAdd__Alternatives"); + mappings.put(grammarAccess.getOpMultiAccess().getAlternatives(), "rule__OpMulti__Alternatives"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getAlternatives(), "rule__XUnaryOperation__Alternatives"); + mappings.put(grammarAccess.getOpUnaryAccess().getAlternatives(), "rule__OpUnary__Alternatives"); + mappings.put(grammarAccess.getOpPostfixAccess().getAlternatives(), "rule__OpPostfix__Alternatives"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1(), "rule__XMemberFeatureCall__Alternatives_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_0_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_0_0_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_0_0_1(), "rule__XMemberFeatureCall__Alternatives_1_1_0_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getAlternatives_1_1_3_1(), "rule__XMemberFeatureCall__Alternatives_1_1_3_1"); + mappings.put(grammarAccess.getXPrimaryExpressionAccess().getAlternatives(), "rule__XPrimaryExpression__Alternatives"); + mappings.put(grammarAccess.getXLiteralAccess().getAlternatives(), "rule__XLiteral__Alternatives"); + mappings.put(grammarAccess.getXCollectionLiteralAccess().getAlternatives(), "rule__XCollectionLiteral__Alternatives"); + mappings.put(grammarAccess.getXCasePartAccess().getAlternatives_3(), "rule__XCasePart__Alternatives_3"); + mappings.put(grammarAccess.getXExpressionOrVarDeclarationAccess().getAlternatives(), "rule__XExpressionOrVarDeclaration__Alternatives"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_1(), "rule__XVariableDeclaration__Alternatives_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getAlternatives_2(), "rule__XVariableDeclaration__Alternatives_2"); + mappings.put(grammarAccess.getXFeatureCallAccess().getAlternatives_3_1(), "rule__XFeatureCall__Alternatives_3_1"); + mappings.put(grammarAccess.getFeatureCallIDAccess().getAlternatives(), "rule__FeatureCallID__Alternatives"); + mappings.put(grammarAccess.getIdOrSuperAccess().getAlternatives(), "rule__IdOrSuper__Alternatives"); + mappings.put(grammarAccess.getXConstructorCallAccess().getAlternatives_4_1(), "rule__XConstructorCall__Alternatives_4_1"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getAlternatives_1(), "rule__XBooleanLiteral__Alternatives_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getAlternatives_3(), "rule__XTryCatchFinallyExpression__Alternatives_3"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives(), "rule__Number__Alternatives"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives_1_0(), "rule__Number__Alternatives_1_0"); + mappings.put(grammarAccess.getNumberAccess().getAlternatives_1_1_1(), "rule__Number__Alternatives_1_1_1"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getAlternatives(), "rule__JvmTypeReference__Alternatives"); + mappings.put(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives(), "rule__JvmArgumentTypeReference__Alternatives"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2(), "rule__JvmWildcardTypeReference__Alternatives_2"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1(), "rule__XImportDeclaration__Alternatives_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3(), "rule__XImportDeclaration__Alternatives_1_0_3"); + mappings.put(grammarAccess.getDeviceAccess().getGroup(), "rule__Device__Group__0"); + mappings.put(grammarAccess.getDeviceAccess().getGroup_4(), "rule__Device__Group_4__0"); + mappings.put(grammarAccess.getDeviceAccess().getGroup_4_1(), "rule__Device__Group_4_1__0"); + mappings.put(grammarAccess.getRuleAccess().getGroup(), "rule__Rule__Group__0"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getGroup(), "rule__XBlockExpression__Group__0"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getGroup_2(), "rule__XBlockExpression__Group_2__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup(), "rule__XSwitchExpression__Group__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0(), "rule__XSwitchExpression__Group_2_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0(), "rule__XSwitchExpression__Group_2_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0(), "rule__XSwitchExpression__Group_2_0_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1(), "rule__XSwitchExpression__Group_2_1__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0(), "rule__XSwitchExpression__Group_2_1_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0(), "rule__XSwitchExpression__Group_2_1_0_0__0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getGroup_5(), "rule__XSwitchExpression__Group_5__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_0(), "rule__XAssignment__Group_0__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1(), "rule__XAssignment__Group_1__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1(), "rule__XAssignment__Group_1_1__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0(), "rule__XAssignment__Group_1_1_0__0"); + mappings.put(grammarAccess.getXAssignmentAccess().getGroup_1_1_0_0(), "rule__XAssignment__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getGroup_5(), "rule__OpMultiAssign__Group_5__0"); + mappings.put(grammarAccess.getOpMultiAssignAccess().getGroup_6(), "rule__OpMultiAssign__Group_6__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup(), "rule__XOrExpression__Group__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1(), "rule__XOrExpression__Group_1__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0(), "rule__XOrExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXOrExpressionAccess().getGroup_1_0_0(), "rule__XOrExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup(), "rule__XAndExpression__Group__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1(), "rule__XAndExpression__Group_1__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0(), "rule__XAndExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXAndExpressionAccess().getGroup_1_0_0(), "rule__XAndExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup(), "rule__XEqualityExpression__Group__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1(), "rule__XEqualityExpression__Group_1__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0(), "rule__XEqualityExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getGroup_1_0_0(), "rule__XEqualityExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup(), "rule__XRelationalExpression__Group__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0(), "rule__XRelationalExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0(), "rule__XRelationalExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_0_0_0(), "rule__XRelationalExpression__Group_1_0_0_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1(), "rule__XRelationalExpression__Group_1_1__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0(), "rule__XRelationalExpression__Group_1_1_0__0"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getGroup_1_1_0_0(), "rule__XRelationalExpression__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getOpCompareAccess().getGroup_1(), "rule__OpCompare__Group_1__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup(), "rule__XOtherOperatorExpression__Group__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1(), "rule__XOtherOperatorExpression__Group_1__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0(), "rule__XOtherOperatorExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getGroup_1_0_0(), "rule__XOtherOperatorExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_2(), "rule__OpOther__Group_2__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5(), "rule__OpOther__Group_5__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0(), "rule__OpOther__Group_5_1_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_5_1_0_0(), "rule__OpOther__Group_5_1_0_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6(), "rule__OpOther__Group_6__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0(), "rule__OpOther__Group_6_1_0__0"); + mappings.put(grammarAccess.getOpOtherAccess().getGroup_6_1_0_0(), "rule__OpOther__Group_6_1_0_0__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup(), "rule__XAdditiveExpression__Group__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1(), "rule__XAdditiveExpression__Group_1__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0(), "rule__XAdditiveExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getGroup_1_0_0(), "rule__XAdditiveExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup(), "rule__XMultiplicativeExpression__Group__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1(), "rule__XMultiplicativeExpression__Group_1__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0(), "rule__XMultiplicativeExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getGroup_1_0_0(), "rule__XMultiplicativeExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getGroup_0(), "rule__XUnaryOperation__Group_0__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup(), "rule__XCastedExpression__Group__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1(), "rule__XCastedExpression__Group_1__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0(), "rule__XCastedExpression__Group_1_0__0"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getGroup_1_0_0(), "rule__XCastedExpression__Group_1_0_0__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup(), "rule__XPostfixOperation__Group__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup_1(), "rule__XPostfixOperation__Group_1__0"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getGroup_1_0(), "rule__XPostfixOperation__Group_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup(), "rule__XMemberFeatureCall__Group__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0(), "rule__XMemberFeatureCall__Group_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0(), "rule__XMemberFeatureCall__Group_1_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_0_0_0(), "rule__XMemberFeatureCall__Group_1_0_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1(), "rule__XMemberFeatureCall__Group_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0(), "rule__XMemberFeatureCall__Group_1_1_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_0_0(), "rule__XMemberFeatureCall__Group_1_1_0_0__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_1_2(), "rule__XMemberFeatureCall__Group_1_1_1_2__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3(), "rule__XMemberFeatureCall__Group_1_1_3__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1__0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getGroup_1_1_3_1_1_1(), "rule__XMemberFeatureCall__Group_1_1_3_1_1_1__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup(), "rule__XSetLiteral__Group__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup_3(), "rule__XSetLiteral__Group_3__0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getGroup_3_1(), "rule__XSetLiteral__Group_3_1__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup(), "rule__XListLiteral__Group__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup_3(), "rule__XListLiteral__Group_3__0"); + mappings.put(grammarAccess.getXListLiteralAccess().getGroup_3_1(), "rule__XListLiteral__Group_3_1__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup(), "rule__XClosure__Group__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_0(), "rule__XClosure__Group_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_0_0(), "rule__XClosure__Group_0_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1(), "rule__XClosure__Group_1__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0(), "rule__XClosure__Group_1_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0_0(), "rule__XClosure__Group_1_0_0__0"); + mappings.put(grammarAccess.getXClosureAccess().getGroup_1_0_0_1(), "rule__XClosure__Group_1_0_0_1__0"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getGroup(), "rule__XExpressionInClosure__Group__0"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getGroup_1(), "rule__XExpressionInClosure__Group_1__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup(), "rule__XShortClosure__Group__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0(), "rule__XShortClosure__Group_0__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0(), "rule__XShortClosure__Group_0_0__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1(), "rule__XShortClosure__Group_0_0_1__0"); + mappings.put(grammarAccess.getXShortClosureAccess().getGroup_0_0_1_1(), "rule__XShortClosure__Group_0_0_1_1__0"); + mappings.put(grammarAccess.getXParenthesizedExpressionAccess().getGroup(), "rule__XParenthesizedExpression__Group__0"); + mappings.put(grammarAccess.getXIfExpressionAccess().getGroup(), "rule__XIfExpression__Group__0"); + mappings.put(grammarAccess.getXIfExpressionAccess().getGroup_6(), "rule__XIfExpression__Group_6__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup(), "rule__XCasePart__Group__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup_2(), "rule__XCasePart__Group_2__0"); + mappings.put(grammarAccess.getXCasePartAccess().getGroup_3_0(), "rule__XCasePart__Group_3_0__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup(), "rule__XForLoopExpression__Group__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0(), "rule__XForLoopExpression__Group_0__0"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getGroup_0_0(), "rule__XForLoopExpression__Group_0_0__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup(), "rule__XBasicForLoopExpression__Group__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3(), "rule__XBasicForLoopExpression__Group_3__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_3_1(), "rule__XBasicForLoopExpression__Group_3_1__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7(), "rule__XBasicForLoopExpression__Group_7__0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getGroup_7_1(), "rule__XBasicForLoopExpression__Group_7_1__0"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getGroup(), "rule__XWhileExpression__Group__0"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getGroup(), "rule__XDoWhileExpression__Group__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup(), "rule__XVariableDeclaration__Group__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0(), "rule__XVariableDeclaration__Group_2_0__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_2_0_0(), "rule__XVariableDeclaration__Group_2_0_0__0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getGroup_3(), "rule__XVariableDeclaration__Group_3__0"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getGroup(), "rule__JvmFormalParameter__Group__0"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getGroup(), "rule__FullJvmFormalParameter__Group__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup(), "rule__XFeatureCall__Group__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_1(), "rule__XFeatureCall__Group_1__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_1_2(), "rule__XFeatureCall__Group_1_2__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3(), "rule__XFeatureCall__Group_3__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1(), "rule__XFeatureCall__Group_3_1_1__0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getGroup_3_1_1_1(), "rule__XFeatureCall__Group_3_1_1_1__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup(), "rule__XConstructorCall__Group__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_3(), "rule__XConstructorCall__Group_3__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_3_2(), "rule__XConstructorCall__Group_3_2__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4(), "rule__XConstructorCall__Group_4__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1(), "rule__XConstructorCall__Group_4_1_1__0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getGroup_4_1_1_1(), "rule__XConstructorCall__Group_4_1_1_1__0"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getGroup(), "rule__XBooleanLiteral__Group__0"); + mappings.put(grammarAccess.getXNullLiteralAccess().getGroup(), "rule__XNullLiteral__Group__0"); + mappings.put(grammarAccess.getXNumberLiteralAccess().getGroup(), "rule__XNumberLiteral__Group__0"); + mappings.put(grammarAccess.getXStringLiteralAccess().getGroup(), "rule__XStringLiteral__Group__0"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getGroup(), "rule__XTypeLiteral__Group__0"); + mappings.put(grammarAccess.getXThrowExpressionAccess().getGroup(), "rule__XThrowExpression__Group__0"); + mappings.put(grammarAccess.getXReturnExpressionAccess().getGroup(), "rule__XReturnExpression__Group__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup(), "rule__XTryCatchFinallyExpression__Group__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0(), "rule__XTryCatchFinallyExpression__Group_3_0__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_0_1(), "rule__XTryCatchFinallyExpression__Group_3_0_1__0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getGroup_3_1(), "rule__XTryCatchFinallyExpression__Group_3_1__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup(), "rule__XSynchronizedExpression__Group__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0(), "rule__XSynchronizedExpression__Group_0__0"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getGroup_0_0(), "rule__XSynchronizedExpression__Group_0_0__0"); + mappings.put(grammarAccess.getXCatchClauseAccess().getGroup(), "rule__XCatchClause__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); + mappings.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); + mappings.put(grammarAccess.getNumberAccess().getGroup_1(), "rule__Number__Group_1__0"); + mappings.put(grammarAccess.getNumberAccess().getGroup_1_1(), "rule__Number__Group_1_1__0"); + mappings.put(grammarAccess.getStaticQualifierAccess().getGroup(), "rule__StaticQualifier__Group__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0(), "rule__JvmTypeReference__Group_0__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1(), "rule__JvmTypeReference__Group_0_1__0"); + mappings.put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0(), "rule__JvmTypeReference__Group_0_1_0__0"); + mappings.put(grammarAccess.getArrayBracketsAccess().getGroup(), "rule__ArrayBrackets__Group__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup(), "rule__XFunctionTypeRef__Group__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0(), "rule__XFunctionTypeRef__Group_0__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1(), "rule__XFunctionTypeRef__Group_0_1__0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1(), "rule__XFunctionTypeRef__Group_0_1_1__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup(), "rule__JvmParameterizedTypeReference__Group__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1(), "rule__JvmParameterizedTypeReference__Group_1__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2(), "rule__JvmParameterizedTypeReference__Group_1_2__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4(), "rule__JvmParameterizedTypeReference__Group_1_4__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2__0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup(), "rule__JvmWildcardTypeReference__Group__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0(), "rule__JvmWildcardTypeReference__Group_2_0__0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1(), "rule__JvmWildcardTypeReference__Group_2_1__0"); + mappings.put(grammarAccess.getJvmUpperBoundAccess().getGroup(), "rule__JvmUpperBound__Group__0"); + mappings.put(grammarAccess.getJvmUpperBoundAndedAccess().getGroup(), "rule__JvmUpperBoundAnded__Group__0"); + mappings.put(grammarAccess.getJvmLowerBoundAccess().getGroup(), "rule__JvmLowerBound__Group__0"); + mappings.put(grammarAccess.getJvmLowerBoundAndedAccess().getGroup(), "rule__JvmLowerBoundAnded__Group__0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getGroup(), "rule__JvmTypeParameter__Group__0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getGroup_1(), "rule__JvmTypeParameter__Group_1__0"); + mappings.put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup(), "rule__QualifiedNameWithWildcard__Group__0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getGroup(), "rule__XImportDeclaration__Group__0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getGroup_1_0(), "rule__XImportDeclaration__Group_1_0__0"); + mappings.put(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup(), "rule__QualifiedNameInStaticImport__Group__0"); + mappings.put(grammarAccess.getModelAccess().getDeclarationsAssignment(), "rule__Model__DeclarationsAssignment"); + mappings.put(grammarAccess.getDeviceAccess().getNameAssignment_1(), "rule__Device__NameAssignment_1"); + mappings.put(grammarAccess.getDeviceAccess().getStatesAssignment_4_0(), "rule__Device__StatesAssignment_4_0"); + mappings.put(grammarAccess.getDeviceAccess().getStatesAssignment_4_1_1(), "rule__Device__StatesAssignment_4_1_1"); + mappings.put(grammarAccess.getStateAccess().getNameAssignment(), "rule__State__NameAssignment"); + mappings.put(grammarAccess.getRuleAccess().getDescriptionAssignment_1(), "rule__Rule__DescriptionAssignment_1"); + mappings.put(grammarAccess.getRuleAccess().getDeviceStateAssignment_3(), "rule__Rule__DeviceStateAssignment_3"); + mappings.put(grammarAccess.getRuleAccess().getThenPartAssignment_5(), "rule__Rule__ThenPartAssignment_5"); + mappings.put(grammarAccess.getXBlockExpressionAccess().getExpressionsAssignment_2_0(), "rule__XBlockExpression__ExpressionsAssignment_2_0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_0_0_0_1(), "rule__XSwitchExpression__DeclaredParamAssignment_2_0_0_0_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1(), "rule__XSwitchExpression__SwitchAssignment_2_0_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamAssignment_2_1_0_0_0(), "rule__XSwitchExpression__DeclaredParamAssignment_2_1_0_0_0"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1(), "rule__XSwitchExpression__SwitchAssignment_2_1_1"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4(), "rule__XSwitchExpression__CasesAssignment_4"); + mappings.put(grammarAccess.getXSwitchExpressionAccess().getDefaultAssignment_5_2(), "rule__XSwitchExpression__DefaultAssignment_5_2"); + mappings.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_0_1(), "rule__XAssignment__FeatureAssignment_0_1"); + mappings.put(grammarAccess.getXAssignmentAccess().getValueAssignment_0_3(), "rule__XAssignment__ValueAssignment_0_3"); + mappings.put(grammarAccess.getXAssignmentAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XAssignment__FeatureAssignment_1_1_0_0_1"); + mappings.put(grammarAccess.getXAssignmentAccess().getRightOperandAssignment_1_1_1(), "rule__XAssignment__RightOperandAssignment_1_1_1"); + mappings.put(grammarAccess.getXOrExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOrExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXOrExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOrExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXAndExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAndExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXAndExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAndExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XEqualityExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXEqualityExpressionAccess().getRightOperandAssignment_1_1(), "rule__XEqualityExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getTypeAssignment_1_0_1(), "rule__XRelationalExpression__TypeAssignment_1_0_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getFeatureAssignment_1_1_0_0_1(), "rule__XRelationalExpression__FeatureAssignment_1_1_0_0_1"); + mappings.put(grammarAccess.getXRelationalExpressionAccess().getRightOperandAssignment_1_1_1(), "rule__XRelationalExpression__RightOperandAssignment_1_1_1"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XOtherOperatorExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandAssignment_1_1(), "rule__XOtherOperatorExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XAdditiveExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXAdditiveExpressionAccess().getRightOperandAssignment_1_1(), "rule__XAdditiveExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureAssignment_1_0_0_1(), "rule__XMultiplicativeExpression__FeatureAssignment_1_0_0_1"); + mappings.put(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandAssignment_1_1(), "rule__XMultiplicativeExpression__RightOperandAssignment_1_1"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getFeatureAssignment_0_1(), "rule__XUnaryOperation__FeatureAssignment_0_1"); + mappings.put(grammarAccess.getXUnaryOperationAccess().getOperandAssignment_0_2(), "rule__XUnaryOperation__OperandAssignment_0_2"); + mappings.put(grammarAccess.getXCastedExpressionAccess().getTypeAssignment_1_1(), "rule__XCastedExpression__TypeAssignment_1_1"); + mappings.put(grammarAccess.getXPostfixOperationAccess().getFeatureAssignment_1_0_1(), "rule__XPostfixOperation__FeatureAssignment_1_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_0_0_0_1_1(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_0_0_0_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_0_0_0_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_0_0_0_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getValueAssignment_1_0_1(), "rule__XMemberFeatureCall__ValueAssignment_1_0_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getNullSafeAssignment_1_1_0_0_1_1(), "rule__XMemberFeatureCall__NullSafeAssignment_1_1_0_0_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticAssignment_1_1_0_0_1_2(), "rule__XMemberFeatureCall__ExplicitStaticAssignment_1_1_0_0_1_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsAssignment_1_1_1_2_1(), "rule__XMemberFeatureCall__TypeArgumentsAssignment_1_1_1_2_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getFeatureAssignment_1_1_2(), "rule__XMemberFeatureCall__FeatureAssignment_1_1_2"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallAssignment_1_1_3_0(), "rule__XMemberFeatureCall__ExplicitOperationCallAssignment_1_1_3_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_0(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_0"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_3_1_1_1_1(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_3_1_1_1_1"); + mappings.put(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsAssignment_1_1_4(), "rule__XMemberFeatureCall__MemberCallArgumentsAssignment_1_1_4"); + mappings.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_0(), "rule__XSetLiteral__ElementsAssignment_3_0"); + mappings.put(grammarAccess.getXSetLiteralAccess().getElementsAssignment_3_1_1(), "rule__XSetLiteral__ElementsAssignment_3_1_1"); + mappings.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_0(), "rule__XListLiteral__ElementsAssignment_3_0"); + mappings.put(grammarAccess.getXListLiteralAccess().getElementsAssignment_3_1_1(), "rule__XListLiteral__ElementsAssignment_3_1_1"); + mappings.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_0(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_0"); + mappings.put(grammarAccess.getXClosureAccess().getDeclaredFormalParametersAssignment_1_0_0_1_1(), "rule__XClosure__DeclaredFormalParametersAssignment_1_0_0_1_1"); + mappings.put(grammarAccess.getXClosureAccess().getExplicitSyntaxAssignment_1_0_1(), "rule__XClosure__ExplicitSyntaxAssignment_1_0_1"); + mappings.put(grammarAccess.getXClosureAccess().getExpressionAssignment_2(), "rule__XClosure__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXExpressionInClosureAccess().getExpressionsAssignment_1_0(), "rule__XExpressionInClosure__ExpressionsAssignment_1_0"); + mappings.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_0(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_0"); + mappings.put(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersAssignment_0_0_1_1_1(), "rule__XShortClosure__DeclaredFormalParametersAssignment_0_0_1_1_1"); + mappings.put(grammarAccess.getXShortClosureAccess().getExplicitSyntaxAssignment_0_0_2(), "rule__XShortClosure__ExplicitSyntaxAssignment_0_0_2"); + mappings.put(grammarAccess.getXShortClosureAccess().getExpressionAssignment_1(), "rule__XShortClosure__ExpressionAssignment_1"); + mappings.put(grammarAccess.getXIfExpressionAccess().getIfAssignment_3(), "rule__XIfExpression__IfAssignment_3"); + mappings.put(grammarAccess.getXIfExpressionAccess().getThenAssignment_5(), "rule__XIfExpression__ThenAssignment_5"); + mappings.put(grammarAccess.getXIfExpressionAccess().getElseAssignment_6_1(), "rule__XIfExpression__ElseAssignment_6_1"); + mappings.put(grammarAccess.getXCasePartAccess().getTypeGuardAssignment_1(), "rule__XCasePart__TypeGuardAssignment_1"); + mappings.put(grammarAccess.getXCasePartAccess().getCaseAssignment_2_1(), "rule__XCasePart__CaseAssignment_2_1"); + mappings.put(grammarAccess.getXCasePartAccess().getThenAssignment_3_0_1(), "rule__XCasePart__ThenAssignment_3_0_1"); + mappings.put(grammarAccess.getXCasePartAccess().getFallThroughAssignment_3_1(), "rule__XCasePart__FallThroughAssignment_3_1"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamAssignment_0_0_3(), "rule__XForLoopExpression__DeclaredParamAssignment_0_0_3"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getForExpressionAssignment_1(), "rule__XForLoopExpression__ForExpressionAssignment_1"); + mappings.put(grammarAccess.getXForLoopExpressionAccess().getEachExpressionAssignment_3(), "rule__XForLoopExpression__EachExpressionAssignment_3"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_0(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsAssignment_3_1_1(), "rule__XBasicForLoopExpression__InitExpressionsAssignment_3_1_1"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getExpressionAssignment_5(), "rule__XBasicForLoopExpression__ExpressionAssignment_5"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_0(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_0"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsAssignment_7_1_1(), "rule__XBasicForLoopExpression__UpdateExpressionsAssignment_7_1_1"); + mappings.put(grammarAccess.getXBasicForLoopExpressionAccess().getEachExpressionAssignment_9(), "rule__XBasicForLoopExpression__EachExpressionAssignment_9"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getPredicateAssignment_3(), "rule__XWhileExpression__PredicateAssignment_3"); + mappings.put(grammarAccess.getXWhileExpressionAccess().getBodyAssignment_5(), "rule__XWhileExpression__BodyAssignment_5"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getBodyAssignment_2(), "rule__XDoWhileExpression__BodyAssignment_2"); + mappings.put(grammarAccess.getXDoWhileExpressionAccess().getPredicateAssignment_5(), "rule__XDoWhileExpression__PredicateAssignment_5"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getWriteableAssignment_1_0(), "rule__XVariableDeclaration__WriteableAssignment_1_0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getTypeAssignment_2_0_0_0(), "rule__XVariableDeclaration__TypeAssignment_2_0_0_0"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_0_0_1(), "rule__XVariableDeclaration__NameAssignment_2_0_0_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getNameAssignment_2_1(), "rule__XVariableDeclaration__NameAssignment_2_1"); + mappings.put(grammarAccess.getXVariableDeclarationAccess().getRightAssignment_3_1(), "rule__XVariableDeclaration__RightAssignment_3_1"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__JvmFormalParameter__ParameterTypeAssignment_0"); + mappings.put(grammarAccess.getJvmFormalParameterAccess().getNameAssignment_1(), "rule__JvmFormalParameter__NameAssignment_1"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeAssignment_0(), "rule__FullJvmFormalParameter__ParameterTypeAssignment_0"); + mappings.put(grammarAccess.getFullJvmFormalParameterAccess().getNameAssignment_1(), "rule__FullJvmFormalParameter__NameAssignment_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getTypeArgumentsAssignment_1_2_1(), "rule__XFeatureCall__TypeArgumentsAssignment_1_2_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureAssignment_2(), "rule__XFeatureCall__FeatureAssignment_2"); + mappings.put(grammarAccess.getXFeatureCallAccess().getExplicitOperationCallAssignment_3_0(), "rule__XFeatureCall__ExplicitOperationCallAssignment_3_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_0(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_0"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_3_1_1_1_1(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_3_1_1_1_1"); + mappings.put(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsAssignment_4(), "rule__XFeatureCall__FeatureCallArgumentsAssignment_4"); + mappings.put(grammarAccess.getXConstructorCallAccess().getConstructorAssignment_2(), "rule__XConstructorCall__ConstructorAssignment_2"); + mappings.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getTypeArgumentsAssignment_3_2_1(), "rule__XConstructorCall__TypeArgumentsAssignment_3_2_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getExplicitConstructorCallAssignment_4_0(), "rule__XConstructorCall__ExplicitConstructorCallAssignment_4_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_0(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_0"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_4_1_1_1_1(), "rule__XConstructorCall__ArgumentsAssignment_4_1_1_1_1"); + mappings.put(grammarAccess.getXConstructorCallAccess().getArgumentsAssignment_5(), "rule__XConstructorCall__ArgumentsAssignment_5"); + mappings.put(grammarAccess.getXBooleanLiteralAccess().getIsTrueAssignment_1_1(), "rule__XBooleanLiteral__IsTrueAssignment_1_1"); + mappings.put(grammarAccess.getXNumberLiteralAccess().getValueAssignment_1(), "rule__XNumberLiteral__ValueAssignment_1"); + mappings.put(grammarAccess.getXStringLiteralAccess().getValueAssignment_1(), "rule__XStringLiteral__ValueAssignment_1"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getTypeAssignment_3(), "rule__XTypeLiteral__TypeAssignment_3"); + mappings.put(grammarAccess.getXTypeLiteralAccess().getArrayDimensionsAssignment_4(), "rule__XTypeLiteral__ArrayDimensionsAssignment_4"); + mappings.put(grammarAccess.getXThrowExpressionAccess().getExpressionAssignment_2(), "rule__XThrowExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXReturnExpressionAccess().getExpressionAssignment_2(), "rule__XReturnExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionAssignment_2(), "rule__XTryCatchFinallyExpression__ExpressionAssignment_2"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesAssignment_3_0_0(), "rule__XTryCatchFinallyExpression__CatchClausesAssignment_3_0_0"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_0_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_0_1_1"); + mappings.put(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionAssignment_3_1_1(), "rule__XTryCatchFinallyExpression__FinallyExpressionAssignment_3_1_1"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getParamAssignment_1(), "rule__XSynchronizedExpression__ParamAssignment_1"); + mappings.put(grammarAccess.getXSynchronizedExpressionAccess().getExpressionAssignment_3(), "rule__XSynchronizedExpression__ExpressionAssignment_3"); + mappings.put(grammarAccess.getXCatchClauseAccess().getDeclaredParamAssignment_2(), "rule__XCatchClause__DeclaredParamAssignment_2"); + mappings.put(grammarAccess.getXCatchClauseAccess().getExpressionAssignment_4(), "rule__XCatchClause__ExpressionAssignment_4"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1"); + mappings.put(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionTypeRef__ReturnTypeAssignment_2"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0(), "rule__JvmParameterizedTypeReference__TypeAssignment_0"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1(), "rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1"); + mappings.put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0"); + mappings.put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1"); + mappings.put(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBound__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBoundAnded__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBound__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBoundAnded__TypeReferenceAssignment_1"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getNameAssignment_0(), "rule__JvmTypeParameter__NameAssignment_0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_0(), "rule__JvmTypeParameter__ConstraintsAssignment_1_0"); + mappings.put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_1(), "rule__JvmTypeParameter__ConstraintsAssignment_1_1"); + mappings.put(grammarAccess.getXImportSectionAccess().getImportDeclarationsAssignment(), "rule__XImportSection__ImportDeclarationsAssignment"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0(), "rule__XImportDeclaration__StaticAssignment_1_0_0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1(), "rule__XImportDeclaration__ExtensionAssignment_1_0_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2(), "rule__XImportDeclaration__ImportedTypeAssignment_1_0_2"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0(), "rule__XImportDeclaration__WildcardAssignment_1_0_3_0"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1(), "rule__XImportDeclaration__MemberNameAssignment_1_0_3_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1(), "rule__XImportDeclaration__ImportedTypeAssignment_1_1"); + mappings.put(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2(), "rule__XImportDeclaration__ImportedNamespaceAssignment_1_2"); } } diff --git a/org.eclipse.xtext.xtext.ui.tests/src-gen/org/eclipse/xtext/xtext/ui/ecore2xtext/ide/contentassist/antlr/Ecore2XtextTestParser.java b/org.eclipse.xtext.xtext.ui.tests/src-gen/org/eclipse/xtext/xtext/ui/ecore2xtext/ide/contentassist/antlr/Ecore2XtextTestParser.java index 3936790b14a..079304bf77c 100644 --- a/org.eclipse.xtext.xtext.ui.tests/src-gen/org/eclipse/xtext/xtext/ui/ecore2xtext/ide/contentassist/antlr/Ecore2XtextTestParser.java +++ b/org.eclipse.xtext.xtext.ui.tests/src-gen/org/eclipse/xtext/xtext/ui/ecore2xtext/ide/contentassist/antlr/Ecore2XtextTestParser.java @@ -8,9 +8,9 @@ *******************************************************************************/ package org.eclipse.xtext.xtext.ui.ecore2xtext.ide.contentassist.antlr; -import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; +import java.util.HashMap; import java.util.Map; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; @@ -26,33 +26,33 @@ public static final class NameMappings { @Inject public NameMappings(Ecore2XtextTestGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); + Map mappings = new HashMap<>(); + init(mappings, grammarAccess); + this.mappings = Map.copyOf(mappings); } public String getRuleName(AbstractElement element) { return mappings.get(element); } - private static void init(ImmutableMap.Builder builder, Ecore2XtextTestGrammarAccess grammarAccess) { - builder.put(grammarAccess.getAbstractAccess().getAlternatives(), "rule__Abstract__Alternatives"); - builder.put(grammarAccess.getConcrete0Access().getAlternatives(), "rule__Concrete0__Alternatives"); - builder.put(grammarAccess.getEStringAccess().getAlternatives(), "rule__EString__Alternatives"); - builder.put(grammarAccess.getRootAccess().getGroup(), "rule__Root__Group__0"); - builder.put(grammarAccess.getRootAccess().getGroup_4(), "rule__Root__Group_4__0"); - builder.put(grammarAccess.getRootAccess().getGroup_4_3(), "rule__Root__Group_4_3__0"); - builder.put(grammarAccess.getRootAccess().getGroup_5(), "rule__Root__Group_5__0"); - builder.put(grammarAccess.getConcrete0_ImplAccess().getGroup(), "rule__Concrete0_Impl__Group__0"); - builder.put(grammarAccess.getConcrete1_ImplAccess().getGroup(), "rule__Concrete1_Impl__Group__0"); - builder.put(grammarAccess.getDiamondInheritanceAccess().getGroup(), "rule__DiamondInheritance__Group__0"); - builder.put(grammarAccess.getRootAccess().getNameAssignment_2(), "rule__Root__NameAssignment_2"); - builder.put(grammarAccess.getRootAccess().getClassesAssignment_4_2(), "rule__Root__ClassesAssignment_4_2"); - builder.put(grammarAccess.getRootAccess().getClassesAssignment_4_3_1(), "rule__Root__ClassesAssignment_4_3_1"); - builder.put(grammarAccess.getRootAccess().getConcrete0Assignment_5_1(), "rule__Root__Concrete0Assignment_5_1"); - builder.put(grammarAccess.getConcrete0_ImplAccess().getNameAssignment_2(), "rule__Concrete0_Impl__NameAssignment_2"); - builder.put(grammarAccess.getConcrete1_ImplAccess().getNameAssignment_2(), "rule__Concrete1_Impl__NameAssignment_2"); - builder.put(grammarAccess.getDiamondInheritanceAccess().getNameAssignment_2(), "rule__DiamondInheritance__NameAssignment_2"); + private static void init(Map mappings, Ecore2XtextTestGrammarAccess grammarAccess) { + mappings.put(grammarAccess.getAbstractAccess().getAlternatives(), "rule__Abstract__Alternatives"); + mappings.put(grammarAccess.getConcrete0Access().getAlternatives(), "rule__Concrete0__Alternatives"); + mappings.put(grammarAccess.getEStringAccess().getAlternatives(), "rule__EString__Alternatives"); + mappings.put(grammarAccess.getRootAccess().getGroup(), "rule__Root__Group__0"); + mappings.put(grammarAccess.getRootAccess().getGroup_4(), "rule__Root__Group_4__0"); + mappings.put(grammarAccess.getRootAccess().getGroup_4_3(), "rule__Root__Group_4_3__0"); + mappings.put(grammarAccess.getRootAccess().getGroup_5(), "rule__Root__Group_5__0"); + mappings.put(grammarAccess.getConcrete0_ImplAccess().getGroup(), "rule__Concrete0_Impl__Group__0"); + mappings.put(grammarAccess.getConcrete1_ImplAccess().getGroup(), "rule__Concrete1_Impl__Group__0"); + mappings.put(grammarAccess.getDiamondInheritanceAccess().getGroup(), "rule__DiamondInheritance__Group__0"); + mappings.put(grammarAccess.getRootAccess().getNameAssignment_2(), "rule__Root__NameAssignment_2"); + mappings.put(grammarAccess.getRootAccess().getClassesAssignment_4_2(), "rule__Root__ClassesAssignment_4_2"); + mappings.put(grammarAccess.getRootAccess().getClassesAssignment_4_3_1(), "rule__Root__ClassesAssignment_4_3_1"); + mappings.put(grammarAccess.getRootAccess().getConcrete0Assignment_5_1(), "rule__Root__Concrete0Assignment_5_1"); + mappings.put(grammarAccess.getConcrete0_ImplAccess().getNameAssignment_2(), "rule__Concrete0_Impl__NameAssignment_2"); + mappings.put(grammarAccess.getConcrete1_ImplAccess().getNameAssignment_2(), "rule__Concrete1_Impl__NameAssignment_2"); + mappings.put(grammarAccess.getDiamondInheritanceAccess().getNameAssignment_2(), "rule__DiamondInheritance__NameAssignment_2"); } }