Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus')
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/AbstractUmlParameterRuntimeModule.java23
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/UmlParameter.ecore16
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/UmlParameter.genmodel10
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/UmlParameter.xtextbinbin6589 -> 6589 bytes
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/UmlParameterStandaloneSetupGenerated.java19
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/UmlParameterAntlrTokenFileProvider.java10
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/UmlParameterParser.java26
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g66
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameterLexer.java4523
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameterParser.java6952
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/serializer/UmlParameterSemanticSequencer.java387
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/serializer/UmlParameterSyntacticSequencer.java18
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/services/UmlParameterGrammarAccess.java1388
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/BooleanLiterals.java421
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/BooleanValue.java64
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/DefaultValueRule.java58
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/DirectionRule.java65
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/EffectKind.java495
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/EffectRule.java64
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/IntValue.java58
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/ModifierKind.java495
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/ModifierSpecification.java64
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/ModifiersRule.java39
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/NoValue.java3
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/NullValue.java3
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/ParameterRule.java483
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/RealValue.java111
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/StringValue.java58
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/UmlParameterFactory.java308
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/UmlParameterPackage.java2652
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/Value.java3
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/VisibilityRule.java65
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/BooleanValueImpl.java305
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/DefaultValueRuleImpl.java331
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/DirectionRuleImpl.java306
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/EffectRuleImpl.java305
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/IntValueImpl.java305
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/ModifierSpecificationImpl.java305
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/ModifiersRuleImpl.java267
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/NoValueImpl.java46
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/NullValueImpl.java46
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/ParameterRuleImpl.java1455
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/RealValueImpl.java419
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/StringValueImpl.java305
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/UmlParameterFactoryImpl.java733
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/UmlParameterPackageImpl.java1544
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/ValueImpl.java47
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/VisibilityRuleImpl.java8
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/util/UmlParameterAdapterFactory.java758
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/util/UmlParameterSwitch.java802
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/validation/AbstractUmlParameterJavaValidator.java12
51 files changed, 13804 insertions, 13442 deletions
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/AbstractUmlParameterRuntimeModule.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/AbstractUmlParameterRuntimeModule.java
index 6d166fc2f8e..27ca9fbcc80 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/AbstractUmlParameterRuntimeModule.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/AbstractUmlParameterRuntimeModule.java
@@ -6,7 +6,6 @@ package org.eclipse.papyrus.uml.textedit.parameter.xtext;
import java.util.Properties;
import org.eclipse.xtext.Constants;
-import org.eclipse.xtext.service.DefaultRuntimeModule;
import com.google.inject.Binder;
import com.google.inject.name.Names;
@@ -14,8 +13,8 @@ import com.google.inject.name.Names;
/**
* Manual modifications go to {org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameterRuntimeModule}
*/
- @SuppressWarnings("all")
-public abstract class AbstractUmlParameterRuntimeModule extends DefaultRuntimeModule {
+@SuppressWarnings("all")
+public abstract class AbstractUmlParameterRuntimeModule extends org.eclipse.xtext.service.DefaultRuntimeModule {
protected Properties properties = null;
@@ -24,16 +23,16 @@ public abstract class AbstractUmlParameterRuntimeModule extends DefaultRuntimeMo
properties = tryBindProperties(binder, "org/eclipse/papyrus/uml/textedit/parameter/xtext/UmlParameter.properties");
super.configure(binder);
}
-
+
public void configureLanguageName(Binder binder) {
binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter");
}
-
+
public void configureFileExtensions(Binder binder) {
if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null)
binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("umlparameter");
}
-
+
// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
public java.lang.ClassLoader bindClassLoaderToInstance() {
return getClass().getClassLoader();
@@ -86,7 +85,8 @@ public abstract class AbstractUmlParameterRuntimeModule extends DefaultRuntimeMo
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public void configureRuntimeLexer(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.papyrus.uml.textedit.parameter.xtext.parser.antlr.internal.InternalUmlParameterLexer.class);
+ binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME))
+ .to(org.eclipse.papyrus.uml.textedit.parameter.xtext.parser.antlr.internal.InternalUmlParameterLexer.class);
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
@@ -95,7 +95,8 @@ public abstract class AbstractUmlParameterRuntimeModule extends DefaultRuntimeMo
}
// contributed by org.eclipse.xtext.generator.validation.JavaValidatorFragment
- @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class<? extends org.eclipse.papyrus.uml.textedit.parameter.xtext.validation.UmlParameterJavaValidator> bindUmlParameterJavaValidator() {
+ @org.eclipse.xtext.service.SingletonBinding(eager = true)
+ public Class<? extends org.eclipse.papyrus.uml.textedit.parameter.xtext.validation.UmlParameterJavaValidator> bindUmlParameterJavaValidator() {
return org.eclipse.papyrus.uml.textedit.parameter.xtext.validation.UmlParameterJavaValidator.class;
}
@@ -106,7 +107,8 @@ public abstract class AbstractUmlParameterRuntimeModule extends DefaultRuntimeMo
// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
public void configureIScopeProviderDelegate(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider.class);
+ binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE))
+ .to(org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider.class);
}
// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
@@ -141,7 +143,8 @@ public abstract class AbstractUmlParameterRuntimeModule extends DefaultRuntimeMo
// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class);
+ binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS))
+ .to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class);
}
// contributed by org.eclipse.xtext.generator.generator.GeneratorFragment
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/UmlParameter.ecore b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/UmlParameter.ecore
index ea19cb3a4d8..111377e7f0b 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/UmlParameter.ecore
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/UmlParameter.ecore
@@ -7,10 +7,10 @@
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="direction" eType="#//DirectionRule"
containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.uml.textedit.common.xtext/src-gen/org/eclipse/papyrus/uml/textedit/common/xtext/UmlCommon.ecore#//TypeRule"
containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="typeUndefined" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EBoolean"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="typeUndefined" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="multiplicity" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.uml.textedit.common.xtext/src-gen/org/eclipse/papyrus/uml/textedit/common/xtext/UmlCommon.ecore#//MultiplicityRule"
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="modifiers" eType="#//ModifiersRule"
@@ -54,21 +54,21 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Value"/>
<eClassifiers xsi:type="ecore:EClass" name="IntValue" eSuperTypes="#//Value">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="literalInteger" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="literalInteger" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="StringValue" eSuperTypes="#//Value">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="literalString" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="literalString" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EEnum" name="BooleanLiterals">
- <eLiterals name="true" literal="true"/>
- <eLiterals name="false" value="1" literal="false"/>
+ <eLiterals name="TRUE" literal="true"/>
+ <eLiterals name="FALSE" value="1" literal="false"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="BooleanValue" eSuperTypes="#//Value">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="literalBoolean" eType="#//BooleanLiterals"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="RealValue" eSuperTypes="#//Value">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="integer" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="fraction" eType="ecore:EDataType platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="integer" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="fraction" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="NullValue" eSuperTypes="#//Value"/>
<eClassifiers xsi:type="ecore:EClass" name="NoValue" eSuperTypes="#//Value"/>
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/UmlParameter.genmodel b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/UmlParameter.genmodel
index 5b35c3f4108..04c014e2e72 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/UmlParameter.genmodel
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/UmlParameter.genmodel
@@ -4,9 +4,9 @@
editDirectory="/org.eclipse.papyrus.uml.textedit.parameter.xtext.edit/src" editorDirectory="/org.eclipse.papyrus.uml.textedit.parameter.xtext.editor/src"
modelPluginID="org.eclipse.papyrus.uml.textedit.parameter.xtext" forceOverwrite="true"
modelName="UmlParameter" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
- complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.papyrus.uml.textedit.parameter.xtext.edit"
- editorPluginID="org.eclipse.papyrus.uml.textedit.parameter.xtext.editor" runtimeVersion="2.10"
- usedGenPackages="platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore platform:/resource/org.eclipse.papyrus.uml.textedit.common.xtext/src-gen/org/eclipse/papyrus/uml/textedit/common/xtext/UMLCommon.genmodel#//umlCommon">
+ complianceLevel="6.0" copyrightFields="false" editPluginID="org.eclipse.papyrus.uml.textedit.parameter.xtext.edit"
+ editorPluginID="org.eclipse.papyrus.uml.textedit.parameter.xtext.editor" runtimeVersion="2.14"
+ usedGenPackages="platform:/plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore platform:/resource/org.eclipse.papyrus.uml.textedit.common.xtext/src-gen/org/eclipse/papyrus/uml/textedit/common/xtext/UMLCommon.genmodel#//umlCommon">
<genPackages prefix="UmlParameter" basePackage="org.eclipse.papyrus.uml.textedit.parameter.xtext"
disposableProviderFactory="true" ecorePackage="UmlParameter.ecore#/">
<genEnums typeSafeEnumCompatible="false" ecoreEnum="UmlParameter.ecore#//ModifierKind">
@@ -22,8 +22,8 @@
<genEnumLiterals ecoreEnumLiteral="UmlParameter.ecore#//EffectKind/DELETE"/>
</genEnums>
<genEnums typeSafeEnumCompatible="false" ecoreEnum="UmlParameter.ecore#//BooleanLiterals">
- <genEnumLiterals ecoreEnumLiteral="UmlParameter.ecore#//BooleanLiterals/true"/>
- <genEnumLiterals ecoreEnumLiteral="UmlParameter.ecore#//BooleanLiterals/false"/>
+ <genEnumLiterals ecoreEnumLiteral="UmlParameter.ecore#//BooleanLiterals/TRUE"/>
+ <genEnumLiterals ecoreEnumLiteral="UmlParameter.ecore#//BooleanLiterals/FALSE"/>
</genEnums>
<genClasses ecoreClass="UmlParameter.ecore#//ParameterRule">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference UmlParameter.ecore#//ParameterRule/visibility"/>
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/UmlParameter.xtextbin b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/UmlParameter.xtextbin
index 0c4bfd3b174..f2ae4b8cf7f 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/UmlParameter.xtextbin
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/UmlParameter.xtextbin
Binary files differ
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/UmlParameterStandaloneSetupGenerated.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/UmlParameterStandaloneSetupGenerated.java
index 73001d6cb7f..170367c4f5a 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/UmlParameterStandaloneSetupGenerated.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/UmlParameterStandaloneSetupGenerated.java
@@ -1,11 +1,11 @@
/*
-* generated by Xtext
-*/
+ * generated by Xtext
+ */
package org.eclipse.papyrus.uml.textedit.parameter.xtext;
import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.xtext.ISetup;
import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.xtext.ISetup;
import com.google.inject.Guice;
import com.google.inject.Injector;
@@ -16,6 +16,7 @@ import com.google.inject.Injector;
@SuppressWarnings("all")
public class UmlParameterStandaloneSetupGenerated implements ISetup {
+ @Override
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.papyrus.uml.textedit.common.xtext.UmlCommonStandaloneSetup.doSetup();
@@ -23,21 +24,21 @@ public class UmlParameterStandaloneSetupGenerated implements ISetup {
register(injector);
return injector;
}
-
+
public Injector createInjector() {
return Guice.createInjector(new org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameterRuntimeModule());
}
-
+
public void register(Injector injector) {
- if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/papyrus/uml/textedit/parameter/xtext/UmlParameter")) {
- EPackage.Registry.INSTANCE.put("http://www.eclipse.org/papyrus/uml/textedit/parameter/xtext/UmlParameter", org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage.eINSTANCE);
- }
+ if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/papyrus/uml/textedit/parameter/xtext/UmlParameter")) {
+ EPackage.Registry.INSTANCE.put("http://www.eclipse.org/papyrus/uml/textedit/parameter/xtext/UmlParameter", org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage.eINSTANCE);
+ }
org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class);
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("umlparameter", resourceFactory);
org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("umlparameter", serviceProvider);
-
+
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/UmlParameterAntlrTokenFileProvider.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/UmlParameterAntlrTokenFileProvider.java
index 1274093f241..e7a60abc78a 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/UmlParameterAntlrTokenFileProvider.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/UmlParameterAntlrTokenFileProvider.java
@@ -1,15 +1,17 @@
/*
-* generated by Xtext
-*/
+ * generated by Xtext
+ */
package org.eclipse.papyrus.uml.textedit.parameter.xtext.parser.antlr;
import java.io.InputStream;
+
import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
public class UmlParameterAntlrTokenFileProvider implements IAntlrTokenFileProvider {
-
+
+ @Override
public InputStream getAntlrTokenFile() {
ClassLoader classLoader = getClass().getClassLoader();
- return classLoader.getResourceAsStream("org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.tokens");
+ return classLoader.getResourceAsStream("org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.tokens");
}
}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/UmlParameterParser.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/UmlParameterParser.java
index 6c2450097a1..b24172077d3 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/UmlParameterParser.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/UmlParameterParser.java
@@ -1,39 +1,39 @@
/*
-* generated by Xtext
-*/
+ * generated by Xtext
+ */
package org.eclipse.papyrus.uml.textedit.parameter.xtext.parser.antlr;
-import com.google.inject.Inject;
-
-import org.eclipse.xtext.parser.antlr.XtextTokenStream;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.services.UmlParameterGrammarAccess;
+import org.eclipse.xtext.parser.antlr.XtextTokenStream;
+
+import com.google.inject.Inject;
public class UmlParameterParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
-
+
@Inject
private UmlParameterGrammarAccess grammarAccess;
-
+
@Override
protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
}
-
+
@Override
protected org.eclipse.papyrus.uml.textedit.parameter.xtext.parser.antlr.internal.InternalUmlParameterParser createParser(XtextTokenStream stream) {
return new org.eclipse.papyrus.uml.textedit.parameter.xtext.parser.antlr.internal.InternalUmlParameterParser(stream, getGrammarAccess());
}
-
- @Override
+
+ @Override
protected String getDefaultRuleName() {
return "ParameterRule";
}
-
+
public UmlParameterGrammarAccess getGrammarAccess() {
return this.grammarAccess;
}
-
+
public void setGrammarAccess(UmlParameterGrammarAccess grammarAccess) {
this.grammarAccess = grammarAccess;
}
-
+
}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g
index 5a11577d02e..e453ba5c91d 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g
@@ -1,6 +1,6 @@
/*
-* generated by Xtext
-*/
+ * generated by Xtext
+ */
grammar InternalUmlParameter;
options {
@@ -91,7 +91,7 @@ ruleParameterRule returns [EObject current=null]
$current,
"visibility",
lv_visibility_0_0,
- "VisibilityRule");
+ "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.VisibilityRule");
afterParserOrEnumRuleCall();
}
@@ -109,7 +109,7 @@ ruleParameterRule returns [EObject current=null]
$current,
"direction",
lv_direction_1_0,
- "DirectionRule");
+ "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.DirectionRule");
afterParserOrEnumRuleCall();
}
@@ -128,7 +128,7 @@ ruleParameterRule returns [EObject current=null]
$current,
"name",
lv_name_2_0,
- "ID");
+ "org.eclipse.papyrus.uml.alf.Common.ID");
}
)
@@ -149,7 +149,7 @@ ruleParameterRule returns [EObject current=null]
$current,
"type",
lv_type_4_0,
- "TypeRule");
+ "org.eclipse.papyrus.uml.textedit.common.xtext.UmlCommon.TypeRule");
afterParserOrEnumRuleCall();
}
@@ -183,7 +183,7 @@ ruleParameterRule returns [EObject current=null]
$current,
"multiplicity",
lv_multiplicity_6_0,
- "MultiplicityRule");
+ "org.eclipse.papyrus.uml.textedit.common.xtext.UmlCommon.MultiplicityRule");
afterParserOrEnumRuleCall();
}
@@ -201,7 +201,7 @@ ruleParameterRule returns [EObject current=null]
$current,
"modifiers",
lv_modifiers_7_0,
- "ModifiersRule");
+ "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.ModifiersRule");
afterParserOrEnumRuleCall();
}
@@ -219,7 +219,7 @@ ruleParameterRule returns [EObject current=null]
$current,
"effect",
lv_effect_8_0,
- "EffectRule");
+ "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.EffectRule");
afterParserOrEnumRuleCall();
}
@@ -237,7 +237,7 @@ ruleParameterRule returns [EObject current=null]
$current,
"defaultValue",
lv_defaultValue_9_0,
- "DefaultValueRule");
+ "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.DefaultValueRule");
afterParserOrEnumRuleCall();
}
@@ -286,7 +286,7 @@ ruleModifiersRule returns [EObject current=null]
$current,
"values",
lv_values_2_0,
- "ModifierSpecification");
+ "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.ModifierSpecification");
afterParserOrEnumRuleCall();
}
@@ -308,7 +308,7 @@ ruleModifiersRule returns [EObject current=null]
$current,
"values",
lv_values_4_0,
- "ModifierSpecification");
+ "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.ModifierSpecification");
afterParserOrEnumRuleCall();
}
@@ -351,7 +351,7 @@ ruleModifierSpecification returns [EObject current=null]
$current,
"value",
lv_value_0_0,
- "ModifierKind");
+ "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.ModifierKind");
afterParserOrEnumRuleCall();
}
@@ -390,7 +390,7 @@ ruleVisibilityRule returns [EObject current=null]
$current,
"visibility",
lv_visibility_0_0,
- "VisibilityKind");
+ "org.eclipse.papyrus.uml.textedit.common.xtext.UmlCommon.VisibilityKind");
afterParserOrEnumRuleCall();
}
@@ -429,7 +429,7 @@ ruleDirectionRule returns [EObject current=null]
$current,
"direction",
lv_direction_0_0,
- "Direction");
+ "org.eclipse.papyrus.uml.textedit.common.xtext.UmlCommon.Direction");
afterParserOrEnumRuleCall();
}
@@ -476,7 +476,7 @@ ruleEffectRule returns [EObject current=null]
$current,
"effectKind",
lv_effectKind_2_0,
- "EffectKind");
+ "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.EffectKind");
afterParserOrEnumRuleCall();
}
@@ -523,7 +523,7 @@ ruleDefaultValueRule returns [EObject current=null]
$current,
"default",
lv_default_1_0,
- "Value");
+ "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.Value");
afterParserOrEnumRuleCall();
}
@@ -643,7 +643,7 @@ ruleIntValue returns [EObject current=null]
$current,
"literalInteger",
lv_literalInteger_0_0,
- "INT");
+ "org.eclipse.papyrus.uml.alf.Common.INT");
}
)
@@ -682,7 +682,7 @@ ruleStringValue returns [EObject current=null]
$current,
"literalString",
lv_literalString_0_0,
- "STRING");
+ "org.eclipse.papyrus.uml.alf.Common.STRING");
}
)
@@ -720,7 +720,7 @@ ruleBooleanValue returns [EObject current=null]
$current,
"literalBoolean",
lv_literalBoolean_0_0,
- "BooleanLiterals");
+ "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.BooleanLiterals");
afterParserOrEnumRuleCall();
}
@@ -760,7 +760,7 @@ ruleRealValue returns [EObject current=null]
$current,
"integer",
lv_integer_0_0,
- "INT");
+ "org.eclipse.papyrus.uml.alf.Common.INT");
}
)
@@ -787,7 +787,7 @@ ruleRealValue returns [EObject current=null]
$current,
"fraction",
lv_fraction_3_0,
- "INT");
+ "org.eclipse.papyrus.uml.alf.Common.INT");
}
)
@@ -806,7 +806,7 @@ ruleRealValue returns [EObject current=null]
$current,
"integer",
lv_integer_4_0,
- "INT");
+ "org.eclipse.papyrus.uml.alf.Common.INT");
}
)
@@ -828,7 +828,7 @@ ruleRealValue returns [EObject current=null]
$current,
"fraction",
lv_fraction_6_0,
- "INT");
+ "org.eclipse.papyrus.uml.alf.Common.INT");
}
)
@@ -945,7 +945,7 @@ ruleQualifiedName returns [EObject current=null]
$current,
"remaining",
lv_remaining_2_0,
- "QualifiedName");
+ "org.eclipse.papyrus.uml.textedit.common.xtext.UmlCommon.QualifiedName");
afterParserOrEnumRuleCall();
}
@@ -984,7 +984,7 @@ ruleTypeRule returns [EObject current=null]
$current,
"path",
lv_path_0_0,
- "QualifiedName");
+ "org.eclipse.papyrus.uml.textedit.common.xtext.UmlCommon.QualifiedName");
afterParserOrEnumRuleCall();
}
@@ -1040,7 +1040,7 @@ ruleMultiplicityRule returns [EObject current=null]
$current,
"bounds",
lv_bounds_1_0,
- "BoundSpecification");
+ "org.eclipse.papyrus.uml.textedit.common.xtext.UmlCommon.BoundSpecification");
afterParserOrEnumRuleCall();
}
@@ -1062,7 +1062,7 @@ ruleMultiplicityRule returns [EObject current=null]
$current,
"bounds",
lv_bounds_3_0,
- "BoundSpecification");
+ "org.eclipse.papyrus.uml.textedit.common.xtext.UmlCommon.BoundSpecification");
afterParserOrEnumRuleCall();
}
@@ -1105,7 +1105,7 @@ ruleBoundSpecification returns [EObject current=null]
$current,
"value",
lv_value_0_0,
- "UnlimitedLiteral");
+ "org.eclipse.papyrus.uml.textedit.common.xtext.UmlCommon.UnlimitedLiteral");
afterParserOrEnumRuleCall();
}
@@ -1220,14 +1220,14 @@ ruleBooleanLiterals returns [Enumerator current=null]
@after { leaveRule(); }:
(( enumLiteral_0='true'
{
- $current = grammarAccess.getBooleanLiteralsAccess().getTrueEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getBooleanLiteralsAccess().getTrueEnumLiteralDeclaration_0());
+ $current = grammarAccess.getBooleanLiteralsAccess().getTRUEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getBooleanLiteralsAccess().getTRUEEnumLiteralDeclaration_0());
}
)
|( enumLiteral_1='false'
{
- $current = grammarAccess.getBooleanLiteralsAccess().getFalseEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getBooleanLiteralsAccess().getFalseEnumLiteralDeclaration_1());
+ $current = grammarAccess.getBooleanLiteralsAccess().getFALSEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getBooleanLiteralsAccess().getFALSEEnumLiteralDeclaration_1());
}
));
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameterLexer.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameterLexer.java
index bc0237166c6..30c5cb4133a 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameterLexer.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameterLexer.java
@@ -1,2292 +1,2265 @@
package org.eclipse.papyrus.uml.textedit.parameter.xtext.parser.antlr.internal;
+import org.antlr.runtime.BaseRecognizer;
+import org.antlr.runtime.CharStream;
+import org.antlr.runtime.DFA;
+import org.antlr.runtime.EarlyExitException;
+import org.antlr.runtime.IntStream;
+import org.antlr.runtime.MismatchedSetException;
+import org.antlr.runtime.NoViableAltException;
+import org.antlr.runtime.RecognitionException;
+import org.antlr.runtime.RecognizerSharedState;
// Hack: Use our own Lexer superclass by means of import.
// Currently there is no other way to specify the superclass for the lexer.
import org.eclipse.xtext.parser.antlr.Lexer;
-
-import org.antlr.runtime.*;
-import java.util.Stack;
-import java.util.List;
-import java.util.ArrayList;
-
@SuppressWarnings("all")
public class InternalUmlParameterLexer extends Lexer {
- public static final int RULE_ID=4;
- public static final int T__29=29;
- public static final int T__28=28;
- public static final int T__27=27;
- public static final int T__26=26;
- public static final int T__25=25;
- public static final int T__24=24;
- public static final int T__23=23;
- public static final int T__22=22;
- public static final int T__21=21;
- public static final int RULE_ANY_OTHER=11;
- public static final int T__20=20;
- public static final int RULE_INTEGER_VALUE=9;
- public static final int EOF=-1;
- public static final int T__19=19;
- public static final int T__16=16;
- public static final int T__15=15;
- public static final int T__18=18;
- public static final int T__17=17;
- public static final int T__12=12;
- public static final int T__14=14;
- public static final int T__13=13;
- public static final int RULE_INT=5;
- public static final int T__42=42;
- public static final int T__43=43;
- public static final int T__40=40;
- public static final int T__41=41;
- public static final int T__44=44;
- public static final int RULE_SL_COMMENT=8;
- public static final int RULE_ML_COMMENT=7;
- public static final int T__30=30;
- public static final int T__31=31;
- public static final int T__32=32;
- public static final int RULE_STRING=6;
- public static final int T__33=33;
- public static final int T__34=34;
- public static final int T__35=35;
- public static final int T__36=36;
- public static final int T__37=37;
- public static final int T__38=38;
- public static final int T__39=39;
- public static final int RULE_WS=10;
-
- // delegates
- // delegators
-
- public InternalUmlParameterLexer() {;}
- public InternalUmlParameterLexer(CharStream input) {
- this(input, new RecognizerSharedState());
- }
- public InternalUmlParameterLexer(CharStream input, RecognizerSharedState state) {
- super(input,state);
-
- }
- public String getGrammarFileName() { return "../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g"; }
-
- // $ANTLR start "T__12"
- public final void mT__12() throws RecognitionException {
- try {
- int _type = T__12;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:11:7: ( ':' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:11:9: ':'
- {
- match(':');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__12"
-
- // $ANTLR start "T__13"
- public final void mT__13() throws RecognitionException {
- try {
- int _type = T__13;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:12:7: ( '<Undefined>' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:12:9: '<Undefined>'
- {
- match("<Undefined>");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__13"
-
- // $ANTLR start "T__14"
- public final void mT__14() throws RecognitionException {
- try {
- int _type = T__14;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:13:7: ( '{' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:13:9: '{'
- {
- match('{');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__14"
-
- // $ANTLR start "T__15"
- public final void mT__15() throws RecognitionException {
- try {
- int _type = T__15;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:14:7: ( ',' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:14:9: ','
- {
- match(',');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__15"
-
- // $ANTLR start "T__16"
- public final void mT__16() throws RecognitionException {
- try {
- int _type = T__16;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:15:7: ( '}' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:15:9: '}'
- {
- match('}');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__16"
-
- // $ANTLR start "T__17"
- public final void mT__17() throws RecognitionException {
- try {
- int _type = T__17;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:16:7: ( 'effect:' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:16:9: 'effect:'
- {
- match("effect:");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__17"
-
- // $ANTLR start "T__18"
- public final void mT__18() throws RecognitionException {
- try {
- int _type = T__18;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:17:7: ( '=' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:17:9: '='
- {
- match('=');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__18"
-
- // $ANTLR start "T__19"
- public final void mT__19() throws RecognitionException {
- try {
- int _type = T__19;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:18:7: ( '.' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:18:9: '.'
- {
- match('.');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__19"
-
- // $ANTLR start "T__20"
- public final void mT__20() throws RecognitionException {
- try {
- int _type = T__20;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:19:7: ( 'null' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:19:9: 'null'
- {
- match("null");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__20"
-
- // $ANTLR start "T__21"
- public final void mT__21() throws RecognitionException {
- try {
- int _type = T__21;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:20:7: ( 'none' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:20:9: 'none'
- {
- match("none");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__21"
-
- // $ANTLR start "T__22"
- public final void mT__22() throws RecognitionException {
- try {
- int _type = T__22;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:21:7: ( '::' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:21:9: '::'
- {
- match("::");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__22"
-
- // $ANTLR start "T__23"
- public final void mT__23() throws RecognitionException {
- try {
- int _type = T__23;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:22:7: ( '[' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:22:9: '['
- {
- match('[');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__23"
-
- // $ANTLR start "T__24"
- public final void mT__24() throws RecognitionException {
- try {
- int _type = T__24;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:23:7: ( '..' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:23:9: '..'
- {
- match("..");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__24"
-
- // $ANTLR start "T__25"
- public final void mT__25() throws RecognitionException {
- try {
- int _type = T__25;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:24:7: ( ']' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:24:9: ']'
- {
- match(']');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__25"
-
- // $ANTLR start "T__26"
- public final void mT__26() throws RecognitionException {
- try {
- int _type = T__26;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:25:7: ( '*' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:25:9: '*'
- {
- match('*');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__26"
-
- // $ANTLR start "T__27"
- public final void mT__27() throws RecognitionException {
- try {
- int _type = T__27;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:26:7: ( 'exception' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:26:9: 'exception'
- {
- match("exception");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__27"
-
- // $ANTLR start "T__28"
- public final void mT__28() throws RecognitionException {
- try {
- int _type = T__28;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:27:7: ( 'stream' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:27:9: 'stream'
- {
- match("stream");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__28"
-
- // $ANTLR start "T__29"
- public final void mT__29() throws RecognitionException {
- try {
- int _type = T__29;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:28:7: ( 'ordered' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:28:9: 'ordered'
- {
- match("ordered");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__29"
-
- // $ANTLR start "T__30"
- public final void mT__30() throws RecognitionException {
- try {
- int _type = T__30;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:29:7: ( 'unique' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:29:9: 'unique'
- {
- match("unique");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__30"
-
- // $ANTLR start "T__31"
- public final void mT__31() throws RecognitionException {
- try {
- int _type = T__31;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:30:7: ( 'create' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:30:9: 'create'
- {
- match("create");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__31"
-
- // $ANTLR start "T__32"
- public final void mT__32() throws RecognitionException {
- try {
- int _type = T__32;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:31:7: ( 'read' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:31:9: 'read'
- {
- match("read");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__32"
-
- // $ANTLR start "T__33"
- public final void mT__33() throws RecognitionException {
- try {
- int _type = T__33;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:32:7: ( 'update' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:32:9: 'update'
- {
- match("update");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__33"
-
- // $ANTLR start "T__34"
- public final void mT__34() throws RecognitionException {
- try {
- int _type = T__34;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:33:7: ( 'delete' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:33:9: 'delete'
- {
- match("delete");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__34"
-
- // $ANTLR start "T__35"
- public final void mT__35() throws RecognitionException {
- try {
- int _type = T__35;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:34:7: ( 'true' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:34:9: 'true'
- {
- match("true");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__35"
-
- // $ANTLR start "T__36"
- public final void mT__36() throws RecognitionException {
- try {
- int _type = T__36;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:35:7: ( 'false' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:35:9: 'false'
- {
- match("false");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__36"
-
- // $ANTLR start "T__37"
- public final void mT__37() throws RecognitionException {
- try {
- int _type = T__37;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:36:7: ( '+' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:36:9: '+'
- {
- match('+');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__37"
-
- // $ANTLR start "T__38"
- public final void mT__38() throws RecognitionException {
- try {
- int _type = T__38;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:37:7: ( '-' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:37:9: '-'
- {
- match('-');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__38"
-
- // $ANTLR start "T__39"
- public final void mT__39() throws RecognitionException {
- try {
- int _type = T__39;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:38:7: ( '#' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:38:9: '#'
- {
- match('#');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__39"
-
- // $ANTLR start "T__40"
- public final void mT__40() throws RecognitionException {
- try {
- int _type = T__40;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:39:7: ( '~' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:39:9: '~'
- {
- match('~');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__40"
-
- // $ANTLR start "T__41"
- public final void mT__41() throws RecognitionException {
- try {
- int _type = T__41;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:40:7: ( 'in' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:40:9: 'in'
- {
- match("in");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__41"
-
- // $ANTLR start "T__42"
- public final void mT__42() throws RecognitionException {
- try {
- int _type = T__42;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:41:7: ( 'out' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:41:9: 'out'
- {
- match("out");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__42"
-
- // $ANTLR start "T__43"
- public final void mT__43() throws RecognitionException {
- try {
- int _type = T__43;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:42:7: ( 'inout' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:42:9: 'inout'
- {
- match("inout");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__43"
-
- // $ANTLR start "T__44"
- public final void mT__44() throws RecognitionException {
- try {
- int _type = T__44;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:43:7: ( 'return' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:43:9: 'return'
- {
- match("return");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "T__44"
-
- // $ANTLR start "RULE_ID"
- public final void mRULE_ID() throws RecognitionException {
- try {
- int _type = RULE_ID;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1298:9: ( ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1298:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1298:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' )
- int alt3=2;
- int LA3_0 = input.LA(1);
-
- if ( ((LA3_0>='A' && LA3_0<='Z')||LA3_0=='_'||(LA3_0>='a' && LA3_0<='z')) ) {
- alt3=1;
- }
- else if ( (LA3_0=='\'') ) {
- alt3=2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 3, 0, input);
-
- throw nvae;
- }
- switch (alt3) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1298:12: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
- {
- if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1298:36: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
- loop1:
- do {
- int alt1=2;
- int LA1_0 = input.LA(1);
-
- if ( ((LA1_0>='0' && LA1_0<='9')||(LA1_0>='A' && LA1_0<='Z')||LA1_0=='_'||(LA1_0>='a' && LA1_0<='z')) ) {
- alt1=1;
- }
-
-
- switch (alt1) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:
- {
- if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
-
- }
- break;
-
- default :
- break loop1;
- }
- } while (true);
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1298:70: '\\'' ( options {greedy=false; } : . )* '\\''
- {
- match('\'');
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1298:75: ( options {greedy=false; } : . )*
- loop2:
- do {
- int alt2=2;
- int LA2_0 = input.LA(1);
-
- if ( (LA2_0=='\'') ) {
- alt2=2;
- }
- else if ( ((LA2_0>='\u0000' && LA2_0<='&')||(LA2_0>='(' && LA2_0<='\uFFFF')) ) {
- alt2=1;
- }
-
-
- switch (alt2) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1298:103: .
- {
- matchAny();
-
- }
- break;
-
- default :
- break loop2;
- }
- } while (true);
-
- match('\'');
-
- }
- break;
-
- }
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_ID"
-
- // $ANTLR start "RULE_STRING"
- public final void mRULE_STRING() throws RecognitionException {
- try {
- int _type = RULE_STRING;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1300:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1300:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
- {
- match('\"');
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1300:19: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
- loop4:
- do {
- int alt4=3;
- int LA4_0 = input.LA(1);
-
- if ( (LA4_0=='\\') ) {
- alt4=1;
- }
- else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) {
- alt4=2;
- }
-
-
- switch (alt4) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1300:20: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
- {
- match('\\');
- if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1300:61: ~ ( ( '\\\\' | '\"' ) )
- {
- if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
-
- }
- break;
-
- default :
- break loop4;
- }
- } while (true);
-
- match('\"');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_STRING"
-
- // $ANTLR start "RULE_ML_COMMENT"
- public final void mRULE_ML_COMMENT() throws RecognitionException {
- try {
- int _type = RULE_ML_COMMENT;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1302:17: ( '/*' ~ ( '@' ) ( options {greedy=false; } : . )* '*/' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1302:19: '/*' ~ ( '@' ) ( options {greedy=false; } : . )* '*/'
- {
- match("/*");
-
- if ( (input.LA(1)>='\u0000' && input.LA(1)<='?')||(input.LA(1)>='A' && input.LA(1)<='\uFFFF') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1302:31: ( options {greedy=false; } : . )*
- loop5:
- do {
- int alt5=2;
- int LA5_0 = input.LA(1);
-
- if ( (LA5_0=='*') ) {
- int LA5_1 = input.LA(2);
-
- if ( (LA5_1=='/') ) {
- alt5=2;
- }
- else if ( ((LA5_1>='\u0000' && LA5_1<='.')||(LA5_1>='0' && LA5_1<='\uFFFF')) ) {
- alt5=1;
- }
-
-
- }
- else if ( ((LA5_0>='\u0000' && LA5_0<=')')||(LA5_0>='+' && LA5_0<='\uFFFF')) ) {
- alt5=1;
- }
-
-
- switch (alt5) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1302:59: .
- {
- matchAny();
-
- }
- break;
-
- default :
- break loop5;
- }
- } while (true);
-
- match("*/");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_ML_COMMENT"
-
- // $ANTLR start "RULE_SL_COMMENT"
- public final void mRULE_SL_COMMENT() throws RecognitionException {
- try {
- int _type = RULE_SL_COMMENT;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1304:17: ( '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )* ( ( '\\r' )? '\\n' )? )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1304:19: '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )* ( ( '\\r' )? '\\n' )?
- {
- match("//");
-
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1304:24: (~ ( ( '\\n' | '\\r' | '@' ) ) )*
- loop6:
- do {
- int alt6=2;
- int LA6_0 = input.LA(1);
-
- if ( ((LA6_0>='\u0000' && LA6_0<='\t')||(LA6_0>='\u000B' && LA6_0<='\f')||(LA6_0>='\u000E' && LA6_0<='?')||(LA6_0>='A' && LA6_0<='\uFFFF')) ) {
- alt6=1;
- }
-
-
- switch (alt6) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1304:24: ~ ( ( '\\n' | '\\r' | '@' ) )
- {
- if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='?')||(input.LA(1)>='A' && input.LA(1)<='\uFFFF') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
-
- }
- break;
-
- default :
- break loop6;
- }
- } while (true);
-
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1304:44: ( ( '\\r' )? '\\n' )?
- int alt8=2;
- int LA8_0 = input.LA(1);
-
- if ( (LA8_0=='\n'||LA8_0=='\r') ) {
- alt8=1;
- }
- switch (alt8) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1304:45: ( '\\r' )? '\\n'
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1304:45: ( '\\r' )?
- int alt7=2;
- int LA7_0 = input.LA(1);
-
- if ( (LA7_0=='\r') ) {
- alt7=1;
- }
- switch (alt7) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1304:45: '\\r'
- {
- match('\r');
-
- }
- break;
-
- }
-
- match('\n');
-
- }
- break;
-
- }
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_SL_COMMENT"
-
- // $ANTLR start "RULE_INT"
- public final void mRULE_INT() throws RecognitionException {
- try {
- int _type = RULE_INT;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1306:10: ( ( '0' .. '9' )+ )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1306:12: ( '0' .. '9' )+
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1306:12: ( '0' .. '9' )+
- int cnt9=0;
- loop9:
- do {
- int alt9=2;
- int LA9_0 = input.LA(1);
-
- if ( ((LA9_0>='0' && LA9_0<='9')) ) {
- alt9=1;
- }
-
-
- switch (alt9) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1306:13: '0' .. '9'
- {
- matchRange('0','9');
-
- }
- break;
-
- default :
- if ( cnt9 >= 1 ) break loop9;
- EarlyExitException eee =
- new EarlyExitException(9, input);
- throw eee;
- }
- cnt9++;
- } while (true);
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_INT"
-
- // $ANTLR start "RULE_INTEGER_VALUE"
- public final void mRULE_INTEGER_VALUE() throws RecognitionException {
- try {
- int _type = RULE_INTEGER_VALUE;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:20: ( ( ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:22: ( ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:22: ( ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* )
- int alt22=4;
- int LA22_0 = input.LA(1);
-
- if ( (LA22_0=='0') ) {
- switch ( input.LA(2) ) {
- case 'B':
- case 'b':
- {
- alt22=2;
- }
- break;
- case 'X':
- case 'x':
- {
- alt22=3;
- }
- break;
- case '0':
- case '1':
- case '2':
- case '3':
- case '4':
- case '5':
- case '6':
- case '7':
- case '_':
- {
- alt22=4;
- }
- break;
- default:
- alt22=1;}
-
- }
- else if ( ((LA22_0>='1' && LA22_0<='9')) ) {
- alt22=1;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 22, 0, input);
-
- throw nvae;
- }
- switch (alt22) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:23: ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:23: ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* )
- int alt12=2;
- int LA12_0 = input.LA(1);
-
- if ( (LA12_0=='0') ) {
- alt12=1;
- }
- else if ( ((LA12_0>='1' && LA12_0<='9')) ) {
- alt12=2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 12, 0, input);
-
- throw nvae;
- }
- switch (alt12) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:24: '0'
- {
- match('0');
-
- }
- break;
- case 2 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:28: '1' .. '9' ( ( '_' )? '0' .. '9' )*
- {
- matchRange('1','9');
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:37: ( ( '_' )? '0' .. '9' )*
- loop11:
- do {
- int alt11=2;
- int LA11_0 = input.LA(1);
-
- if ( ((LA11_0>='0' && LA11_0<='9')||LA11_0=='_') ) {
- alt11=1;
- }
-
-
- switch (alt11) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:38: ( '_' )? '0' .. '9'
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:38: ( '_' )?
- int alt10=2;
- int LA10_0 = input.LA(1);
-
- if ( (LA10_0=='_') ) {
- alt10=1;
- }
- switch (alt10) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:38: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0','9');
-
- }
- break;
-
- default :
- break loop11;
- }
- } while (true);
-
-
- }
- break;
-
- }
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:55: ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )*
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:55: ( '0b' | '0B' )
- int alt13=2;
- int LA13_0 = input.LA(1);
-
- if ( (LA13_0=='0') ) {
- int LA13_1 = input.LA(2);
-
- if ( (LA13_1=='b') ) {
- alt13=1;
- }
- else if ( (LA13_1=='B') ) {
- alt13=2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 13, 1, input);
-
- throw nvae;
- }
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 13, 0, input);
-
- throw nvae;
- }
- switch (alt13) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:56: '0b'
- {
- match("0b");
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:61: '0B'
- {
- match("0B");
-
-
- }
- break;
-
- }
-
- matchRange('0','1');
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:76: ( ( '_' )? '0' .. '1' )*
- loop15:
- do {
- int alt15=2;
- int LA15_0 = input.LA(1);
-
- if ( ((LA15_0>='0' && LA15_0<='1')||LA15_0=='_') ) {
- alt15=1;
- }
-
-
- switch (alt15) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:77: ( '_' )? '0' .. '1'
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:77: ( '_' )?
- int alt14=2;
- int LA14_0 = input.LA(1);
-
- if ( (LA14_0=='_') ) {
- alt14=1;
- }
- switch (alt14) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:77: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0','1');
-
- }
- break;
-
- default :
- break loop15;
- }
- } while (true);
-
-
- }
- break;
- case 3 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:93: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )*
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:93: ( '0x' | '0X' )
- int alt16=2;
- int LA16_0 = input.LA(1);
-
- if ( (LA16_0=='0') ) {
- int LA16_1 = input.LA(2);
-
- if ( (LA16_1=='x') ) {
- alt16=1;
- }
- else if ( (LA16_1=='X') ) {
- alt16=2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 16, 1, input);
-
- throw nvae;
- }
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 16, 0, input);
-
- throw nvae;
- }
- switch (alt16) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:94: '0x'
- {
- match("0x");
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:99: '0X'
- {
- match("0X");
-
-
- }
- break;
-
- }
-
- if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='F')||(input.LA(1)>='a' && input.LA(1)<='f') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:134: ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )*
- loop18:
- do {
- int alt18=2;
- int LA18_0 = input.LA(1);
-
- if ( ((LA18_0>='0' && LA18_0<='9')||(LA18_0>='A' && LA18_0<='F')||LA18_0=='_'||(LA18_0>='a' && LA18_0<='f')) ) {
- alt18=1;
- }
-
-
- switch (alt18) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:135: ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:135: ( '_' )?
- int alt17=2;
- int LA17_0 = input.LA(1);
-
- if ( (LA17_0=='_') ) {
- alt17=1;
- }
- switch (alt17) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:135: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='F')||(input.LA(1)>='a' && input.LA(1)<='f') ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
-
- }
- break;
-
- default :
- break loop18;
- }
- } while (true);
-
-
- }
- break;
- case 4 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:171: '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )*
- {
- match('0');
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:175: ( '_' )?
- int alt19=2;
- int LA19_0 = input.LA(1);
-
- if ( (LA19_0=='_') ) {
- alt19=1;
- }
- switch (alt19) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:175: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0','7');
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:189: ( ( '_' )? '0' .. '7' )*
- loop21:
- do {
- int alt21=2;
- int LA21_0 = input.LA(1);
-
- if ( ((LA21_0>='0' && LA21_0<='7')||LA21_0=='_') ) {
- alt21=1;
- }
-
-
- switch (alt21) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:190: ( '_' )? '0' .. '7'
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:190: ( '_' )?
- int alt20=2;
- int LA20_0 = input.LA(1);
-
- if ( (LA20_0=='_') ) {
- alt20=1;
- }
- switch (alt20) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1308:190: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0','7');
-
- }
- break;
-
- default :
- break loop21;
- }
- } while (true);
-
-
- }
- break;
-
- }
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_INTEGER_VALUE"
-
- // $ANTLR start "RULE_WS"
- public final void mRULE_WS() throws RecognitionException {
- try {
- int _type = RULE_WS;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1310:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1310:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1310:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
- int cnt23=0;
- loop23:
- do {
- int alt23=2;
- int LA23_0 = input.LA(1);
-
- if ( ((LA23_0>='\t' && LA23_0<='\n')||LA23_0=='\r'||LA23_0==' ') ) {
- alt23=1;
- }
-
-
- switch (alt23) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:
- {
- if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null,input);
- recover(mse);
- throw mse;}
-
-
- }
- break;
-
- default :
- if ( cnt23 >= 1 ) break loop23;
- EarlyExitException eee =
- new EarlyExitException(23, input);
- throw eee;
- }
- cnt23++;
- } while (true);
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_WS"
-
- // $ANTLR start "RULE_ANY_OTHER"
- public final void mRULE_ANY_OTHER() throws RecognitionException {
- try {
- int _type = RULE_ANY_OTHER;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1312:16: ( . )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1312:18: .
- {
- matchAny();
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "RULE_ANY_OTHER"
-
- public void mTokens() throws RecognitionException {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_INT | RULE_INTEGER_VALUE | RULE_WS | RULE_ANY_OTHER )
- int alt24=41;
- alt24 = dfa24.predict(input);
- switch (alt24) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:10: T__12
- {
- mT__12();
-
- }
- break;
- case 2 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:16: T__13
- {
- mT__13();
-
- }
- break;
- case 3 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:22: T__14
- {
- mT__14();
-
- }
- break;
- case 4 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:28: T__15
- {
- mT__15();
-
- }
- break;
- case 5 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:34: T__16
- {
- mT__16();
-
- }
- break;
- case 6 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:40: T__17
- {
- mT__17();
-
- }
- break;
- case 7 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:46: T__18
- {
- mT__18();
-
- }
- break;
- case 8 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:52: T__19
- {
- mT__19();
-
- }
- break;
- case 9 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:58: T__20
- {
- mT__20();
-
- }
- break;
- case 10 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:64: T__21
- {
- mT__21();
-
- }
- break;
- case 11 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:70: T__22
- {
- mT__22();
-
- }
- break;
- case 12 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:76: T__23
- {
- mT__23();
-
- }
- break;
- case 13 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:82: T__24
- {
- mT__24();
-
- }
- break;
- case 14 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:88: T__25
- {
- mT__25();
-
- }
- break;
- case 15 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:94: T__26
- {
- mT__26();
-
- }
- break;
- case 16 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:100: T__27
- {
- mT__27();
-
- }
- break;
- case 17 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:106: T__28
- {
- mT__28();
-
- }
- break;
- case 18 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:112: T__29
- {
- mT__29();
-
- }
- break;
- case 19 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:118: T__30
- {
- mT__30();
-
- }
- break;
- case 20 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:124: T__31
- {
- mT__31();
-
- }
- break;
- case 21 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:130: T__32
- {
- mT__32();
-
- }
- break;
- case 22 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:136: T__33
- {
- mT__33();
-
- }
- break;
- case 23 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:142: T__34
- {
- mT__34();
-
- }
- break;
- case 24 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:148: T__35
- {
- mT__35();
-
- }
- break;
- case 25 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:154: T__36
- {
- mT__36();
-
- }
- break;
- case 26 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:160: T__37
- {
- mT__37();
-
- }
- break;
- case 27 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:166: T__38
- {
- mT__38();
-
- }
- break;
- case 28 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:172: T__39
- {
- mT__39();
-
- }
- break;
- case 29 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:178: T__40
- {
- mT__40();
-
- }
- break;
- case 30 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:184: T__41
- {
- mT__41();
-
- }
- break;
- case 31 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:190: T__42
- {
- mT__42();
-
- }
- break;
- case 32 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:196: T__43
- {
- mT__43();
-
- }
- break;
- case 33 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:202: T__44
- {
- mT__44();
-
- }
- break;
- case 34 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:208: RULE_ID
- {
- mRULE_ID();
-
- }
- break;
- case 35 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:216: RULE_STRING
- {
- mRULE_STRING();
-
- }
- break;
- case 36 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:228: RULE_ML_COMMENT
- {
- mRULE_ML_COMMENT();
-
- }
- break;
- case 37 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:244: RULE_SL_COMMENT
- {
- mRULE_SL_COMMENT();
-
- }
- break;
- case 38 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:260: RULE_INT
- {
- mRULE_INT();
-
- }
- break;
- case 39 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:269: RULE_INTEGER_VALUE
- {
- mRULE_INTEGER_VALUE();
-
- }
- break;
- case 40 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:288: RULE_WS
- {
- mRULE_WS();
-
- }
- break;
- case 41 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1:296: RULE_ANY_OTHER
- {
- mRULE_ANY_OTHER();
-
- }
- break;
-
- }
-
- }
-
-
- protected DFA24 dfa24 = new DFA24(this);
- static final String DFA24_eotS =
- "\1\uffff\1\43\1\41\3\uffff\1\52\1\uffff\1\55\1\52\3\uffff\10\52"+
- "\4\uffff\1\52\1\uffff\3\41\2\107\10\uffff\2\52\4\uffff\2\52\3\uffff"+
- "\12\52\4\uffff\1\132\4\uffff\1\107\1\uffff\1\107\1\uffff\6\52\1"+
- "\142\11\52\1\uffff\1\107\2\52\1\156\1\157\2\52\1\uffff\3\52\1\165"+
- "\2\52\1\170\4\52\2\uffff\5\52\1\uffff\2\52\1\uffff\1\u0084\1\u0085"+
- "\2\52\1\u0088\1\52\1\u008a\1\u008b\1\u008c\1\u008d\1\u008e\3\uffff"+
- "\1\52\1\uffff\1\u0090\5\uffff\1\52\1\uffff\1\u0092\1\uffff";
- static final String DFA24_eofS =
- "\u0093\uffff";
- static final String DFA24_minS =
- "\1\0\1\72\1\125\3\uffff\1\146\1\uffff\1\56\1\157\3\uffff\1\164"+
- "\1\162\1\156\1\162\2\145\1\162\1\141\4\uffff\1\156\1\uffff\2\0\1"+
- "\52\2\60\10\uffff\1\146\1\143\4\uffff\1\154\1\156\3\uffff\1\162"+
- "\1\144\1\164\1\151\1\144\1\145\1\141\1\154\1\165\1\154\4\uffff\1"+
- "\60\4\uffff\1\60\1\uffff\1\60\1\uffff\2\145\1\154\3\145\1\60\1\161"+
- "\2\141\1\144\1\165\2\145\1\163\1\165\1\uffff\1\60\1\143\1\160\2"+
- "\60\1\141\1\162\1\uffff\1\165\2\164\1\60\1\162\1\164\1\60\1\145"+
- "\3\164\2\uffff\1\155\4\145\1\uffff\1\156\1\145\1\uffff\2\60\1\72"+
- "\1\151\1\60\1\144\5\60\3\uffff\1\157\1\uffff\1\60\5\uffff\1\156"+
- "\1\uffff\1\60\1\uffff";
- static final String DFA24_maxS =
- "\1\uffff\1\72\1\125\3\uffff\1\170\1\uffff\1\56\1\165\3\uffff\1"+
- "\164\1\165\1\160\1\162\2\145\1\162\1\141\4\uffff\1\156\1\uffff\2"+
- "\uffff\1\57\1\170\1\137\10\uffff\1\146\1\143\4\uffff\1\154\1\156"+
- "\3\uffff\1\162\1\144\1\164\1\151\1\144\1\145\1\164\1\154\1\165\1"+
- "\154\4\uffff\1\172\4\uffff\1\137\1\uffff\1\137\1\uffff\2\145\1\154"+
- "\3\145\1\172\1\161\2\141\1\144\1\165\2\145\1\163\1\165\1\uffff\1"+
- "\137\1\143\1\160\2\172\1\141\1\162\1\uffff\1\165\2\164\1\172\1\162"+
- "\1\164\1\172\1\145\3\164\2\uffff\1\155\4\145\1\uffff\1\156\1\145"+
- "\1\uffff\2\172\1\72\1\151\1\172\1\144\5\172\3\uffff\1\157\1\uffff"+
- "\1\172\5\uffff\1\156\1\uffff\1\172\1\uffff";
- static final String DFA24_acceptS =
- "\3\uffff\1\3\1\4\1\5\1\uffff\1\7\2\uffff\1\14\1\16\1\17\10\uffff"+
- "\1\32\1\33\1\34\1\35\1\uffff\1\42\5\uffff\1\50\1\51\1\13\1\1\1\2"+
- "\1\3\1\4\1\5\2\uffff\1\42\1\7\1\15\1\10\2\uffff\1\14\1\16\1\17\12"+
- "\uffff\1\32\1\33\1\34\1\35\1\uffff\1\43\1\44\1\45\1\47\1\uffff\1"+
- "\46\1\uffff\1\50\20\uffff\1\36\7\uffff\1\37\13\uffff\1\11\1\12\5"+
- "\uffff\1\25\2\uffff\1\30\13\uffff\1\31\1\40\1\6\1\uffff\1\21\1\uffff"+
- "\1\23\1\26\1\24\1\41\1\27\1\uffff\1\22\1\uffff\1\20";
- static final String DFA24_specialS =
- "\1\2\32\uffff\1\0\1\1\166\uffff}>";
- static final String[] DFA24_transitionS = {
- "\11\41\2\40\2\41\1\40\22\41\1\40\1\41\1\34\1\27\3\41\1\33\2"+
- "\41\1\14\1\25\1\4\1\26\1\10\1\35\1\36\11\37\1\1\1\41\1\2\1\7"+
- "\3\41\32\32\1\12\1\41\1\13\1\41\1\32\1\41\2\32\1\20\1\22\1\6"+
- "\1\24\2\32\1\31\4\32\1\11\1\16\2\32\1\21\1\15\1\23\1\17\5\32"+
- "\1\3\1\41\1\5\1\30\uff81\41",
- "\1\42",
- "\1\44",
- "",
- "",
- "",
- "\1\50\21\uffff\1\51",
- "",
- "\1\54",
- "\1\57\5\uffff\1\56",
- "",
- "",
- "",
- "\1\63",
- "\1\64\2\uffff\1\65",
- "\1\66\1\uffff\1\67",
- "\1\70",
- "\1\71",
- "\1\72",
- "\1\73",
- "\1\74",
- "",
- "",
- "",
- "",
- "\1\101",
- "",
- "\0\52",
- "\0\102",
- "\1\103\4\uffff\1\104",
- "\10\106\12\uffff\1\105\25\uffff\1\105\6\uffff\1\105\2\uffff"+
- "\1\105\25\uffff\1\105",
- "\12\110\45\uffff\1\105",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "\1\112",
- "\1\113",
- "",
- "",
- "",
- "",
- "\1\114",
- "\1\115",
- "",
- "",
- "",
- "\1\116",
- "\1\117",
- "\1\120",
- "\1\121",
- "\1\122",
- "\1\123",
- "\1\124\22\uffff\1\125",
- "\1\126",
- "\1\127",
- "\1\130",
- "",
- "",
- "",
- "",
- "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\16\52\1\131\13\52",
- "",
- "",
- "",
- "",
- "\10\133\47\uffff\1\105",
- "",
- "\12\110\45\uffff\1\105",
- "",
- "\1\134",
- "\1\135",
- "\1\136",
- "\1\137",
- "\1\140",
- "\1\141",
- "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
- "\1\143",
- "\1\144",
- "\1\145",
- "\1\146",
- "\1\147",
- "\1\150",
- "\1\151",
- "\1\152",
- "\1\153",
- "",
- "\10\133\47\uffff\1\105",
- "\1\154",
- "\1\155",
- "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
- "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
- "\1\160",
- "\1\161",
- "",
- "\1\162",
- "\1\163",
- "\1\164",
- "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
- "\1\166",
- "\1\167",
- "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
- "\1\171",
- "\1\172",
- "\1\173",
- "\1\174",
- "",
- "",
- "\1\175",
- "\1\176",
- "\1\177",
- "\1\u0080",
- "\1\u0081",
- "",
- "\1\u0082",
- "\1\u0083",
- "",
- "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
- "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
- "\1\u0086",
- "\1\u0087",
- "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
- "\1\u0089",
- "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
- "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
- "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
- "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
- "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
- "",
- "",
- "",
- "\1\u008f",
- "",
- "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
- "",
- "",
- "",
- "",
- "",
- "\1\u0091",
- "",
- "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
- ""
- };
-
- static final short[] DFA24_eot = DFA.unpackEncodedString(DFA24_eotS);
- static final short[] DFA24_eof = DFA.unpackEncodedString(DFA24_eofS);
- static final char[] DFA24_min = DFA.unpackEncodedStringToUnsignedChars(DFA24_minS);
- static final char[] DFA24_max = DFA.unpackEncodedStringToUnsignedChars(DFA24_maxS);
- static final short[] DFA24_accept = DFA.unpackEncodedString(DFA24_acceptS);
- static final short[] DFA24_special = DFA.unpackEncodedString(DFA24_specialS);
- static final short[][] DFA24_transition;
-
- static {
- int numStates = DFA24_transitionS.length;
- DFA24_transition = new short[numStates][];
- for (int i=0; i<numStates; i++) {
- DFA24_transition[i] = DFA.unpackEncodedString(DFA24_transitionS[i]);
- }
- }
-
- class DFA24 extends DFA {
-
- public DFA24(BaseRecognizer recognizer) {
- this.recognizer = recognizer;
- this.decisionNumber = 24;
- this.eot = DFA24_eot;
- this.eof = DFA24_eof;
- this.min = DFA24_min;
- this.max = DFA24_max;
- this.accept = DFA24_accept;
- this.special = DFA24_special;
- this.transition = DFA24_transition;
- }
- public String getDescription() {
- return "1:1: Tokens : ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_INT | RULE_INTEGER_VALUE | RULE_WS | RULE_ANY_OTHER );";
- }
- public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
- IntStream input = _input;
- int _s = s;
- switch ( s ) {
- case 0 :
- int LA24_27 = input.LA(1);
-
- s = -1;
- if ( ((LA24_27>='\u0000' && LA24_27<='\uFFFF')) ) {s = 42;}
-
- else s = 33;
-
- if ( s>=0 ) return s;
- break;
- case 1 :
- int LA24_28 = input.LA(1);
-
- s = -1;
- if ( ((LA24_28>='\u0000' && LA24_28<='\uFFFF')) ) {s = 66;}
-
- else s = 33;
-
- if ( s>=0 ) return s;
- break;
- case 2 :
- int LA24_0 = input.LA(1);
-
- s = -1;
- if ( (LA24_0==':') ) {s = 1;}
-
- else if ( (LA24_0=='<') ) {s = 2;}
-
- else if ( (LA24_0=='{') ) {s = 3;}
-
- else if ( (LA24_0==',') ) {s = 4;}
-
- else if ( (LA24_0=='}') ) {s = 5;}
-
- else if ( (LA24_0=='e') ) {s = 6;}
-
- else if ( (LA24_0=='=') ) {s = 7;}
-
- else if ( (LA24_0=='.') ) {s = 8;}
-
- else if ( (LA24_0=='n') ) {s = 9;}
-
- else if ( (LA24_0=='[') ) {s = 10;}
-
- else if ( (LA24_0==']') ) {s = 11;}
-
- else if ( (LA24_0=='*') ) {s = 12;}
-
- else if ( (LA24_0=='s') ) {s = 13;}
-
- else if ( (LA24_0=='o') ) {s = 14;}
-
- else if ( (LA24_0=='u') ) {s = 15;}
-
- else if ( (LA24_0=='c') ) {s = 16;}
-
- else if ( (LA24_0=='r') ) {s = 17;}
-
- else if ( (LA24_0=='d') ) {s = 18;}
-
- else if ( (LA24_0=='t') ) {s = 19;}
-
- else if ( (LA24_0=='f') ) {s = 20;}
-
- else if ( (LA24_0=='+') ) {s = 21;}
-
- else if ( (LA24_0=='-') ) {s = 22;}
-
- else if ( (LA24_0=='#') ) {s = 23;}
-
- else if ( (LA24_0=='~') ) {s = 24;}
-
- else if ( (LA24_0=='i') ) {s = 25;}
-
- else if ( ((LA24_0>='A' && LA24_0<='Z')||LA24_0=='_'||(LA24_0>='a' && LA24_0<='b')||(LA24_0>='g' && LA24_0<='h')||(LA24_0>='j' && LA24_0<='m')||(LA24_0>='p' && LA24_0<='q')||(LA24_0>='v' && LA24_0<='z')) ) {s = 26;}
-
- else if ( (LA24_0=='\'') ) {s = 27;}
+ public static final int T__19 = 19;
+ public static final int T__15 = 15;
+ public static final int T__16 = 16;
+ public static final int T__17 = 17;
+ public static final int T__18 = 18;
+ public static final int T__12 = 12;
+ public static final int T__13 = 13;
+ public static final int T__14 = 14;
+ public static final int RULE_ID = 4;
+ public static final int T__26 = 26;
+ public static final int T__27 = 27;
+ public static final int T__28 = 28;
+ public static final int RULE_INT = 5;
+ public static final int T__29 = 29;
+ public static final int T__22 = 22;
+ public static final int RULE_ML_COMMENT = 7;
+ public static final int T__23 = 23;
+ public static final int T__24 = 24;
+ public static final int T__25 = 25;
+ public static final int T__20 = 20;
+ public static final int T__21 = 21;
+ public static final int RULE_STRING = 6;
+ public static final int RULE_SL_COMMENT = 8;
+ public static final int T__37 = 37;
+ public static final int T__38 = 38;
+ public static final int T__39 = 39;
+ public static final int T__33 = 33;
+ public static final int T__34 = 34;
+ public static final int T__35 = 35;
+ public static final int T__36 = 36;
+ public static final int EOF = -1;
+ public static final int T__30 = 30;
+ public static final int T__31 = 31;
+ public static final int T__32 = 32;
+ public static final int RULE_WS = 10;
+ public static final int RULE_ANY_OTHER = 11;
+ public static final int T__44 = 44;
+ public static final int RULE_INTEGER_VALUE = 9;
+ public static final int T__40 = 40;
+ public static final int T__41 = 41;
+ public static final int T__42 = 42;
+ public static final int T__43 = 43;
+
+ // delegates
+ // delegators
+
+ public InternalUmlParameterLexer() {
+ ;
+ }
+
+ public InternalUmlParameterLexer(CharStream input) {
+ this(input, new RecognizerSharedState());
+ }
+
+ public InternalUmlParameterLexer(CharStream input, RecognizerSharedState state) {
+ super(input, state);
+
+ }
+
+ public String getGrammarFileName() {
+ return "InternalUmlParameter.g";
+ }
+
+ // $ANTLR start "T__12"
+ public final void mT__12() throws RecognitionException {
+ try {
+ int _type = T__12;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:11:7: ( ':' )
+ // InternalUmlParameter.g:11:9: ':'
+ {
+ match(':');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__12"
+
+ // $ANTLR start "T__13"
+ public final void mT__13() throws RecognitionException {
+ try {
+ int _type = T__13;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:12:7: ( '<Undefined>' )
+ // InternalUmlParameter.g:12:9: '<Undefined>'
+ {
+ match("<Undefined>");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__13"
+
+ // $ANTLR start "T__14"
+ public final void mT__14() throws RecognitionException {
+ try {
+ int _type = T__14;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:13:7: ( '{' )
+ // InternalUmlParameter.g:13:9: '{'
+ {
+ match('{');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__14"
+
+ // $ANTLR start "T__15"
+ public final void mT__15() throws RecognitionException {
+ try {
+ int _type = T__15;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:14:7: ( ',' )
+ // InternalUmlParameter.g:14:9: ','
+ {
+ match(',');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__15"
+
+ // $ANTLR start "T__16"
+ public final void mT__16() throws RecognitionException {
+ try {
+ int _type = T__16;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:15:7: ( '}' )
+ // InternalUmlParameter.g:15:9: '}'
+ {
+ match('}');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__16"
+
+ // $ANTLR start "T__17"
+ public final void mT__17() throws RecognitionException {
+ try {
+ int _type = T__17;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:16:7: ( 'effect:' )
+ // InternalUmlParameter.g:16:9: 'effect:'
+ {
+ match("effect:");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__17"
+
+ // $ANTLR start "T__18"
+ public final void mT__18() throws RecognitionException {
+ try {
+ int _type = T__18;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:17:7: ( '=' )
+ // InternalUmlParameter.g:17:9: '='
+ {
+ match('=');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__18"
+
+ // $ANTLR start "T__19"
+ public final void mT__19() throws RecognitionException {
+ try {
+ int _type = T__19;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:18:7: ( '.' )
+ // InternalUmlParameter.g:18:9: '.'
+ {
+ match('.');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__19"
+
+ // $ANTLR start "T__20"
+ public final void mT__20() throws RecognitionException {
+ try {
+ int _type = T__20;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:19:7: ( 'null' )
+ // InternalUmlParameter.g:19:9: 'null'
+ {
+ match("null");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__20"
+
+ // $ANTLR start "T__21"
+ public final void mT__21() throws RecognitionException {
+ try {
+ int _type = T__21;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:20:7: ( 'none' )
+ // InternalUmlParameter.g:20:9: 'none'
+ {
+ match("none");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__21"
+
+ // $ANTLR start "T__22"
+ public final void mT__22() throws RecognitionException {
+ try {
+ int _type = T__22;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:21:7: ( '::' )
+ // InternalUmlParameter.g:21:9: '::'
+ {
+ match("::");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__22"
+
+ // $ANTLR start "T__23"
+ public final void mT__23() throws RecognitionException {
+ try {
+ int _type = T__23;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:22:7: ( '[' )
+ // InternalUmlParameter.g:22:9: '['
+ {
+ match('[');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__23"
+
+ // $ANTLR start "T__24"
+ public final void mT__24() throws RecognitionException {
+ try {
+ int _type = T__24;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:23:7: ( '..' )
+ // InternalUmlParameter.g:23:9: '..'
+ {
+ match("..");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__24"
+
+ // $ANTLR start "T__25"
+ public final void mT__25() throws RecognitionException {
+ try {
+ int _type = T__25;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:24:7: ( ']' )
+ // InternalUmlParameter.g:24:9: ']'
+ {
+ match(']');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__25"
+
+ // $ANTLR start "T__26"
+ public final void mT__26() throws RecognitionException {
+ try {
+ int _type = T__26;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:25:7: ( '*' )
+ // InternalUmlParameter.g:25:9: '*'
+ {
+ match('*');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__26"
+
+ // $ANTLR start "T__27"
+ public final void mT__27() throws RecognitionException {
+ try {
+ int _type = T__27;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:26:7: ( 'exception' )
+ // InternalUmlParameter.g:26:9: 'exception'
+ {
+ match("exception");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__27"
+
+ // $ANTLR start "T__28"
+ public final void mT__28() throws RecognitionException {
+ try {
+ int _type = T__28;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:27:7: ( 'stream' )
+ // InternalUmlParameter.g:27:9: 'stream'
+ {
+ match("stream");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__28"
+
+ // $ANTLR start "T__29"
+ public final void mT__29() throws RecognitionException {
+ try {
+ int _type = T__29;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:28:7: ( 'ordered' )
+ // InternalUmlParameter.g:28:9: 'ordered'
+ {
+ match("ordered");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__29"
+
+ // $ANTLR start "T__30"
+ public final void mT__30() throws RecognitionException {
+ try {
+ int _type = T__30;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:29:7: ( 'unique' )
+ // InternalUmlParameter.g:29:9: 'unique'
+ {
+ match("unique");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__30"
+
+ // $ANTLR start "T__31"
+ public final void mT__31() throws RecognitionException {
+ try {
+ int _type = T__31;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:30:7: ( 'create' )
+ // InternalUmlParameter.g:30:9: 'create'
+ {
+ match("create");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__31"
+
+ // $ANTLR start "T__32"
+ public final void mT__32() throws RecognitionException {
+ try {
+ int _type = T__32;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:31:7: ( 'read' )
+ // InternalUmlParameter.g:31:9: 'read'
+ {
+ match("read");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__32"
+
+ // $ANTLR start "T__33"
+ public final void mT__33() throws RecognitionException {
+ try {
+ int _type = T__33;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:32:7: ( 'update' )
+ // InternalUmlParameter.g:32:9: 'update'
+ {
+ match("update");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__33"
+
+ // $ANTLR start "T__34"
+ public final void mT__34() throws RecognitionException {
+ try {
+ int _type = T__34;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:33:7: ( 'delete' )
+ // InternalUmlParameter.g:33:9: 'delete'
+ {
+ match("delete");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__34"
+
+ // $ANTLR start "T__35"
+ public final void mT__35() throws RecognitionException {
+ try {
+ int _type = T__35;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:34:7: ( 'true' )
+ // InternalUmlParameter.g:34:9: 'true'
+ {
+ match("true");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__35"
+
+ // $ANTLR start "T__36"
+ public final void mT__36() throws RecognitionException {
+ try {
+ int _type = T__36;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:35:7: ( 'false' )
+ // InternalUmlParameter.g:35:9: 'false'
+ {
+ match("false");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__36"
+
+ // $ANTLR start "T__37"
+ public final void mT__37() throws RecognitionException {
+ try {
+ int _type = T__37;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:36:7: ( '+' )
+ // InternalUmlParameter.g:36:9: '+'
+ {
+ match('+');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__37"
+
+ // $ANTLR start "T__38"
+ public final void mT__38() throws RecognitionException {
+ try {
+ int _type = T__38;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:37:7: ( '-' )
+ // InternalUmlParameter.g:37:9: '-'
+ {
+ match('-');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__38"
+
+ // $ANTLR start "T__39"
+ public final void mT__39() throws RecognitionException {
+ try {
+ int _type = T__39;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:38:7: ( '#' )
+ // InternalUmlParameter.g:38:9: '#'
+ {
+ match('#');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__39"
+
+ // $ANTLR start "T__40"
+ public final void mT__40() throws RecognitionException {
+ try {
+ int _type = T__40;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:39:7: ( '~' )
+ // InternalUmlParameter.g:39:9: '~'
+ {
+ match('~');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__40"
+
+ // $ANTLR start "T__41"
+ public final void mT__41() throws RecognitionException {
+ try {
+ int _type = T__41;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:40:7: ( 'in' )
+ // InternalUmlParameter.g:40:9: 'in'
+ {
+ match("in");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__41"
+
+ // $ANTLR start "T__42"
+ public final void mT__42() throws RecognitionException {
+ try {
+ int _type = T__42;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:41:7: ( 'out' )
+ // InternalUmlParameter.g:41:9: 'out'
+ {
+ match("out");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__42"
+
+ // $ANTLR start "T__43"
+ public final void mT__43() throws RecognitionException {
+ try {
+ int _type = T__43;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:42:7: ( 'inout' )
+ // InternalUmlParameter.g:42:9: 'inout'
+ {
+ match("inout");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__43"
+
+ // $ANTLR start "T__44"
+ public final void mT__44() throws RecognitionException {
+ try {
+ int _type = T__44;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:43:7: ( 'return' )
+ // InternalUmlParameter.g:43:9: 'return'
+ {
+ match("return");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "T__44"
+
+ // $ANTLR start "RULE_ID"
+ public final void mRULE_ID() throws RecognitionException {
+ try {
+ int _type = RULE_ID;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:1298:9: ( ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' ) )
+ // InternalUmlParameter.g:1298:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' )
+ {
+ // InternalUmlParameter.g:1298:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' )
+ int alt3 = 2;
+ int LA3_0 = input.LA(1);
+
+ if (((LA3_0 >= 'A' && LA3_0 <= 'Z') || LA3_0 == '_' || (LA3_0 >= 'a' && LA3_0 <= 'z'))) {
+ alt3 = 1;
+ } else if ((LA3_0 == '\'')) {
+ alt3 = 2;
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 3, 0, input);
+
+ throw nvae;
+ }
+ switch (alt3) {
+ case 1:
+ // InternalUmlParameter.g:1298:12: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ {
+ if ((input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) {
+ input.consume();
+
+ } else {
+ MismatchedSetException mse = new MismatchedSetException(null, input);
+ recover(mse);
+ throw mse;
+ }
+
+ // InternalUmlParameter.g:1298:36: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ loop1: do {
+ int alt1 = 2;
+ int LA1_0 = input.LA(1);
+
+ if (((LA1_0 >= '0' && LA1_0 <= '9') || (LA1_0 >= 'A' && LA1_0 <= 'Z') || LA1_0 == '_' || (LA1_0 >= 'a' && LA1_0 <= 'z'))) {
+ alt1 = 1;
+ }
+
+
+ switch (alt1) {
+ case 1:
+ // InternalUmlParameter.g:
+ {
+ if ((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) {
+ input.consume();
+
+ } else {
+ MismatchedSetException mse = new MismatchedSetException(null, input);
+ recover(mse);
+ throw mse;
+ }
+
+
+ }
+ break;
+
+ default:
+ break loop1;
+ }
+ } while (true);
+
+
+ }
+ break;
+ case 2:
+ // InternalUmlParameter.g:1298:70: '\\'' ( options {greedy=false; } : . )* '\\''
+ {
+ match('\'');
+ // InternalUmlParameter.g:1298:75: ( options {greedy=false; } : . )*
+ loop2: do {
+ int alt2 = 2;
+ int LA2_0 = input.LA(1);
+
+ if ((LA2_0 == '\'')) {
+ alt2 = 2;
+ } else if (((LA2_0 >= '\u0000' && LA2_0 <= '&') || (LA2_0 >= '(' && LA2_0 <= '\uFFFF'))) {
+ alt2 = 1;
+ }
+
+
+ switch (alt2) {
+ case 1:
+ // InternalUmlParameter.g:1298:103: .
+ {
+ matchAny();
+
+ }
+ break;
+
+ default:
+ break loop2;
+ }
+ } while (true);
+
+ match('\'');
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "RULE_ID"
+
+ // $ANTLR start "RULE_STRING"
+ public final void mRULE_STRING() throws RecognitionException {
+ try {
+ int _type = RULE_STRING;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:1300:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' )
+ // InternalUmlParameter.g:1300:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
+ {
+ match('\"');
+ // InternalUmlParameter.g:1300:19: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
+ loop4: do {
+ int alt4 = 3;
+ int LA4_0 = input.LA(1);
+
+ if ((LA4_0 == '\\')) {
+ alt4 = 1;
+ } else if (((LA4_0 >= '\u0000' && LA4_0 <= '!') || (LA4_0 >= '#' && LA4_0 <= '[') || (LA4_0 >= ']' && LA4_0 <= '\uFFFF'))) {
+ alt4 = 2;
+ }
+
+
+ switch (alt4) {
+ case 1:
+ // InternalUmlParameter.g:1300:20: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
+ {
+ match('\\');
+ if (input.LA(1) == '\"' || input.LA(1) == '\'' || input.LA(1) == '\\' || input.LA(1) == 'b' || input.LA(1) == 'f' || input.LA(1) == 'n' || input.LA(1) == 'r' || input.LA(1) == 't') {
+ input.consume();
+
+ } else {
+ MismatchedSetException mse = new MismatchedSetException(null, input);
+ recover(mse);
+ throw mse;
+ }
+
+
+ }
+ break;
+ case 2:
+ // InternalUmlParameter.g:1300:61: ~ ( ( '\\\\' | '\"' ) )
+ {
+ if ((input.LA(1) >= '\u0000' && input.LA(1) <= '!') || (input.LA(1) >= '#' && input.LA(1) <= '[') || (input.LA(1) >= ']' && input.LA(1) <= '\uFFFF')) {
+ input.consume();
+
+ } else {
+ MismatchedSetException mse = new MismatchedSetException(null, input);
+ recover(mse);
+ throw mse;
+ }
+
+
+ }
+ break;
+
+ default:
+ break loop4;
+ }
+ } while (true);
+
+ match('\"');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "RULE_STRING"
+
+ // $ANTLR start "RULE_ML_COMMENT"
+ public final void mRULE_ML_COMMENT() throws RecognitionException {
+ try {
+ int _type = RULE_ML_COMMENT;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:1302:17: ( '/*' ~ ( '@' ) ( options {greedy=false; } : . )* '*/' )
+ // InternalUmlParameter.g:1302:19: '/*' ~ ( '@' ) ( options {greedy=false; } : . )* '*/'
+ {
+ match("/*");
+
+ if ((input.LA(1) >= '\u0000' && input.LA(1) <= '?') || (input.LA(1) >= 'A' && input.LA(1) <= '\uFFFF')) {
+ input.consume();
+
+ } else {
+ MismatchedSetException mse = new MismatchedSetException(null, input);
+ recover(mse);
+ throw mse;
+ }
+
+ // InternalUmlParameter.g:1302:31: ( options {greedy=false; } : . )*
+ loop5: do {
+ int alt5 = 2;
+ int LA5_0 = input.LA(1);
+
+ if ((LA5_0 == '*')) {
+ int LA5_1 = input.LA(2);
+
+ if ((LA5_1 == '/')) {
+ alt5 = 2;
+ } else if (((LA5_1 >= '\u0000' && LA5_1 <= '.') || (LA5_1 >= '0' && LA5_1 <= '\uFFFF'))) {
+ alt5 = 1;
+ }
+
+
+ } else if (((LA5_0 >= '\u0000' && LA5_0 <= ')') || (LA5_0 >= '+' && LA5_0 <= '\uFFFF'))) {
+ alt5 = 1;
+ }
+
+
+ switch (alt5) {
+ case 1:
+ // InternalUmlParameter.g:1302:59: .
+ {
+ matchAny();
+
+ }
+ break;
+
+ default:
+ break loop5;
+ }
+ } while (true);
+
+ match("*/");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "RULE_ML_COMMENT"
+
+ // $ANTLR start "RULE_SL_COMMENT"
+ public final void mRULE_SL_COMMENT() throws RecognitionException {
+ try {
+ int _type = RULE_SL_COMMENT;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:1304:17: ( '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )* ( ( '\\r' )? '\\n' )? )
+ // InternalUmlParameter.g:1304:19: '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )* ( ( '\\r' )? '\\n' )?
+ {
+ match("//");
+
+ // InternalUmlParameter.g:1304:24: (~ ( ( '\\n' | '\\r' | '@' ) ) )*
+ loop6: do {
+ int alt6 = 2;
+ int LA6_0 = input.LA(1);
+
+ if (((LA6_0 >= '\u0000' && LA6_0 <= '\t') || (LA6_0 >= '\u000B' && LA6_0 <= '\f') || (LA6_0 >= '\u000E' && LA6_0 <= '?') || (LA6_0 >= 'A' && LA6_0 <= '\uFFFF'))) {
+ alt6 = 1;
+ }
+
+
+ switch (alt6) {
+ case 1:
+ // InternalUmlParameter.g:1304:24: ~ ( ( '\\n' | '\\r' | '@' ) )
+ {
+ if ((input.LA(1) >= '\u0000' && input.LA(1) <= '\t') || (input.LA(1) >= '\u000B' && input.LA(1) <= '\f') || (input.LA(1) >= '\u000E' && input.LA(1) <= '?') || (input.LA(1) >= 'A' && input.LA(1) <= '\uFFFF')) {
+ input.consume();
+
+ } else {
+ MismatchedSetException mse = new MismatchedSetException(null, input);
+ recover(mse);
+ throw mse;
+ }
+
+
+ }
+ break;
+
+ default:
+ break loop6;
+ }
+ } while (true);
+
+ // InternalUmlParameter.g:1304:44: ( ( '\\r' )? '\\n' )?
+ int alt8 = 2;
+ int LA8_0 = input.LA(1);
+
+ if ((LA8_0 == '\n' || LA8_0 == '\r')) {
+ alt8 = 1;
+ }
+ switch (alt8) {
+ case 1:
+ // InternalUmlParameter.g:1304:45: ( '\\r' )? '\\n'
+ {
+ // InternalUmlParameter.g:1304:45: ( '\\r' )?
+ int alt7 = 2;
+ int LA7_0 = input.LA(1);
+
+ if ((LA7_0 == '\r')) {
+ alt7 = 1;
+ }
+ switch (alt7) {
+ case 1:
+ // InternalUmlParameter.g:1304:45: '\\r'
+ {
+ match('\r');
+
+ }
+ break;
+
+ }
+
+ match('\n');
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "RULE_SL_COMMENT"
+
+ // $ANTLR start "RULE_INT"
+ public final void mRULE_INT() throws RecognitionException {
+ try {
+ int _type = RULE_INT;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:1306:10: ( ( '0' .. '9' )+ )
+ // InternalUmlParameter.g:1306:12: ( '0' .. '9' )+
+ {
+ // InternalUmlParameter.g:1306:12: ( '0' .. '9' )+
+ int cnt9 = 0;
+ loop9: do {
+ int alt9 = 2;
+ int LA9_0 = input.LA(1);
+
+ if (((LA9_0 >= '0' && LA9_0 <= '9'))) {
+ alt9 = 1;
+ }
+
+
+ switch (alt9) {
+ case 1:
+ // InternalUmlParameter.g:1306:13: '0' .. '9'
+ {
+ matchRange('0', '9');
+
+ }
+ break;
+
+ default:
+ if (cnt9 >= 1)
+ break loop9;
+ EarlyExitException eee = new EarlyExitException(9, input);
+ throw eee;
+ }
+ cnt9++;
+ } while (true);
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "RULE_INT"
+
+ // $ANTLR start "RULE_INTEGER_VALUE"
+ public final void mRULE_INTEGER_VALUE() throws RecognitionException {
+ try {
+ int _type = RULE_INTEGER_VALUE;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:1308:20: ( ( ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F'
+ // ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* ) )
+ // InternalUmlParameter.g:1308:22: ( ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )
+ // )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* )
+ {
+ // InternalUmlParameter.g:1308:22: ( ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' ..
+ // 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* )
+ int alt22 = 4;
+ int LA22_0 = input.LA(1);
+
+ if ((LA22_0 == '0')) {
+ switch (input.LA(2)) {
+ case 'B':
+ case 'b': {
+ alt22 = 2;
+ }
+ break;
+ case 'X':
+ case 'x': {
+ alt22 = 3;
+ }
+ break;
+ case '0':
+ case '1':
+ case '2':
+ case '3':
+ case '4':
+ case '5':
+ case '6':
+ case '7':
+ case '_': {
+ alt22 = 4;
+ }
+ break;
+ default:
+ alt22 = 1;
+ }
+
+ } else if (((LA22_0 >= '1' && LA22_0 <= '9'))) {
+ alt22 = 1;
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 22, 0, input);
+
+ throw nvae;
+ }
+ switch (alt22) {
+ case 1:
+ // InternalUmlParameter.g:1308:23: ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* )
+ {
+ // InternalUmlParameter.g:1308:23: ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* )
+ int alt12 = 2;
+ int LA12_0 = input.LA(1);
+
+ if ((LA12_0 == '0')) {
+ alt12 = 1;
+ } else if (((LA12_0 >= '1' && LA12_0 <= '9'))) {
+ alt12 = 2;
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 12, 0, input);
+
+ throw nvae;
+ }
+ switch (alt12) {
+ case 1:
+ // InternalUmlParameter.g:1308:24: '0'
+ {
+ match('0');
+
+ }
+ break;
+ case 2:
+ // InternalUmlParameter.g:1308:28: '1' .. '9' ( ( '_' )? '0' .. '9' )*
+ {
+ matchRange('1', '9');
+ // InternalUmlParameter.g:1308:37: ( ( '_' )? '0' .. '9' )*
+ loop11: do {
+ int alt11 = 2;
+ int LA11_0 = input.LA(1);
+
+ if (((LA11_0 >= '0' && LA11_0 <= '9') || LA11_0 == '_')) {
+ alt11 = 1;
+ }
+
+
+ switch (alt11) {
+ case 1:
+ // InternalUmlParameter.g:1308:38: ( '_' )? '0' .. '9'
+ {
+ // InternalUmlParameter.g:1308:38: ( '_' )?
+ int alt10 = 2;
+ int LA10_0 = input.LA(1);
+
+ if ((LA10_0 == '_')) {
+ alt10 = 1;
+ }
+ switch (alt10) {
+ case 1:
+ // InternalUmlParameter.g:1308:38: '_'
+ {
+ match('_');
+
+ }
+ break;
+
+ }
+
+ matchRange('0', '9');
+
+ }
+ break;
+
+ default:
+ break loop11;
+ }
+ } while (true);
+
+
+ }
+ break;
+
+ }
+
+
+ }
+ break;
+ case 2:
+ // InternalUmlParameter.g:1308:55: ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )*
+ {
+ // InternalUmlParameter.g:1308:55: ( '0b' | '0B' )
+ int alt13 = 2;
+ int LA13_0 = input.LA(1);
+
+ if ((LA13_0 == '0')) {
+ int LA13_1 = input.LA(2);
+
+ if ((LA13_1 == 'b')) {
+ alt13 = 1;
+ } else if ((LA13_1 == 'B')) {
+ alt13 = 2;
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 13, 1, input);
+
+ throw nvae;
+ }
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 13, 0, input);
+
+ throw nvae;
+ }
+ switch (alt13) {
+ case 1:
+ // InternalUmlParameter.g:1308:56: '0b'
+ {
+ match("0b");
+
+
+ }
+ break;
+ case 2:
+ // InternalUmlParameter.g:1308:61: '0B'
+ {
+ match("0B");
+
+
+ }
+ break;
+
+ }
+
+ matchRange('0', '1');
+ // InternalUmlParameter.g:1308:76: ( ( '_' )? '0' .. '1' )*
+ loop15: do {
+ int alt15 = 2;
+ int LA15_0 = input.LA(1);
+
+ if (((LA15_0 >= '0' && LA15_0 <= '1') || LA15_0 == '_')) {
+ alt15 = 1;
+ }
- else if ( (LA24_0=='\"') ) {s = 28;}
- else if ( (LA24_0=='/') ) {s = 29;}
+ switch (alt15) {
+ case 1:
+ // InternalUmlParameter.g:1308:77: ( '_' )? '0' .. '1'
+ {
+ // InternalUmlParameter.g:1308:77: ( '_' )?
+ int alt14 = 2;
+ int LA14_0 = input.LA(1);
+
+ if ((LA14_0 == '_')) {
+ alt14 = 1;
+ }
+ switch (alt14) {
+ case 1:
+ // InternalUmlParameter.g:1308:77: '_'
+ {
+ match('_');
+
+ }
+ break;
+
+ }
+
+ matchRange('0', '1');
- else if ( (LA24_0=='0') ) {s = 30;}
+ }
+ break;
+
+ default:
+ break loop15;
+ }
+ } while (true);
+
+
+ }
+ break;
+ case 3:
+ // InternalUmlParameter.g:1308:93: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )*
+ {
+ // InternalUmlParameter.g:1308:93: ( '0x' | '0X' )
+ int alt16 = 2;
+ int LA16_0 = input.LA(1);
+
+ if ((LA16_0 == '0')) {
+ int LA16_1 = input.LA(2);
+
+ if ((LA16_1 == 'x')) {
+ alt16 = 1;
+ } else if ((LA16_1 == 'X')) {
+ alt16 = 2;
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 16, 1, input);
+
+ throw nvae;
+ }
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 16, 0, input);
+
+ throw nvae;
+ }
+ switch (alt16) {
+ case 1:
+ // InternalUmlParameter.g:1308:94: '0x'
+ {
+ match("0x");
+
+
+ }
+ break;
+ case 2:
+ // InternalUmlParameter.g:1308:99: '0X'
+ {
+ match("0X");
+
+
+ }
+ break;
+
+ }
+
+ if ((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'F') || (input.LA(1) >= 'a' && input.LA(1) <= 'f')) {
+ input.consume();
+
+ } else {
+ MismatchedSetException mse = new MismatchedSetException(null, input);
+ recover(mse);
+ throw mse;
+ }
+
+ // InternalUmlParameter.g:1308:134: ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )*
+ loop18: do {
+ int alt18 = 2;
+ int LA18_0 = input.LA(1);
+
+ if (((LA18_0 >= '0' && LA18_0 <= '9') || (LA18_0 >= 'A' && LA18_0 <= 'F') || LA18_0 == '_' || (LA18_0 >= 'a' && LA18_0 <= 'f'))) {
+ alt18 = 1;
+ }
+
+
+ switch (alt18) {
+ case 1:
+ // InternalUmlParameter.g:1308:135: ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )
+ {
+ // InternalUmlParameter.g:1308:135: ( '_' )?
+ int alt17 = 2;
+ int LA17_0 = input.LA(1);
+
+ if ((LA17_0 == '_')) {
+ alt17 = 1;
+ }
+ switch (alt17) {
+ case 1:
+ // InternalUmlParameter.g:1308:135: '_'
+ {
+ match('_');
- else if ( ((LA24_0>='1' && LA24_0<='9')) ) {s = 31;}
+ }
+ break;
- else if ( ((LA24_0>='\t' && LA24_0<='\n')||LA24_0=='\r'||LA24_0==' ') ) {s = 32;}
+ }
- else if ( ((LA24_0>='\u0000' && LA24_0<='\b')||(LA24_0>='\u000B' && LA24_0<='\f')||(LA24_0>='\u000E' && LA24_0<='\u001F')||LA24_0=='!'||(LA24_0>='$' && LA24_0<='&')||(LA24_0>='(' && LA24_0<=')')||LA24_0==';'||(LA24_0>='>' && LA24_0<='@')||LA24_0=='\\'||LA24_0=='^'||LA24_0=='`'||LA24_0=='|'||(LA24_0>='\u007F' && LA24_0<='\uFFFF')) ) {s = 33;}
+ if ((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'F') || (input.LA(1) >= 'a' && input.LA(1) <= 'f')) {
+ input.consume();
+
+ } else {
+ MismatchedSetException mse = new MismatchedSetException(null, input);
+ recover(mse);
+ throw mse;
+ }
+
+
+ }
+ break;
+
+ default:
+ break loop18;
+ }
+ } while (true);
+
+
+ }
+ break;
+ case 4:
+ // InternalUmlParameter.g:1308:171: '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )*
+ {
+ match('0');
+ // InternalUmlParameter.g:1308:175: ( '_' )?
+ int alt19 = 2;
+ int LA19_0 = input.LA(1);
+
+ if ((LA19_0 == '_')) {
+ alt19 = 1;
+ }
+ switch (alt19) {
+ case 1:
+ // InternalUmlParameter.g:1308:175: '_'
+ {
+ match('_');
+
+ }
+ break;
+
+ }
+
+ matchRange('0', '7');
+ // InternalUmlParameter.g:1308:189: ( ( '_' )? '0' .. '7' )*
+ loop21: do {
+ int alt21 = 2;
+ int LA21_0 = input.LA(1);
+
+ if (((LA21_0 >= '0' && LA21_0 <= '7') || LA21_0 == '_')) {
+ alt21 = 1;
+ }
+
+
+ switch (alt21) {
+ case 1:
+ // InternalUmlParameter.g:1308:190: ( '_' )? '0' .. '7'
+ {
+ // InternalUmlParameter.g:1308:190: ( '_' )?
+ int alt20 = 2;
+ int LA20_0 = input.LA(1);
+
+ if ((LA20_0 == '_')) {
+ alt20 = 1;
+ }
+ switch (alt20) {
+ case 1:
+ // InternalUmlParameter.g:1308:190: '_'
+ {
+ match('_');
+
+ }
+ break;
+
+ }
+
+ matchRange('0', '7');
+
+ }
+ break;
+
+ default:
+ break loop21;
+ }
+ } while (true);
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "RULE_INTEGER_VALUE"
+
+ // $ANTLR start "RULE_WS"
+ public final void mRULE_WS() throws RecognitionException {
+ try {
+ int _type = RULE_WS;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:1310:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // InternalUmlParameter.g:1310:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ {
+ // InternalUmlParameter.g:1310:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ int cnt23 = 0;
+ loop23: do {
+ int alt23 = 2;
+ int LA23_0 = input.LA(1);
+
+ if (((LA23_0 >= '\t' && LA23_0 <= '\n') || LA23_0 == '\r' || LA23_0 == ' ')) {
+ alt23 = 1;
+ }
+
+
+ switch (alt23) {
+ case 1:
+ // InternalUmlParameter.g:
+ {
+ if ((input.LA(1) >= '\t' && input.LA(1) <= '\n') || input.LA(1) == '\r' || input.LA(1) == ' ') {
+ input.consume();
+
+ } else {
+ MismatchedSetException mse = new MismatchedSetException(null, input);
+ recover(mse);
+ throw mse;
+ }
+
+
+ }
+ break;
+
+ default:
+ if (cnt23 >= 1)
+ break loop23;
+ EarlyExitException eee = new EarlyExitException(23, input);
+ throw eee;
+ }
+ cnt23++;
+ } while (true);
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "RULE_WS"
+
+ // $ANTLR start "RULE_ANY_OTHER"
+ public final void mRULE_ANY_OTHER() throws RecognitionException {
+ try {
+ int _type = RULE_ANY_OTHER;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlParameter.g:1312:16: ( . )
+ // InternalUmlParameter.g:1312:18: .
+ {
+ matchAny();
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "RULE_ANY_OTHER"
+
+ public void mTokens() throws RecognitionException {
+ // InternalUmlParameter.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 |
+ // T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_INT | RULE_INTEGER_VALUE | RULE_WS | RULE_ANY_OTHER )
+ int alt24 = 41;
+ alt24 = dfa24.predict(input);
+ switch (alt24) {
+ case 1:
+ // InternalUmlParameter.g:1:10: T__12
+ {
+ mT__12();
+
+ }
+ break;
+ case 2:
+ // InternalUmlParameter.g:1:16: T__13
+ {
+ mT__13();
+
+ }
+ break;
+ case 3:
+ // InternalUmlParameter.g:1:22: T__14
+ {
+ mT__14();
+
+ }
+ break;
+ case 4:
+ // InternalUmlParameter.g:1:28: T__15
+ {
+ mT__15();
+
+ }
+ break;
+ case 5:
+ // InternalUmlParameter.g:1:34: T__16
+ {
+ mT__16();
+
+ }
+ break;
+ case 6:
+ // InternalUmlParameter.g:1:40: T__17
+ {
+ mT__17();
+
+ }
+ break;
+ case 7:
+ // InternalUmlParameter.g:1:46: T__18
+ {
+ mT__18();
+
+ }
+ break;
+ case 8:
+ // InternalUmlParameter.g:1:52: T__19
+ {
+ mT__19();
+
+ }
+ break;
+ case 9:
+ // InternalUmlParameter.g:1:58: T__20
+ {
+ mT__20();
+
+ }
+ break;
+ case 10:
+ // InternalUmlParameter.g:1:64: T__21
+ {
+ mT__21();
+
+ }
+ break;
+ case 11:
+ // InternalUmlParameter.g:1:70: T__22
+ {
+ mT__22();
+
+ }
+ break;
+ case 12:
+ // InternalUmlParameter.g:1:76: T__23
+ {
+ mT__23();
+
+ }
+ break;
+ case 13:
+ // InternalUmlParameter.g:1:82: T__24
+ {
+ mT__24();
+
+ }
+ break;
+ case 14:
+ // InternalUmlParameter.g:1:88: T__25
+ {
+ mT__25();
+
+ }
+ break;
+ case 15:
+ // InternalUmlParameter.g:1:94: T__26
+ {
+ mT__26();
+
+ }
+ break;
+ case 16:
+ // InternalUmlParameter.g:1:100: T__27
+ {
+ mT__27();
+
+ }
+ break;
+ case 17:
+ // InternalUmlParameter.g:1:106: T__28
+ {
+ mT__28();
+
+ }
+ break;
+ case 18:
+ // InternalUmlParameter.g:1:112: T__29
+ {
+ mT__29();
+
+ }
+ break;
+ case 19:
+ // InternalUmlParameter.g:1:118: T__30
+ {
+ mT__30();
+
+ }
+ break;
+ case 20:
+ // InternalUmlParameter.g:1:124: T__31
+ {
+ mT__31();
+
+ }
+ break;
+ case 21:
+ // InternalUmlParameter.g:1:130: T__32
+ {
+ mT__32();
+
+ }
+ break;
+ case 22:
+ // InternalUmlParameter.g:1:136: T__33
+ {
+ mT__33();
+
+ }
+ break;
+ case 23:
+ // InternalUmlParameter.g:1:142: T__34
+ {
+ mT__34();
+
+ }
+ break;
+ case 24:
+ // InternalUmlParameter.g:1:148: T__35
+ {
+ mT__35();
+
+ }
+ break;
+ case 25:
+ // InternalUmlParameter.g:1:154: T__36
+ {
+ mT__36();
+
+ }
+ break;
+ case 26:
+ // InternalUmlParameter.g:1:160: T__37
+ {
+ mT__37();
+
+ }
+ break;
+ case 27:
+ // InternalUmlParameter.g:1:166: T__38
+ {
+ mT__38();
+
+ }
+ break;
+ case 28:
+ // InternalUmlParameter.g:1:172: T__39
+ {
+ mT__39();
+
+ }
+ break;
+ case 29:
+ // InternalUmlParameter.g:1:178: T__40
+ {
+ mT__40();
+
+ }
+ break;
+ case 30:
+ // InternalUmlParameter.g:1:184: T__41
+ {
+ mT__41();
+
+ }
+ break;
+ case 31:
+ // InternalUmlParameter.g:1:190: T__42
+ {
+ mT__42();
+
+ }
+ break;
+ case 32:
+ // InternalUmlParameter.g:1:196: T__43
+ {
+ mT__43();
+
+ }
+ break;
+ case 33:
+ // InternalUmlParameter.g:1:202: T__44
+ {
+ mT__44();
+
+ }
+ break;
+ case 34:
+ // InternalUmlParameter.g:1:208: RULE_ID
+ {
+ mRULE_ID();
+
+ }
+ break;
+ case 35:
+ // InternalUmlParameter.g:1:216: RULE_STRING
+ {
+ mRULE_STRING();
+
+ }
+ break;
+ case 36:
+ // InternalUmlParameter.g:1:228: RULE_ML_COMMENT
+ {
+ mRULE_ML_COMMENT();
+
+ }
+ break;
+ case 37:
+ // InternalUmlParameter.g:1:244: RULE_SL_COMMENT
+ {
+ mRULE_SL_COMMENT();
+
+ }
+ break;
+ case 38:
+ // InternalUmlParameter.g:1:260: RULE_INT
+ {
+ mRULE_INT();
+
+ }
+ break;
+ case 39:
+ // InternalUmlParameter.g:1:269: RULE_INTEGER_VALUE
+ {
+ mRULE_INTEGER_VALUE();
+
+ }
+ break;
+ case 40:
+ // InternalUmlParameter.g:1:288: RULE_WS
+ {
+ mRULE_WS();
+
+ }
+ break;
+ case 41:
+ // InternalUmlParameter.g:1:296: RULE_ANY_OTHER
+ {
+ mRULE_ANY_OTHER();
+
+ }
+ break;
+
+ }
+
+ }
+
+
+ protected DFA24 dfa24 = new DFA24(this);
+ static final String DFA24_eotS = "\1\uffff\1\43\1\41\3\uffff\1\52\1\uffff\1\55\1\52\3\uffff\10\52\4\uffff\1\52\1\uffff\3\41\2\106\10\uffff\2\52\4\uffff\2\52\3\uffff\12\52\4\uffff\1\132\5\uffff\2\106\1\uffff\6\52\1\142\11\52\1\uffff\1\106\2\52\1\156\1\157\2\52\1\uffff\3\52\1\165\2\52\1\170\4\52\2\uffff\5\52\1\uffff\2\52\1\uffff\1\u0084\1\u0085\2\52\1\u0088\1\52\1\u008a\1\u008b\1\u008c\1\u008d\1\u008e\3\uffff\1\52\1\uffff\1\u0090\5\uffff\1\52\1\uffff\1\u0092\1\uffff";
+ static final String DFA24_eofS = "\u0093\uffff";
+ static final String DFA24_minS = "\1\0\1\72\1\125\3\uffff\1\146\1\uffff\1\56\1\157\3\uffff\1\164\1\162\1\156\1\162\2\145\1\162\1\141\4\uffff\1\156\1\uffff\2\0\1\52\2\60\10\uffff\1\146\1\143\4\uffff\1\154\1\156\3\uffff\1\162\1\144\1\164\1\151\1\144\1\145\1\141\1\154\1\165\1\154\4\uffff\1\60\5\uffff\2\60\1\uffff\2\145\1\154\3\145\1\60\1\161\2\141\1\144\1\165\2\145\1\163\1\165\1\uffff\1\60\1\143\1\160\2\60\1\141\1\162\1\uffff\1\165\2\164\1\60\1\162\1\164\1\60\1\145\3\164\2\uffff\1\155\4\145\1\uffff\1\156\1\145\1\uffff\2\60\1\72\1\151\1\60\1\144\5\60\3\uffff\1\157\1\uffff\1\60\5\uffff\1\156\1\uffff\1\60\1\uffff";
+ static final String DFA24_maxS = "\1\uffff\1\72\1\125\3\uffff\1\170\1\uffff\1\56\1\165\3\uffff\1\164\1\165\1\160\1\162\2\145\1\162\1\141\4\uffff\1\156\1\uffff\2\uffff\1\57\1\170\1\137\10\uffff\1\146\1\143\4\uffff\1\154\1\156\3\uffff\1\162\1\144\1\164\1\151\1\144\1\145\1\164\1\154\1\165\1\154\4\uffff\1\172\5\uffff\2\137\1\uffff\2\145\1\154\3\145\1\172\1\161\2\141\1\144\1\165\2\145\1\163\1\165\1\uffff\1\137\1\143\1\160\2\172\1\141\1\162\1\uffff\1\165\2\164\1\172\1\162\1\164\1\172\1\145\3\164\2\uffff\1\155\4\145\1\uffff\1\156\1\145\1\uffff\2\172\1\72\1\151\1\172\1\144\5\172\3\uffff\1\157\1\uffff\1\172\5\uffff\1\156\1\uffff\1\172\1\uffff";
+ static final String DFA24_acceptS = "\3\uffff\1\3\1\4\1\5\1\uffff\1\7\2\uffff\1\14\1\16\1\17\10\uffff\1\32\1\33\1\34\1\35\1\uffff\1\42\5\uffff\1\50\1\51\1\13\1\1\1\2\1\3\1\4\1\5\2\uffff\1\42\1\7\1\15\1\10\2\uffff\1\14\1\16\1\17\12\uffff\1\32\1\33\1\34\1\35\1\uffff\1\43\1\44\1\45\1\47\1\46\2\uffff\1\50\20\uffff\1\36\7\uffff\1\37\13\uffff\1\11\1\12\5\uffff\1\25\2\uffff\1\30\13\uffff\1\31\1\40\1\6\1\uffff\1\21\1\uffff\1\23\1\26\1\24\1\41\1\27\1\uffff\1\22\1\uffff\1\20";
+ static final String DFA24_specialS = "\1\0\32\uffff\1\1\1\2\166\uffff}>";
+ static final String[] DFA24_transitionS = {
+ "\11\41\2\40\2\41\1\40\22\41\1\40\1\41\1\34\1\27\3\41\1\33\2\41\1\14\1\25\1\4\1\26\1\10\1\35\1\36\11\37\1\1\1\41\1\2\1\7\3\41\32\32\1\12\1\41\1\13\1\41\1\32\1\41\2\32\1\20\1\22\1\6\1\24\2\32\1\31\4\32\1\11\1\16\2\32\1\21\1\15\1\23\1\17\5\32\1\3\1\41\1\5\1\30\uff81\41",
+ "\1\42",
+ "\1\44",
+ "",
+ "",
+ "",
+ "\1\50\21\uffff\1\51",
+ "",
+ "\1\54",
+ "\1\57\5\uffff\1\56",
+ "",
+ "",
+ "",
+ "\1\63",
+ "\1\64\2\uffff\1\65",
+ "\1\66\1\uffff\1\67",
+ "\1\70",
+ "\1\71",
+ "\1\72",
+ "\1\73",
+ "\1\74",
+ "",
+ "",
+ "",
+ "",
+ "\1\101",
+ "",
+ "\0\52",
+ "\0\102",
+ "\1\103\4\uffff\1\104",
+ "\10\107\12\uffff\1\105\25\uffff\1\105\6\uffff\1\105\2\uffff\1\105\25\uffff\1\105",
+ "\12\110\45\uffff\1\105",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "\1\112",
+ "\1\113",
+ "",
+ "",
+ "",
+ "",
+ "\1\114",
+ "\1\115",
+ "",
+ "",
+ "",
+ "\1\116",
+ "\1\117",
+ "\1\120",
+ "\1\121",
+ "\1\122",
+ "\1\123",
+ "\1\124\22\uffff\1\125",
+ "\1\126",
+ "\1\127",
+ "\1\130",
+ "",
+ "",
+ "",
+ "",
+ "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\16\52\1\131\13\52",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "\10\133\47\uffff\1\105",
+ "\12\110\45\uffff\1\105",
+ "",
+ "\1\134",
+ "\1\135",
+ "\1\136",
+ "\1\137",
+ "\1\140",
+ "\1\141",
+ "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
+ "\1\143",
+ "\1\144",
+ "\1\145",
+ "\1\146",
+ "\1\147",
+ "\1\150",
+ "\1\151",
+ "\1\152",
+ "\1\153",
+ "",
+ "\10\133\47\uffff\1\105",
+ "\1\154",
+ "\1\155",
+ "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
+ "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
+ "\1\160",
+ "\1\161",
+ "",
+ "\1\162",
+ "\1\163",
+ "\1\164",
+ "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
+ "\1\166",
+ "\1\167",
+ "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
+ "\1\171",
+ "\1\172",
+ "\1\173",
+ "\1\174",
+ "",
+ "",
+ "\1\175",
+ "\1\176",
+ "\1\177",
+ "\1\u0080",
+ "\1\u0081",
+ "",
+ "\1\u0082",
+ "\1\u0083",
+ "",
+ "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
+ "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
+ "\1\u0086",
+ "\1\u0087",
+ "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
+ "\1\u0089",
+ "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
+ "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
+ "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
+ "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
+ "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
+ "",
+ "",
+ "",
+ "\1\u008f",
+ "",
+ "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "\1\u0091",
+ "",
+ "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52",
+ ""
+ };
+
+ static final short[] DFA24_eot = DFA.unpackEncodedString(DFA24_eotS);
+ static final short[] DFA24_eof = DFA.unpackEncodedString(DFA24_eofS);
+ static final char[] DFA24_min = DFA.unpackEncodedStringToUnsignedChars(DFA24_minS);
+ static final char[] DFA24_max = DFA.unpackEncodedStringToUnsignedChars(DFA24_maxS);
+ static final short[] DFA24_accept = DFA.unpackEncodedString(DFA24_acceptS);
+ static final short[] DFA24_special = DFA.unpackEncodedString(DFA24_specialS);
+ static final short[][] DFA24_transition;
+
+ static {
+ int numStates = DFA24_transitionS.length;
+ DFA24_transition = new short[numStates][];
+ for (int i = 0; i < numStates; i++) {
+ DFA24_transition[i] = DFA.unpackEncodedString(DFA24_transitionS[i]);
+ }
+ }
+
+ class DFA24 extends DFA {
+
+ public DFA24(BaseRecognizer recognizer) {
+ this.recognizer = recognizer;
+ this.decisionNumber = 24;
+ this.eot = DFA24_eot;
+ this.eof = DFA24_eof;
+ this.min = DFA24_min;
+ this.max = DFA24_max;
+ this.accept = DFA24_accept;
+ this.special = DFA24_special;
+ this.transition = DFA24_transition;
+ }
+
+ public String getDescription() {
+ return "1:1: Tokens : ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_INT | RULE_INTEGER_VALUE | RULE_WS | RULE_ANY_OTHER );";
+ }
+
+ public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
+ IntStream input = _input;
+ int _s = s;
+ switch (s) {
+ case 0:
+ int LA24_0 = input.LA(1);
+
+ s = -1;
+ if ((LA24_0 == ':')) {
+ s = 1;
+ }
+
+ else if ((LA24_0 == '<')) {
+ s = 2;
+ }
+
+ else if ((LA24_0 == '{')) {
+ s = 3;
+ }
+
+ else if ((LA24_0 == ',')) {
+ s = 4;
+ }
+
+ else if ((LA24_0 == '}')) {
+ s = 5;
+ }
+
+ else if ((LA24_0 == 'e')) {
+ s = 6;
+ }
+
+ else if ((LA24_0 == '=')) {
+ s = 7;
+ }
+
+ else if ((LA24_0 == '.')) {
+ s = 8;
+ }
+
+ else if ((LA24_0 == 'n')) {
+ s = 9;
+ }
+
+ else if ((LA24_0 == '[')) {
+ s = 10;
+ }
+
+ else if ((LA24_0 == ']')) {
+ s = 11;
+ }
+
+ else if ((LA24_0 == '*')) {
+ s = 12;
+ }
+
+ else if ((LA24_0 == 's')) {
+ s = 13;
+ }
+
+ else if ((LA24_0 == 'o')) {
+ s = 14;
+ }
+
+ else if ((LA24_0 == 'u')) {
+ s = 15;
+ }
+
+ else if ((LA24_0 == 'c')) {
+ s = 16;
+ }
+
+ else if ((LA24_0 == 'r')) {
+ s = 17;
+ }
+
+ else if ((LA24_0 == 'd')) {
+ s = 18;
+ }
+
+ else if ((LA24_0 == 't')) {
+ s = 19;
+ }
+
+ else if ((LA24_0 == 'f')) {
+ s = 20;
+ }
+
+ else if ((LA24_0 == '+')) {
+ s = 21;
+ }
+
+ else if ((LA24_0 == '-')) {
+ s = 22;
+ }
+
+ else if ((LA24_0 == '#')) {
+ s = 23;
+ }
+
+ else if ((LA24_0 == '~')) {
+ s = 24;
+ }
+
+ else if ((LA24_0 == 'i')) {
+ s = 25;
+ }
+
+ else if (((LA24_0 >= 'A' && LA24_0 <= 'Z') || LA24_0 == '_' || (LA24_0 >= 'a' && LA24_0 <= 'b') || (LA24_0 >= 'g' && LA24_0 <= 'h') || (LA24_0 >= 'j' && LA24_0 <= 'm') || (LA24_0 >= 'p' && LA24_0 <= 'q') || (LA24_0 >= 'v' && LA24_0 <= 'z'))) {
+ s = 26;
+ }
+
+ else if ((LA24_0 == '\'')) {
+ s = 27;
+ }
+
+ else if ((LA24_0 == '\"')) {
+ s = 28;
+ }
+
+ else if ((LA24_0 == '/')) {
+ s = 29;
+ }
+
+ else if ((LA24_0 == '0')) {
+ s = 30;
+ }
+
+ else if (((LA24_0 >= '1' && LA24_0 <= '9'))) {
+ s = 31;
+ }
+
+ else if (((LA24_0 >= '\t' && LA24_0 <= '\n') || LA24_0 == '\r' || LA24_0 == ' ')) {
+ s = 32;
+ }
+
+ else if (((LA24_0 >= '\u0000' && LA24_0 <= '\b') || (LA24_0 >= '\u000B' && LA24_0 <= '\f') || (LA24_0 >= '\u000E' && LA24_0 <= '\u001F') || LA24_0 == '!' || (LA24_0 >= '$' && LA24_0 <= '&') || (LA24_0 >= '(' && LA24_0 <= ')') || LA24_0 == ';'
+ || (LA24_0 >= '>' && LA24_0 <= '@') || LA24_0 == '\\' || LA24_0 == '^' || LA24_0 == '`' || LA24_0 == '|' || (LA24_0 >= '\u007F' && LA24_0 <= '\uFFFF'))) {
+ s = 33;
+ }
+
+ if (s >= 0)
+ return s;
+ break;
+ case 1:
+ int LA24_27 = input.LA(1);
+
+ s = -1;
+ if (((LA24_27 >= '\u0000' && LA24_27 <= '\uFFFF'))) {
+ s = 42;
+ }
+
+ else
+ s = 33;
+
+ if (s >= 0)
+ return s;
+ break;
+ case 2:
+ int LA24_28 = input.LA(1);
+
+ s = -1;
+ if (((LA24_28 >= '\u0000' && LA24_28 <= '\uFFFF'))) {
+ s = 66;
+ }
+
+ else
+ s = 33;
+
+ if (s >= 0)
+ return s;
+ break;
+ }
+ NoViableAltException nvae = new NoViableAltException(getDescription(), 24, _s, input);
+ error(nvae);
+ throw nvae;
+ }
+ }
- if ( s>=0 ) return s;
- break;
- }
- NoViableAltException nvae =
- new NoViableAltException(getDescription(), 24, _s, input);
- error(nvae);
- throw nvae;
- }
- }
-
} \ No newline at end of file
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameterParser.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameterParser.java
index c683013acb7..2aeb517a2de 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameterParser.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameterParser.java
@@ -1,3677 +1,3505 @@
-package org.eclipse.papyrus.uml.textedit.parameter.xtext.parser.antlr.internal;
-
-import org.eclipse.xtext.*;
-import org.eclipse.xtext.parser.*;
-import org.eclipse.xtext.parser.impl.*;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.emf.ecore.EObject;
+package org.eclipse.papyrus.uml.textedit.parameter.xtext.parser.antlr.internal;
+
+import org.antlr.runtime.BitSet;
+import org.antlr.runtime.NoViableAltException;
+import org.antlr.runtime.RecognitionException;
+import org.antlr.runtime.RecognizerSharedState;
+import org.antlr.runtime.Token;
+import org.antlr.runtime.TokenStream;
import org.eclipse.emf.common.util.Enumerator;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.services.UmlParameterGrammarAccess;
import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
-import org.eclipse.xtext.parser.antlr.XtextTokenStream;
-import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
-import org.eclipse.papyrus.uml.textedit.parameter.xtext.services.UmlParameterGrammarAccess;
+@SuppressWarnings("all")
+public class InternalUmlParameterParser extends AbstractInternalAntlrParser {
+ public static final String[] tokenNames = new String[] {
+ "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_INTEGER_VALUE", "RULE_WS", "RULE_ANY_OTHER", "':'", "'<Undefined>'", "'{'", "','", "'}'", "'effect:'", "'='", "'.'", "'null'",
+ "'none'", "'::'", "'['", "'..'", "']'", "'*'", "'exception'", "'stream'", "'ordered'", "'unique'", "'create'", "'read'", "'update'", "'delete'", "'true'", "'false'", "'+'", "'-'", "'#'", "'~'", "'in'", "'out'", "'inout'", "'return'"
+ };
+ public static final int T__19 = 19;
+ public static final int T__15 = 15;
+ public static final int T__16 = 16;
+ public static final int T__17 = 17;
+ public static final int T__18 = 18;
+ public static final int T__12 = 12;
+ public static final int T__13 = 13;
+ public static final int T__14 = 14;
+ public static final int RULE_ID = 4;
+ public static final int T__26 = 26;
+ public static final int T__27 = 27;
+ public static final int T__28 = 28;
+ public static final int RULE_INT = 5;
+ public static final int T__29 = 29;
+ public static final int T__22 = 22;
+ public static final int RULE_ML_COMMENT = 7;
+ public static final int T__23 = 23;
+ public static final int T__24 = 24;
+ public static final int T__25 = 25;
+ public static final int T__20 = 20;
+ public static final int T__21 = 21;
+ public static final int RULE_STRING = 6;
+ public static final int RULE_SL_COMMENT = 8;
+ public static final int T__37 = 37;
+ public static final int T__38 = 38;
+ public static final int T__39 = 39;
+ public static final int T__33 = 33;
+ public static final int T__34 = 34;
+ public static final int T__35 = 35;
+ public static final int T__36 = 36;
+ public static final int EOF = -1;
+ public static final int T__30 = 30;
+ public static final int T__31 = 31;
+ public static final int T__32 = 32;
+ public static final int RULE_WS = 10;
+ public static final int RULE_ANY_OTHER = 11;
+ public static final int T__44 = 44;
+ public static final int RULE_INTEGER_VALUE = 9;
+ public static final int T__40 = 40;
+ public static final int T__41 = 41;
+ public static final int T__42 = 42;
+ public static final int T__43 = 43;
+
+ // delegates
+ // delegators
+
+
+ public InternalUmlParameterParser(TokenStream input) {
+ this(input, new RecognizerSharedState());
+ }
+
+ public InternalUmlParameterParser(TokenStream input, RecognizerSharedState state) {
+ super(input, state);
+
+ }
+
+
+ public String[] getTokenNames() {
+ return InternalUmlParameterParser.tokenNames;
+ }
+
+ public String getGrammarFileName() {
+ return "../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g";
+ }
+
+
+
+ private UmlParameterGrammarAccess grammarAccess;
+
+ public InternalUmlParameterParser(TokenStream input, UmlParameterGrammarAccess grammarAccess) {
+ this(input);
+ this.grammarAccess = grammarAccess;
+ registerRules(grammarAccess.getGrammar());
+ }
+
+ @Override
+ protected String getFirstRuleName() {
+ return "ParameterRule";
+ }
+
+ @Override
+ protected UmlParameterGrammarAccess getGrammarAccess() {
+ return grammarAccess;
+ }
+
+
+
+ // $ANTLR start "entryRuleParameterRule"
+ // InternalUmlParameter.g:68:1: entryRuleParameterRule returns [EObject current=null] : iv_ruleParameterRule= ruleParameterRule EOF ;
+ public final EObject entryRuleParameterRule() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleParameterRule = null;
+
+
+ try {
+ // InternalUmlParameter.g:69:2: (iv_ruleParameterRule= ruleParameterRule EOF )
+ // InternalUmlParameter.g:70:2: iv_ruleParameterRule= ruleParameterRule EOF
+ {
+ newCompositeNode(grammarAccess.getParameterRuleRule());
+ pushFollow(FOLLOW_1);
+ iv_ruleParameterRule = ruleParameterRule();
+
+ state._fsp--;
+ current = iv_ruleParameterRule;
+ match(input, EOF, FOLLOW_2);
-import org.antlr.runtime.*;
-import java.util.Stack;
-import java.util.List;
-import java.util.ArrayList;
+ }
-@SuppressWarnings("all")
-public class InternalUmlParameterParser extends AbstractInternalAntlrParser {
- public static final String[] tokenNames = new String[] {
- "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_INTEGER_VALUE", "RULE_WS", "RULE_ANY_OTHER", "':'", "'<Undefined>'", "'{'", "','", "'}'", "'effect:'", "'='", "'.'", "'null'", "'none'", "'::'", "'['", "'..'", "']'", "'*'", "'exception'", "'stream'", "'ordered'", "'unique'", "'create'", "'read'", "'update'", "'delete'", "'true'", "'false'", "'+'", "'-'", "'#'", "'~'", "'in'", "'out'", "'inout'", "'return'"
- };
- public static final int RULE_ID=4;
- public static final int T__29=29;
- public static final int T__28=28;
- public static final int T__27=27;
- public static final int T__26=26;
- public static final int T__25=25;
- public static final int T__24=24;
- public static final int T__23=23;
- public static final int T__22=22;
- public static final int RULE_ANY_OTHER=11;
- public static final int T__21=21;
- public static final int T__20=20;
- public static final int RULE_INTEGER_VALUE=9;
- public static final int EOF=-1;
- public static final int T__19=19;
- public static final int T__16=16;
- public static final int T__15=15;
- public static final int T__18=18;
- public static final int T__17=17;
- public static final int T__12=12;
- public static final int T__14=14;
- public static final int T__13=13;
- public static final int RULE_INT=5;
- public static final int T__42=42;
- public static final int T__43=43;
- public static final int T__40=40;
- public static final int T__41=41;
- public static final int T__44=44;
- public static final int RULE_SL_COMMENT=8;
- public static final int RULE_ML_COMMENT=7;
- public static final int T__30=30;
- public static final int T__31=31;
- public static final int T__32=32;
- public static final int RULE_STRING=6;
- public static final int T__33=33;
- public static final int T__34=34;
- public static final int T__35=35;
- public static final int T__36=36;
- public static final int T__37=37;
- public static final int T__38=38;
- public static final int T__39=39;
- public static final int RULE_WS=10;
-
- // delegates
- // delegators
-
-
- public InternalUmlParameterParser(TokenStream input) {
- this(input, new RecognizerSharedState());
- }
- public InternalUmlParameterParser(TokenStream input, RecognizerSharedState state) {
- super(input, state);
-
- }
-
-
- public String[] getTokenNames() { return InternalUmlParameterParser.tokenNames; }
- public String getGrammarFileName() { return "../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g"; }
-
-
-
- private UmlParameterGrammarAccess grammarAccess;
-
- public InternalUmlParameterParser(TokenStream input, UmlParameterGrammarAccess grammarAccess) {
- this(input);
- this.grammarAccess = grammarAccess;
- registerRules(grammarAccess.getGrammar());
- }
-
- @Override
- protected String getFirstRuleName() {
- return "ParameterRule";
- }
-
- @Override
- protected UmlParameterGrammarAccess getGrammarAccess() {
- return grammarAccess;
- }
-
-
-
- // $ANTLR start "entryRuleParameterRule"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:68:1: entryRuleParameterRule returns [EObject current=null] : iv_ruleParameterRule= ruleParameterRule EOF ;
- public final EObject entryRuleParameterRule() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleParameterRule = null;
-
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:69:2: (iv_ruleParameterRule= ruleParameterRule EOF )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:70:2: iv_ruleParameterRule= ruleParameterRule EOF
- {
- newCompositeNode(grammarAccess.getParameterRuleRule());
- pushFollow(FOLLOW_ruleParameterRule_in_entryRuleParameterRule75);
- iv_ruleParameterRule=ruleParameterRule();
-
- state._fsp--;
-
- current =iv_ruleParameterRule;
- match(input,EOF,FOLLOW_EOF_in_entryRuleParameterRule85);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleParameterRule"
-
-
- // $ANTLR start "ruleParameterRule"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:77:1: ruleParameterRule returns [EObject current=null] : ( ( (lv_visibility_0_0= ruleVisibilityRule ) )? ( (lv_direction_1_0= ruleDirectionRule ) )? ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | ( (lv_typeUndefined_5_0= '<Undefined>' ) ) ) )? ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_effect_8_0= ruleEffectRule ) )? ( (lv_defaultValue_9_0= ruleDefaultValueRule ) )? ) ;
- public final EObject ruleParameterRule() throws RecognitionException {
- EObject current = null;
-
- Token lv_name_2_0=null;
- Token otherlv_3=null;
- Token lv_typeUndefined_5_0=null;
- EObject lv_visibility_0_0 = null;
-
- EObject lv_direction_1_0 = null;
-
- EObject lv_type_4_0 = null;
-
- EObject lv_multiplicity_6_0 = null;
-
- EObject lv_modifiers_7_0 = null;
-
- EObject lv_effect_8_0 = null;
-
- EObject lv_defaultValue_9_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:80:28: ( ( ( (lv_visibility_0_0= ruleVisibilityRule ) )? ( (lv_direction_1_0= ruleDirectionRule ) )? ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | ( (lv_typeUndefined_5_0= '<Undefined>' ) ) ) )? ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_effect_8_0= ruleEffectRule ) )? ( (lv_defaultValue_9_0= ruleDefaultValueRule ) )? ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:81:1: ( ( (lv_visibility_0_0= ruleVisibilityRule ) )? ( (lv_direction_1_0= ruleDirectionRule ) )? ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | ( (lv_typeUndefined_5_0= '<Undefined>' ) ) ) )? ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_effect_8_0= ruleEffectRule ) )? ( (lv_defaultValue_9_0= ruleDefaultValueRule ) )? )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:81:1: ( ( (lv_visibility_0_0= ruleVisibilityRule ) )? ( (lv_direction_1_0= ruleDirectionRule ) )? ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | ( (lv_typeUndefined_5_0= '<Undefined>' ) ) ) )? ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_effect_8_0= ruleEffectRule ) )? ( (lv_defaultValue_9_0= ruleDefaultValueRule ) )? )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:81:2: ( (lv_visibility_0_0= ruleVisibilityRule ) )? ( (lv_direction_1_0= ruleDirectionRule ) )? ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | ( (lv_typeUndefined_5_0= '<Undefined>' ) ) ) )? ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_effect_8_0= ruleEffectRule ) )? ( (lv_defaultValue_9_0= ruleDefaultValueRule ) )?
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:81:2: ( (lv_visibility_0_0= ruleVisibilityRule ) )?
- int alt1=2;
- int LA1_0 = input.LA(1);
-
- if ( ((LA1_0>=37 && LA1_0<=40)) ) {
- alt1=1;
- }
- switch (alt1) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:82:1: (lv_visibility_0_0= ruleVisibilityRule )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:82:1: (lv_visibility_0_0= ruleVisibilityRule )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:83:3: lv_visibility_0_0= ruleVisibilityRule
- {
-
- newCompositeNode(grammarAccess.getParameterRuleAccess().getVisibilityVisibilityRuleParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleVisibilityRule_in_ruleParameterRule131);
- lv_visibility_0_0=ruleVisibilityRule();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getParameterRuleRule());
- }
- set(
- current,
- "visibility",
- lv_visibility_0_0,
- "VisibilityRule");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:99:3: ( (lv_direction_1_0= ruleDirectionRule ) )?
- int alt2=2;
- int LA2_0 = input.LA(1);
-
- if ( ((LA2_0>=41 && LA2_0<=44)) ) {
- alt2=1;
- }
- switch (alt2) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:100:1: (lv_direction_1_0= ruleDirectionRule )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:100:1: (lv_direction_1_0= ruleDirectionRule )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:101:3: lv_direction_1_0= ruleDirectionRule
- {
-
- newCompositeNode(grammarAccess.getParameterRuleAccess().getDirectionDirectionRuleParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleDirectionRule_in_ruleParameterRule153);
- lv_direction_1_0=ruleDirectionRule();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getParameterRuleRule());
- }
- set(
- current,
- "direction",
- lv_direction_1_0,
- "DirectionRule");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:117:3: ( (lv_name_2_0= RULE_ID ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:118:1: (lv_name_2_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:118:1: (lv_name_2_0= RULE_ID )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:119:3: lv_name_2_0= RULE_ID
- {
- lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleParameterRule171);
-
- newLeafNode(lv_name_2_0, grammarAccess.getParameterRuleAccess().getNameIDTerminalRuleCall_2_0());
-
-
- if (current==null) {
- current = createModelElement(grammarAccess.getParameterRuleRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_2_0,
- "ID");
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:135:2: (otherlv_3= ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | ( (lv_typeUndefined_5_0= '<Undefined>' ) ) ) )?
- int alt4=2;
- int LA4_0 = input.LA(1);
-
- if ( (LA4_0==12) ) {
- alt4=1;
- }
- switch (alt4) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:135:4: otherlv_3= ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | ( (lv_typeUndefined_5_0= '<Undefined>' ) ) )
- {
- otherlv_3=(Token)match(input,12,FOLLOW_12_in_ruleParameterRule189);
-
- newLeafNode(otherlv_3, grammarAccess.getParameterRuleAccess().getColonKeyword_3_0());
-
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:139:1: ( ( (lv_type_4_0= ruleTypeRule ) ) | ( (lv_typeUndefined_5_0= '<Undefined>' ) ) )
- int alt3=2;
- int LA3_0 = input.LA(1);
-
- if ( (LA3_0==RULE_ID) ) {
- alt3=1;
- }
- else if ( (LA3_0==13) ) {
- alt3=2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 3, 0, input);
-
- throw nvae;
- }
- switch (alt3) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:139:2: ( (lv_type_4_0= ruleTypeRule ) )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:139:2: ( (lv_type_4_0= ruleTypeRule ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:140:1: (lv_type_4_0= ruleTypeRule )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:140:1: (lv_type_4_0= ruleTypeRule )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:141:3: lv_type_4_0= ruleTypeRule
- {
-
- newCompositeNode(grammarAccess.getParameterRuleAccess().getTypeTypeRuleParserRuleCall_3_1_0_0());
-
- pushFollow(FOLLOW_ruleTypeRule_in_ruleParameterRule211);
- lv_type_4_0=ruleTypeRule();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getParameterRuleRule());
- }
- set(
- current,
- "type",
- lv_type_4_0,
- "TypeRule");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:158:6: ( (lv_typeUndefined_5_0= '<Undefined>' ) )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:158:6: ( (lv_typeUndefined_5_0= '<Undefined>' ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:159:1: (lv_typeUndefined_5_0= '<Undefined>' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:159:1: (lv_typeUndefined_5_0= '<Undefined>' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:160:3: lv_typeUndefined_5_0= '<Undefined>'
- {
- lv_typeUndefined_5_0=(Token)match(input,13,FOLLOW_13_in_ruleParameterRule235);
-
- newLeafNode(lv_typeUndefined_5_0, grammarAccess.getParameterRuleAccess().getTypeUndefinedUndefinedKeyword_3_1_1_0());
-
-
- if (current==null) {
- current = createModelElement(grammarAccess.getParameterRuleRule());
- }
- setWithLastConsumed(current, "typeUndefined", true, "<Undefined>");
-
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:173:5: ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )?
- int alt5=2;
- int LA5_0 = input.LA(1);
-
- if ( (LA5_0==23) ) {
- alt5=1;
- }
- switch (alt5) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:174:1: (lv_multiplicity_6_0= ruleMultiplicityRule )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:174:1: (lv_multiplicity_6_0= ruleMultiplicityRule )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:175:3: lv_multiplicity_6_0= ruleMultiplicityRule
- {
-
- newCompositeNode(grammarAccess.getParameterRuleAccess().getMultiplicityMultiplicityRuleParserRuleCall_4_0());
-
- pushFollow(FOLLOW_ruleMultiplicityRule_in_ruleParameterRule272);
- lv_multiplicity_6_0=ruleMultiplicityRule();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getParameterRuleRule());
- }
- set(
- current,
- "multiplicity",
- lv_multiplicity_6_0,
- "MultiplicityRule");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:191:3: ( (lv_modifiers_7_0= ruleModifiersRule ) )?
- int alt6=2;
- int LA6_0 = input.LA(1);
-
- if ( (LA6_0==14) ) {
- int LA6_1 = input.LA(2);
-
- if ( (LA6_1==16||(LA6_1>=27 && LA6_1<=30)) ) {
- alt6=1;
- }
- }
- switch (alt6) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:192:1: (lv_modifiers_7_0= ruleModifiersRule )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:192:1: (lv_modifiers_7_0= ruleModifiersRule )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:193:3: lv_modifiers_7_0= ruleModifiersRule
- {
-
- newCompositeNode(grammarAccess.getParameterRuleAccess().getModifiersModifiersRuleParserRuleCall_5_0());
-
- pushFollow(FOLLOW_ruleModifiersRule_in_ruleParameterRule294);
- lv_modifiers_7_0=ruleModifiersRule();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getParameterRuleRule());
- }
- set(
- current,
- "modifiers",
- lv_modifiers_7_0,
- "ModifiersRule");
- afterParserOrEnumRuleCall();
-
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleParameterRule"
+
+
+ // $ANTLR start "ruleParameterRule"
+ // InternalUmlParameter.g:77:1: ruleParameterRule returns [EObject current=null] : ( ( (lv_visibility_0_0= ruleVisibilityRule ) )? ( (lv_direction_1_0= ruleDirectionRule ) )? ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= ':' ( ( (lv_type_4_0= ruleTypeRule ) ) |
+ // ( (lv_typeUndefined_5_0= '<Undefined>' ) ) ) )? ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_effect_8_0= ruleEffectRule ) )? ( (lv_defaultValue_9_0= ruleDefaultValueRule ) )? ) ;
+ public final EObject ruleParameterRule() throws RecognitionException {
+ EObject current = null;
+
+ Token lv_name_2_0 = null;
+ Token otherlv_3 = null;
+ Token lv_typeUndefined_5_0 = null;
+ EObject lv_visibility_0_0 = null;
+
+ EObject lv_direction_1_0 = null;
+
+ EObject lv_type_4_0 = null;
+
+ EObject lv_multiplicity_6_0 = null;
+
+ EObject lv_modifiers_7_0 = null;
+
+ EObject lv_effect_8_0 = null;
+
+ EObject lv_defaultValue_9_0 = null;
+
+
+ enterRule();
+
+ try {
+ // InternalUmlParameter.g:80:28: ( ( ( (lv_visibility_0_0= ruleVisibilityRule ) )? ( (lv_direction_1_0= ruleDirectionRule ) )? ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | ( (lv_typeUndefined_5_0= '<Undefined>' )
+ // ) ) )? ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_effect_8_0= ruleEffectRule ) )? ( (lv_defaultValue_9_0= ruleDefaultValueRule ) )? ) )
+ // InternalUmlParameter.g:81:1: ( ( (lv_visibility_0_0= ruleVisibilityRule ) )? ( (lv_direction_1_0= ruleDirectionRule ) )? ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | ( (lv_typeUndefined_5_0= '<Undefined>' ) )
+ // ) )? ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_effect_8_0= ruleEffectRule ) )? ( (lv_defaultValue_9_0= ruleDefaultValueRule ) )? )
+ {
+ // InternalUmlParameter.g:81:1: ( ( (lv_visibility_0_0= ruleVisibilityRule ) )? ( (lv_direction_1_0= ruleDirectionRule ) )? ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | ( (lv_typeUndefined_5_0= '<Undefined>'
+ // ) ) ) )? ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_effect_8_0= ruleEffectRule ) )? ( (lv_defaultValue_9_0= ruleDefaultValueRule ) )? )
+ // InternalUmlParameter.g:81:2: ( (lv_visibility_0_0= ruleVisibilityRule ) )? ( (lv_direction_1_0= ruleDirectionRule ) )? ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | ( (lv_typeUndefined_5_0= '<Undefined>' )
+ // ) ) )? ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )? ( (lv_modifiers_7_0= ruleModifiersRule ) )? ( (lv_effect_8_0= ruleEffectRule ) )? ( (lv_defaultValue_9_0= ruleDefaultValueRule ) )?
+ {
+ // InternalUmlParameter.g:81:2: ( (lv_visibility_0_0= ruleVisibilityRule ) )?
+ int alt1 = 2;
+ int LA1_0 = input.LA(1);
+
+ if (((LA1_0 >= 37 && LA1_0 <= 40))) {
+ alt1 = 1;
+ }
+ switch (alt1) {
+ case 1:
+ // InternalUmlParameter.g:82:1: (lv_visibility_0_0= ruleVisibilityRule )
+ {
+ // InternalUmlParameter.g:82:1: (lv_visibility_0_0= ruleVisibilityRule )
+ // InternalUmlParameter.g:83:3: lv_visibility_0_0= ruleVisibilityRule
+ {
+
+ newCompositeNode(grammarAccess.getParameterRuleAccess().getVisibilityVisibilityRuleParserRuleCall_0_0());
+
+ pushFollow(FOLLOW_3);
+ lv_visibility_0_0 = ruleVisibilityRule();
+
+ state._fsp--;
+
+
+ if (current == null) {
+ current = createModelElementForParent(grammarAccess.getParameterRuleRule());
+ }
+ set(
+ current,
+ "visibility",
+ lv_visibility_0_0,
+ "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.VisibilityRule");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+ // InternalUmlParameter.g:99:3: ( (lv_direction_1_0= ruleDirectionRule ) )?
+ int alt2 = 2;
+ int LA2_0 = input.LA(1);
+
+ if (((LA2_0 >= 41 && LA2_0 <= 44))) {
+ alt2 = 1;
+ }
+ switch (alt2) {
+ case 1:
+ // InternalUmlParameter.g:100:1: (lv_direction_1_0= ruleDirectionRule )
+ {
+ // InternalUmlParameter.g:100:1: (lv_direction_1_0= ruleDirectionRule )
+ // InternalUmlParameter.g:101:3: lv_direction_1_0= ruleDirectionRule
+ {
+
+ newCompositeNode(grammarAccess.getParameterRuleAccess().getDirectionDirectionRuleParserRuleCall_1_0());
+
+ pushFollow(FOLLOW_4);
+ lv_direction_1_0 = ruleDirectionRule();
+
+ state._fsp--;
+
+
+ if (current == null) {
+ current = createModelElementForParent(grammarAccess.getParameterRuleRule());
+ }
+ set(
+ current,
+ "direction",
+ lv_direction_1_0,
+ "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.DirectionRule");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+ // InternalUmlParameter.g:117:3: ( (lv_name_2_0= RULE_ID ) )
+ // InternalUmlParameter.g:118:1: (lv_name_2_0= RULE_ID )
+ {
+ // InternalUmlParameter.g:118:1: (lv_name_2_0= RULE_ID )
+ // InternalUmlParameter.g:119:3: lv_name_2_0= RULE_ID
+ {
+ lv_name_2_0 = (Token) match(input, RULE_ID, FOLLOW_5);
+
+ newLeafNode(lv_name_2_0, grammarAccess.getParameterRuleAccess().getNameIDTerminalRuleCall_2_0());
+
+
+ if (current == null) {
+ current = createModelElement(grammarAccess.getParameterRuleRule());
+ }
+ setWithLastConsumed(
+ current,
+ "name",
+ lv_name_2_0,
+ "org.eclipse.papyrus.uml.alf.Common.ID");
+
+
+ }
+
+
+ }
+
+ // InternalUmlParameter.g:135:2: (otherlv_3= ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | ( (lv_typeUndefined_5_0= '<Undefined>' ) ) ) )?
+ int alt4 = 2;
+ int LA4_0 = input.LA(1);
+
+ if ((LA4_0 == 12)) {
+ alt4 = 1;
+ }
+ switch (alt4) {
+ case 1:
+ // InternalUmlParameter.g:135:4: otherlv_3= ':' ( ( (lv_type_4_0= ruleTypeRule ) ) | ( (lv_typeUndefined_5_0= '<Undefined>' ) ) )
+ {
+ otherlv_3 = (Token) match(input, 12, FOLLOW_6);
+
+ newLeafNode(otherlv_3, grammarAccess.getParameterRuleAccess().getColonKeyword_3_0());
+
+ // InternalUmlParameter.g:139:1: ( ( (lv_type_4_0= ruleTypeRule ) ) | ( (lv_typeUndefined_5_0= '<Undefined>' ) ) )
+ int alt3 = 2;
+ int LA3_0 = input.LA(1);
+
+ if ((LA3_0 == RULE_ID)) {
+ alt3 = 1;
+ } else if ((LA3_0 == 13)) {
+ alt3 = 2;
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 3, 0, input);
+
+ throw nvae;
+ }
+ switch (alt3) {
+ case 1:
+ // InternalUmlParameter.g:139:2: ( (lv_type_4_0= ruleTypeRule ) )
+ {
+ // InternalUmlParameter.g:139:2: ( (lv_type_4_0= ruleTypeRule ) )
+ // InternalUmlParameter.g:140:1: (lv_type_4_0= ruleTypeRule )
+ {
+ // InternalUmlParameter.g:140:1: (lv_type_4_0= ruleTypeRule )
+ // InternalUmlParameter.g:141:3: lv_type_4_0= ruleTypeRule
+ {
+
+ newCompositeNode(grammarAccess.getParameterRuleAccess().getTypeTypeRuleParserRuleCall_3_1_0_0());
+
+ pushFollow(FOLLOW_7);
+ lv_type_4_0 = ruleTypeRule();
+
+ state._fsp--;
+
+
+ if (current == null) {
+ current = createModelElementForParent(grammarAccess.getParameterRuleRule());
+ }
+ set(
+ current,
+ "type",
+ lv_type_4_0,
+ "org.eclipse.papyrus.uml.textedit.common.xtext.UmlCommon.TypeRule");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2:
+ // InternalUmlParameter.g:158:6: ( (lv_typeUndefined_5_0= '<Undefined>' ) )
+ {
+ // InternalUmlParameter.g:158:6: ( (lv_typeUndefined_5_0= '<Undefined>' ) )
+ // InternalUmlParameter.g:159:1: (lv_typeUndefined_5_0= '<Undefined>' )
+ {
+ // InternalUmlParameter.g:159:1: (lv_typeUndefined_5_0= '<Undefined>' )
+ // InternalUmlParameter.g:160:3: lv_typeUndefined_5_0= '<Undefined>'
+ {
+ lv_typeUndefined_5_0 = (Token) match(input, 13, FOLLOW_7);
+
+ newLeafNode(lv_typeUndefined_5_0, grammarAccess.getParameterRuleAccess().getTypeUndefinedUndefinedKeyword_3_1_1_0());
+
+
+ if (current == null) {
+ current = createModelElement(grammarAccess.getParameterRuleRule());
+ }
+ setWithLastConsumed(current, "typeUndefined", true, "<Undefined>");
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+ break;
+
+ }
+
+ // InternalUmlParameter.g:173:5: ( (lv_multiplicity_6_0= ruleMultiplicityRule ) )?
+ int alt5 = 2;
+ int LA5_0 = input.LA(1);
+
+ if ((LA5_0 == 23)) {
+ alt5 = 1;
+ }
+ switch (alt5) {
+ case 1:
+ // InternalUmlParameter.g:174:1: (lv_multiplicity_6_0= ruleMultiplicityRule )
+ {
+ // InternalUmlParameter.g:174:1: (lv_multiplicity_6_0= ruleMultiplicityRule )
+ // InternalUmlParameter.g:175:3: lv_multiplicity_6_0= ruleMultiplicityRule
+ {
+
+ newCompositeNode(grammarAccess.getParameterRuleAccess().getMultiplicityMultiplicityRuleParserRuleCall_4_0());
+
+ pushFollow(FOLLOW_8);
+ lv_multiplicity_6_0 = ruleMultiplicityRule();
+
+ state._fsp--;
+
+
+ if (current == null) {
+ current = createModelElementForParent(grammarAccess.getParameterRuleRule());
+ }
+ set(
+ current,
+ "multiplicity",
+ lv_multiplicity_6_0,
+ "org.eclipse.papyrus.uml.textedit.common.xtext.UmlCommon.MultiplicityRule");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+ // InternalUmlParameter.g:191:3: ( (lv_modifiers_7_0= ruleModifiersRule ) )?
+ int alt6 = 2;
+ int LA6_0 = input.LA(1);
+
+ if ((LA6_0 == 14)) {
+ int LA6_1 = input.LA(2);
+
+ if ((LA6_1 == 16 || (LA6_1 >= 27 && LA6_1 <= 30))) {
+ alt6 = 1;
+ }
+ }
+ switch (alt6) {
+ case 1:
+ // InternalUmlParameter.g:192:1: (lv_modifiers_7_0= ruleModifiersRule )
+ {
+ // InternalUmlParameter.g:192:1: (lv_modifiers_7_0= ruleModifiersRule )
+ // InternalUmlParameter.g:193:3: lv_modifiers_7_0= ruleModifiersRule
+ {
+
+ newCompositeNode(grammarAccess.getParameterRuleAccess().getModifiersModifiersRuleParserRuleCall_5_0());
+
+ pushFollow(FOLLOW_8);
+ lv_modifiers_7_0 = ruleModifiersRule();
+
+ state._fsp--;
+
+
+ if (current == null) {
+ current = createModelElementForParent(grammarAccess.getParameterRuleRule());
+ }
+ set(
+ current,
+ "modifiers",
+ lv_modifiers_7_0,
+ "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.ModifiersRule");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+ // InternalUmlParameter.g:209:3: ( (lv_effect_8_0= ruleEffectRule ) )?
+ int alt7 = 2;
+ int LA7_0 = input.LA(1);
+
+ if ((LA7_0 == 14)) {
+ alt7 = 1;
+ }
+ switch (alt7) {
+ case 1:
+ // InternalUmlParameter.g:210:1: (lv_effect_8_0= ruleEffectRule )
+ {
+ // InternalUmlParameter.g:210:1: (lv_effect_8_0= ruleEffectRule )
+ // InternalUmlParameter.g:211:3: lv_effect_8_0= ruleEffectRule
+ {
+
+ newCompositeNode(grammarAccess.getParameterRuleAccess().getEffectEffectRuleParserRuleCall_6_0());
+
+ pushFollow(FOLLOW_9);
+ lv_effect_8_0 = ruleEffectRule();
+
+ state._fsp--;
+
+
+ if (current == null) {
+ current = createModelElementForParent(grammarAccess.getParameterRuleRule());
+ }
+ set(
+ current,
+ "effect",
+ lv_effect_8_0,
+ "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.EffectRule");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+ // InternalUmlParameter.g:227:3: ( (lv_defaultValue_9_0= ruleDefaultValueRule ) )?
+ int alt8 = 2;
+ int LA8_0 = input.LA(1);
+
+ if ((LA8_0 == 18)) {
+ alt8 = 1;
+ }
+ switch (alt8) {
+ case 1:
+ // InternalUmlParameter.g:228:1: (lv_defaultValue_9_0= ruleDefaultValueRule )
+ {
+ // InternalUmlParameter.g:228:1: (lv_defaultValue_9_0= ruleDefaultValueRule )
+ // InternalUmlParameter.g:229:3: lv_defaultValue_9_0= ruleDefaultValueRule
+ {
+
+ newCompositeNode(grammarAccess.getParameterRuleAccess().getDefaultValueDefaultValueRuleParserRuleCall_7_0());
+
+ pushFollow(FOLLOW_2);
+ lv_defaultValue_9_0 = ruleDefaultValueRule();
+
+ state._fsp--;
+
+
+ if (current == null) {
+ current = createModelElementForParent(grammarAccess.getParameterRuleRule());
+ }
+ set(
+ current,
+ "defaultValue",
+ lv_defaultValue_9_0,
+ "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.DefaultValueRule");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleParameterRule"
+
+
+ // $ANTLR start "entryRuleModifiersRule"
+ // InternalUmlParameter.g:253:1: entryRuleModifiersRule returns [EObject current=null] : iv_ruleModifiersRule= ruleModifiersRule EOF ;
+ public final EObject entryRuleModifiersRule() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleModifiersRule = null;
+
+
+ try {
+ // InternalUmlParameter.g:254:2: (iv_ruleModifiersRule= ruleModifiersRule EOF )
+ // InternalUmlParameter.g:255:2: iv_ruleModifiersRule= ruleModifiersRule EOF
+ {
+ newCompositeNode(grammarAccess.getModifiersRuleRule());
+ pushFollow(FOLLOW_1);
+ iv_ruleModifiersRule = ruleModifiersRule();
+
+ state._fsp--;
+
+ current = iv_ruleModifiersRule;
+ match(input, EOF, FOLLOW_2);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleModifiersRule"
+
+
+ // $ANTLR start "ruleModifiersRule"
+ // InternalUmlParameter.g:262:1: ruleModifiersRule returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_values_2_0= ruleModifierSpecification ) ) (otherlv_3= ',' ( (lv_values_4_0= ruleModifierSpecification ) ) )* )? otherlv_5= '}' ) ;
+ public final EObject ruleModifiersRule() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1 = null;
+ Token otherlv_3 = null;
+ Token otherlv_5 = null;
+ EObject lv_values_2_0 = null;
+
+ EObject lv_values_4_0 = null;
+
+
+ enterRule();
+
+ try {
+ // InternalUmlParameter.g:265:28: ( ( () otherlv_1= '{' ( ( (lv_values_2_0= ruleModifierSpecification ) ) (otherlv_3= ',' ( (lv_values_4_0= ruleModifierSpecification ) ) )* )? otherlv_5= '}' ) )
+ // InternalUmlParameter.g:266:1: ( () otherlv_1= '{' ( ( (lv_values_2_0= ruleModifierSpecification ) ) (otherlv_3= ',' ( (lv_values_4_0= ruleModifierSpecification ) ) )* )? otherlv_5= '}' )
+ {
+ // InternalUmlParameter.g:266:1: ( () otherlv_1= '{' ( ( (lv_values_2_0= ruleModifierSpecification ) ) (otherlv_3= ',' ( (lv_values_4_0= ruleModifierSpecification ) ) )* )? otherlv_5= '}' )
+ // InternalUmlParameter.g:266:2: () otherlv_1= '{' ( ( (lv_values_2_0= ruleModifierSpecification ) ) (otherlv_3= ',' ( (lv_values_4_0= ruleModifierSpecification ) ) )* )? otherlv_5= '}'
+ {
+ // InternalUmlParameter.g:266:2: ()
+ // InternalUmlParameter.g:267:5:
+ {
+
+ current = forceCreateModelElement(
+ grammarAccess.getModifiersRuleAccess().getModifiersRuleAction_0(),
+ current);
+
+
+ }
+
+ otherlv_1 = (Token) match(input, 14, FOLLOW_10);
+
+ newLeafNode(otherlv_1, grammarAccess.getModifiersRuleAccess().getLeftCurlyBracketKeyword_1());
+
+ // InternalUmlParameter.g:276:1: ( ( (lv_values_2_0= ruleModifierSpecification ) ) (otherlv_3= ',' ( (lv_values_4_0= ruleModifierSpecification ) ) )* )?
+ int alt10 = 2;
+ int LA10_0 = input.LA(1);
+
+ if (((LA10_0 >= 27 && LA10_0 <= 30))) {
+ alt10 = 1;
+ }
+ switch (alt10) {
+ case 1:
+ // InternalUmlParameter.g:276:2: ( (lv_values_2_0= ruleModifierSpecification ) ) (otherlv_3= ',' ( (lv_values_4_0= ruleModifierSpecification ) ) )*
+ {
+ // InternalUmlParameter.g:276:2: ( (lv_values_2_0= ruleModifierSpecification ) )
+ // InternalUmlParameter.g:277:1: (lv_values_2_0= ruleModifierSpecification )
+ {
+ // InternalUmlParameter.g:277:1: (lv_values_2_0= ruleModifierSpecification )
+ // InternalUmlParameter.g:278:3: lv_values_2_0= ruleModifierSpecification
+ {
+
+ newCompositeNode(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_2_0_0());
+
+ pushFollow(FOLLOW_11);
+ lv_values_2_0 = ruleModifierSpecification();
+
+ state._fsp--;
+
+
+ if (current == null) {
+ current = createModelElementForParent(grammarAccess.getModifiersRuleRule());
+ }
+ add(
+ current,
+ "values",
+ lv_values_2_0,
+ "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.ModifierSpecification");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+ // InternalUmlParameter.g:294:2: (otherlv_3= ',' ( (lv_values_4_0= ruleModifierSpecification ) ) )*
+ loop9: do {
+ int alt9 = 2;
+ int LA9_0 = input.LA(1);
+
+ if ((LA9_0 == 15)) {
+ alt9 = 1;
+ }
+
+
+ switch (alt9) {
+ case 1:
+ // InternalUmlParameter.g:294:4: otherlv_3= ',' ( (lv_values_4_0= ruleModifierSpecification ) )
+ {
+ otherlv_3 = (Token) match(input, 15, FOLLOW_12);
+
+ newLeafNode(otherlv_3, grammarAccess.getModifiersRuleAccess().getCommaKeyword_2_1_0());
+
+ // InternalUmlParameter.g:298:1: ( (lv_values_4_0= ruleModifierSpecification ) )
+ // InternalUmlParameter.g:299:1: (lv_values_4_0= ruleModifierSpecification )
+ {
+ // InternalUmlParameter.g:299:1: (lv_values_4_0= ruleModifierSpecification )
+ // InternalUmlParameter.g:300:3: lv_values_4_0= ruleModifierSpecification
+ {
+
+ newCompositeNode(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_2_1_1_0());
+
+ pushFollow(FOLLOW_11);
+ lv_values_4_0 = ruleModifierSpecification();
+
+ state._fsp--;
+
+
+ if (current == null) {
+ current = createModelElementForParent(grammarAccess.getModifiersRuleRule());
+ }
+ add(
+ current,
+ "values",
+ lv_values_4_0,
+ "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.ModifierSpecification");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default:
+ break loop9;
+ }
+ } while (true);
+
+
+ }
+ break;
+
+ }
+
+ otherlv_5 = (Token) match(input, 16, FOLLOW_2);
+
+ newLeafNode(otherlv_5, grammarAccess.getModifiersRuleAccess().getRightCurlyBracketKeyword_3());
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleModifiersRule"
+
+
+ // $ANTLR start "entryRuleModifierSpecification"
+ // InternalUmlParameter.g:328:1: entryRuleModifierSpecification returns [EObject current=null] : iv_ruleModifierSpecification= ruleModifierSpecification EOF ;
+ public final EObject entryRuleModifierSpecification() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleModifierSpecification = null;
+
+
+ try {
+ // InternalUmlParameter.g:329:2: (iv_ruleModifierSpecification= ruleModifierSpecification EOF )
+ // InternalUmlParameter.g:330:2: iv_ruleModifierSpecification= ruleModifierSpecification EOF
+ {
+ newCompositeNode(grammarAccess.getModifierSpecificationRule());
+ pushFollow(FOLLOW_1);
+ iv_ruleModifierSpecification = ruleModifierSpecification();
+
+ state._fsp--;
+
+ current = iv_ruleModifierSpecification;
+ match(input, EOF, FOLLOW_2);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleModifierSpecification"
+
+
+ // $ANTLR start "ruleModifierSpecification"
+ // InternalUmlParameter.g:337:1: ruleModifierSpecification returns [EObject current=null] : ( (lv_value_0_0= ruleModifierKind ) ) ;
+ public final EObject ruleModifierSpecification() throws RecognitionException {
+ EObject current = null;
+
+ Enumerator lv_value_0_0 = null;
+
+
+ enterRule();
+
+ try {
+ // InternalUmlParameter.g:340:28: ( ( (lv_value_0_0= ruleModifierKind ) ) )
+ // InternalUmlParameter.g:341:1: ( (lv_value_0_0= ruleModifierKind ) )
+ {
+ // InternalUmlParameter.g:341:1: ( (lv_value_0_0= ruleModifierKind ) )
+ // InternalUmlParameter.g:342:1: (lv_value_0_0= ruleModifierKind )
+ {
+ // InternalUmlParameter.g:342:1: (lv_value_0_0= ruleModifierKind )
+ // InternalUmlParameter.g:343:3: lv_value_0_0= ruleModifierKind
+ {
+
+ newCompositeNode(grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0());
+
+ pushFollow(FOLLOW_2);
+ lv_value_0_0 = ruleModifierKind();
+
+ state._fsp--;
+
+
+ if (current == null) {
+ current = createModelElementForParent(grammarAccess.getModifierSpecificationRule());
+ }
+ set(
+ current,
+ "value",
+ lv_value_0_0,
+ "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.ModifierKind");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleModifierSpecification"
+
+
+ // $ANTLR start "entryRuleVisibilityRule"
+ // InternalUmlParameter.g:367:1: entryRuleVisibilityRule returns [EObject current=null] : iv_ruleVisibilityRule= ruleVisibilityRule EOF ;
+ public final EObject entryRuleVisibilityRule() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleVisibilityRule = null;
+
+
+ try {
+ // InternalUmlParameter.g:368:2: (iv_ruleVisibilityRule= ruleVisibilityRule EOF )
+ // InternalUmlParameter.g:369:2: iv_ruleVisibilityRule= ruleVisibilityRule EOF
+ {
+ newCompositeNode(grammarAccess.getVisibilityRuleRule());
+ pushFollow(FOLLOW_1);
+ iv_ruleVisibilityRule = ruleVisibilityRule();
+
+ state._fsp--;
+
+ current = iv_ruleVisibilityRule;
+ match(input, EOF, FOLLOW_2);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleVisibilityRule"
+
+
+ // $ANTLR start "ruleVisibilityRule"
+ // InternalUmlParameter.g:376:1: ruleVisibilityRule returns [EObject current=null] : ( (lv_visibility_0_0= ruleVisibilityKind ) ) ;
+ public final EObject ruleVisibilityRule() throws RecognitionException {
+ EObject current = null;
+
+ Enumerator lv_visibility_0_0 = null;
+
+
+ enterRule();
+
+ try {
+ // InternalUmlParameter.g:379:28: ( ( (lv_visibility_0_0= ruleVisibilityKind ) ) )
+ // InternalUmlParameter.g:380:1: ( (lv_visibility_0_0= ruleVisibilityKind ) )
+ {
+ // InternalUmlParameter.g:380:1: ( (lv_visibility_0_0= ruleVisibilityKind ) )
+ // InternalUmlParameter.g:381:1: (lv_visibility_0_0= ruleVisibilityKind )
+ {
+ // InternalUmlParameter.g:381:1: (lv_visibility_0_0= ruleVisibilityKind )
+ // InternalUmlParameter.g:382:3: lv_visibility_0_0= ruleVisibilityKind
+ {
+
+ newCompositeNode(grammarAccess.getVisibilityRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0());
+
+ pushFollow(FOLLOW_2);
+ lv_visibility_0_0 = ruleVisibilityKind();
+
+ state._fsp--;
+
+
+ if (current == null) {
+ current = createModelElementForParent(grammarAccess.getVisibilityRuleRule());
+ }
+ set(
+ current,
+ "visibility",
+ lv_visibility_0_0,
+ "org.eclipse.papyrus.uml.textedit.common.xtext.UmlCommon.VisibilityKind");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleVisibilityRule"
+
+
+ // $ANTLR start "entryRuleDirectionRule"
+ // InternalUmlParameter.g:406:1: entryRuleDirectionRule returns [EObject current=null] : iv_ruleDirectionRule= ruleDirectionRule EOF ;
+ public final EObject entryRuleDirectionRule() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleDirectionRule = null;
+
+
+ try {
+ // InternalUmlParameter.g:407:2: (iv_ruleDirectionRule= ruleDirectionRule EOF )
+ // InternalUmlParameter.g:408:2: iv_ruleDirectionRule= ruleDirectionRule EOF
+ {
+ newCompositeNode(grammarAccess.getDirectionRuleRule());
+ pushFollow(FOLLOW_1);
+ iv_ruleDirectionRule = ruleDirectionRule();
+
+ state._fsp--;
+
+ current = iv_ruleDirectionRule;
+ match(input, EOF, FOLLOW_2);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleDirectionRule"
+
+
+ // $ANTLR start "ruleDirectionRule"
+ // InternalUmlParameter.g:415:1: ruleDirectionRule returns [EObject current=null] : ( (lv_direction_0_0= ruleDirection ) ) ;
+ public final EObject ruleDirectionRule() throws RecognitionException {
+ EObject current = null;
+
+ Enumerator lv_direction_0_0 = null;
+
+
+ enterRule();
+
+ try {
+ // InternalUmlParameter.g:418:28: ( ( (lv_direction_0_0= ruleDirection ) ) )
+ // InternalUmlParameter.g:419:1: ( (lv_direction_0_0= ruleDirection ) )
+ {
+ // InternalUmlParameter.g:419:1: ( (lv_direction_0_0= ruleDirection ) )
+ // InternalUmlParameter.g:420:1: (lv_direction_0_0= ruleDirection )
+ {
+ // InternalUmlParameter.g:420:1: (lv_direction_0_0= ruleDirection )
+ // InternalUmlParameter.g:421:3: lv_direction_0_0= ruleDirection
+ {
+
+ newCompositeNode(grammarAccess.getDirectionRuleAccess().getDirectionDirectionEnumRuleCall_0());
+
+ pushFollow(FOLLOW_2);
+ lv_direction_0_0 = ruleDirection();
+
+ state._fsp--;
+
+
+ if (current == null) {
+ current = createModelElementForParent(grammarAccess.getDirectionRuleRule());
+ }
+ set(
+ current,
+ "direction",
+ lv_direction_0_0,
+ "org.eclipse.papyrus.uml.textedit.common.xtext.UmlCommon.Direction");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleDirectionRule"
+
+
+ // $ANTLR start "entryRuleEffectRule"
+ // InternalUmlParameter.g:445:1: entryRuleEffectRule returns [EObject current=null] : iv_ruleEffectRule= ruleEffectRule EOF ;
+ public final EObject entryRuleEffectRule() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleEffectRule = null;
+
+
+ try {
+ // InternalUmlParameter.g:446:2: (iv_ruleEffectRule= ruleEffectRule EOF )
+ // InternalUmlParameter.g:447:2: iv_ruleEffectRule= ruleEffectRule EOF
+ {
+ newCompositeNode(grammarAccess.getEffectRuleRule());
+ pushFollow(FOLLOW_1);
+ iv_ruleEffectRule = ruleEffectRule();
+
+ state._fsp--;
+
+ current = iv_ruleEffectRule;
+ match(input, EOF, FOLLOW_2);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleEffectRule"
+
+
+ // $ANTLR start "ruleEffectRule"
+ // InternalUmlParameter.g:454:1: ruleEffectRule returns [EObject current=null] : (otherlv_0= '{' otherlv_1= 'effect:' ( (lv_effectKind_2_0= ruleEffectKind ) ) otherlv_3= '}' ) ;
+ public final EObject ruleEffectRule() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_0 = null;
+ Token otherlv_1 = null;
+ Token otherlv_3 = null;
+ Enumerator lv_effectKind_2_0 = null;
+
+
+ enterRule();
+
+ try {
+ // InternalUmlParameter.g:457:28: ( (otherlv_0= '{' otherlv_1= 'effect:' ( (lv_effectKind_2_0= ruleEffectKind ) ) otherlv_3= '}' ) )
+ // InternalUmlParameter.g:458:1: (otherlv_0= '{' otherlv_1= 'effect:' ( (lv_effectKind_2_0= ruleEffectKind ) ) otherlv_3= '}' )
+ {
+ // InternalUmlParameter.g:458:1: (otherlv_0= '{' otherlv_1= 'effect:' ( (lv_effectKind_2_0= ruleEffectKind ) ) otherlv_3= '}' )
+ // InternalUmlParameter.g:458:3: otherlv_0= '{' otherlv_1= 'effect:' ( (lv_effectKind_2_0= ruleEffectKind ) ) otherlv_3= '}'
+ {
+ otherlv_0 = (Token) match(input, 14, FOLLOW_13);
+
+ newLeafNode(otherlv_0, grammarAccess.getEffectRuleAccess().getLeftCurlyBracketKeyword_0());
+
+ otherlv_1 = (Token) match(input, 17, FOLLOW_14);
+
+ newLeafNode(otherlv_1, grammarAccess.getEffectRuleAccess().getEffectKeyword_1());
+
+ // InternalUmlParameter.g:466:1: ( (lv_effectKind_2_0= ruleEffectKind ) )
+ // InternalUmlParameter.g:467:1: (lv_effectKind_2_0= ruleEffectKind )
+ {
+ // InternalUmlParameter.g:467:1: (lv_effectKind_2_0= ruleEffectKind )
+ // InternalUmlParameter.g:468:3: lv_effectKind_2_0= ruleEffectKind
+ {
+
+ newCompositeNode(grammarAccess.getEffectRuleAccess().getEffectKindEffectKindEnumRuleCall_2_0());
+
+ pushFollow(FOLLOW_15);
+ lv_effectKind_2_0 = ruleEffectKind();
+
+ state._fsp--;
+
+
+ if (current == null) {
+ current = createModelElementForParent(grammarAccess.getEffectRuleRule());
+ }
+ set(
+ current,
+ "effectKind",
+ lv_effectKind_2_0,
+ "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.EffectKind");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+ otherlv_3 = (Token) match(input, 16, FOLLOW_2);
+
+ newLeafNode(otherlv_3, grammarAccess.getEffectRuleAccess().getRightCurlyBracketKeyword_3());
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleEffectRule"
+
+
+ // $ANTLR start "entryRuleDefaultValueRule"
+ // InternalUmlParameter.g:496:1: entryRuleDefaultValueRule returns [EObject current=null] : iv_ruleDefaultValueRule= ruleDefaultValueRule EOF ;
+ public final EObject entryRuleDefaultValueRule() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleDefaultValueRule = null;
+
+
+ try {
+ // InternalUmlParameter.g:497:2: (iv_ruleDefaultValueRule= ruleDefaultValueRule EOF )
+ // InternalUmlParameter.g:498:2: iv_ruleDefaultValueRule= ruleDefaultValueRule EOF
+ {
+ newCompositeNode(grammarAccess.getDefaultValueRuleRule());
+ pushFollow(FOLLOW_1);
+ iv_ruleDefaultValueRule = ruleDefaultValueRule();
+
+ state._fsp--;
+
+ current = iv_ruleDefaultValueRule;
+ match(input, EOF, FOLLOW_2);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleDefaultValueRule"
+
+
+ // $ANTLR start "ruleDefaultValueRule"
+ // InternalUmlParameter.g:505:1: ruleDefaultValueRule returns [EObject current=null] : (otherlv_0= '=' ( (lv_default_1_0= ruleValue ) ) ) ;
+ public final EObject ruleDefaultValueRule() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_0 = null;
+ EObject lv_default_1_0 = null;
+
+
+ enterRule();
+
+ try {
+ // InternalUmlParameter.g:508:28: ( (otherlv_0= '=' ( (lv_default_1_0= ruleValue ) ) ) )
+ // InternalUmlParameter.g:509:1: (otherlv_0= '=' ( (lv_default_1_0= ruleValue ) ) )
+ {
+ // InternalUmlParameter.g:509:1: (otherlv_0= '=' ( (lv_default_1_0= ruleValue ) ) )
+ // InternalUmlParameter.g:509:3: otherlv_0= '=' ( (lv_default_1_0= ruleValue ) )
+ {
+ otherlv_0 = (Token) match(input, 18, FOLLOW_16);
+
+ newLeafNode(otherlv_0, grammarAccess.getDefaultValueRuleAccess().getEqualsSignKeyword_0());
+
+ // InternalUmlParameter.g:513:1: ( (lv_default_1_0= ruleValue ) )
+ // InternalUmlParameter.g:514:1: (lv_default_1_0= ruleValue )
+ {
+ // InternalUmlParameter.g:514:1: (lv_default_1_0= ruleValue )
+ // InternalUmlParameter.g:515:3: lv_default_1_0= ruleValue
+ {
+
+ newCompositeNode(grammarAccess.getDefaultValueRuleAccess().getDefaultValueParserRuleCall_1_0());
+
+ pushFollow(FOLLOW_2);
+ lv_default_1_0 = ruleValue();
+
+ state._fsp--;
+
+
+ if (current == null) {
+ current = createModelElementForParent(grammarAccess.getDefaultValueRuleRule());
+ }
+ set(
+ current,
+ "default",
+ lv_default_1_0,
+ "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.Value");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleDefaultValueRule"
+
+
+ // $ANTLR start "entryRuleValue"
+ // InternalUmlParameter.g:539:1: entryRuleValue returns [EObject current=null] : iv_ruleValue= ruleValue EOF ;
+ public final EObject entryRuleValue() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleValue = null;
+
+
+ try {
+ // InternalUmlParameter.g:540:2: (iv_ruleValue= ruleValue EOF )
+ // InternalUmlParameter.g:541:2: iv_ruleValue= ruleValue EOF
+ {
+ newCompositeNode(grammarAccess.getValueRule());
+ pushFollow(FOLLOW_1);
+ iv_ruleValue = ruleValue();
+
+ state._fsp--;
+
+ current = iv_ruleValue;
+ match(input, EOF, FOLLOW_2);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleValue"
+
+
+ // $ANTLR start "ruleValue"
+ // InternalUmlParameter.g:548:1: ruleValue returns [EObject current=null] : (this_IntValue_0= ruleIntValue | this_StringValue_1= ruleStringValue | this_BooleanValue_2= ruleBooleanValue | this_RealValue_3= ruleRealValue | this_NullValue_4= ruleNullValue |
+ // this_NoValue_5= ruleNoValue ) ;
+ public final EObject ruleValue() throws RecognitionException {
+ EObject current = null;
+
+ EObject this_IntValue_0 = null;
+
+ EObject this_StringValue_1 = null;
+
+ EObject this_BooleanValue_2 = null;
+
+ EObject this_RealValue_3 = null;
+
+ EObject this_NullValue_4 = null;
+
+ EObject this_NoValue_5 = null;
+
+
+ enterRule();
+
+ try {
+ // InternalUmlParameter.g:551:28: ( (this_IntValue_0= ruleIntValue | this_StringValue_1= ruleStringValue | this_BooleanValue_2= ruleBooleanValue | this_RealValue_3= ruleRealValue | this_NullValue_4= ruleNullValue | this_NoValue_5= ruleNoValue ) )
+ // InternalUmlParameter.g:552:1: (this_IntValue_0= ruleIntValue | this_StringValue_1= ruleStringValue | this_BooleanValue_2= ruleBooleanValue | this_RealValue_3= ruleRealValue | this_NullValue_4= ruleNullValue | this_NoValue_5= ruleNoValue )
+ {
+ // InternalUmlParameter.g:552:1: (this_IntValue_0= ruleIntValue | this_StringValue_1= ruleStringValue | this_BooleanValue_2= ruleBooleanValue | this_RealValue_3= ruleRealValue | this_NullValue_4= ruleNullValue | this_NoValue_5= ruleNoValue )
+ int alt11 = 6;
+ switch (input.LA(1)) {
+ case RULE_INT: {
+ int LA11_1 = input.LA(2);
+
+ if ((LA11_1 == 19)) {
+ alt11 = 4;
+ } else if ((LA11_1 == EOF)) {
+ alt11 = 1;
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 11, 1, input);
+
+ throw nvae;
+ }
+ }
+ break;
+ case RULE_STRING: {
+ alt11 = 2;
+ }
+ break;
+ case 35:
+ case 36: {
+ alt11 = 3;
+ }
+ break;
+ case 19: {
+ alt11 = 4;
+ }
+ break;
+ case 20: {
+ alt11 = 5;
+ }
+ break;
+ case 21: {
+ alt11 = 6;
+ }
+ break;
+ default:
+ NoViableAltException nvae = new NoViableAltException("", 11, 0, input);
+
+ throw nvae;
+ }
+
+ switch (alt11) {
+ case 1:
+ // InternalUmlParameter.g:553:5: this_IntValue_0= ruleIntValue
+ {
+
+ newCompositeNode(grammarAccess.getValueAccess().getIntValueParserRuleCall_0());
+
+ pushFollow(FOLLOW_2);
+ this_IntValue_0 = ruleIntValue();
+
+ state._fsp--;
+
+
+ current = this_IntValue_0;
+ afterParserOrEnumRuleCall();
+
+
+ }
+ break;
+ case 2:
+ // InternalUmlParameter.g:563:5: this_StringValue_1= ruleStringValue
+ {
+
+ newCompositeNode(grammarAccess.getValueAccess().getStringValueParserRuleCall_1());
+
+ pushFollow(FOLLOW_2);
+ this_StringValue_1 = ruleStringValue();
+
+ state._fsp--;
+
+
+ current = this_StringValue_1;
+ afterParserOrEnumRuleCall();
+
+
+ }
+ break;
+ case 3:
+ // InternalUmlParameter.g:573:5: this_BooleanValue_2= ruleBooleanValue
+ {
+
+ newCompositeNode(grammarAccess.getValueAccess().getBooleanValueParserRuleCall_2());
+
+ pushFollow(FOLLOW_2);
+ this_BooleanValue_2 = ruleBooleanValue();
+
+ state._fsp--;
+
+
+ current = this_BooleanValue_2;
+ afterParserOrEnumRuleCall();
+
+
+ }
+ break;
+ case 4:
+ // InternalUmlParameter.g:583:5: this_RealValue_3= ruleRealValue
+ {
+
+ newCompositeNode(grammarAccess.getValueAccess().getRealValueParserRuleCall_3());
+
+ pushFollow(FOLLOW_2);
+ this_RealValue_3 = ruleRealValue();
+
+ state._fsp--;
+
+
+ current = this_RealValue_3;
+ afterParserOrEnumRuleCall();
+
+
+ }
+ break;
+ case 5:
+ // InternalUmlParameter.g:593:5: this_NullValue_4= ruleNullValue
+ {
+
+ newCompositeNode(grammarAccess.getValueAccess().getNullValueParserRuleCall_4());
+
+ pushFollow(FOLLOW_2);
+ this_NullValue_4 = ruleNullValue();
+
+ state._fsp--;
+
+
+ current = this_NullValue_4;
+ afterParserOrEnumRuleCall();
+
+
+ }
+ break;
+ case 6:
+ // InternalUmlParameter.g:603:5: this_NoValue_5= ruleNoValue
+ {
+
+ newCompositeNode(grammarAccess.getValueAccess().getNoValueParserRuleCall_5());
+
+ pushFollow(FOLLOW_2);
+ this_NoValue_5 = ruleNoValue();
+
+ state._fsp--;
+
+
+ current = this_NoValue_5;
+ afterParserOrEnumRuleCall();
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleValue"
+
+
+ // $ANTLR start "entryRuleIntValue"
+ // InternalUmlParameter.g:619:1: entryRuleIntValue returns [EObject current=null] : iv_ruleIntValue= ruleIntValue EOF ;
+ public final EObject entryRuleIntValue() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleIntValue = null;
+
+
+ try {
+ // InternalUmlParameter.g:620:2: (iv_ruleIntValue= ruleIntValue EOF )
+ // InternalUmlParameter.g:621:2: iv_ruleIntValue= ruleIntValue EOF
+ {
+ newCompositeNode(grammarAccess.getIntValueRule());
+ pushFollow(FOLLOW_1);
+ iv_ruleIntValue = ruleIntValue();
+
+ state._fsp--;
+
+ current = iv_ruleIntValue;
+ match(input, EOF, FOLLOW_2);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleIntValue"
+
+
+ // $ANTLR start "ruleIntValue"
+ // InternalUmlParameter.g:628:1: ruleIntValue returns [EObject current=null] : ( (lv_literalInteger_0_0= RULE_INT ) ) ;
+ public final EObject ruleIntValue() throws RecognitionException {
+ EObject current = null;
+
+ Token lv_literalInteger_0_0 = null;
+
+ enterRule();
+
+ try {
+ // InternalUmlParameter.g:631:28: ( ( (lv_literalInteger_0_0= RULE_INT ) ) )
+ // InternalUmlParameter.g:632:1: ( (lv_literalInteger_0_0= RULE_INT ) )
+ {
+ // InternalUmlParameter.g:632:1: ( (lv_literalInteger_0_0= RULE_INT ) )
+ // InternalUmlParameter.g:633:1: (lv_literalInteger_0_0= RULE_INT )
+ {
+ // InternalUmlParameter.g:633:1: (lv_literalInteger_0_0= RULE_INT )
+ // InternalUmlParameter.g:634:3: lv_literalInteger_0_0= RULE_INT
+ {
+ lv_literalInteger_0_0 = (Token) match(input, RULE_INT, FOLLOW_2);
+
+ newLeafNode(lv_literalInteger_0_0, grammarAccess.getIntValueAccess().getLiteralIntegerINTTerminalRuleCall_0());
+
+
+ if (current == null) {
+ current = createModelElement(grammarAccess.getIntValueRule());
+ }
+ setWithLastConsumed(
+ current,
+ "literalInteger",
+ lv_literalInteger_0_0,
+ "org.eclipse.papyrus.uml.alf.Common.INT");
+
+
+ }
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleIntValue"
+
+
+ // $ANTLR start "entryRuleStringValue"
+ // InternalUmlParameter.g:658:1: entryRuleStringValue returns [EObject current=null] : iv_ruleStringValue= ruleStringValue EOF ;
+ public final EObject entryRuleStringValue() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleStringValue = null;
+
+
+ try {
+ // InternalUmlParameter.g:659:2: (iv_ruleStringValue= ruleStringValue EOF )
+ // InternalUmlParameter.g:660:2: iv_ruleStringValue= ruleStringValue EOF
+ {
+ newCompositeNode(grammarAccess.getStringValueRule());
+ pushFollow(FOLLOW_1);
+ iv_ruleStringValue = ruleStringValue();
+
+ state._fsp--;
+
+ current = iv_ruleStringValue;
+ match(input, EOF, FOLLOW_2);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleStringValue"
+
+
+ // $ANTLR start "ruleStringValue"
+ // InternalUmlParameter.g:667:1: ruleStringValue returns [EObject current=null] : ( (lv_literalString_0_0= RULE_STRING ) ) ;
+ public final EObject ruleStringValue() throws RecognitionException {
+ EObject current = null;
+
+ Token lv_literalString_0_0 = null;
+
+ enterRule();
+
+ try {
+ // InternalUmlParameter.g:670:28: ( ( (lv_literalString_0_0= RULE_STRING ) ) )
+ // InternalUmlParameter.g:671:1: ( (lv_literalString_0_0= RULE_STRING ) )
+ {
+ // InternalUmlParameter.g:671:1: ( (lv_literalString_0_0= RULE_STRING ) )
+ // InternalUmlParameter.g:672:1: (lv_literalString_0_0= RULE_STRING )
+ {
+ // InternalUmlParameter.g:672:1: (lv_literalString_0_0= RULE_STRING )
+ // InternalUmlParameter.g:673:3: lv_literalString_0_0= RULE_STRING
+ {
+ lv_literalString_0_0 = (Token) match(input, RULE_STRING, FOLLOW_2);
+
+ newLeafNode(lv_literalString_0_0, grammarAccess.getStringValueAccess().getLiteralStringSTRINGTerminalRuleCall_0());
+
+
+ if (current == null) {
+ current = createModelElement(grammarAccess.getStringValueRule());
+ }
+ setWithLastConsumed(
+ current,
+ "literalString",
+ lv_literalString_0_0,
+ "org.eclipse.papyrus.uml.alf.Common.STRING");
+
+
+ }
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleStringValue"
+
+
+ // $ANTLR start "entryRuleBooleanValue"
+ // InternalUmlParameter.g:697:1: entryRuleBooleanValue returns [EObject current=null] : iv_ruleBooleanValue= ruleBooleanValue EOF ;
+ public final EObject entryRuleBooleanValue() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleBooleanValue = null;
+
+
+ try {
+ // InternalUmlParameter.g:698:2: (iv_ruleBooleanValue= ruleBooleanValue EOF )
+ // InternalUmlParameter.g:699:2: iv_ruleBooleanValue= ruleBooleanValue EOF
+ {
+ newCompositeNode(grammarAccess.getBooleanValueRule());
+ pushFollow(FOLLOW_1);
+ iv_ruleBooleanValue = ruleBooleanValue();
+
+ state._fsp--;
+
+ current = iv_ruleBooleanValue;
+ match(input, EOF, FOLLOW_2);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleBooleanValue"
+
+
+ // $ANTLR start "ruleBooleanValue"
+ // InternalUmlParameter.g:706:1: ruleBooleanValue returns [EObject current=null] : ( (lv_literalBoolean_0_0= ruleBooleanLiterals ) ) ;
+ public final EObject ruleBooleanValue() throws RecognitionException {
+ EObject current = null;
+
+ Enumerator lv_literalBoolean_0_0 = null;
+
+
+ enterRule();
+
+ try {
+ // InternalUmlParameter.g:709:28: ( ( (lv_literalBoolean_0_0= ruleBooleanLiterals ) ) )
+ // InternalUmlParameter.g:710:1: ( (lv_literalBoolean_0_0= ruleBooleanLiterals ) )
+ {
+ // InternalUmlParameter.g:710:1: ( (lv_literalBoolean_0_0= ruleBooleanLiterals ) )
+ // InternalUmlParameter.g:711:1: (lv_literalBoolean_0_0= ruleBooleanLiterals )
+ {
+ // InternalUmlParameter.g:711:1: (lv_literalBoolean_0_0= ruleBooleanLiterals )
+ // InternalUmlParameter.g:712:3: lv_literalBoolean_0_0= ruleBooleanLiterals
+ {
+
+ newCompositeNode(grammarAccess.getBooleanValueAccess().getLiteralBooleanBooleanLiteralsEnumRuleCall_0());
+
+ pushFollow(FOLLOW_2);
+ lv_literalBoolean_0_0 = ruleBooleanLiterals();
+
+ state._fsp--;
+
+
+ if (current == null) {
+ current = createModelElementForParent(grammarAccess.getBooleanValueRule());
+ }
+ set(
+ current,
+ "literalBoolean",
+ lv_literalBoolean_0_0,
+ "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.BooleanLiterals");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleBooleanValue"
+
+
+ // $ANTLR start "entryRuleRealValue"
+ // InternalUmlParameter.g:736:1: entryRuleRealValue returns [EObject current=null] : iv_ruleRealValue= ruleRealValue EOF ;
+ public final EObject entryRuleRealValue() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleRealValue = null;
+
+
+ try {
+ // InternalUmlParameter.g:737:2: (iv_ruleRealValue= ruleRealValue EOF )
+ // InternalUmlParameter.g:738:2: iv_ruleRealValue= ruleRealValue EOF
+ {
+ newCompositeNode(grammarAccess.getRealValueRule());
+ pushFollow(FOLLOW_1);
+ iv_ruleRealValue = ruleRealValue();
+
+ state._fsp--;
+
+ current = iv_ruleRealValue;
+ match(input, EOF, FOLLOW_2);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleRealValue"
+
+
+ // $ANTLR start "ruleRealValue"
+ // InternalUmlParameter.g:745:1: ruleRealValue returns [EObject current=null] : ( ( ( (lv_integer_0_0= RULE_INT ) ) otherlv_1= '.' ) | (otherlv_2= '.' ( (lv_fraction_3_0= RULE_INT ) ) ) | ( ( (lv_integer_4_0= RULE_INT ) ) otherlv_5= '.' ( (lv_fraction_6_0=
+ // RULE_INT ) ) ) ) ;
+ public final EObject ruleRealValue() throws RecognitionException {
+ EObject current = null;
+
+ Token lv_integer_0_0 = null;
+ Token otherlv_1 = null;
+ Token otherlv_2 = null;
+ Token lv_fraction_3_0 = null;
+ Token lv_integer_4_0 = null;
+ Token otherlv_5 = null;
+ Token lv_fraction_6_0 = null;
+
+ enterRule();
+
+ try {
+ // InternalUmlParameter.g:748:28: ( ( ( ( (lv_integer_0_0= RULE_INT ) ) otherlv_1= '.' ) | (otherlv_2= '.' ( (lv_fraction_3_0= RULE_INT ) ) ) | ( ( (lv_integer_4_0= RULE_INT ) ) otherlv_5= '.' ( (lv_fraction_6_0= RULE_INT ) ) ) ) )
+ // InternalUmlParameter.g:749:1: ( ( ( (lv_integer_0_0= RULE_INT ) ) otherlv_1= '.' ) | (otherlv_2= '.' ( (lv_fraction_3_0= RULE_INT ) ) ) | ( ( (lv_integer_4_0= RULE_INT ) ) otherlv_5= '.' ( (lv_fraction_6_0= RULE_INT ) ) ) )
+ {
+ // InternalUmlParameter.g:749:1: ( ( ( (lv_integer_0_0= RULE_INT ) ) otherlv_1= '.' ) | (otherlv_2= '.' ( (lv_fraction_3_0= RULE_INT ) ) ) | ( ( (lv_integer_4_0= RULE_INT ) ) otherlv_5= '.' ( (lv_fraction_6_0= RULE_INT ) ) ) )
+ int alt12 = 3;
+ int LA12_0 = input.LA(1);
+
+ if ((LA12_0 == RULE_INT)) {
+ int LA12_1 = input.LA(2);
+
+ if ((LA12_1 == 19)) {
+ int LA12_3 = input.LA(3);
+
+ if ((LA12_3 == RULE_INT)) {
+ alt12 = 3;
+ } else if ((LA12_3 == EOF)) {
+ alt12 = 1;
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 12, 3, input);
+
+ throw nvae;
+ }
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 12, 1, input);
+
+ throw nvae;
+ }
+ } else if ((LA12_0 == 19)) {
+ alt12 = 2;
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 12, 0, input);
+
+ throw nvae;
+ }
+ switch (alt12) {
+ case 1:
+ // InternalUmlParameter.g:749:2: ( ( (lv_integer_0_0= RULE_INT ) ) otherlv_1= '.' )
+ {
+ // InternalUmlParameter.g:749:2: ( ( (lv_integer_0_0= RULE_INT ) ) otherlv_1= '.' )
+ // InternalUmlParameter.g:749:3: ( (lv_integer_0_0= RULE_INT ) ) otherlv_1= '.'
+ {
+ // InternalUmlParameter.g:749:3: ( (lv_integer_0_0= RULE_INT ) )
+ // InternalUmlParameter.g:750:1: (lv_integer_0_0= RULE_INT )
+ {
+ // InternalUmlParameter.g:750:1: (lv_integer_0_0= RULE_INT )
+ // InternalUmlParameter.g:751:3: lv_integer_0_0= RULE_INT
+ {
+ lv_integer_0_0 = (Token) match(input, RULE_INT, FOLLOW_17);
+
+ newLeafNode(lv_integer_0_0, grammarAccess.getRealValueAccess().getIntegerINTTerminalRuleCall_0_0_0());
+
+
+ if (current == null) {
+ current = createModelElement(grammarAccess.getRealValueRule());
+ }
+ setWithLastConsumed(
+ current,
+ "integer",
+ lv_integer_0_0,
+ "org.eclipse.papyrus.uml.alf.Common.INT");
+
+
+ }
+
+
+ }
+
+ otherlv_1 = (Token) match(input, 19, FOLLOW_2);
+
+ newLeafNode(otherlv_1, grammarAccess.getRealValueAccess().getFullStopKeyword_0_1());
+
+
+ }
+
+
+ }
+ break;
+ case 2:
+ // InternalUmlParameter.g:772:6: (otherlv_2= '.' ( (lv_fraction_3_0= RULE_INT ) ) )
+ {
+ // InternalUmlParameter.g:772:6: (otherlv_2= '.' ( (lv_fraction_3_0= RULE_INT ) ) )
+ // InternalUmlParameter.g:772:8: otherlv_2= '.' ( (lv_fraction_3_0= RULE_INT ) )
+ {
+ otherlv_2 = (Token) match(input, 19, FOLLOW_18);
+
+ newLeafNode(otherlv_2, grammarAccess.getRealValueAccess().getFullStopKeyword_1_0());
+
+ // InternalUmlParameter.g:776:1: ( (lv_fraction_3_0= RULE_INT ) )
+ // InternalUmlParameter.g:777:1: (lv_fraction_3_0= RULE_INT )
+ {
+ // InternalUmlParameter.g:777:1: (lv_fraction_3_0= RULE_INT )
+ // InternalUmlParameter.g:778:3: lv_fraction_3_0= RULE_INT
+ {
+ lv_fraction_3_0 = (Token) match(input, RULE_INT, FOLLOW_2);
+
+ newLeafNode(lv_fraction_3_0, grammarAccess.getRealValueAccess().getFractionINTTerminalRuleCall_1_1_0());
+
+
+ if (current == null) {
+ current = createModelElement(grammarAccess.getRealValueRule());
+ }
+ setWithLastConsumed(
+ current,
+ "fraction",
+ lv_fraction_3_0,
+ "org.eclipse.papyrus.uml.alf.Common.INT");
+
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 3:
+ // InternalUmlParameter.g:795:6: ( ( (lv_integer_4_0= RULE_INT ) ) otherlv_5= '.' ( (lv_fraction_6_0= RULE_INT ) ) )
+ {
+ // InternalUmlParameter.g:795:6: ( ( (lv_integer_4_0= RULE_INT ) ) otherlv_5= '.' ( (lv_fraction_6_0= RULE_INT ) ) )
+ // InternalUmlParameter.g:795:7: ( (lv_integer_4_0= RULE_INT ) ) otherlv_5= '.' ( (lv_fraction_6_0= RULE_INT ) )
+ {
+ // InternalUmlParameter.g:795:7: ( (lv_integer_4_0= RULE_INT ) )
+ // InternalUmlParameter.g:796:1: (lv_integer_4_0= RULE_INT )
+ {
+ // InternalUmlParameter.g:796:1: (lv_integer_4_0= RULE_INT )
+ // InternalUmlParameter.g:797:3: lv_integer_4_0= RULE_INT
+ {
+ lv_integer_4_0 = (Token) match(input, RULE_INT, FOLLOW_17);
+
+ newLeafNode(lv_integer_4_0, grammarAccess.getRealValueAccess().getIntegerINTTerminalRuleCall_2_0_0());
+
+
+ if (current == null) {
+ current = createModelElement(grammarAccess.getRealValueRule());
+ }
+ setWithLastConsumed(
+ current,
+ "integer",
+ lv_integer_4_0,
+ "org.eclipse.papyrus.uml.alf.Common.INT");
+
+
+ }
+
+
+ }
+
+ otherlv_5 = (Token) match(input, 19, FOLLOW_18);
+
+ newLeafNode(otherlv_5, grammarAccess.getRealValueAccess().getFullStopKeyword_2_1());
+
+ // InternalUmlParameter.g:817:1: ( (lv_fraction_6_0= RULE_INT ) )
+ // InternalUmlParameter.g:818:1: (lv_fraction_6_0= RULE_INT )
+ {
+ // InternalUmlParameter.g:818:1: (lv_fraction_6_0= RULE_INT )
+ // InternalUmlParameter.g:819:3: lv_fraction_6_0= RULE_INT
+ {
+ lv_fraction_6_0 = (Token) match(input, RULE_INT, FOLLOW_2);
+
+ newLeafNode(lv_fraction_6_0, grammarAccess.getRealValueAccess().getFractionINTTerminalRuleCall_2_2_0());
+
+
+ if (current == null) {
+ current = createModelElement(grammarAccess.getRealValueRule());
+ }
+ setWithLastConsumed(
+ current,
+ "fraction",
+ lv_fraction_6_0,
+ "org.eclipse.papyrus.uml.alf.Common.INT");
+
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleRealValue"
+
+
+ // $ANTLR start "entryRuleNullValue"
+ // InternalUmlParameter.g:843:1: entryRuleNullValue returns [EObject current=null] : iv_ruleNullValue= ruleNullValue EOF ;
+ public final EObject entryRuleNullValue() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleNullValue = null;
+
+
+ try {
+ // InternalUmlParameter.g:844:2: (iv_ruleNullValue= ruleNullValue EOF )
+ // InternalUmlParameter.g:845:2: iv_ruleNullValue= ruleNullValue EOF
+ {
+ newCompositeNode(grammarAccess.getNullValueRule());
+ pushFollow(FOLLOW_1);
+ iv_ruleNullValue = ruleNullValue();
+
+ state._fsp--;
+
+ current = iv_ruleNullValue;
+ match(input, EOF, FOLLOW_2);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleNullValue"
+
+
+ // $ANTLR start "ruleNullValue"
+ // InternalUmlParameter.g:852:1: ruleNullValue returns [EObject current=null] : ( () otherlv_1= 'null' ) ;
+ public final EObject ruleNullValue() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1 = null;
+
+ enterRule();
+
+ try {
+ // InternalUmlParameter.g:855:28: ( ( () otherlv_1= 'null' ) )
+ // InternalUmlParameter.g:856:1: ( () otherlv_1= 'null' )
+ {
+ // InternalUmlParameter.g:856:1: ( () otherlv_1= 'null' )
+ // InternalUmlParameter.g:856:2: () otherlv_1= 'null'
+ {
+ // InternalUmlParameter.g:856:2: ()
+ // InternalUmlParameter.g:857:5:
+ {
+
+ current = forceCreateModelElement(
+ grammarAccess.getNullValueAccess().getNullValueAction_0(),
+ current);
+
+
+ }
+
+ otherlv_1 = (Token) match(input, 20, FOLLOW_2);
+
+ newLeafNode(otherlv_1, grammarAccess.getNullValueAccess().getNullKeyword_1());
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleNullValue"
+
+
+ // $ANTLR start "entryRuleNoValue"
+ // InternalUmlParameter.g:874:1: entryRuleNoValue returns [EObject current=null] : iv_ruleNoValue= ruleNoValue EOF ;
+ public final EObject entryRuleNoValue() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleNoValue = null;
+
+
+ try {
+ // InternalUmlParameter.g:875:2: (iv_ruleNoValue= ruleNoValue EOF )
+ // InternalUmlParameter.g:876:2: iv_ruleNoValue= ruleNoValue EOF
+ {
+ newCompositeNode(grammarAccess.getNoValueRule());
+ pushFollow(FOLLOW_1);
+ iv_ruleNoValue = ruleNoValue();
+
+ state._fsp--;
+
+ current = iv_ruleNoValue;
+ match(input, EOF, FOLLOW_2);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleNoValue"
+
+
+ // $ANTLR start "ruleNoValue"
+ // InternalUmlParameter.g:883:1: ruleNoValue returns [EObject current=null] : ( () otherlv_1= 'none' ) ;
+ public final EObject ruleNoValue() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1 = null;
+
+ enterRule();
+
+ try {
+ // InternalUmlParameter.g:886:28: ( ( () otherlv_1= 'none' ) )
+ // InternalUmlParameter.g:887:1: ( () otherlv_1= 'none' )
+ {
+ // InternalUmlParameter.g:887:1: ( () otherlv_1= 'none' )
+ // InternalUmlParameter.g:887:2: () otherlv_1= 'none'
+ {
+ // InternalUmlParameter.g:887:2: ()
+ // InternalUmlParameter.g:888:5:
+ {
+
+ current = forceCreateModelElement(
+ grammarAccess.getNoValueAccess().getNoValueAction_0(),
+ current);
+
+
+ }
+
+ otherlv_1 = (Token) match(input, 21, FOLLOW_2);
+
+ newLeafNode(otherlv_1, grammarAccess.getNoValueAccess().getNoneKeyword_1());
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleNoValue"
+
+
+ // $ANTLR start "entryRuleQualifiedName"
+ // InternalUmlParameter.g:905:1: entryRuleQualifiedName returns [EObject current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
+ public final EObject entryRuleQualifiedName() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleQualifiedName = null;
+
+
+ try {
+ // InternalUmlParameter.g:906:2: (iv_ruleQualifiedName= ruleQualifiedName EOF )
+ // InternalUmlParameter.g:907:2: iv_ruleQualifiedName= ruleQualifiedName EOF
+ {
+ newCompositeNode(grammarAccess.getQualifiedNameRule());
+ pushFollow(FOLLOW_1);
+ iv_ruleQualifiedName = ruleQualifiedName();
+
+ state._fsp--;
+
+ current = iv_ruleQualifiedName;
+ match(input, EOF, FOLLOW_2);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleQualifiedName"
+
+
+ // $ANTLR start "ruleQualifiedName"
+ // InternalUmlParameter.g:914:1: ruleQualifiedName returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) ;
+ public final EObject ruleQualifiedName() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_0 = null;
+ Token otherlv_1 = null;
+ EObject lv_remaining_2_0 = null;
+
+
+ enterRule();
+
+ try {
+ // InternalUmlParameter.g:917:28: ( ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) )
+ // InternalUmlParameter.g:918:1: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? )
+ {
+ // InternalUmlParameter.g:918:1: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? )
+ // InternalUmlParameter.g:918:2: ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )?
+ {
+ // InternalUmlParameter.g:918:2: ( (otherlv_0= RULE_ID ) )
+ // InternalUmlParameter.g:919:1: (otherlv_0= RULE_ID )
+ {
+ // InternalUmlParameter.g:919:1: (otherlv_0= RULE_ID )
+ // InternalUmlParameter.g:920:3: otherlv_0= RULE_ID
+ {
+
+ if (current == null) {
+ current = createModelElement(grammarAccess.getQualifiedNameRule());
+ }
+
+ otherlv_0 = (Token) match(input, RULE_ID, FOLLOW_19);
+
+ newLeafNode(otherlv_0, grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0());
+
+
+ }
+
+
+ }
+
+ otherlv_1 = (Token) match(input, 22, FOLLOW_20);
+
+ newLeafNode(otherlv_1, grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1());
+
+ // InternalUmlParameter.g:935:1: ( (lv_remaining_2_0= ruleQualifiedName ) )?
+ int alt13 = 2;
+ int LA13_0 = input.LA(1);
+
+ if ((LA13_0 == RULE_ID)) {
+ int LA13_1 = input.LA(2);
+
+ if ((LA13_1 == 22)) {
+ alt13 = 1;
+ }
+ }
+ switch (alt13) {
+ case 1:
+ // InternalUmlParameter.g:936:1: (lv_remaining_2_0= ruleQualifiedName )
+ {
+ // InternalUmlParameter.g:936:1: (lv_remaining_2_0= ruleQualifiedName )
+ // InternalUmlParameter.g:937:3: lv_remaining_2_0= ruleQualifiedName
+ {
+
+ newCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0());
+
+ pushFollow(FOLLOW_2);
+ lv_remaining_2_0 = ruleQualifiedName();
+
+ state._fsp--;
+
+
+ if (current == null) {
+ current = createModelElementForParent(grammarAccess.getQualifiedNameRule());
+ }
+ set(
+ current,
+ "remaining",
+ lv_remaining_2_0,
+ "org.eclipse.papyrus.uml.textedit.common.xtext.UmlCommon.QualifiedName");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleQualifiedName"
+
+
+ // $ANTLR start "entryRuleTypeRule"
+ // InternalUmlParameter.g:961:1: entryRuleTypeRule returns [EObject current=null] : iv_ruleTypeRule= ruleTypeRule EOF ;
+ public final EObject entryRuleTypeRule() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleTypeRule = null;
+
+
+ try {
+ // InternalUmlParameter.g:962:2: (iv_ruleTypeRule= ruleTypeRule EOF )
+ // InternalUmlParameter.g:963:2: iv_ruleTypeRule= ruleTypeRule EOF
+ {
+ newCompositeNode(grammarAccess.getTypeRuleRule());
+ pushFollow(FOLLOW_1);
+ iv_ruleTypeRule = ruleTypeRule();
+
+ state._fsp--;
+
+ current = iv_ruleTypeRule;
+ match(input, EOF, FOLLOW_2);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleTypeRule"
+
+
+ // $ANTLR start "ruleTypeRule"
+ // InternalUmlParameter.g:970:1: ruleTypeRule returns [EObject current=null] : ( ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) ) ) ;
+ public final EObject ruleTypeRule() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1 = null;
+ EObject lv_path_0_0 = null;
+
+
+ enterRule();
+
+ try {
+ // InternalUmlParameter.g:973:28: ( ( ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) ) ) )
+ // InternalUmlParameter.g:974:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) ) )
+ {
+ // InternalUmlParameter.g:974:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) ) )
+ // InternalUmlParameter.g:974:2: ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) )
+ {
+ // InternalUmlParameter.g:974:2: ( (lv_path_0_0= ruleQualifiedName ) )?
+ int alt14 = 2;
+ int LA14_0 = input.LA(1);
+
+ if ((LA14_0 == RULE_ID)) {
+ int LA14_1 = input.LA(2);
+
+ if ((LA14_1 == 22)) {
+ alt14 = 1;
+ }
+ }
+ switch (alt14) {
+ case 1:
+ // InternalUmlParameter.g:975:1: (lv_path_0_0= ruleQualifiedName )
+ {
+ // InternalUmlParameter.g:975:1: (lv_path_0_0= ruleQualifiedName )
+ // InternalUmlParameter.g:976:3: lv_path_0_0= ruleQualifiedName
+ {
+
+ newCompositeNode(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0());
+
+ pushFollow(FOLLOW_4);
+ lv_path_0_0 = ruleQualifiedName();
+
+ state._fsp--;
+
+
+ if (current == null) {
+ current = createModelElementForParent(grammarAccess.getTypeRuleRule());
+ }
+ set(
+ current,
+ "path",
+ lv_path_0_0,
+ "org.eclipse.papyrus.uml.textedit.common.xtext.UmlCommon.QualifiedName");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+ // InternalUmlParameter.g:992:3: ( (otherlv_1= RULE_ID ) )
+ // InternalUmlParameter.g:993:1: (otherlv_1= RULE_ID )
+ {
+ // InternalUmlParameter.g:993:1: (otherlv_1= RULE_ID )
+ // InternalUmlParameter.g:994:3: otherlv_1= RULE_ID
+ {
+
+ if (current == null) {
+ current = createModelElement(grammarAccess.getTypeRuleRule());
+ }
+
+ otherlv_1 = (Token) match(input, RULE_ID, FOLLOW_2);
+
+ newLeafNode(otherlv_1, grammarAccess.getTypeRuleAccess().getTypeTypeCrossReference_1_0());
+
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleTypeRule"
+
+
+ // $ANTLR start "entryRuleMultiplicityRule"
+ // InternalUmlParameter.g:1013:1: entryRuleMultiplicityRule returns [EObject current=null] : iv_ruleMultiplicityRule= ruleMultiplicityRule EOF ;
+ public final EObject entryRuleMultiplicityRule() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleMultiplicityRule = null;
+
+
+ try {
+ // InternalUmlParameter.g:1014:2: (iv_ruleMultiplicityRule= ruleMultiplicityRule EOF )
+ // InternalUmlParameter.g:1015:2: iv_ruleMultiplicityRule= ruleMultiplicityRule EOF
+ {
+ newCompositeNode(grammarAccess.getMultiplicityRuleRule());
+ pushFollow(FOLLOW_1);
+ iv_ruleMultiplicityRule = ruleMultiplicityRule();
+
+ state._fsp--;
+
+ current = iv_ruleMultiplicityRule;
+ match(input, EOF, FOLLOW_2);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleMultiplicityRule"
+
+
+ // $ANTLR start "ruleMultiplicityRule"
+ // InternalUmlParameter.g:1022:1: ruleMultiplicityRule returns [EObject current=null] : (otherlv_0= '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) (otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? otherlv_4= ']' ) ;
+ public final EObject ruleMultiplicityRule() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_0 = null;
+ Token otherlv_2 = null;
+ Token otherlv_4 = null;
+ EObject lv_bounds_1_0 = null;
+
+ EObject lv_bounds_3_0 = null;
+
+
+ enterRule();
+
+ try {
+ // InternalUmlParameter.g:1025:28: ( (otherlv_0= '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) (otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? otherlv_4= ']' ) )
+ // InternalUmlParameter.g:1026:1: (otherlv_0= '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) (otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? otherlv_4= ']' )
+ {
+ // InternalUmlParameter.g:1026:1: (otherlv_0= '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) (otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? otherlv_4= ']' )
+ // InternalUmlParameter.g:1026:3: otherlv_0= '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) (otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? otherlv_4= ']'
+ {
+ otherlv_0 = (Token) match(input, 23, FOLLOW_21);
+
+ newLeafNode(otherlv_0, grammarAccess.getMultiplicityRuleAccess().getLeftSquareBracketKeyword_0());
+
+ // InternalUmlParameter.g:1030:1: ( (lv_bounds_1_0= ruleBoundSpecification ) )
+ // InternalUmlParameter.g:1031:1: (lv_bounds_1_0= ruleBoundSpecification )
+ {
+ // InternalUmlParameter.g:1031:1: (lv_bounds_1_0= ruleBoundSpecification )
+ // InternalUmlParameter.g:1032:3: lv_bounds_1_0= ruleBoundSpecification
+ {
+
+ newCompositeNode(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0());
+
+ pushFollow(FOLLOW_22);
+ lv_bounds_1_0 = ruleBoundSpecification();
+
+ state._fsp--;
+
+
+ if (current == null) {
+ current = createModelElementForParent(grammarAccess.getMultiplicityRuleRule());
+ }
+ add(
+ current,
+ "bounds",
+ lv_bounds_1_0,
+ "org.eclipse.papyrus.uml.textedit.common.xtext.UmlCommon.BoundSpecification");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+ // InternalUmlParameter.g:1048:2: (otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )?
+ int alt15 = 2;
+ int LA15_0 = input.LA(1);
+
+ if ((LA15_0 == 24)) {
+ alt15 = 1;
+ }
+ switch (alt15) {
+ case 1:
+ // InternalUmlParameter.g:1048:4: otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) )
+ {
+ otherlv_2 = (Token) match(input, 24, FOLLOW_21);
+
+ newLeafNode(otherlv_2, grammarAccess.getMultiplicityRuleAccess().getFullStopFullStopKeyword_2_0());
+
+ // InternalUmlParameter.g:1052:1: ( (lv_bounds_3_0= ruleBoundSpecification ) )
+ // InternalUmlParameter.g:1053:1: (lv_bounds_3_0= ruleBoundSpecification )
+ {
+ // InternalUmlParameter.g:1053:1: (lv_bounds_3_0= ruleBoundSpecification )
+ // InternalUmlParameter.g:1054:3: lv_bounds_3_0= ruleBoundSpecification
+ {
+
+ newCompositeNode(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0());
+
+ pushFollow(FOLLOW_23);
+ lv_bounds_3_0 = ruleBoundSpecification();
+
+ state._fsp--;
+
+
+ if (current == null) {
+ current = createModelElementForParent(grammarAccess.getMultiplicityRuleRule());
+ }
+ add(
+ current,
+ "bounds",
+ lv_bounds_3_0,
+ "org.eclipse.papyrus.uml.textedit.common.xtext.UmlCommon.BoundSpecification");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+ otherlv_4 = (Token) match(input, 25, FOLLOW_2);
+
+ newLeafNode(otherlv_4, grammarAccess.getMultiplicityRuleAccess().getRightSquareBracketKeyword_3());
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleMultiplicityRule"
+
+
+ // $ANTLR start "entryRuleBoundSpecification"
+ // InternalUmlParameter.g:1082:1: entryRuleBoundSpecification returns [EObject current=null] : iv_ruleBoundSpecification= ruleBoundSpecification EOF ;
+ public final EObject entryRuleBoundSpecification() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleBoundSpecification = null;
+
+
+ try {
+ // InternalUmlParameter.g:1083:2: (iv_ruleBoundSpecification= ruleBoundSpecification EOF )
+ // InternalUmlParameter.g:1084:2: iv_ruleBoundSpecification= ruleBoundSpecification EOF
+ {
+ newCompositeNode(grammarAccess.getBoundSpecificationRule());
+ pushFollow(FOLLOW_1);
+ iv_ruleBoundSpecification = ruleBoundSpecification();
+
+ state._fsp--;
+
+ current = iv_ruleBoundSpecification;
+ match(input, EOF, FOLLOW_2);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleBoundSpecification"
+
+
+ // $ANTLR start "ruleBoundSpecification"
+ // InternalUmlParameter.g:1091:1: ruleBoundSpecification returns [EObject current=null] : ( (lv_value_0_0= ruleUnlimitedLiteral ) ) ;
+ public final EObject ruleBoundSpecification() throws RecognitionException {
+ EObject current = null;
- }
+ AntlrDatatypeRuleToken lv_value_0_0 = null;
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:209:3: ( (lv_effect_8_0= ruleEffectRule ) )?
- int alt7=2;
- int LA7_0 = input.LA(1);
-
- if ( (LA7_0==14) ) {
- alt7=1;
- }
- switch (alt7) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:210:1: (lv_effect_8_0= ruleEffectRule )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:210:1: (lv_effect_8_0= ruleEffectRule )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:211:3: lv_effect_8_0= ruleEffectRule
- {
-
- newCompositeNode(grammarAccess.getParameterRuleAccess().getEffectEffectRuleParserRuleCall_6_0());
-
- pushFollow(FOLLOW_ruleEffectRule_in_ruleParameterRule316);
- lv_effect_8_0=ruleEffectRule();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getParameterRuleRule());
- }
- set(
- current,
- "effect",
- lv_effect_8_0,
- "EffectRule");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:227:3: ( (lv_defaultValue_9_0= ruleDefaultValueRule ) )?
- int alt8=2;
- int LA8_0 = input.LA(1);
-
- if ( (LA8_0==18) ) {
- alt8=1;
- }
- switch (alt8) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:228:1: (lv_defaultValue_9_0= ruleDefaultValueRule )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:228:1: (lv_defaultValue_9_0= ruleDefaultValueRule )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:229:3: lv_defaultValue_9_0= ruleDefaultValueRule
- {
-
- newCompositeNode(grammarAccess.getParameterRuleAccess().getDefaultValueDefaultValueRuleParserRuleCall_7_0());
-
- pushFollow(FOLLOW_ruleDefaultValueRule_in_ruleParameterRule338);
- lv_defaultValue_9_0=ruleDefaultValueRule();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getParameterRuleRule());
- }
- set(
- current,
- "defaultValue",
- lv_defaultValue_9_0,
- "DefaultValueRule");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleParameterRule"
-
-
- // $ANTLR start "entryRuleModifiersRule"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:253:1: entryRuleModifiersRule returns [EObject current=null] : iv_ruleModifiersRule= ruleModifiersRule EOF ;
- public final EObject entryRuleModifiersRule() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleModifiersRule = null;
-
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:254:2: (iv_ruleModifiersRule= ruleModifiersRule EOF )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:255:2: iv_ruleModifiersRule= ruleModifiersRule EOF
- {
- newCompositeNode(grammarAccess.getModifiersRuleRule());
- pushFollow(FOLLOW_ruleModifiersRule_in_entryRuleModifiersRule375);
- iv_ruleModifiersRule=ruleModifiersRule();
-
- state._fsp--;
-
- current =iv_ruleModifiersRule;
- match(input,EOF,FOLLOW_EOF_in_entryRuleModifiersRule385);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleModifiersRule"
-
-
- // $ANTLR start "ruleModifiersRule"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:262:1: ruleModifiersRule returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_values_2_0= ruleModifierSpecification ) ) (otherlv_3= ',' ( (lv_values_4_0= ruleModifierSpecification ) ) )* )? otherlv_5= '}' ) ;
- public final EObject ruleModifiersRule() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1=null;
- Token otherlv_3=null;
- Token otherlv_5=null;
- EObject lv_values_2_0 = null;
-
- EObject lv_values_4_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:265:28: ( ( () otherlv_1= '{' ( ( (lv_values_2_0= ruleModifierSpecification ) ) (otherlv_3= ',' ( (lv_values_4_0= ruleModifierSpecification ) ) )* )? otherlv_5= '}' ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:266:1: ( () otherlv_1= '{' ( ( (lv_values_2_0= ruleModifierSpecification ) ) (otherlv_3= ',' ( (lv_values_4_0= ruleModifierSpecification ) ) )* )? otherlv_5= '}' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:266:1: ( () otherlv_1= '{' ( ( (lv_values_2_0= ruleModifierSpecification ) ) (otherlv_3= ',' ( (lv_values_4_0= ruleModifierSpecification ) ) )* )? otherlv_5= '}' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:266:2: () otherlv_1= '{' ( ( (lv_values_2_0= ruleModifierSpecification ) ) (otherlv_3= ',' ( (lv_values_4_0= ruleModifierSpecification ) ) )* )? otherlv_5= '}'
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:266:2: ()
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:267:5:
- {
-
- current = forceCreateModelElement(
- grammarAccess.getModifiersRuleAccess().getModifiersRuleAction_0(),
- current);
-
-
- }
-
- otherlv_1=(Token)match(input,14,FOLLOW_14_in_ruleModifiersRule431);
-
- newLeafNode(otherlv_1, grammarAccess.getModifiersRuleAccess().getLeftCurlyBracketKeyword_1());
-
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:276:1: ( ( (lv_values_2_0= ruleModifierSpecification ) ) (otherlv_3= ',' ( (lv_values_4_0= ruleModifierSpecification ) ) )* )?
- int alt10=2;
- int LA10_0 = input.LA(1);
-
- if ( ((LA10_0>=27 && LA10_0<=30)) ) {
- alt10=1;
- }
- switch (alt10) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:276:2: ( (lv_values_2_0= ruleModifierSpecification ) ) (otherlv_3= ',' ( (lv_values_4_0= ruleModifierSpecification ) ) )*
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:276:2: ( (lv_values_2_0= ruleModifierSpecification ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:277:1: (lv_values_2_0= ruleModifierSpecification )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:277:1: (lv_values_2_0= ruleModifierSpecification )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:278:3: lv_values_2_0= ruleModifierSpecification
- {
-
- newCompositeNode(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_2_0_0());
-
- pushFollow(FOLLOW_ruleModifierSpecification_in_ruleModifiersRule453);
- lv_values_2_0=ruleModifierSpecification();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getModifiersRuleRule());
- }
- add(
- current,
- "values",
- lv_values_2_0,
- "ModifierSpecification");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:294:2: (otherlv_3= ',' ( (lv_values_4_0= ruleModifierSpecification ) ) )*
- loop9:
- do {
- int alt9=2;
- int LA9_0 = input.LA(1);
-
- if ( (LA9_0==15) ) {
- alt9=1;
- }
-
-
- switch (alt9) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:294:4: otherlv_3= ',' ( (lv_values_4_0= ruleModifierSpecification ) )
- {
- otherlv_3=(Token)match(input,15,FOLLOW_15_in_ruleModifiersRule466);
-
- newLeafNode(otherlv_3, grammarAccess.getModifiersRuleAccess().getCommaKeyword_2_1_0());
-
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:298:1: ( (lv_values_4_0= ruleModifierSpecification ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:299:1: (lv_values_4_0= ruleModifierSpecification )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:299:1: (lv_values_4_0= ruleModifierSpecification )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:300:3: lv_values_4_0= ruleModifierSpecification
- {
-
- newCompositeNode(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_2_1_1_0());
-
- pushFollow(FOLLOW_ruleModifierSpecification_in_ruleModifiersRule487);
- lv_values_4_0=ruleModifierSpecification();
-
- state._fsp--;
+ enterRule();
+ try {
+ // InternalUmlParameter.g:1094:28: ( ( (lv_value_0_0= ruleUnlimitedLiteral ) ) )
+ // InternalUmlParameter.g:1095:1: ( (lv_value_0_0= ruleUnlimitedLiteral ) )
+ {
+ // InternalUmlParameter.g:1095:1: ( (lv_value_0_0= ruleUnlimitedLiteral ) )
+ // InternalUmlParameter.g:1096:1: (lv_value_0_0= ruleUnlimitedLiteral )
+ {
+ // InternalUmlParameter.g:1096:1: (lv_value_0_0= ruleUnlimitedLiteral )
+ // InternalUmlParameter.g:1097:3: lv_value_0_0= ruleUnlimitedLiteral
+ {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getModifiersRuleRule());
- }
- add(
- current,
- "values",
- lv_values_4_0,
- "ModifierSpecification");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- default :
- break loop9;
- }
- } while (true);
-
-
- }
- break;
-
- }
-
- otherlv_5=(Token)match(input,16,FOLLOW_16_in_ruleModifiersRule503);
-
- newLeafNode(otherlv_5, grammarAccess.getModifiersRuleAccess().getRightCurlyBracketKeyword_3());
-
-
- }
+ newCompositeNode(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralParserRuleCall_0());
+ pushFollow(FOLLOW_2);
+ lv_value_0_0 = ruleUnlimitedLiteral();
- }
+ state._fsp--;
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleModifiersRule"
+ if (current == null) {
+ current = createModelElementForParent(grammarAccess.getBoundSpecificationRule());
+ }
+ set(
+ current,
+ "value",
+ lv_value_0_0,
+ "org.eclipse.papyrus.uml.textedit.common.xtext.UmlCommon.UnlimitedLiteral");
+ afterParserOrEnumRuleCall();
- // $ANTLR start "entryRuleModifierSpecification"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:328:1: entryRuleModifierSpecification returns [EObject current=null] : iv_ruleModifierSpecification= ruleModifierSpecification EOF ;
- public final EObject entryRuleModifierSpecification() throws RecognitionException {
- EObject current = null;
- EObject iv_ruleModifierSpecification = null;
+ }
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:329:2: (iv_ruleModifierSpecification= ruleModifierSpecification EOF )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:330:2: iv_ruleModifierSpecification= ruleModifierSpecification EOF
- {
- newCompositeNode(grammarAccess.getModifierSpecificationRule());
- pushFollow(FOLLOW_ruleModifierSpecification_in_entryRuleModifierSpecification539);
- iv_ruleModifierSpecification=ruleModifierSpecification();
+ }
- state._fsp--;
- current =iv_ruleModifierSpecification;
- match(input,EOF,FOLLOW_EOF_in_entryRuleModifierSpecification549);
+ }
- }
+ leaveRule();
+ }
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleModifierSpecification"
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleBoundSpecification"
- // $ANTLR start "ruleModifierSpecification"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:337:1: ruleModifierSpecification returns [EObject current=null] : ( (lv_value_0_0= ruleModifierKind ) ) ;
- public final EObject ruleModifierSpecification() throws RecognitionException {
- EObject current = null;
+ // $ANTLR start "entryRuleUnlimitedLiteral"
+ // InternalUmlParameter.g:1121:1: entryRuleUnlimitedLiteral returns [String current=null] : iv_ruleUnlimitedLiteral= ruleUnlimitedLiteral EOF ;
+ public final String entryRuleUnlimitedLiteral() throws RecognitionException {
+ String current = null;
- Enumerator lv_value_0_0 = null;
+ AntlrDatatypeRuleToken iv_ruleUnlimitedLiteral = null;
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:340:28: ( ( (lv_value_0_0= ruleModifierKind ) ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:341:1: ( (lv_value_0_0= ruleModifierKind ) )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:341:1: ( (lv_value_0_0= ruleModifierKind ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:342:1: (lv_value_0_0= ruleModifierKind )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:342:1: (lv_value_0_0= ruleModifierKind )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:343:3: lv_value_0_0= ruleModifierKind
- {
-
- newCompositeNode(grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0());
-
- pushFollow(FOLLOW_ruleModifierKind_in_ruleModifierSpecification594);
- lv_value_0_0=ruleModifierKind();
+ try {
+ // InternalUmlParameter.g:1122:2: (iv_ruleUnlimitedLiteral= ruleUnlimitedLiteral EOF )
+ // InternalUmlParameter.g:1123:2: iv_ruleUnlimitedLiteral= ruleUnlimitedLiteral EOF
+ {
+ newCompositeNode(grammarAccess.getUnlimitedLiteralRule());
+ pushFollow(FOLLOW_1);
+ iv_ruleUnlimitedLiteral = ruleUnlimitedLiteral();
- state._fsp--;
+ state._fsp--;
+ current = iv_ruleUnlimitedLiteral.getText();
+ match(input, EOF, FOLLOW_2);
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getModifierSpecificationRule());
- }
- set(
- current,
- "value",
- lv_value_0_0,
- "ModifierKind");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleModifierSpecification"
-
-
- // $ANTLR start "entryRuleVisibilityRule"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:367:1: entryRuleVisibilityRule returns [EObject current=null] : iv_ruleVisibilityRule= ruleVisibilityRule EOF ;
- public final EObject entryRuleVisibilityRule() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleVisibilityRule = null;
-
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:368:2: (iv_ruleVisibilityRule= ruleVisibilityRule EOF )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:369:2: iv_ruleVisibilityRule= ruleVisibilityRule EOF
- {
- newCompositeNode(grammarAccess.getVisibilityRuleRule());
- pushFollow(FOLLOW_ruleVisibilityRule_in_entryRuleVisibilityRule629);
- iv_ruleVisibilityRule=ruleVisibilityRule();
-
- state._fsp--;
-
- current =iv_ruleVisibilityRule;
- match(input,EOF,FOLLOW_EOF_in_entryRuleVisibilityRule639);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleVisibilityRule"
-
-
- // $ANTLR start "ruleVisibilityRule"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:376:1: ruleVisibilityRule returns [EObject current=null] : ( (lv_visibility_0_0= ruleVisibilityKind ) ) ;
- public final EObject ruleVisibilityRule() throws RecognitionException {
- EObject current = null;
-
- Enumerator lv_visibility_0_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:379:28: ( ( (lv_visibility_0_0= ruleVisibilityKind ) ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:380:1: ( (lv_visibility_0_0= ruleVisibilityKind ) )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:380:1: ( (lv_visibility_0_0= ruleVisibilityKind ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:381:1: (lv_visibility_0_0= ruleVisibilityKind )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:381:1: (lv_visibility_0_0= ruleVisibilityKind )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:382:3: lv_visibility_0_0= ruleVisibilityKind
- {
-
- newCompositeNode(grammarAccess.getVisibilityRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0());
-
- pushFollow(FOLLOW_ruleVisibilityKind_in_ruleVisibilityRule684);
- lv_visibility_0_0=ruleVisibilityKind();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getVisibilityRuleRule());
- }
- set(
- current,
- "visibility",
- lv_visibility_0_0,
- "VisibilityKind");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleVisibilityRule"
-
-
- // $ANTLR start "entryRuleDirectionRule"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:406:1: entryRuleDirectionRule returns [EObject current=null] : iv_ruleDirectionRule= ruleDirectionRule EOF ;
- public final EObject entryRuleDirectionRule() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleDirectionRule = null;
-
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:407:2: (iv_ruleDirectionRule= ruleDirectionRule EOF )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:408:2: iv_ruleDirectionRule= ruleDirectionRule EOF
- {
- newCompositeNode(grammarAccess.getDirectionRuleRule());
- pushFollow(FOLLOW_ruleDirectionRule_in_entryRuleDirectionRule719);
- iv_ruleDirectionRule=ruleDirectionRule();
-
- state._fsp--;
-
- current =iv_ruleDirectionRule;
- match(input,EOF,FOLLOW_EOF_in_entryRuleDirectionRule729);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleDirectionRule"
-
-
- // $ANTLR start "ruleDirectionRule"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:415:1: ruleDirectionRule returns [EObject current=null] : ( (lv_direction_0_0= ruleDirection ) ) ;
- public final EObject ruleDirectionRule() throws RecognitionException {
- EObject current = null;
-
- Enumerator lv_direction_0_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:418:28: ( ( (lv_direction_0_0= ruleDirection ) ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:419:1: ( (lv_direction_0_0= ruleDirection ) )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:419:1: ( (lv_direction_0_0= ruleDirection ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:420:1: (lv_direction_0_0= ruleDirection )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:420:1: (lv_direction_0_0= ruleDirection )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:421:3: lv_direction_0_0= ruleDirection
- {
-
- newCompositeNode(grammarAccess.getDirectionRuleAccess().getDirectionDirectionEnumRuleCall_0());
-
- pushFollow(FOLLOW_ruleDirection_in_ruleDirectionRule774);
- lv_direction_0_0=ruleDirection();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getDirectionRuleRule());
- }
- set(
- current,
- "direction",
- lv_direction_0_0,
- "Direction");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleDirectionRule"
-
-
- // $ANTLR start "entryRuleEffectRule"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:445:1: entryRuleEffectRule returns [EObject current=null] : iv_ruleEffectRule= ruleEffectRule EOF ;
- public final EObject entryRuleEffectRule() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleEffectRule = null;
-
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:446:2: (iv_ruleEffectRule= ruleEffectRule EOF )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:447:2: iv_ruleEffectRule= ruleEffectRule EOF
- {
- newCompositeNode(grammarAccess.getEffectRuleRule());
- pushFollow(FOLLOW_ruleEffectRule_in_entryRuleEffectRule809);
- iv_ruleEffectRule=ruleEffectRule();
-
- state._fsp--;
-
- current =iv_ruleEffectRule;
- match(input,EOF,FOLLOW_EOF_in_entryRuleEffectRule819);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleEffectRule"
-
-
- // $ANTLR start "ruleEffectRule"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:454:1: ruleEffectRule returns [EObject current=null] : (otherlv_0= '{' otherlv_1= 'effect:' ( (lv_effectKind_2_0= ruleEffectKind ) ) otherlv_3= '}' ) ;
- public final EObject ruleEffectRule() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0=null;
- Token otherlv_1=null;
- Token otherlv_3=null;
- Enumerator lv_effectKind_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:457:28: ( (otherlv_0= '{' otherlv_1= 'effect:' ( (lv_effectKind_2_0= ruleEffectKind ) ) otherlv_3= '}' ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:458:1: (otherlv_0= '{' otherlv_1= 'effect:' ( (lv_effectKind_2_0= ruleEffectKind ) ) otherlv_3= '}' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:458:1: (otherlv_0= '{' otherlv_1= 'effect:' ( (lv_effectKind_2_0= ruleEffectKind ) ) otherlv_3= '}' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:458:3: otherlv_0= '{' otherlv_1= 'effect:' ( (lv_effectKind_2_0= ruleEffectKind ) ) otherlv_3= '}'
- {
- otherlv_0=(Token)match(input,14,FOLLOW_14_in_ruleEffectRule856);
-
- newLeafNode(otherlv_0, grammarAccess.getEffectRuleAccess().getLeftCurlyBracketKeyword_0());
-
- otherlv_1=(Token)match(input,17,FOLLOW_17_in_ruleEffectRule868);
-
- newLeafNode(otherlv_1, grammarAccess.getEffectRuleAccess().getEffectKeyword_1());
-
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:466:1: ( (lv_effectKind_2_0= ruleEffectKind ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:467:1: (lv_effectKind_2_0= ruleEffectKind )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:467:1: (lv_effectKind_2_0= ruleEffectKind )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:468:3: lv_effectKind_2_0= ruleEffectKind
- {
-
- newCompositeNode(grammarAccess.getEffectRuleAccess().getEffectKindEffectKindEnumRuleCall_2_0());
-
- pushFollow(FOLLOW_ruleEffectKind_in_ruleEffectRule889);
- lv_effectKind_2_0=ruleEffectKind();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getEffectRuleRule());
- }
- set(
- current,
- "effectKind",
- lv_effectKind_2_0,
- "EffectKind");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_3=(Token)match(input,16,FOLLOW_16_in_ruleEffectRule901);
-
- newLeafNode(otherlv_3, grammarAccess.getEffectRuleAccess().getRightCurlyBracketKeyword_3());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleEffectRule"
-
-
- // $ANTLR start "entryRuleDefaultValueRule"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:496:1: entryRuleDefaultValueRule returns [EObject current=null] : iv_ruleDefaultValueRule= ruleDefaultValueRule EOF ;
- public final EObject entryRuleDefaultValueRule() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleDefaultValueRule = null;
-
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:497:2: (iv_ruleDefaultValueRule= ruleDefaultValueRule EOF )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:498:2: iv_ruleDefaultValueRule= ruleDefaultValueRule EOF
- {
- newCompositeNode(grammarAccess.getDefaultValueRuleRule());
- pushFollow(FOLLOW_ruleDefaultValueRule_in_entryRuleDefaultValueRule937);
- iv_ruleDefaultValueRule=ruleDefaultValueRule();
-
- state._fsp--;
-
- current =iv_ruleDefaultValueRule;
- match(input,EOF,FOLLOW_EOF_in_entryRuleDefaultValueRule947);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleDefaultValueRule"
-
-
- // $ANTLR start "ruleDefaultValueRule"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:505:1: ruleDefaultValueRule returns [EObject current=null] : (otherlv_0= '=' ( (lv_default_1_0= ruleValue ) ) ) ;
- public final EObject ruleDefaultValueRule() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0=null;
- EObject lv_default_1_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:508:28: ( (otherlv_0= '=' ( (lv_default_1_0= ruleValue ) ) ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:509:1: (otherlv_0= '=' ( (lv_default_1_0= ruleValue ) ) )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:509:1: (otherlv_0= '=' ( (lv_default_1_0= ruleValue ) ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:509:3: otherlv_0= '=' ( (lv_default_1_0= ruleValue ) )
- {
- otherlv_0=(Token)match(input,18,FOLLOW_18_in_ruleDefaultValueRule984);
+ }
- newLeafNode(otherlv_0, grammarAccess.getDefaultValueRuleAccess().getEqualsSignKeyword_0());
-
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:513:1: ( (lv_default_1_0= ruleValue ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:514:1: (lv_default_1_0= ruleValue )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:514:1: (lv_default_1_0= ruleValue )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:515:3: lv_default_1_0= ruleValue
- {
-
- newCompositeNode(grammarAccess.getDefaultValueRuleAccess().getDefaultValueParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleValue_in_ruleDefaultValueRule1005);
- lv_default_1_0=ruleValue();
+ }
- state._fsp--;
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleUnlimitedLiteral"
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getDefaultValueRuleRule());
- }
- set(
- current,
- "default",
- lv_default_1_0,
- "Value");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleDefaultValueRule"
-
-
- // $ANTLR start "entryRuleValue"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:539:1: entryRuleValue returns [EObject current=null] : iv_ruleValue= ruleValue EOF ;
- public final EObject entryRuleValue() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleValue = null;
-
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:540:2: (iv_ruleValue= ruleValue EOF )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:541:2: iv_ruleValue= ruleValue EOF
- {
- newCompositeNode(grammarAccess.getValueRule());
- pushFollow(FOLLOW_ruleValue_in_entryRuleValue1041);
- iv_ruleValue=ruleValue();
-
- state._fsp--;
-
- current =iv_ruleValue;
- match(input,EOF,FOLLOW_EOF_in_entryRuleValue1051);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleValue"
-
-
- // $ANTLR start "ruleValue"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:548:1: ruleValue returns [EObject current=null] : (this_IntValue_0= ruleIntValue | this_StringValue_1= ruleStringValue | this_BooleanValue_2= ruleBooleanValue | this_RealValue_3= ruleRealValue | this_NullValue_4= ruleNullValue | this_NoValue_5= ruleNoValue ) ;
- public final EObject ruleValue() throws RecognitionException {
- EObject current = null;
-
- EObject this_IntValue_0 = null;
-
- EObject this_StringValue_1 = null;
-
- EObject this_BooleanValue_2 = null;
-
- EObject this_RealValue_3 = null;
-
- EObject this_NullValue_4 = null;
-
- EObject this_NoValue_5 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:551:28: ( (this_IntValue_0= ruleIntValue | this_StringValue_1= ruleStringValue | this_BooleanValue_2= ruleBooleanValue | this_RealValue_3= ruleRealValue | this_NullValue_4= ruleNullValue | this_NoValue_5= ruleNoValue ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:552:1: (this_IntValue_0= ruleIntValue | this_StringValue_1= ruleStringValue | this_BooleanValue_2= ruleBooleanValue | this_RealValue_3= ruleRealValue | this_NullValue_4= ruleNullValue | this_NoValue_5= ruleNoValue )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:552:1: (this_IntValue_0= ruleIntValue | this_StringValue_1= ruleStringValue | this_BooleanValue_2= ruleBooleanValue | this_RealValue_3= ruleRealValue | this_NullValue_4= ruleNullValue | this_NoValue_5= ruleNoValue )
- int alt11=6;
- switch ( input.LA(1) ) {
- case RULE_INT:
- {
- int LA11_1 = input.LA(2);
-
- if ( (LA11_1==19) ) {
- alt11=4;
- }
- else if ( (LA11_1==EOF) ) {
- alt11=1;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 11, 1, input);
-
- throw nvae;
- }
- }
- break;
- case RULE_STRING:
- {
- alt11=2;
- }
- break;
- case 35:
- case 36:
- {
- alt11=3;
- }
- break;
- case 19:
- {
- alt11=4;
- }
- break;
- case 20:
- {
- alt11=5;
- }
- break;
- case 21:
- {
- alt11=6;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("", 11, 0, input);
-
- throw nvae;
- }
-
- switch (alt11) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:553:5: this_IntValue_0= ruleIntValue
- {
-
- newCompositeNode(grammarAccess.getValueAccess().getIntValueParserRuleCall_0());
-
- pushFollow(FOLLOW_ruleIntValue_in_ruleValue1098);
- this_IntValue_0=ruleIntValue();
-
- state._fsp--;
-
-
- current = this_IntValue_0;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:563:5: this_StringValue_1= ruleStringValue
- {
-
- newCompositeNode(grammarAccess.getValueAccess().getStringValueParserRuleCall_1());
-
- pushFollow(FOLLOW_ruleStringValue_in_ruleValue1125);
- this_StringValue_1=ruleStringValue();
-
- state._fsp--;
-
-
- current = this_StringValue_1;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 3 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:573:5: this_BooleanValue_2= ruleBooleanValue
- {
-
- newCompositeNode(grammarAccess.getValueAccess().getBooleanValueParserRuleCall_2());
-
- pushFollow(FOLLOW_ruleBooleanValue_in_ruleValue1152);
- this_BooleanValue_2=ruleBooleanValue();
-
- state._fsp--;
-
-
- current = this_BooleanValue_2;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 4 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:583:5: this_RealValue_3= ruleRealValue
- {
-
- newCompositeNode(grammarAccess.getValueAccess().getRealValueParserRuleCall_3());
-
- pushFollow(FOLLOW_ruleRealValue_in_ruleValue1179);
- this_RealValue_3=ruleRealValue();
-
- state._fsp--;
-
-
- current = this_RealValue_3;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 5 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:593:5: this_NullValue_4= ruleNullValue
- {
-
- newCompositeNode(grammarAccess.getValueAccess().getNullValueParserRuleCall_4());
-
- pushFollow(FOLLOW_ruleNullValue_in_ruleValue1206);
- this_NullValue_4=ruleNullValue();
-
- state._fsp--;
-
-
- current = this_NullValue_4;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 6 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:603:5: this_NoValue_5= ruleNoValue
- {
-
- newCompositeNode(grammarAccess.getValueAccess().getNoValueParserRuleCall_5());
-
- pushFollow(FOLLOW_ruleNoValue_in_ruleValue1233);
- this_NoValue_5=ruleNoValue();
-
- state._fsp--;
-
-
- current = this_NoValue_5;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleValue"
-
-
- // $ANTLR start "entryRuleIntValue"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:619:1: entryRuleIntValue returns [EObject current=null] : iv_ruleIntValue= ruleIntValue EOF ;
- public final EObject entryRuleIntValue() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleIntValue = null;
-
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:620:2: (iv_ruleIntValue= ruleIntValue EOF )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:621:2: iv_ruleIntValue= ruleIntValue EOF
- {
- newCompositeNode(grammarAccess.getIntValueRule());
- pushFollow(FOLLOW_ruleIntValue_in_entryRuleIntValue1268);
- iv_ruleIntValue=ruleIntValue();
-
- state._fsp--;
-
- current =iv_ruleIntValue;
- match(input,EOF,FOLLOW_EOF_in_entryRuleIntValue1278);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleIntValue"
-
-
- // $ANTLR start "ruleIntValue"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:628:1: ruleIntValue returns [EObject current=null] : ( (lv_literalInteger_0_0= RULE_INT ) ) ;
- public final EObject ruleIntValue() throws RecognitionException {
- EObject current = null;
-
- Token lv_literalInteger_0_0=null;
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:631:28: ( ( (lv_literalInteger_0_0= RULE_INT ) ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:632:1: ( (lv_literalInteger_0_0= RULE_INT ) )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:632:1: ( (lv_literalInteger_0_0= RULE_INT ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:633:1: (lv_literalInteger_0_0= RULE_INT )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:633:1: (lv_literalInteger_0_0= RULE_INT )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:634:3: lv_literalInteger_0_0= RULE_INT
- {
- lv_literalInteger_0_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleIntValue1319);
-
- newLeafNode(lv_literalInteger_0_0, grammarAccess.getIntValueAccess().getLiteralIntegerINTTerminalRuleCall_0());
-
-
- if (current==null) {
- current = createModelElement(grammarAccess.getIntValueRule());
- }
- setWithLastConsumed(
- current,
- "literalInteger",
- lv_literalInteger_0_0,
- "INT");
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleIntValue"
-
-
- // $ANTLR start "entryRuleStringValue"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:658:1: entryRuleStringValue returns [EObject current=null] : iv_ruleStringValue= ruleStringValue EOF ;
- public final EObject entryRuleStringValue() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleStringValue = null;
-
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:659:2: (iv_ruleStringValue= ruleStringValue EOF )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:660:2: iv_ruleStringValue= ruleStringValue EOF
- {
- newCompositeNode(grammarAccess.getStringValueRule());
- pushFollow(FOLLOW_ruleStringValue_in_entryRuleStringValue1359);
- iv_ruleStringValue=ruleStringValue();
-
- state._fsp--;
-
- current =iv_ruleStringValue;
- match(input,EOF,FOLLOW_EOF_in_entryRuleStringValue1369);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleStringValue"
-
-
- // $ANTLR start "ruleStringValue"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:667:1: ruleStringValue returns [EObject current=null] : ( (lv_literalString_0_0= RULE_STRING ) ) ;
- public final EObject ruleStringValue() throws RecognitionException {
- EObject current = null;
-
- Token lv_literalString_0_0=null;
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:670:28: ( ( (lv_literalString_0_0= RULE_STRING ) ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:671:1: ( (lv_literalString_0_0= RULE_STRING ) )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:671:1: ( (lv_literalString_0_0= RULE_STRING ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:672:1: (lv_literalString_0_0= RULE_STRING )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:672:1: (lv_literalString_0_0= RULE_STRING )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:673:3: lv_literalString_0_0= RULE_STRING
- {
- lv_literalString_0_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringValue1410);
-
- newLeafNode(lv_literalString_0_0, grammarAccess.getStringValueAccess().getLiteralStringSTRINGTerminalRuleCall_0());
-
-
- if (current==null) {
- current = createModelElement(grammarAccess.getStringValueRule());
- }
- setWithLastConsumed(
- current,
- "literalString",
- lv_literalString_0_0,
- "STRING");
-
-
- }
-
-
- }
-
+ // $ANTLR start "ruleUnlimitedLiteral"
+ // InternalUmlParameter.g:1130:1: ruleUnlimitedLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_INT_0= RULE_INT | kw= '*' ) ;
+ public final AntlrDatatypeRuleToken ruleUnlimitedLiteral() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
- }
+ Token this_INT_0 = null;
+ Token kw = null;
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleStringValue"
-
-
- // $ANTLR start "entryRuleBooleanValue"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:697:1: entryRuleBooleanValue returns [EObject current=null] : iv_ruleBooleanValue= ruleBooleanValue EOF ;
- public final EObject entryRuleBooleanValue() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleBooleanValue = null;
-
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:698:2: (iv_ruleBooleanValue= ruleBooleanValue EOF )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:699:2: iv_ruleBooleanValue= ruleBooleanValue EOF
- {
- newCompositeNode(grammarAccess.getBooleanValueRule());
- pushFollow(FOLLOW_ruleBooleanValue_in_entryRuleBooleanValue1450);
- iv_ruleBooleanValue=ruleBooleanValue();
-
- state._fsp--;
-
- current =iv_ruleBooleanValue;
- match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanValue1460);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleBooleanValue"
-
-
- // $ANTLR start "ruleBooleanValue"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:706:1: ruleBooleanValue returns [EObject current=null] : ( (lv_literalBoolean_0_0= ruleBooleanLiterals ) ) ;
- public final EObject ruleBooleanValue() throws RecognitionException {
- EObject current = null;
-
- Enumerator lv_literalBoolean_0_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:709:28: ( ( (lv_literalBoolean_0_0= ruleBooleanLiterals ) ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:710:1: ( (lv_literalBoolean_0_0= ruleBooleanLiterals ) )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:710:1: ( (lv_literalBoolean_0_0= ruleBooleanLiterals ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:711:1: (lv_literalBoolean_0_0= ruleBooleanLiterals )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:711:1: (lv_literalBoolean_0_0= ruleBooleanLiterals )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:712:3: lv_literalBoolean_0_0= ruleBooleanLiterals
- {
-
- newCompositeNode(grammarAccess.getBooleanValueAccess().getLiteralBooleanBooleanLiteralsEnumRuleCall_0());
-
- pushFollow(FOLLOW_ruleBooleanLiterals_in_ruleBooleanValue1505);
- lv_literalBoolean_0_0=ruleBooleanLiterals();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getBooleanValueRule());
- }
- set(
- current,
- "literalBoolean",
- lv_literalBoolean_0_0,
- "BooleanLiterals");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleBooleanValue"
-
-
- // $ANTLR start "entryRuleRealValue"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:736:1: entryRuleRealValue returns [EObject current=null] : iv_ruleRealValue= ruleRealValue EOF ;
- public final EObject entryRuleRealValue() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleRealValue = null;
-
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:737:2: (iv_ruleRealValue= ruleRealValue EOF )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:738:2: iv_ruleRealValue= ruleRealValue EOF
- {
- newCompositeNode(grammarAccess.getRealValueRule());
- pushFollow(FOLLOW_ruleRealValue_in_entryRuleRealValue1540);
- iv_ruleRealValue=ruleRealValue();
-
- state._fsp--;
-
- current =iv_ruleRealValue;
- match(input,EOF,FOLLOW_EOF_in_entryRuleRealValue1550);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleRealValue"
-
-
- // $ANTLR start "ruleRealValue"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:745:1: ruleRealValue returns [EObject current=null] : ( ( ( (lv_integer_0_0= RULE_INT ) ) otherlv_1= '.' ) | (otherlv_2= '.' ( (lv_fraction_3_0= RULE_INT ) ) ) | ( ( (lv_integer_4_0= RULE_INT ) ) otherlv_5= '.' ( (lv_fraction_6_0= RULE_INT ) ) ) ) ;
- public final EObject ruleRealValue() throws RecognitionException {
- EObject current = null;
-
- Token lv_integer_0_0=null;
- Token otherlv_1=null;
- Token otherlv_2=null;
- Token lv_fraction_3_0=null;
- Token lv_integer_4_0=null;
- Token otherlv_5=null;
- Token lv_fraction_6_0=null;
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:748:28: ( ( ( ( (lv_integer_0_0= RULE_INT ) ) otherlv_1= '.' ) | (otherlv_2= '.' ( (lv_fraction_3_0= RULE_INT ) ) ) | ( ( (lv_integer_4_0= RULE_INT ) ) otherlv_5= '.' ( (lv_fraction_6_0= RULE_INT ) ) ) ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:749:1: ( ( ( (lv_integer_0_0= RULE_INT ) ) otherlv_1= '.' ) | (otherlv_2= '.' ( (lv_fraction_3_0= RULE_INT ) ) ) | ( ( (lv_integer_4_0= RULE_INT ) ) otherlv_5= '.' ( (lv_fraction_6_0= RULE_INT ) ) ) )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:749:1: ( ( ( (lv_integer_0_0= RULE_INT ) ) otherlv_1= '.' ) | (otherlv_2= '.' ( (lv_fraction_3_0= RULE_INT ) ) ) | ( ( (lv_integer_4_0= RULE_INT ) ) otherlv_5= '.' ( (lv_fraction_6_0= RULE_INT ) ) ) )
- int alt12=3;
- int LA12_0 = input.LA(1);
-
- if ( (LA12_0==RULE_INT) ) {
- int LA12_1 = input.LA(2);
-
- if ( (LA12_1==19) ) {
- int LA12_3 = input.LA(3);
-
- if ( (LA12_3==RULE_INT) ) {
- alt12=3;
- }
- else if ( (LA12_3==EOF) ) {
- alt12=1;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 12, 3, input);
-
- throw nvae;
- }
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 12, 1, input);
-
- throw nvae;
- }
- }
- else if ( (LA12_0==19) ) {
- alt12=2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 12, 0, input);
-
- throw nvae;
- }
- switch (alt12) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:749:2: ( ( (lv_integer_0_0= RULE_INT ) ) otherlv_1= '.' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:749:2: ( ( (lv_integer_0_0= RULE_INT ) ) otherlv_1= '.' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:749:3: ( (lv_integer_0_0= RULE_INT ) ) otherlv_1= '.'
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:749:3: ( (lv_integer_0_0= RULE_INT ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:750:1: (lv_integer_0_0= RULE_INT )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:750:1: (lv_integer_0_0= RULE_INT )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:751:3: lv_integer_0_0= RULE_INT
- {
- lv_integer_0_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleRealValue1593);
-
- newLeafNode(lv_integer_0_0, grammarAccess.getRealValueAccess().getIntegerINTTerminalRuleCall_0_0_0());
-
-
- if (current==null) {
- current = createModelElement(grammarAccess.getRealValueRule());
- }
- setWithLastConsumed(
- current,
- "integer",
- lv_integer_0_0,
- "INT");
-
-
- }
-
-
- }
-
- otherlv_1=(Token)match(input,19,FOLLOW_19_in_ruleRealValue1610);
-
- newLeafNode(otherlv_1, grammarAccess.getRealValueAccess().getFullStopKeyword_0_1());
-
-
- }
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:772:6: (otherlv_2= '.' ( (lv_fraction_3_0= RULE_INT ) ) )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:772:6: (otherlv_2= '.' ( (lv_fraction_3_0= RULE_INT ) ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:772:8: otherlv_2= '.' ( (lv_fraction_3_0= RULE_INT ) )
- {
- otherlv_2=(Token)match(input,19,FOLLOW_19_in_ruleRealValue1630);
-
- newLeafNode(otherlv_2, grammarAccess.getRealValueAccess().getFullStopKeyword_1_0());
-
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:776:1: ( (lv_fraction_3_0= RULE_INT ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:777:1: (lv_fraction_3_0= RULE_INT )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:777:1: (lv_fraction_3_0= RULE_INT )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:778:3: lv_fraction_3_0= RULE_INT
- {
- lv_fraction_3_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleRealValue1647);
-
- newLeafNode(lv_fraction_3_0, grammarAccess.getRealValueAccess().getFractionINTTerminalRuleCall_1_1_0());
-
-
- if (current==null) {
- current = createModelElement(grammarAccess.getRealValueRule());
- }
- setWithLastConsumed(
- current,
- "fraction",
- lv_fraction_3_0,
- "INT");
-
-
- }
-
-
- }
-
-
- }
-
-
- }
- break;
- case 3 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:795:6: ( ( (lv_integer_4_0= RULE_INT ) ) otherlv_5= '.' ( (lv_fraction_6_0= RULE_INT ) ) )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:795:6: ( ( (lv_integer_4_0= RULE_INT ) ) otherlv_5= '.' ( (lv_fraction_6_0= RULE_INT ) ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:795:7: ( (lv_integer_4_0= RULE_INT ) ) otherlv_5= '.' ( (lv_fraction_6_0= RULE_INT ) )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:795:7: ( (lv_integer_4_0= RULE_INT ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:796:1: (lv_integer_4_0= RULE_INT )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:796:1: (lv_integer_4_0= RULE_INT )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:797:3: lv_integer_4_0= RULE_INT
- {
- lv_integer_4_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleRealValue1677);
-
- newLeafNode(lv_integer_4_0, grammarAccess.getRealValueAccess().getIntegerINTTerminalRuleCall_2_0_0());
-
-
- if (current==null) {
- current = createModelElement(grammarAccess.getRealValueRule());
- }
- setWithLastConsumed(
- current,
- "integer",
- lv_integer_4_0,
- "INT");
-
+ enterRule();
- }
+ try {
+ // InternalUmlParameter.g:1133:28: ( (this_INT_0= RULE_INT | kw= '*' ) )
+ // InternalUmlParameter.g:1134:1: (this_INT_0= RULE_INT | kw= '*' )
+ {
+ // InternalUmlParameter.g:1134:1: (this_INT_0= RULE_INT | kw= '*' )
+ int alt16 = 2;
+ int LA16_0 = input.LA(1);
+
+ if ((LA16_0 == RULE_INT)) {
+ alt16 = 1;
+ } else if ((LA16_0 == 26)) {
+ alt16 = 2;
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 16, 0, input);
+ throw nvae;
+ }
+ switch (alt16) {
+ case 1:
+ // InternalUmlParameter.g:1134:6: this_INT_0= RULE_INT
+ {
+ this_INT_0 = (Token) match(input, RULE_INT, FOLLOW_2);
- }
+ current.merge(this_INT_0);
+
+
+ newLeafNode(this_INT_0, grammarAccess.getUnlimitedLiteralAccess().getINTTerminalRuleCall_0());
- otherlv_5=(Token)match(input,19,FOLLOW_19_in_ruleRealValue1694);
- newLeafNode(otherlv_5, grammarAccess.getRealValueAccess().getFullStopKeyword_2_1());
-
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:817:1: ( (lv_fraction_6_0= RULE_INT ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:818:1: (lv_fraction_6_0= RULE_INT )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:818:1: (lv_fraction_6_0= RULE_INT )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:819:3: lv_fraction_6_0= RULE_INT
- {
- lv_fraction_6_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleRealValue1711);
+ }
+ break;
+ case 2:
+ // InternalUmlParameter.g:1143:2: kw= '*'
+ {
+ kw = (Token) match(input, 26, FOLLOW_2);
- newLeafNode(lv_fraction_6_0, grammarAccess.getRealValueAccess().getFractionINTTerminalRuleCall_2_2_0());
-
-
- if (current==null) {
- current = createModelElement(grammarAccess.getRealValueRule());
- }
- setWithLastConsumed(
- current,
- "fraction",
- lv_fraction_6_0,
- "INT");
-
-
- }
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getUnlimitedLiteralAccess().getAsteriskKeyword_1());
- }
+ }
+ break;
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleUnlimitedLiteral"
+
+
+ // $ANTLR start "ruleModifierKind"
+ // InternalUmlParameter.g:1156:1: ruleModifierKind returns [Enumerator current=null] : ( (enumLiteral_0= 'exception' ) | (enumLiteral_1= 'stream' ) | (enumLiteral_2= 'ordered' ) | (enumLiteral_3= 'unique' ) ) ;
+ public final Enumerator ruleModifierKind() throws RecognitionException {
+ Enumerator current = null;
+
+ Token enumLiteral_0 = null;
+ Token enumLiteral_1 = null;
+ Token enumLiteral_2 = null;
+ Token enumLiteral_3 = null;
+ enterRule();
+ try {
+ // InternalUmlParameter.g:1158:28: ( ( (enumLiteral_0= 'exception' ) | (enumLiteral_1= 'stream' ) | (enumLiteral_2= 'ordered' ) | (enumLiteral_3= 'unique' ) ) )
+ // InternalUmlParameter.g:1159:1: ( (enumLiteral_0= 'exception' ) | (enumLiteral_1= 'stream' ) | (enumLiteral_2= 'ordered' ) | (enumLiteral_3= 'unique' ) )
+ {
+ // InternalUmlParameter.g:1159:1: ( (enumLiteral_0= 'exception' ) | (enumLiteral_1= 'stream' ) | (enumLiteral_2= 'ordered' ) | (enumLiteral_3= 'unique' ) )
+ int alt17 = 4;
+ switch (input.LA(1)) {
+ case 27: {
+ alt17 = 1;
+ }
+ break;
+ case 28: {
+ alt17 = 2;
+ }
+ break;
+ case 29: {
+ alt17 = 3;
+ }
+ break;
+ case 30: {
+ alt17 = 4;
+ }
+ break;
+ default:
+ NoViableAltException nvae = new NoViableAltException("", 17, 0, input);
- }
+ throw nvae;
+ }
+ switch (alt17) {
+ case 1:
+ // InternalUmlParameter.g:1159:2: (enumLiteral_0= 'exception' )
+ {
+ // InternalUmlParameter.g:1159:2: (enumLiteral_0= 'exception' )
+ // InternalUmlParameter.g:1159:4: enumLiteral_0= 'exception'
+ {
+ enumLiteral_0 = (Token) match(input, 27, FOLLOW_2);
+
+ current = grammarAccess.getModifierKindAccess().getEXCEPTIONEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getModifierKindAccess().getEXCEPTIONEnumLiteralDeclaration_0());
+
+
+ }
+
+
+ }
+ break;
+ case 2:
+ // InternalUmlParameter.g:1165:6: (enumLiteral_1= 'stream' )
+ {
+ // InternalUmlParameter.g:1165:6: (enumLiteral_1= 'stream' )
+ // InternalUmlParameter.g:1165:8: enumLiteral_1= 'stream'
+ {
+ enumLiteral_1 = (Token) match(input, 28, FOLLOW_2);
+
+ current = grammarAccess.getModifierKindAccess().getSTREAMEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getModifierKindAccess().getSTREAMEnumLiteralDeclaration_1());
+
+
+ }
+
+
+ }
+ break;
+ case 3:
+ // InternalUmlParameter.g:1171:6: (enumLiteral_2= 'ordered' )
+ {
+ // InternalUmlParameter.g:1171:6: (enumLiteral_2= 'ordered' )
+ // InternalUmlParameter.g:1171:8: enumLiteral_2= 'ordered'
+ {
+ enumLiteral_2 = (Token) match(input, 29, FOLLOW_2);
+
+ current = grammarAccess.getModifierKindAccess().getORDEREDEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getModifierKindAccess().getORDEREDEnumLiteralDeclaration_2());
+
+
+ }
+
+
+ }
+ break;
+ case 4:
+ // InternalUmlParameter.g:1177:6: (enumLiteral_3= 'unique' )
+ {
+ // InternalUmlParameter.g:1177:6: (enumLiteral_3= 'unique' )
+ // InternalUmlParameter.g:1177:8: enumLiteral_3= 'unique'
+ {
+ enumLiteral_3 = (Token) match(input, 30, FOLLOW_2);
+
+ current = grammarAccess.getModifierKindAccess().getUNIQUEEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_3, grammarAccess.getModifierKindAccess().getUNIQUEEnumLiteralDeclaration_3());
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleModifierKind"
+
+
+ // $ANTLR start "ruleEffectKind"
+ // InternalUmlParameter.g:1187:1: ruleEffectKind returns [Enumerator current=null] : ( (enumLiteral_0= 'create' ) | (enumLiteral_1= 'read' ) | (enumLiteral_2= 'update' ) | (enumLiteral_3= 'delete' ) ) ;
+ public final Enumerator ruleEffectKind() throws RecognitionException {
+ Enumerator current = null;
- }
- break;
+ Token enumLiteral_0 = null;
+ Token enumLiteral_1 = null;
+ Token enumLiteral_2 = null;
+ Token enumLiteral_3 = null;
- }
+ enterRule();
+ try {
+ // InternalUmlParameter.g:1189:28: ( ( (enumLiteral_0= 'create' ) | (enumLiteral_1= 'read' ) | (enumLiteral_2= 'update' ) | (enumLiteral_3= 'delete' ) ) )
+ // InternalUmlParameter.g:1190:1: ( (enumLiteral_0= 'create' ) | (enumLiteral_1= 'read' ) | (enumLiteral_2= 'update' ) | (enumLiteral_3= 'delete' ) )
+ {
+ // InternalUmlParameter.g:1190:1: ( (enumLiteral_0= 'create' ) | (enumLiteral_1= 'read' ) | (enumLiteral_2= 'update' ) | (enumLiteral_3= 'delete' ) )
+ int alt18 = 4;
+ switch (input.LA(1)) {
+ case 31: {
+ alt18 = 1;
+ }
+ break;
+ case 32: {
+ alt18 = 2;
+ }
+ break;
+ case 33: {
+ alt18 = 3;
+ }
+ break;
+ case 34: {
+ alt18 = 4;
+ }
+ break;
+ default:
+ NoViableAltException nvae = new NoViableAltException("", 18, 0, input);
+ throw nvae;
+ }
- }
+ switch (alt18) {
+ case 1:
+ // InternalUmlParameter.g:1190:2: (enumLiteral_0= 'create' )
+ {
+ // InternalUmlParameter.g:1190:2: (enumLiteral_0= 'create' )
+ // InternalUmlParameter.g:1190:4: enumLiteral_0= 'create'
+ {
+ enumLiteral_0 = (Token) match(input, 31, FOLLOW_2);
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleRealValue"
+ current = grammarAccess.getEffectKindAccess().getCREATEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getEffectKindAccess().getCREATEEnumLiteralDeclaration_0());
- // $ANTLR start "entryRuleNullValue"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:843:1: entryRuleNullValue returns [EObject current=null] : iv_ruleNullValue= ruleNullValue EOF ;
- public final EObject entryRuleNullValue() throws RecognitionException {
- EObject current = null;
+ }
- EObject iv_ruleNullValue = null;
+ }
+ break;
+ case 2:
+ // InternalUmlParameter.g:1196:6: (enumLiteral_1= 'read' )
+ {
+ // InternalUmlParameter.g:1196:6: (enumLiteral_1= 'read' )
+ // InternalUmlParameter.g:1196:8: enumLiteral_1= 'read'
+ {
+ enumLiteral_1 = (Token) match(input, 32, FOLLOW_2);
+
+ current = grammarAccess.getEffectKindAccess().getREADEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getEffectKindAccess().getREADEnumLiteralDeclaration_1());
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:844:2: (iv_ruleNullValue= ruleNullValue EOF )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:845:2: iv_ruleNullValue= ruleNullValue EOF
- {
- newCompositeNode(grammarAccess.getNullValueRule());
- pushFollow(FOLLOW_ruleNullValue_in_entryRuleNullValue1753);
- iv_ruleNullValue=ruleNullValue();
- state._fsp--;
+ }
- current =iv_ruleNullValue;
- match(input,EOF,FOLLOW_EOF_in_entryRuleNullValue1763);
- }
+ }
+ break;
+ case 3:
+ // InternalUmlParameter.g:1202:6: (enumLiteral_2= 'update' )
+ {
+ // InternalUmlParameter.g:1202:6: (enumLiteral_2= 'update' )
+ // InternalUmlParameter.g:1202:8: enumLiteral_2= 'update'
+ {
+ enumLiteral_2 = (Token) match(input, 33, FOLLOW_2);
+
+ current = grammarAccess.getEffectKindAccess().getUPDATEEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getEffectKindAccess().getUPDATEEnumLiteralDeclaration_2());
+
+
+ }
+
+
+ }
+ break;
+ case 4:
+ // InternalUmlParameter.g:1208:6: (enumLiteral_3= 'delete' )
+ {
+ // InternalUmlParameter.g:1208:6: (enumLiteral_3= 'delete' )
+ // InternalUmlParameter.g:1208:8: enumLiteral_3= 'delete'
+ {
+ enumLiteral_3 = (Token) match(input, 34, FOLLOW_2);
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleNullValue"
+ current = grammarAccess.getEffectKindAccess().getDELETEEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_3, grammarAccess.getEffectKindAccess().getDELETEEnumLiteralDeclaration_3());
- // $ANTLR start "ruleNullValue"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:852:1: ruleNullValue returns [EObject current=null] : ( () otherlv_1= 'null' ) ;
- public final EObject ruleNullValue() throws RecognitionException {
- EObject current = null;
+ }
+
- Token otherlv_1=null;
+ }
+ break;
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:855:28: ( ( () otherlv_1= 'null' ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:856:1: ( () otherlv_1= 'null' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:856:1: ( () otherlv_1= 'null' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:856:2: () otherlv_1= 'null'
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:856:2: ()
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:857:5:
- {
+ }
- current = forceCreateModelElement(
- grammarAccess.getNullValueAccess().getNullValueAction_0(),
- current);
-
- }
+ }
- otherlv_1=(Token)match(input,20,FOLLOW_20_in_ruleNullValue1809);
+ leaveRule();
+ }
- newLeafNode(otherlv_1, grammarAccess.getNullValueAccess().getNullKeyword_1());
-
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleEffectKind"
- }
+ // $ANTLR start "ruleBooleanLiterals"
+ // InternalUmlParameter.g:1218:1: ruleBooleanLiterals returns [Enumerator current=null] : ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) ) ;
+ public final Enumerator ruleBooleanLiterals() throws RecognitionException {
+ Enumerator current = null;
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleNullValue"
-
-
- // $ANTLR start "entryRuleNoValue"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:874:1: entryRuleNoValue returns [EObject current=null] : iv_ruleNoValue= ruleNoValue EOF ;
- public final EObject entryRuleNoValue() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleNoValue = null;
+ Token enumLiteral_0 = null;
+ Token enumLiteral_1 = null;
+ enterRule();
+ try {
+ // InternalUmlParameter.g:1220:28: ( ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) ) )
+ // InternalUmlParameter.g:1221:1: ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) )
+ {
+ // InternalUmlParameter.g:1221:1: ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) )
+ int alt19 = 2;
+ int LA19_0 = input.LA(1);
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:875:2: (iv_ruleNoValue= ruleNoValue EOF )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:876:2: iv_ruleNoValue= ruleNoValue EOF
- {
- newCompositeNode(grammarAccess.getNoValueRule());
- pushFollow(FOLLOW_ruleNoValue_in_entryRuleNoValue1845);
- iv_ruleNoValue=ruleNoValue();
-
- state._fsp--;
-
- current =iv_ruleNoValue;
- match(input,EOF,FOLLOW_EOF_in_entryRuleNoValue1855);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleNoValue"
-
-
- // $ANTLR start "ruleNoValue"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:883:1: ruleNoValue returns [EObject current=null] : ( () otherlv_1= 'none' ) ;
- public final EObject ruleNoValue() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1=null;
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:886:28: ( ( () otherlv_1= 'none' ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:887:1: ( () otherlv_1= 'none' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:887:1: ( () otherlv_1= 'none' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:887:2: () otherlv_1= 'none'
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:887:2: ()
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:888:5:
- {
-
- current = forceCreateModelElement(
- grammarAccess.getNoValueAccess().getNoValueAction_0(),
- current);
-
-
- }
-
- otherlv_1=(Token)match(input,21,FOLLOW_21_in_ruleNoValue1901);
+ if ((LA19_0 == 35)) {
+ alt19 = 1;
+ } else if ((LA19_0 == 36)) {
+ alt19 = 2;
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 19, 0, input);
- newLeafNode(otherlv_1, grammarAccess.getNoValueAccess().getNoneKeyword_1());
-
-
- }
+ throw nvae;
+ }
+ switch (alt19) {
+ case 1:
+ // InternalUmlParameter.g:1221:2: (enumLiteral_0= 'true' )
+ {
+ // InternalUmlParameter.g:1221:2: (enumLiteral_0= 'true' )
+ // InternalUmlParameter.g:1221:4: enumLiteral_0= 'true'
+ {
+ enumLiteral_0 = (Token) match(input, 35, FOLLOW_2);
+ current = grammarAccess.getBooleanLiteralsAccess().getTRUEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getBooleanLiteralsAccess().getTRUEEnumLiteralDeclaration_0());
- }
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleNoValue"
-
-
- // $ANTLR start "entryRuleQualifiedName"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:905:1: entryRuleQualifiedName returns [EObject current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
- public final EObject entryRuleQualifiedName() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleQualifiedName = null;
-
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:906:2: (iv_ruleQualifiedName= ruleQualifiedName EOF )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:907:2: iv_ruleQualifiedName= ruleQualifiedName EOF
- {
- newCompositeNode(grammarAccess.getQualifiedNameRule());
- pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName1937);
- iv_ruleQualifiedName=ruleQualifiedName();
-
- state._fsp--;
-
- current =iv_ruleQualifiedName;
- match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedName1947);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleQualifiedName"
-
-
- // $ANTLR start "ruleQualifiedName"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:914:1: ruleQualifiedName returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) ;
- public final EObject ruleQualifiedName() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0=null;
- Token otherlv_1=null;
- EObject lv_remaining_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:917:28: ( ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:918:1: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:918:1: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:918:2: ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' ( (lv_remaining_2_0= ruleQualifiedName ) )?
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:918:2: ( (otherlv_0= RULE_ID ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:919:1: (otherlv_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:919:1: (otherlv_0= RULE_ID )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:920:3: otherlv_0= RULE_ID
- {
-
- if (current==null) {
- current = createModelElement(grammarAccess.getQualifiedNameRule());
- }
-
- otherlv_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleQualifiedName1992);
+ }
- newLeafNode(otherlv_0, grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0());
-
- }
+ }
+ break;
+ case 2:
+ // InternalUmlParameter.g:1227:6: (enumLiteral_1= 'false' )
+ {
+ // InternalUmlParameter.g:1227:6: (enumLiteral_1= 'false' )
+ // InternalUmlParameter.g:1227:8: enumLiteral_1= 'false'
+ {
+ enumLiteral_1 = (Token) match(input, 36, FOLLOW_2);
+ current = grammarAccess.getBooleanLiteralsAccess().getFALSEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getBooleanLiteralsAccess().getFALSEEnumLiteralDeclaration_1());
- }
- otherlv_1=(Token)match(input,22,FOLLOW_22_in_ruleQualifiedName2004);
-
- newLeafNode(otherlv_1, grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1());
-
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:935:1: ( (lv_remaining_2_0= ruleQualifiedName ) )?
- int alt13=2;
- int LA13_0 = input.LA(1);
-
- if ( (LA13_0==RULE_ID) ) {
- int LA13_1 = input.LA(2);
-
- if ( (LA13_1==22) ) {
- alt13=1;
- }
- }
- switch (alt13) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:936:1: (lv_remaining_2_0= ruleQualifiedName )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:936:1: (lv_remaining_2_0= ruleQualifiedName )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:937:3: lv_remaining_2_0= ruleQualifiedName
- {
-
- newCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0());
-
- pushFollow(FOLLOW_ruleQualifiedName_in_ruleQualifiedName2025);
- lv_remaining_2_0=ruleQualifiedName();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getQualifiedNameRule());
- }
- set(
- current,
- "remaining",
- lv_remaining_2_0,
- "QualifiedName");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleQualifiedName"
-
-
- // $ANTLR start "entryRuleTypeRule"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:961:1: entryRuleTypeRule returns [EObject current=null] : iv_ruleTypeRule= ruleTypeRule EOF ;
- public final EObject entryRuleTypeRule() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleTypeRule = null;
-
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:962:2: (iv_ruleTypeRule= ruleTypeRule EOF )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:963:2: iv_ruleTypeRule= ruleTypeRule EOF
- {
- newCompositeNode(grammarAccess.getTypeRuleRule());
- pushFollow(FOLLOW_ruleTypeRule_in_entryRuleTypeRule2062);
- iv_ruleTypeRule=ruleTypeRule();
-
- state._fsp--;
-
- current =iv_ruleTypeRule;
- match(input,EOF,FOLLOW_EOF_in_entryRuleTypeRule2072);
+ }
- }
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleTypeRule"
-
-
- // $ANTLR start "ruleTypeRule"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:970:1: ruleTypeRule returns [EObject current=null] : ( ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) ) ) ;
- public final EObject ruleTypeRule() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1=null;
- EObject lv_path_0_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:973:28: ( ( ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) ) ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:974:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) ) )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:974:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:974:2: ( (lv_path_0_0= ruleQualifiedName ) )? ( (otherlv_1= RULE_ID ) )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:974:2: ( (lv_path_0_0= ruleQualifiedName ) )?
- int alt14=2;
- int LA14_0 = input.LA(1);
+ }
+ break;
+
+ }
+
+
+ }
- if ( (LA14_0==RULE_ID) ) {
- int LA14_1 = input.LA(2);
+ leaveRule();
+ }
- if ( (LA14_1==22) ) {
- alt14=1;
- }
- }
- switch (alt14) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:975:1: (lv_path_0_0= ruleQualifiedName )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:975:1: (lv_path_0_0= ruleQualifiedName )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:976:3: lv_path_0_0= ruleQualifiedName
- {
-
- newCompositeNode(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleQualifiedName_in_ruleTypeRule2118);
- lv_path_0_0=ruleQualifiedName();
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleBooleanLiterals"
+
+
+ // $ANTLR start "ruleVisibilityKind"
+ // InternalUmlParameter.g:1237:1: ruleVisibilityKind returns [Enumerator current=null] : ( (enumLiteral_0= '+' ) | (enumLiteral_1= '-' ) | (enumLiteral_2= '#' ) | (enumLiteral_3= '~' ) ) ;
+ public final Enumerator ruleVisibilityKind() throws RecognitionException {
+ Enumerator current = null;
+
+ Token enumLiteral_0 = null;
+ Token enumLiteral_1 = null;
+ Token enumLiteral_2 = null;
+ Token enumLiteral_3 = null;
+
+ enterRule();
+ try {
+ // InternalUmlParameter.g:1239:28: ( ( (enumLiteral_0= '+' ) | (enumLiteral_1= '-' ) | (enumLiteral_2= '#' ) | (enumLiteral_3= '~' ) ) )
+ // InternalUmlParameter.g:1240:1: ( (enumLiteral_0= '+' ) | (enumLiteral_1= '-' ) | (enumLiteral_2= '#' ) | (enumLiteral_3= '~' ) )
+ {
+ // InternalUmlParameter.g:1240:1: ( (enumLiteral_0= '+' ) | (enumLiteral_1= '-' ) | (enumLiteral_2= '#' ) | (enumLiteral_3= '~' ) )
+ int alt20 = 4;
+ switch (input.LA(1)) {
+ case 37: {
+ alt20 = 1;
+ }
+ break;
+ case 38: {
+ alt20 = 2;
+ }
+ break;
+ case 39: {
+ alt20 = 3;
+ }
+ break;
+ case 40: {
+ alt20 = 4;
+ }
+ break;
+ default:
+ NoViableAltException nvae = new NoViableAltException("", 20, 0, input);
- state._fsp--;
+ throw nvae;
+ }
+ switch (alt20) {
+ case 1:
+ // InternalUmlParameter.g:1240:2: (enumLiteral_0= '+' )
+ {
+ // InternalUmlParameter.g:1240:2: (enumLiteral_0= '+' )
+ // InternalUmlParameter.g:1240:4: enumLiteral_0= '+'
+ {
+ enumLiteral_0 = (Token) match(input, 37, FOLLOW_2);
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getTypeRuleRule());
- }
- set(
- current,
- "path",
- lv_path_0_0,
- "QualifiedName");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:992:3: ( (otherlv_1= RULE_ID ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:993:1: (otherlv_1= RULE_ID )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:993:1: (otherlv_1= RULE_ID )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:994:3: otherlv_1= RULE_ID
- {
-
- if (current==null) {
- current = createModelElement(grammarAccess.getTypeRuleRule());
- }
-
- otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTypeRule2139);
-
- newLeafNode(otherlv_1, grammarAccess.getTypeRuleAccess().getTypeTypeCrossReference_1_0());
-
-
- }
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleTypeRule"
-
-
- // $ANTLR start "entryRuleMultiplicityRule"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1013:1: entryRuleMultiplicityRule returns [EObject current=null] : iv_ruleMultiplicityRule= ruleMultiplicityRule EOF ;
- public final EObject entryRuleMultiplicityRule() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleMultiplicityRule = null;
-
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1014:2: (iv_ruleMultiplicityRule= ruleMultiplicityRule EOF )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1015:2: iv_ruleMultiplicityRule= ruleMultiplicityRule EOF
- {
- newCompositeNode(grammarAccess.getMultiplicityRuleRule());
- pushFollow(FOLLOW_ruleMultiplicityRule_in_entryRuleMultiplicityRule2175);
- iv_ruleMultiplicityRule=ruleMultiplicityRule();
-
- state._fsp--;
-
- current =iv_ruleMultiplicityRule;
- match(input,EOF,FOLLOW_EOF_in_entryRuleMultiplicityRule2185);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleMultiplicityRule"
-
-
- // $ANTLR start "ruleMultiplicityRule"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1022:1: ruleMultiplicityRule returns [EObject current=null] : (otherlv_0= '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) (otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? otherlv_4= ']' ) ;
- public final EObject ruleMultiplicityRule() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0=null;
- Token otherlv_2=null;
- Token otherlv_4=null;
- EObject lv_bounds_1_0 = null;
-
- EObject lv_bounds_3_0 = null;
+ current = grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0());
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1025:28: ( (otherlv_0= '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) (otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? otherlv_4= ']' ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1026:1: (otherlv_0= '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) (otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? otherlv_4= ']' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1026:1: (otherlv_0= '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) (otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? otherlv_4= ']' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1026:3: otherlv_0= '[' ( (lv_bounds_1_0= ruleBoundSpecification ) ) (otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )? otherlv_4= ']'
- {
- otherlv_0=(Token)match(input,23,FOLLOW_23_in_ruleMultiplicityRule2222);
+ }
- newLeafNode(otherlv_0, grammarAccess.getMultiplicityRuleAccess().getLeftSquareBracketKeyword_0());
-
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1030:1: ( (lv_bounds_1_0= ruleBoundSpecification ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1031:1: (lv_bounds_1_0= ruleBoundSpecification )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1031:1: (lv_bounds_1_0= ruleBoundSpecification )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1032:3: lv_bounds_1_0= ruleBoundSpecification
- {
-
- newCompositeNode(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleBoundSpecification_in_ruleMultiplicityRule2243);
- lv_bounds_1_0=ruleBoundSpecification();
- state._fsp--;
+ }
+ break;
+ case 2:
+ // InternalUmlParameter.g:1246:6: (enumLiteral_1= '-' )
+ {
+ // InternalUmlParameter.g:1246:6: (enumLiteral_1= '-' )
+ // InternalUmlParameter.g:1246:8: enumLiteral_1= '-'
+ {
+ enumLiteral_1 = (Token) match(input, 38, FOLLOW_2);
+
+ current = grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1());
+
+
+ }
+
+
+ }
+ break;
+ case 3:
+ // InternalUmlParameter.g:1252:6: (enumLiteral_2= '#' )
+ {
+ // InternalUmlParameter.g:1252:6: (enumLiteral_2= '#' )
+ // InternalUmlParameter.g:1252:8: enumLiteral_2= '#'
+ {
+ enumLiteral_2 = (Token) match(input, 39, FOLLOW_2);
+
+ current = grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2());
+
+
+ }
+
+
+ }
+ break;
+ case 4:
+ // InternalUmlParameter.g:1258:6: (enumLiteral_3= '~' )
+ {
+ // InternalUmlParameter.g:1258:6: (enumLiteral_3= '~' )
+ // InternalUmlParameter.g:1258:8: enumLiteral_3= '~'
+ {
+ enumLiteral_3 = (Token) match(input, 40, FOLLOW_2);
+
+ current = grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_3, grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3());
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleVisibilityKind"
+
+
+ // $ANTLR start "ruleDirection"
+ // InternalUmlParameter.g:1268:1: ruleDirection returns [Enumerator current=null] : ( (enumLiteral_0= 'in' ) | (enumLiteral_1= 'out' ) | (enumLiteral_2= 'inout' ) | (enumLiteral_3= 'return' ) ) ;
+ public final Enumerator ruleDirection() throws RecognitionException {
+ Enumerator current = null;
+
+ Token enumLiteral_0 = null;
+ Token enumLiteral_1 = null;
+ Token enumLiteral_2 = null;
+ Token enumLiteral_3 = null;
+ enterRule();
+ try {
+ // InternalUmlParameter.g:1270:28: ( ( (enumLiteral_0= 'in' ) | (enumLiteral_1= 'out' ) | (enumLiteral_2= 'inout' ) | (enumLiteral_3= 'return' ) ) )
+ // InternalUmlParameter.g:1271:1: ( (enumLiteral_0= 'in' ) | (enumLiteral_1= 'out' ) | (enumLiteral_2= 'inout' ) | (enumLiteral_3= 'return' ) )
+ {
+ // InternalUmlParameter.g:1271:1: ( (enumLiteral_0= 'in' ) | (enumLiteral_1= 'out' ) | (enumLiteral_2= 'inout' ) | (enumLiteral_3= 'return' ) )
+ int alt21 = 4;
+ switch (input.LA(1)) {
+ case 41: {
+ alt21 = 1;
+ }
+ break;
+ case 42: {
+ alt21 = 2;
+ }
+ break;
+ case 43: {
+ alt21 = 3;
+ }
+ break;
+ case 44: {
+ alt21 = 4;
+ }
+ break;
+ default:
+ NoViableAltException nvae = new NoViableAltException("", 21, 0, input);
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getMultiplicityRuleRule());
- }
- add(
- current,
- "bounds",
- lv_bounds_1_0,
- "BoundSpecification");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1048:2: (otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) ) )?
- int alt15=2;
- int LA15_0 = input.LA(1);
-
- if ( (LA15_0==24) ) {
- alt15=1;
- }
- switch (alt15) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1048:4: otherlv_2= '..' ( (lv_bounds_3_0= ruleBoundSpecification ) )
- {
- otherlv_2=(Token)match(input,24,FOLLOW_24_in_ruleMultiplicityRule2256);
-
- newLeafNode(otherlv_2, grammarAccess.getMultiplicityRuleAccess().getFullStopFullStopKeyword_2_0());
-
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1052:1: ( (lv_bounds_3_0= ruleBoundSpecification ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1053:1: (lv_bounds_3_0= ruleBoundSpecification )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1053:1: (lv_bounds_3_0= ruleBoundSpecification )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1054:3: lv_bounds_3_0= ruleBoundSpecification
- {
-
- newCompositeNode(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0());
-
- pushFollow(FOLLOW_ruleBoundSpecification_in_ruleMultiplicityRule2277);
- lv_bounds_3_0=ruleBoundSpecification();
-
- state._fsp--;
-
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getMultiplicityRuleRule());
- }
- add(
- current,
- "bounds",
- lv_bounds_3_0,
- "BoundSpecification");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
- otherlv_4=(Token)match(input,25,FOLLOW_25_in_ruleMultiplicityRule2291);
-
- newLeafNode(otherlv_4, grammarAccess.getMultiplicityRuleAccess().getRightSquareBracketKeyword_3());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleMultiplicityRule"
-
-
- // $ANTLR start "entryRuleBoundSpecification"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1082:1: entryRuleBoundSpecification returns [EObject current=null] : iv_ruleBoundSpecification= ruleBoundSpecification EOF ;
- public final EObject entryRuleBoundSpecification() throws RecognitionException {
- EObject current = null;
+ throw nvae;
+ }
- EObject iv_ruleBoundSpecification = null;
+ switch (alt21) {
+ case 1:
+ // InternalUmlParameter.g:1271:2: (enumLiteral_0= 'in' )
+ {
+ // InternalUmlParameter.g:1271:2: (enumLiteral_0= 'in' )
+ // InternalUmlParameter.g:1271:4: enumLiteral_0= 'in'
+ {
+ enumLiteral_0 = (Token) match(input, 41, FOLLOW_2);
+ current = grammarAccess.getDirectionAccess().getINEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getDirectionAccess().getINEnumLiteralDeclaration_0());
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1083:2: (iv_ruleBoundSpecification= ruleBoundSpecification EOF )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1084:2: iv_ruleBoundSpecification= ruleBoundSpecification EOF
- {
- newCompositeNode(grammarAccess.getBoundSpecificationRule());
- pushFollow(FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification2327);
- iv_ruleBoundSpecification=ruleBoundSpecification();
- state._fsp--;
+ }
- current =iv_ruleBoundSpecification;
- match(input,EOF,FOLLOW_EOF_in_entryRuleBoundSpecification2337);
- }
+ }
+ break;
+ case 2:
+ // InternalUmlParameter.g:1277:6: (enumLiteral_1= 'out' )
+ {
+ // InternalUmlParameter.g:1277:6: (enumLiteral_1= 'out' )
+ // InternalUmlParameter.g:1277:8: enumLiteral_1= 'out'
+ {
+ enumLiteral_1 = (Token) match(input, 42, FOLLOW_2);
+
+ current = grammarAccess.getDirectionAccess().getOUTEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getDirectionAccess().getOUTEnumLiteralDeclaration_1());
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleBoundSpecification"
+ }
- // $ANTLR start "ruleBoundSpecification"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1091:1: ruleBoundSpecification returns [EObject current=null] : ( (lv_value_0_0= ruleUnlimitedLiteral ) ) ;
- public final EObject ruleBoundSpecification() throws RecognitionException {
- EObject current = null;
- AntlrDatatypeRuleToken lv_value_0_0 = null;
+ }
+ break;
+ case 3:
+ // InternalUmlParameter.g:1283:6: (enumLiteral_2= 'inout' )
+ {
+ // InternalUmlParameter.g:1283:6: (enumLiteral_2= 'inout' )
+ // InternalUmlParameter.g:1283:8: enumLiteral_2= 'inout'
+ {
+ enumLiteral_2 = (Token) match(input, 43, FOLLOW_2);
+
+ current = grammarAccess.getDirectionAccess().getINOUTEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getDirectionAccess().getINOUTEnumLiteralDeclaration_2());
+
+
+ }
+
+
+ }
+ break;
+ case 4:
+ // InternalUmlParameter.g:1289:6: (enumLiteral_3= 'return' )
+ {
+ // InternalUmlParameter.g:1289:6: (enumLiteral_3= 'return' )
+ // InternalUmlParameter.g:1289:8: enumLiteral_3= 'return'
+ {
+ enumLiteral_3 = (Token) match(input, 44, FOLLOW_2);
+
+ current = grammarAccess.getDirectionAccess().getRETURNEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_3, grammarAccess.getDirectionAccess().getRETURNEnumLiteralDeclaration_3());
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleDirection"
+ // Delegated rules
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1094:28: ( ( (lv_value_0_0= ruleUnlimitedLiteral ) ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1095:1: ( (lv_value_0_0= ruleUnlimitedLiteral ) )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1095:1: ( (lv_value_0_0= ruleUnlimitedLiteral ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1096:1: (lv_value_0_0= ruleUnlimitedLiteral )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1096:1: (lv_value_0_0= ruleUnlimitedLiteral )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1097:3: lv_value_0_0= ruleUnlimitedLiteral
- {
-
- newCompositeNode(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralParserRuleCall_0());
-
- pushFollow(FOLLOW_ruleUnlimitedLiteral_in_ruleBoundSpecification2382);
- lv_value_0_0=ruleUnlimitedLiteral();
- state._fsp--;
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getBoundSpecificationRule());
- }
- set(
- current,
- "value",
- lv_value_0_0,
- "UnlimitedLiteral");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleBoundSpecification"
-
-
- // $ANTLR start "entryRuleUnlimitedLiteral"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1121:1: entryRuleUnlimitedLiteral returns [String current=null] : iv_ruleUnlimitedLiteral= ruleUnlimitedLiteral EOF ;
- public final String entryRuleUnlimitedLiteral() throws RecognitionException {
- String current = null;
-
- AntlrDatatypeRuleToken iv_ruleUnlimitedLiteral = null;
-
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1122:2: (iv_ruleUnlimitedLiteral= ruleUnlimitedLiteral EOF )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1123:2: iv_ruleUnlimitedLiteral= ruleUnlimitedLiteral EOF
- {
- newCompositeNode(grammarAccess.getUnlimitedLiteralRule());
- pushFollow(FOLLOW_ruleUnlimitedLiteral_in_entryRuleUnlimitedLiteral2418);
- iv_ruleUnlimitedLiteral=ruleUnlimitedLiteral();
-
- state._fsp--;
-
- current =iv_ruleUnlimitedLiteral.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleUnlimitedLiteral2429);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleUnlimitedLiteral"
-
-
- // $ANTLR start "ruleUnlimitedLiteral"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1130:1: ruleUnlimitedLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_INT_0= RULE_INT | kw= '*' ) ;
- public final AntlrDatatypeRuleToken ruleUnlimitedLiteral() throws RecognitionException {
- AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
-
- Token this_INT_0=null;
- Token kw=null;
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1133:28: ( (this_INT_0= RULE_INT | kw= '*' ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1134:1: (this_INT_0= RULE_INT | kw= '*' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1134:1: (this_INT_0= RULE_INT | kw= '*' )
- int alt16=2;
- int LA16_0 = input.LA(1);
-
- if ( (LA16_0==RULE_INT) ) {
- alt16=1;
- }
- else if ( (LA16_0==26) ) {
- alt16=2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 16, 0, input);
-
- throw nvae;
- }
- switch (alt16) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1134:6: this_INT_0= RULE_INT
- {
- this_INT_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleUnlimitedLiteral2469);
-
- current.merge(this_INT_0);
-
-
- newLeafNode(this_INT_0, grammarAccess.getUnlimitedLiteralAccess().getINTTerminalRuleCall_0());
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1143:2: kw= '*'
- {
- kw=(Token)match(input,26,FOLLOW_26_in_ruleUnlimitedLiteral2493);
-
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getUnlimitedLiteralAccess().getAsteriskKeyword_1());
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleUnlimitedLiteral"
-
-
- // $ANTLR start "ruleModifierKind"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1156:1: ruleModifierKind returns [Enumerator current=null] : ( (enumLiteral_0= 'exception' ) | (enumLiteral_1= 'stream' ) | (enumLiteral_2= 'ordered' ) | (enumLiteral_3= 'unique' ) ) ;
- public final Enumerator ruleModifierKind() throws RecognitionException {
- Enumerator current = null;
-
- Token enumLiteral_0=null;
- Token enumLiteral_1=null;
- Token enumLiteral_2=null;
- Token enumLiteral_3=null;
-
- enterRule();
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1158:28: ( ( (enumLiteral_0= 'exception' ) | (enumLiteral_1= 'stream' ) | (enumLiteral_2= 'ordered' ) | (enumLiteral_3= 'unique' ) ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1159:1: ( (enumLiteral_0= 'exception' ) | (enumLiteral_1= 'stream' ) | (enumLiteral_2= 'ordered' ) | (enumLiteral_3= 'unique' ) )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1159:1: ( (enumLiteral_0= 'exception' ) | (enumLiteral_1= 'stream' ) | (enumLiteral_2= 'ordered' ) | (enumLiteral_3= 'unique' ) )
- int alt17=4;
- switch ( input.LA(1) ) {
- case 27:
- {
- alt17=1;
- }
- break;
- case 28:
- {
- alt17=2;
- }
- break;
- case 29:
- {
- alt17=3;
- }
- break;
- case 30:
- {
- alt17=4;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("", 17, 0, input);
-
- throw nvae;
- }
-
- switch (alt17) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1159:2: (enumLiteral_0= 'exception' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1159:2: (enumLiteral_0= 'exception' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1159:4: enumLiteral_0= 'exception'
- {
- enumLiteral_0=(Token)match(input,27,FOLLOW_27_in_ruleModifierKind2547);
-
- current = grammarAccess.getModifierKindAccess().getEXCEPTIONEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getModifierKindAccess().getEXCEPTIONEnumLiteralDeclaration_0());
-
-
- }
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1165:6: (enumLiteral_1= 'stream' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1165:6: (enumLiteral_1= 'stream' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1165:8: enumLiteral_1= 'stream'
- {
- enumLiteral_1=(Token)match(input,28,FOLLOW_28_in_ruleModifierKind2564);
-
- current = grammarAccess.getModifierKindAccess().getSTREAMEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getModifierKindAccess().getSTREAMEnumLiteralDeclaration_1());
-
-
- }
-
-
- }
- break;
- case 3 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1171:6: (enumLiteral_2= 'ordered' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1171:6: (enumLiteral_2= 'ordered' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1171:8: enumLiteral_2= 'ordered'
- {
- enumLiteral_2=(Token)match(input,29,FOLLOW_29_in_ruleModifierKind2581);
-
- current = grammarAccess.getModifierKindAccess().getORDEREDEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getModifierKindAccess().getORDEREDEnumLiteralDeclaration_2());
-
-
- }
-
-
- }
- break;
- case 4 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1177:6: (enumLiteral_3= 'unique' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1177:6: (enumLiteral_3= 'unique' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1177:8: enumLiteral_3= 'unique'
- {
- enumLiteral_3=(Token)match(input,30,FOLLOW_30_in_ruleModifierKind2598);
-
- current = grammarAccess.getModifierKindAccess().getUNIQUEEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_3, grammarAccess.getModifierKindAccess().getUNIQUEEnumLiteralDeclaration_3());
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleModifierKind"
-
-
- // $ANTLR start "ruleEffectKind"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1187:1: ruleEffectKind returns [Enumerator current=null] : ( (enumLiteral_0= 'create' ) | (enumLiteral_1= 'read' ) | (enumLiteral_2= 'update' ) | (enumLiteral_3= 'delete' ) ) ;
- public final Enumerator ruleEffectKind() throws RecognitionException {
- Enumerator current = null;
-
- Token enumLiteral_0=null;
- Token enumLiteral_1=null;
- Token enumLiteral_2=null;
- Token enumLiteral_3=null;
-
- enterRule();
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1189:28: ( ( (enumLiteral_0= 'create' ) | (enumLiteral_1= 'read' ) | (enumLiteral_2= 'update' ) | (enumLiteral_3= 'delete' ) ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1190:1: ( (enumLiteral_0= 'create' ) | (enumLiteral_1= 'read' ) | (enumLiteral_2= 'update' ) | (enumLiteral_3= 'delete' ) )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1190:1: ( (enumLiteral_0= 'create' ) | (enumLiteral_1= 'read' ) | (enumLiteral_2= 'update' ) | (enumLiteral_3= 'delete' ) )
- int alt18=4;
- switch ( input.LA(1) ) {
- case 31:
- {
- alt18=1;
- }
- break;
- case 32:
- {
- alt18=2;
- }
- break;
- case 33:
- {
- alt18=3;
- }
- break;
- case 34:
- {
- alt18=4;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("", 18, 0, input);
-
- throw nvae;
- }
-
- switch (alt18) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1190:2: (enumLiteral_0= 'create' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1190:2: (enumLiteral_0= 'create' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1190:4: enumLiteral_0= 'create'
- {
- enumLiteral_0=(Token)match(input,31,FOLLOW_31_in_ruleEffectKind2643);
-
- current = grammarAccess.getEffectKindAccess().getCREATEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getEffectKindAccess().getCREATEEnumLiteralDeclaration_0());
-
-
- }
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1196:6: (enumLiteral_1= 'read' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1196:6: (enumLiteral_1= 'read' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1196:8: enumLiteral_1= 'read'
- {
- enumLiteral_1=(Token)match(input,32,FOLLOW_32_in_ruleEffectKind2660);
-
- current = grammarAccess.getEffectKindAccess().getREADEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getEffectKindAccess().getREADEnumLiteralDeclaration_1());
-
-
- }
-
-
- }
- break;
- case 3 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1202:6: (enumLiteral_2= 'update' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1202:6: (enumLiteral_2= 'update' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1202:8: enumLiteral_2= 'update'
- {
- enumLiteral_2=(Token)match(input,33,FOLLOW_33_in_ruleEffectKind2677);
-
- current = grammarAccess.getEffectKindAccess().getUPDATEEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getEffectKindAccess().getUPDATEEnumLiteralDeclaration_2());
-
-
- }
-
-
- }
- break;
- case 4 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1208:6: (enumLiteral_3= 'delete' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1208:6: (enumLiteral_3= 'delete' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1208:8: enumLiteral_3= 'delete'
- {
- enumLiteral_3=(Token)match(input,34,FOLLOW_34_in_ruleEffectKind2694);
-
- current = grammarAccess.getEffectKindAccess().getDELETEEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_3, grammarAccess.getEffectKindAccess().getDELETEEnumLiteralDeclaration_3());
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleEffectKind"
-
-
- // $ANTLR start "ruleBooleanLiterals"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1218:1: ruleBooleanLiterals returns [Enumerator current=null] : ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) ) ;
- public final Enumerator ruleBooleanLiterals() throws RecognitionException {
- Enumerator current = null;
-
- Token enumLiteral_0=null;
- Token enumLiteral_1=null;
-
- enterRule();
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1220:28: ( ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1221:1: ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1221:1: ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) )
- int alt19=2;
- int LA19_0 = input.LA(1);
-
- if ( (LA19_0==35) ) {
- alt19=1;
- }
- else if ( (LA19_0==36) ) {
- alt19=2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 19, 0, input);
-
- throw nvae;
- }
- switch (alt19) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1221:2: (enumLiteral_0= 'true' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1221:2: (enumLiteral_0= 'true' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1221:4: enumLiteral_0= 'true'
- {
- enumLiteral_0=(Token)match(input,35,FOLLOW_35_in_ruleBooleanLiterals2739);
-
- current = grammarAccess.getBooleanLiteralsAccess().getTrueEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getBooleanLiteralsAccess().getTrueEnumLiteralDeclaration_0());
-
-
- }
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1227:6: (enumLiteral_1= 'false' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1227:6: (enumLiteral_1= 'false' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1227:8: enumLiteral_1= 'false'
- {
- enumLiteral_1=(Token)match(input,36,FOLLOW_36_in_ruleBooleanLiterals2756);
-
- current = grammarAccess.getBooleanLiteralsAccess().getFalseEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getBooleanLiteralsAccess().getFalseEnumLiteralDeclaration_1());
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleBooleanLiterals"
-
-
- // $ANTLR start "ruleVisibilityKind"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1237:1: ruleVisibilityKind returns [Enumerator current=null] : ( (enumLiteral_0= '+' ) | (enumLiteral_1= '-' ) | (enumLiteral_2= '#' ) | (enumLiteral_3= '~' ) ) ;
- public final Enumerator ruleVisibilityKind() throws RecognitionException {
- Enumerator current = null;
-
- Token enumLiteral_0=null;
- Token enumLiteral_1=null;
- Token enumLiteral_2=null;
- Token enumLiteral_3=null;
-
- enterRule();
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1239:28: ( ( (enumLiteral_0= '+' ) | (enumLiteral_1= '-' ) | (enumLiteral_2= '#' ) | (enumLiteral_3= '~' ) ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1240:1: ( (enumLiteral_0= '+' ) | (enumLiteral_1= '-' ) | (enumLiteral_2= '#' ) | (enumLiteral_3= '~' ) )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1240:1: ( (enumLiteral_0= '+' ) | (enumLiteral_1= '-' ) | (enumLiteral_2= '#' ) | (enumLiteral_3= '~' ) )
- int alt20=4;
- switch ( input.LA(1) ) {
- case 37:
- {
- alt20=1;
- }
- break;
- case 38:
- {
- alt20=2;
- }
- break;
- case 39:
- {
- alt20=3;
- }
- break;
- case 40:
- {
- alt20=4;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("", 20, 0, input);
-
- throw nvae;
- }
-
- switch (alt20) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1240:2: (enumLiteral_0= '+' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1240:2: (enumLiteral_0= '+' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1240:4: enumLiteral_0= '+'
- {
- enumLiteral_0=(Token)match(input,37,FOLLOW_37_in_ruleVisibilityKind2801);
-
- current = grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0());
-
-
- }
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1246:6: (enumLiteral_1= '-' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1246:6: (enumLiteral_1= '-' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1246:8: enumLiteral_1= '-'
- {
- enumLiteral_1=(Token)match(input,38,FOLLOW_38_in_ruleVisibilityKind2818);
-
- current = grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1());
-
-
- }
-
-
- }
- break;
- case 3 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1252:6: (enumLiteral_2= '#' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1252:6: (enumLiteral_2= '#' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1252:8: enumLiteral_2= '#'
- {
- enumLiteral_2=(Token)match(input,39,FOLLOW_39_in_ruleVisibilityKind2835);
-
- current = grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2());
-
-
- }
-
-
- }
- break;
- case 4 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1258:6: (enumLiteral_3= '~' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1258:6: (enumLiteral_3= '~' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1258:8: enumLiteral_3= '~'
- {
- enumLiteral_3=(Token)match(input,40,FOLLOW_40_in_ruleVisibilityKind2852);
-
- current = grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_3, grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3());
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleVisibilityKind"
-
-
- // $ANTLR start "ruleDirection"
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1268:1: ruleDirection returns [Enumerator current=null] : ( (enumLiteral_0= 'in' ) | (enumLiteral_1= 'out' ) | (enumLiteral_2= 'inout' ) | (enumLiteral_3= 'return' ) ) ;
- public final Enumerator ruleDirection() throws RecognitionException {
- Enumerator current = null;
-
- Token enumLiteral_0=null;
- Token enumLiteral_1=null;
- Token enumLiteral_2=null;
- Token enumLiteral_3=null;
-
- enterRule();
- try {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1270:28: ( ( (enumLiteral_0= 'in' ) | (enumLiteral_1= 'out' ) | (enumLiteral_2= 'inout' ) | (enumLiteral_3= 'return' ) ) )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1271:1: ( (enumLiteral_0= 'in' ) | (enumLiteral_1= 'out' ) | (enumLiteral_2= 'inout' ) | (enumLiteral_3= 'return' ) )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1271:1: ( (enumLiteral_0= 'in' ) | (enumLiteral_1= 'out' ) | (enumLiteral_2= 'inout' ) | (enumLiteral_3= 'return' ) )
- int alt21=4;
- switch ( input.LA(1) ) {
- case 41:
- {
- alt21=1;
- }
- break;
- case 42:
- {
- alt21=2;
- }
- break;
- case 43:
- {
- alt21=3;
- }
- break;
- case 44:
- {
- alt21=4;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("", 21, 0, input);
-
- throw nvae;
- }
-
- switch (alt21) {
- case 1 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1271:2: (enumLiteral_0= 'in' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1271:2: (enumLiteral_0= 'in' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1271:4: enumLiteral_0= 'in'
- {
- enumLiteral_0=(Token)match(input,41,FOLLOW_41_in_ruleDirection2897);
-
- current = grammarAccess.getDirectionAccess().getINEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getDirectionAccess().getINEnumLiteralDeclaration_0());
-
-
- }
-
-
- }
- break;
- case 2 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1277:6: (enumLiteral_1= 'out' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1277:6: (enumLiteral_1= 'out' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1277:8: enumLiteral_1= 'out'
- {
- enumLiteral_1=(Token)match(input,42,FOLLOW_42_in_ruleDirection2914);
-
- current = grammarAccess.getDirectionAccess().getOUTEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getDirectionAccess().getOUTEnumLiteralDeclaration_1());
-
-
- }
-
-
- }
- break;
- case 3 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1283:6: (enumLiteral_2= 'inout' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1283:6: (enumLiteral_2= 'inout' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1283:8: enumLiteral_2= 'inout'
- {
- enumLiteral_2=(Token)match(input,43,FOLLOW_43_in_ruleDirection2931);
-
- current = grammarAccess.getDirectionAccess().getINOUTEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getDirectionAccess().getINOUTEnumLiteralDeclaration_2());
-
-
- }
-
-
- }
- break;
- case 4 :
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1289:6: (enumLiteral_3= 'return' )
- {
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1289:6: (enumLiteral_3= 'return' )
- // ../org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/parser/antlr/internal/InternalUmlParameter.g:1289:8: enumLiteral_3= 'return'
- {
- enumLiteral_3=(Token)match(input,44,FOLLOW_44_in_ruleDirection2948);
-
- current = grammarAccess.getDirectionAccess().getRETURNEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_3, grammarAccess.getDirectionAccess().getRETURNEnumLiteralDeclaration_3());
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleDirection"
-
- // Delegated rules
-
-
-
-
- public static final BitSet FOLLOW_ruleParameterRule_in_entryRuleParameterRule75 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleParameterRule85 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleVisibilityRule_in_ruleParameterRule131 = new BitSet(new long[]{0x00001E0000000010L});
- public static final BitSet FOLLOW_ruleDirectionRule_in_ruleParameterRule153 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleParameterRule171 = new BitSet(new long[]{0x0000000000845002L});
- public static final BitSet FOLLOW_12_in_ruleParameterRule189 = new BitSet(new long[]{0x0000000000002010L});
- public static final BitSet FOLLOW_ruleTypeRule_in_ruleParameterRule211 = new BitSet(new long[]{0x0000000000844002L});
- public static final BitSet FOLLOW_13_in_ruleParameterRule235 = new BitSet(new long[]{0x0000000000844002L});
- public static final BitSet FOLLOW_ruleMultiplicityRule_in_ruleParameterRule272 = new BitSet(new long[]{0x0000000000044002L});
- public static final BitSet FOLLOW_ruleModifiersRule_in_ruleParameterRule294 = new BitSet(new long[]{0x0000000000044002L});
- public static final BitSet FOLLOW_ruleEffectRule_in_ruleParameterRule316 = new BitSet(new long[]{0x0000000000040002L});
- public static final BitSet FOLLOW_ruleDefaultValueRule_in_ruleParameterRule338 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleModifiersRule_in_entryRuleModifiersRule375 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleModifiersRule385 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_14_in_ruleModifiersRule431 = new BitSet(new long[]{0x0000000078010000L});
- public static final BitSet FOLLOW_ruleModifierSpecification_in_ruleModifiersRule453 = new BitSet(new long[]{0x0000000000018000L});
- public static final BitSet FOLLOW_15_in_ruleModifiersRule466 = new BitSet(new long[]{0x0000000078000000L});
- public static final BitSet FOLLOW_ruleModifierSpecification_in_ruleModifiersRule487 = new BitSet(new long[]{0x0000000000018000L});
- public static final BitSet FOLLOW_16_in_ruleModifiersRule503 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleModifierSpecification_in_entryRuleModifierSpecification539 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleModifierSpecification549 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleModifierKind_in_ruleModifierSpecification594 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleVisibilityRule_in_entryRuleVisibilityRule629 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleVisibilityRule639 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleVisibilityKind_in_ruleVisibilityRule684 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleDirectionRule_in_entryRuleDirectionRule719 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleDirectionRule729 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleDirection_in_ruleDirectionRule774 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleEffectRule_in_entryRuleEffectRule809 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleEffectRule819 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_14_in_ruleEffectRule856 = new BitSet(new long[]{0x0000000000020000L});
- public static final BitSet FOLLOW_17_in_ruleEffectRule868 = new BitSet(new long[]{0x0000000780000000L});
- public static final BitSet FOLLOW_ruleEffectKind_in_ruleEffectRule889 = new BitSet(new long[]{0x0000000000010000L});
- public static final BitSet FOLLOW_16_in_ruleEffectRule901 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleDefaultValueRule_in_entryRuleDefaultValueRule937 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleDefaultValueRule947 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_18_in_ruleDefaultValueRule984 = new BitSet(new long[]{0x0000001800380060L});
- public static final BitSet FOLLOW_ruleValue_in_ruleDefaultValueRule1005 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleValue_in_entryRuleValue1041 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleValue1051 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleIntValue_in_ruleValue1098 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleStringValue_in_ruleValue1125 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleBooleanValue_in_ruleValue1152 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleRealValue_in_ruleValue1179 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleNullValue_in_ruleValue1206 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleNoValue_in_ruleValue1233 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleIntValue_in_entryRuleIntValue1268 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleIntValue1278 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleIntValue1319 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleStringValue_in_entryRuleStringValue1359 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleStringValue1369 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_STRING_in_ruleStringValue1410 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleBooleanValue_in_entryRuleBooleanValue1450 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleBooleanValue1460 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleBooleanLiterals_in_ruleBooleanValue1505 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleRealValue_in_entryRuleRealValue1540 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleRealValue1550 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleRealValue1593 = new BitSet(new long[]{0x0000000000080000L});
- public static final BitSet FOLLOW_19_in_ruleRealValue1610 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_19_in_ruleRealValue1630 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleRealValue1647 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleRealValue1677 = new BitSet(new long[]{0x0000000000080000L});
- public static final BitSet FOLLOW_19_in_ruleRealValue1694 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleRealValue1711 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleNullValue_in_entryRuleNullValue1753 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleNullValue1763 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_20_in_ruleNullValue1809 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleNoValue_in_entryRuleNoValue1845 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleNoValue1855 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_21_in_ruleNoValue1901 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName1937 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedName1947 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleQualifiedName1992 = new BitSet(new long[]{0x0000000000400000L});
- public static final BitSet FOLLOW_22_in_ruleQualifiedName2004 = new BitSet(new long[]{0x0000000000000012L});
- public static final BitSet FOLLOW_ruleQualifiedName_in_ruleQualifiedName2025 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleTypeRule_in_entryRuleTypeRule2062 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleTypeRule2072 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleQualifiedName_in_ruleTypeRule2118 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleTypeRule2139 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleMultiplicityRule_in_entryRuleMultiplicityRule2175 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleMultiplicityRule2185 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_23_in_ruleMultiplicityRule2222 = new BitSet(new long[]{0x0000000004000020L});
- public static final BitSet FOLLOW_ruleBoundSpecification_in_ruleMultiplicityRule2243 = new BitSet(new long[]{0x0000000003000000L});
- public static final BitSet FOLLOW_24_in_ruleMultiplicityRule2256 = new BitSet(new long[]{0x0000000004000020L});
- public static final BitSet FOLLOW_ruleBoundSpecification_in_ruleMultiplicityRule2277 = new BitSet(new long[]{0x0000000002000000L});
- public static final BitSet FOLLOW_25_in_ruleMultiplicityRule2291 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleBoundSpecification_in_entryRuleBoundSpecification2327 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleBoundSpecification2337 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleUnlimitedLiteral_in_ruleBoundSpecification2382 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleUnlimitedLiteral_in_entryRuleUnlimitedLiteral2418 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleUnlimitedLiteral2429 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleUnlimitedLiteral2469 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_26_in_ruleUnlimitedLiteral2493 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_27_in_ruleModifierKind2547 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_28_in_ruleModifierKind2564 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_29_in_ruleModifierKind2581 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_30_in_ruleModifierKind2598 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_31_in_ruleEffectKind2643 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_32_in_ruleEffectKind2660 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_33_in_ruleEffectKind2677 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_34_in_ruleEffectKind2694 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_35_in_ruleBooleanLiterals2739 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_36_in_ruleBooleanLiterals2756 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_37_in_ruleVisibilityKind2801 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_38_in_ruleVisibilityKind2818 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_39_in_ruleVisibilityKind2835 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_40_in_ruleVisibilityKind2852 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_41_in_ruleDirection2897 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_42_in_ruleDirection2914 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_43_in_ruleDirection2931 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_44_in_ruleDirection2948 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_1 = new BitSet(new long[] { 0x0000000000000000L });
+ public static final BitSet FOLLOW_2 = new BitSet(new long[] { 0x0000000000000002L });
+ public static final BitSet FOLLOW_3 = new BitSet(new long[] { 0x00001E0000000010L });
+ public static final BitSet FOLLOW_4 = new BitSet(new long[] { 0x0000000000000010L });
+ public static final BitSet FOLLOW_5 = new BitSet(new long[] { 0x0000000000845002L });
+ public static final BitSet FOLLOW_6 = new BitSet(new long[] { 0x0000000000002010L });
+ public static final BitSet FOLLOW_7 = new BitSet(new long[] { 0x0000000000844002L });
+ public static final BitSet FOLLOW_8 = new BitSet(new long[] { 0x0000000000044002L });
+ public static final BitSet FOLLOW_9 = new BitSet(new long[] { 0x0000000000040002L });
+ public static final BitSet FOLLOW_10 = new BitSet(new long[] { 0x0000000078010000L });
+ public static final BitSet FOLLOW_11 = new BitSet(new long[] { 0x0000000000018000L });
+ public static final BitSet FOLLOW_12 = new BitSet(new long[] { 0x0000000078000000L });
+ public static final BitSet FOLLOW_13 = new BitSet(new long[] { 0x0000000000020000L });
+ public static final BitSet FOLLOW_14 = new BitSet(new long[] { 0x0000000780000000L });
+ public static final BitSet FOLLOW_15 = new BitSet(new long[] { 0x0000000000010000L });
+ public static final BitSet FOLLOW_16 = new BitSet(new long[] { 0x0000001800380060L });
+ public static final BitSet FOLLOW_17 = new BitSet(new long[] { 0x0000000000080000L });
+ public static final BitSet FOLLOW_18 = new BitSet(new long[] { 0x0000000000000020L });
+ public static final BitSet FOLLOW_19 = new BitSet(new long[] { 0x0000000000400000L });
+ public static final BitSet FOLLOW_20 = new BitSet(new long[] { 0x0000000000000012L });
+ public static final BitSet FOLLOW_21 = new BitSet(new long[] { 0x0000000004000020L });
+ public static final BitSet FOLLOW_22 = new BitSet(new long[] { 0x0000000003000000L });
+ public static final BitSet FOLLOW_23 = new BitSet(new long[] { 0x0000000002000000L });
} \ No newline at end of file
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/serializer/UmlParameterSemanticSequencer.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/serializer/UmlParameterSemanticSequencer.java
index 942bd484c91..a36e2e23fe7 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/serializer/UmlParameterSemanticSequencer.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/serializer/UmlParameterSemanticSequencer.java
@@ -1,8 +1,12 @@
+/*
+ * generated by Xtext
+ */
package org.eclipse.papyrus.uml.textedit.parameter.xtext.serializer;
-import com.google.inject.Inject;
-import com.google.inject.Provider;
+import java.util.Set;
+
import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
import org.eclipse.papyrus.uml.textedit.common.xtext.serializer.UmlCommonSemanticSequencer;
import org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.BoundSpecification;
import org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.MultiplicityRule;
@@ -24,316 +28,305 @@ import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.StringValue;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.VisibilityRule;
-import org.eclipse.xtext.serializer.acceptor.ISemanticSequenceAcceptor;
+import org.eclipse.xtext.Action;
+import org.eclipse.xtext.Parameter;
+import org.eclipse.xtext.ParserRule;
+import org.eclipse.xtext.serializer.ISerializationContext;
import org.eclipse.xtext.serializer.acceptor.SequenceFeeder;
-import org.eclipse.xtext.serializer.diagnostic.ISemanticSequencerDiagnosticProvider;
-import org.eclipse.xtext.serializer.diagnostic.ISerializationDiagnostic.Acceptor;
-import org.eclipse.xtext.serializer.sequencer.GenericSequencer;
-import org.eclipse.xtext.serializer.sequencer.ISemanticNodeProvider.INodesForEObjectProvider;
-import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer;
-import org.eclipse.xtext.serializer.sequencer.ITransientValueService;
import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient;
+import com.google.inject.Inject;
+
@SuppressWarnings("all")
public class UmlParameterSemanticSequencer extends UmlCommonSemanticSequencer {
@Inject
private UmlParameterGrammarAccess grammarAccess;
-
- public void createSequence(EObject context, EObject semanticObject) {
- if(semanticObject.eClass().getEPackage() == UmlCommonPackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) {
+
+ @Override
+ public void sequence(ISerializationContext context, EObject semanticObject) {
+ EPackage epackage = semanticObject.eClass().getEPackage();
+ ParserRule rule = context.getParserRule();
+ Action action = context.getAssignedAction();
+ Set<Parameter> parameters = context.getEnabledBooleanParameters();
+ if (epackage == UmlCommonPackage.eINSTANCE)
+ switch (semanticObject.eClass().getClassifierID()) {
case UmlCommonPackage.BOUND_SPECIFICATION:
- if(context == grammarAccess.getBoundSpecificationRule()) {
- sequence_BoundSpecification(context, (BoundSpecification) semanticObject);
- return;
- }
- else break;
+ sequence_BoundSpecification(context, (BoundSpecification) semanticObject);
+ return;
case UmlCommonPackage.MULTIPLICITY_RULE:
- if(context == grammarAccess.getMultiplicityRuleRule()) {
- sequence_MultiplicityRule(context, (MultiplicityRule) semanticObject);
- return;
- }
- else break;
+ sequence_MultiplicityRule(context, (MultiplicityRule) semanticObject);
+ return;
case UmlCommonPackage.QUALIFIED_NAME:
- if(context == grammarAccess.getQualifiedNameRule()) {
- sequence_QualifiedName(context, (QualifiedName) semanticObject);
- return;
- }
- else break;
+ sequence_QualifiedName(context, (QualifiedName) semanticObject);
+ return;
case UmlCommonPackage.TYPE_RULE:
- if(context == grammarAccess.getTypeRuleRule()) {
- sequence_TypeRule(context, (TypeRule) semanticObject);
- return;
- }
- else break;
+ sequence_TypeRule(context, (TypeRule) semanticObject);
+ return;
}
- else if(semanticObject.eClass().getEPackage() == UmlParameterPackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) {
+ else if (epackage == UmlParameterPackage.eINSTANCE)
+ switch (semanticObject.eClass().getClassifierID()) {
case UmlParameterPackage.BOOLEAN_VALUE:
- if(context == grammarAccess.getBooleanValueRule() ||
- context == grammarAccess.getValueRule()) {
- sequence_BooleanValue(context, (BooleanValue) semanticObject);
- return;
- }
- else break;
+ sequence_BooleanValue(context, (BooleanValue) semanticObject);
+ return;
case UmlParameterPackage.DEFAULT_VALUE_RULE:
- if(context == grammarAccess.getDefaultValueRuleRule()) {
- sequence_DefaultValueRule(context, (DefaultValueRule) semanticObject);
- return;
- }
- else break;
+ sequence_DefaultValueRule(context, (DefaultValueRule) semanticObject);
+ return;
case UmlParameterPackage.DIRECTION_RULE:
- if(context == grammarAccess.getDirectionRuleRule()) {
- sequence_DirectionRule(context, (DirectionRule) semanticObject);
- return;
- }
- else break;
+ sequence_DirectionRule(context, (DirectionRule) semanticObject);
+ return;
case UmlParameterPackage.EFFECT_RULE:
- if(context == grammarAccess.getEffectRuleRule()) {
- sequence_EffectRule(context, (EffectRule) semanticObject);
- return;
- }
- else break;
+ sequence_EffectRule(context, (EffectRule) semanticObject);
+ return;
case UmlParameterPackage.INT_VALUE:
- if(context == grammarAccess.getIntValueRule() ||
- context == grammarAccess.getValueRule()) {
- sequence_IntValue(context, (IntValue) semanticObject);
- return;
- }
- else break;
+ sequence_IntValue(context, (IntValue) semanticObject);
+ return;
case UmlParameterPackage.MODIFIER_SPECIFICATION:
- if(context == grammarAccess.getModifierSpecificationRule()) {
- sequence_ModifierSpecification(context, (ModifierSpecification) semanticObject);
- return;
- }
- else break;
+ sequence_ModifierSpecification(context, (ModifierSpecification) semanticObject);
+ return;
case UmlParameterPackage.MODIFIERS_RULE:
- if(context == grammarAccess.getModifiersRuleRule()) {
- sequence_ModifiersRule(context, (ModifiersRule) semanticObject);
- return;
- }
- else break;
+ sequence_ModifiersRule(context, (ModifiersRule) semanticObject);
+ return;
case UmlParameterPackage.NO_VALUE:
- if(context == grammarAccess.getNoValueRule() ||
- context == grammarAccess.getValueRule()) {
- sequence_NoValue(context, (NoValue) semanticObject);
- return;
- }
- else break;
+ sequence_NoValue(context, (NoValue) semanticObject);
+ return;
case UmlParameterPackage.NULL_VALUE:
- if(context == grammarAccess.getNullValueRule() ||
- context == grammarAccess.getValueRule()) {
- sequence_NullValue(context, (NullValue) semanticObject);
- return;
- }
- else break;
+ sequence_NullValue(context, (NullValue) semanticObject);
+ return;
case UmlParameterPackage.PARAMETER_RULE:
- if(context == grammarAccess.getParameterRuleRule()) {
- sequence_ParameterRule(context, (ParameterRule) semanticObject);
- return;
- }
- else break;
+ sequence_ParameterRule(context, (ParameterRule) semanticObject);
+ return;
case UmlParameterPackage.REAL_VALUE:
- if(context == grammarAccess.getRealValueRule() ||
- context == grammarAccess.getValueRule()) {
- sequence_RealValue(context, (RealValue) semanticObject);
- return;
- }
- else break;
+ sequence_RealValue(context, (RealValue) semanticObject);
+ return;
case UmlParameterPackage.STRING_VALUE:
- if(context == grammarAccess.getStringValueRule() ||
- context == grammarAccess.getValueRule()) {
- sequence_StringValue(context, (StringValue) semanticObject);
- return;
- }
- else break;
+ sequence_StringValue(context, (StringValue) semanticObject);
+ return;
case UmlParameterPackage.VISIBILITY_RULE:
- if(context == grammarAccess.getVisibilityRuleRule()) {
- sequence_VisibilityRule(context, (VisibilityRule) semanticObject);
- return;
- }
- else break;
+ sequence_VisibilityRule(context, (VisibilityRule) semanticObject);
+ return;
}
- if (errorAcceptor != null) errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
+ if (errorAcceptor != null)
+ errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
-
+
/**
+ * Contexts:
+ * Value returns BooleanValue
+ * BooleanValue returns BooleanValue
+ *
* Constraint:
- * literalBoolean=BooleanLiterals
+ * literalBoolean=BooleanLiterals
*/
- protected void sequence_BooleanValue(EObject context, BooleanValue semanticObject) {
- if(errorAcceptor != null) {
- if(transientValues.isValueTransient(semanticObject, UmlParameterPackage.Literals.BOOLEAN_VALUE__LITERAL_BOOLEAN) == ValueTransient.YES)
+ protected void sequence_BooleanValue(ISerializationContext context, BooleanValue semanticObject) {
+ if (errorAcceptor != null) {
+ if (transientValues.isValueTransient(semanticObject, UmlParameterPackage.Literals.BOOLEAN_VALUE__LITERAL_BOOLEAN) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, UmlParameterPackage.Literals.BOOLEAN_VALUE__LITERAL_BOOLEAN));
}
- INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
- SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
+ SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
feeder.accept(grammarAccess.getBooleanValueAccess().getLiteralBooleanBooleanLiteralsEnumRuleCall_0(), semanticObject.getLiteralBoolean());
feeder.finish();
}
-
-
+
+
/**
+ * Contexts:
+ * DefaultValueRule returns DefaultValueRule
+ *
* Constraint:
- * default=Value
+ * default=Value
*/
- protected void sequence_DefaultValueRule(EObject context, DefaultValueRule semanticObject) {
- if(errorAcceptor != null) {
- if(transientValues.isValueTransient(semanticObject, UmlParameterPackage.Literals.DEFAULT_VALUE_RULE__DEFAULT) == ValueTransient.YES)
+ protected void sequence_DefaultValueRule(ISerializationContext context, DefaultValueRule semanticObject) {
+ if (errorAcceptor != null) {
+ if (transientValues.isValueTransient(semanticObject, UmlParameterPackage.Literals.DEFAULT_VALUE_RULE__DEFAULT) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, UmlParameterPackage.Literals.DEFAULT_VALUE_RULE__DEFAULT));
}
- INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
- SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
+ SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
feeder.accept(grammarAccess.getDefaultValueRuleAccess().getDefaultValueParserRuleCall_1_0(), semanticObject.getDefault());
feeder.finish();
}
-
-
+
+
/**
+ * Contexts:
+ * DirectionRule returns DirectionRule
+ *
* Constraint:
- * direction=Direction
+ * direction=Direction
*/
- protected void sequence_DirectionRule(EObject context, DirectionRule semanticObject) {
- if(errorAcceptor != null) {
- if(transientValues.isValueTransient(semanticObject, UmlParameterPackage.Literals.DIRECTION_RULE__DIRECTION) == ValueTransient.YES)
+ protected void sequence_DirectionRule(ISerializationContext context, DirectionRule semanticObject) {
+ if (errorAcceptor != null) {
+ if (transientValues.isValueTransient(semanticObject, UmlParameterPackage.Literals.DIRECTION_RULE__DIRECTION) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, UmlParameterPackage.Literals.DIRECTION_RULE__DIRECTION));
}
- INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
- SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
+ SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
feeder.accept(grammarAccess.getDirectionRuleAccess().getDirectionDirectionEnumRuleCall_0(), semanticObject.getDirection());
feeder.finish();
}
-
-
+
+
/**
+ * Contexts:
+ * EffectRule returns EffectRule
+ *
* Constraint:
- * effectKind=EffectKind
+ * effectKind=EffectKind
*/
- protected void sequence_EffectRule(EObject context, EffectRule semanticObject) {
- if(errorAcceptor != null) {
- if(transientValues.isValueTransient(semanticObject, UmlParameterPackage.Literals.EFFECT_RULE__EFFECT_KIND) == ValueTransient.YES)
+ protected void sequence_EffectRule(ISerializationContext context, EffectRule semanticObject) {
+ if (errorAcceptor != null) {
+ if (transientValues.isValueTransient(semanticObject, UmlParameterPackage.Literals.EFFECT_RULE__EFFECT_KIND) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, UmlParameterPackage.Literals.EFFECT_RULE__EFFECT_KIND));
}
- INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
- SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
+ SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
feeder.accept(grammarAccess.getEffectRuleAccess().getEffectKindEffectKindEnumRuleCall_2_0(), semanticObject.getEffectKind());
feeder.finish();
}
-
-
+
+
/**
+ * Contexts:
+ * Value returns IntValue
+ * IntValue returns IntValue
+ *
* Constraint:
- * literalInteger=INT
+ * literalInteger=INT
*/
- protected void sequence_IntValue(EObject context, IntValue semanticObject) {
- if(errorAcceptor != null) {
- if(transientValues.isValueTransient(semanticObject, UmlParameterPackage.Literals.INT_VALUE__LITERAL_INTEGER) == ValueTransient.YES)
+ protected void sequence_IntValue(ISerializationContext context, IntValue semanticObject) {
+ if (errorAcceptor != null) {
+ if (transientValues.isValueTransient(semanticObject, UmlParameterPackage.Literals.INT_VALUE__LITERAL_INTEGER) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, UmlParameterPackage.Literals.INT_VALUE__LITERAL_INTEGER));
}
- INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
- SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
+ SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
feeder.accept(grammarAccess.getIntValueAccess().getLiteralIntegerINTTerminalRuleCall_0(), semanticObject.getLiteralInteger());
feeder.finish();
}
-
-
+
+
/**
+ * Contexts:
+ * ModifierSpecification returns ModifierSpecification
+ *
* Constraint:
- * value=ModifierKind
+ * value=ModifierKind
*/
- protected void sequence_ModifierSpecification(EObject context, ModifierSpecification semanticObject) {
- if(errorAcceptor != null) {
- if(transientValues.isValueTransient(semanticObject, UmlParameterPackage.Literals.MODIFIER_SPECIFICATION__VALUE) == ValueTransient.YES)
+ protected void sequence_ModifierSpecification(ISerializationContext context, ModifierSpecification semanticObject) {
+ if (errorAcceptor != null) {
+ if (transientValues.isValueTransient(semanticObject, UmlParameterPackage.Literals.MODIFIER_SPECIFICATION__VALUE) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, UmlParameterPackage.Literals.MODIFIER_SPECIFICATION__VALUE));
}
- INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
- SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
+ SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
feeder.accept(grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0(), semanticObject.getValue());
feeder.finish();
}
-
-
+
+
/**
+ * Contexts:
+ * ModifiersRule returns ModifiersRule
+ *
* Constraint:
- * ((values+=ModifierSpecification values+=ModifierSpecification*)?)
+ * (values+=ModifierSpecification values+=ModifierSpecification*)?
*/
- protected void sequence_ModifiersRule(EObject context, ModifiersRule semanticObject) {
+ protected void sequence_ModifiersRule(ISerializationContext context, ModifiersRule semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
-
-
+
+
/**
+ * Contexts:
+ * Value returns NoValue
+ * NoValue returns NoValue
+ *
* Constraint:
- * {NoValue}
+ * {NoValue}
*/
- protected void sequence_NoValue(EObject context, NoValue semanticObject) {
+ protected void sequence_NoValue(ISerializationContext context, NoValue semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
-
-
+
+
/**
+ * Contexts:
+ * Value returns NullValue
+ * NullValue returns NullValue
+ *
* Constraint:
- * {NullValue}
+ * {NullValue}
*/
- protected void sequence_NullValue(EObject context, NullValue semanticObject) {
+ protected void sequence_NullValue(ISerializationContext context, NullValue semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
-
-
+
+
/**
+ * Contexts:
+ * ParameterRule returns ParameterRule
+ *
* Constraint:
- * (
- * visibility=VisibilityRule?
- * direction=DirectionRule?
- * name=ID
- * (type=TypeRule | typeUndefined?='<Undefined>')?
- * multiplicity=MultiplicityRule?
- * modifiers=ModifiersRule?
- * effect=EffectRule?
- * defaultValue=DefaultValueRule?
- * )
+ * (
+ * visibility=VisibilityRule?
+ * direction=DirectionRule?
+ * name=ID
+ * (type=TypeRule | typeUndefined?='<Undefined>')?
+ * multiplicity=MultiplicityRule?
+ * modifiers=ModifiersRule?
+ * effect=EffectRule?
+ * defaultValue=DefaultValueRule?
+ * )
*/
- protected void sequence_ParameterRule(EObject context, ParameterRule semanticObject) {
+ protected void sequence_ParameterRule(ISerializationContext context, ParameterRule semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
-
-
+
+
/**
+ * Contexts:
+ * Value returns RealValue
+ * RealValue returns RealValue
+ *
* Constraint:
- * (integer=INT | fraction=INT | (integer=INT fraction=INT))
+ * (integer=INT | fraction=INT | (integer=INT fraction=INT))
*/
- protected void sequence_RealValue(EObject context, RealValue semanticObject) {
+ protected void sequence_RealValue(ISerializationContext context, RealValue semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
-
-
+
+
/**
+ * Contexts:
+ * Value returns StringValue
+ * StringValue returns StringValue
+ *
* Constraint:
- * literalString=STRING
+ * literalString=STRING
*/
- protected void sequence_StringValue(EObject context, StringValue semanticObject) {
- if(errorAcceptor != null) {
- if(transientValues.isValueTransient(semanticObject, UmlParameterPackage.Literals.STRING_VALUE__LITERAL_STRING) == ValueTransient.YES)
+ protected void sequence_StringValue(ISerializationContext context, StringValue semanticObject) {
+ if (errorAcceptor != null) {
+ if (transientValues.isValueTransient(semanticObject, UmlParameterPackage.Literals.STRING_VALUE__LITERAL_STRING) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, UmlParameterPackage.Literals.STRING_VALUE__LITERAL_STRING));
}
- INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
- SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
+ SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
feeder.accept(grammarAccess.getStringValueAccess().getLiteralStringSTRINGTerminalRuleCall_0(), semanticObject.getLiteralString());
feeder.finish();
}
-
-
+
+
/**
+ * Contexts:
+ * VisibilityRule returns VisibilityRule
+ *
* Constraint:
- * visibility=VisibilityKind
+ * visibility=VisibilityKind
*/
- protected void sequence_VisibilityRule(EObject context, VisibilityRule semanticObject) {
- if(errorAcceptor != null) {
- if(transientValues.isValueTransient(semanticObject, UmlParameterPackage.Literals.VISIBILITY_RULE__VISIBILITY) == ValueTransient.YES)
+ protected void sequence_VisibilityRule(ISerializationContext context, VisibilityRule semanticObject) {
+ if (errorAcceptor != null) {
+ if (transientValues.isValueTransient(semanticObject, UmlParameterPackage.Literals.VISIBILITY_RULE__VISIBILITY) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, UmlParameterPackage.Literals.VISIBILITY_RULE__VISIBILITY));
}
- INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
- SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
+ SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
feeder.accept(grammarAccess.getVisibilityRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0(), semanticObject.getVisibility());
feeder.finish();
}
+
+
}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/serializer/UmlParameterSyntacticSequencer.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/serializer/UmlParameterSyntacticSequencer.java
index fbaf2af7b7f..a53b9189b3d 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/serializer/UmlParameterSyntacticSequencer.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/serializer/UmlParameterSyntacticSequencer.java
@@ -1,7 +1,10 @@
+/*
+ * generated by Xtext
+ */
package org.eclipse.papyrus.uml.textedit.parameter.xtext.serializer;
-import com.google.inject.Inject;
import java.util.List;
+
import org.eclipse.emf.ecore.EObject;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.services.UmlParameterGrammarAccess;
import org.eclipse.xtext.IGrammarAccess;
@@ -11,25 +14,28 @@ import org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias;
import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition;
import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer;
+import com.google.inject.Inject;
+
@SuppressWarnings("all")
public class UmlParameterSyntacticSequencer extends AbstractSyntacticSequencer {
protected UmlParameterGrammarAccess grammarAccess;
-
+
@Inject
protected void init(IGrammarAccess access) {
grammarAccess = (UmlParameterGrammarAccess) access;
}
-
+
@Override
protected String getUnassignedRuleCallToken(EObject semanticObject, RuleCall ruleCall, INode node) {
return "";
}
-
-
+
+
@Override
protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) {
- if (transition.getAmbiguousSyntaxes().isEmpty()) return;
+ if (transition.getAmbiguousSyntaxes().isEmpty())
+ return;
List<INode> transitionNodes = collectNodes(fromNode, toNode);
for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) {
List<INode> syntaxNodes = getNodesFor(transitionNodes, syntax);
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/services/UmlParameterGrammarAccess.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/services/UmlParameterGrammarAccess.java
index 72ef80b5748..50b68701906 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/services/UmlParameterGrammarAccess.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/services/UmlParameterGrammarAccess.java
@@ -1,633 +1,913 @@
/*
-* generated by Xtext
-*/
+ * generated by Xtext
+ */
package org.eclipse.papyrus.uml.textedit.parameter.xtext.services;
-import com.google.inject.Singleton;
-import com.google.inject.Inject;
-
import java.util.List;
-import org.eclipse.xtext.*;
+import org.eclipse.papyrus.uml.alf.services.CommonGrammarAccess;
+import org.eclipse.papyrus.uml.textedit.common.xtext.services.UmlCommonGrammarAccess;
+import org.eclipse.xtext.Action;
+import org.eclipse.xtext.Alternatives;
+import org.eclipse.xtext.Assignment;
+import org.eclipse.xtext.EnumLiteralDeclaration;
+import org.eclipse.xtext.EnumRule;
+import org.eclipse.xtext.Grammar;
+import org.eclipse.xtext.GrammarUtil;
+import org.eclipse.xtext.Group;
+import org.eclipse.xtext.Keyword;
+import org.eclipse.xtext.ParserRule;
+import org.eclipse.xtext.RuleCall;
+import org.eclipse.xtext.TerminalRule;
+import org.eclipse.xtext.common.services.TerminalsGrammarAccess;
+import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder;
import org.eclipse.xtext.service.GrammarProvider;
-import org.eclipse.xtext.service.AbstractElementFinder.*;
-import org.eclipse.papyrus.uml.textedit.common.xtext.services.UmlCommonGrammarAccess;
+import com.google.inject.Inject;
+import com.google.inject.Singleton;
@Singleton
public class UmlParameterGrammarAccess extends AbstractGrammarElementFinder {
-
-
+
+
public class ParameterRuleElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ParameterRule");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Assignment cVisibilityAssignment_0 = (Assignment)cGroup.eContents().get(0);
- private final RuleCall cVisibilityVisibilityRuleParserRuleCall_0_0 = (RuleCall)cVisibilityAssignment_0.eContents().get(0);
- private final Assignment cDirectionAssignment_1 = (Assignment)cGroup.eContents().get(1);
- private final RuleCall cDirectionDirectionRuleParserRuleCall_1_0 = (RuleCall)cDirectionAssignment_1.eContents().get(0);
- private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2);
- private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0);
- private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
- private final Keyword cColonKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0);
- private final Alternatives cAlternatives_3_1 = (Alternatives)cGroup_3.eContents().get(1);
- private final Assignment cTypeAssignment_3_1_0 = (Assignment)cAlternatives_3_1.eContents().get(0);
- private final RuleCall cTypeTypeRuleParserRuleCall_3_1_0_0 = (RuleCall)cTypeAssignment_3_1_0.eContents().get(0);
- private final Assignment cTypeUndefinedAssignment_3_1_1 = (Assignment)cAlternatives_3_1.eContents().get(1);
- private final Keyword cTypeUndefinedUndefinedKeyword_3_1_1_0 = (Keyword)cTypeUndefinedAssignment_3_1_1.eContents().get(0);
- private final Assignment cMultiplicityAssignment_4 = (Assignment)cGroup.eContents().get(4);
- private final RuleCall cMultiplicityMultiplicityRuleParserRuleCall_4_0 = (RuleCall)cMultiplicityAssignment_4.eContents().get(0);
- private final Assignment cModifiersAssignment_5 = (Assignment)cGroup.eContents().get(5);
- private final RuleCall cModifiersModifiersRuleParserRuleCall_5_0 = (RuleCall)cModifiersAssignment_5.eContents().get(0);
- private final Assignment cEffectAssignment_6 = (Assignment)cGroup.eContents().get(6);
- private final RuleCall cEffectEffectRuleParserRuleCall_6_0 = (RuleCall)cEffectAssignment_6.eContents().get(0);
- private final Assignment cDefaultValueAssignment_7 = (Assignment)cGroup.eContents().get(7);
- private final RuleCall cDefaultValueDefaultValueRuleParserRuleCall_7_0 = (RuleCall)cDefaultValueAssignment_7.eContents().get(0);
-
- //ParameterRule:
- // visibility=VisibilityRule? direction=DirectionRule? name=ID (":" (type=TypeRule | typeUndefined?="<Undefined>"))?
- // multiplicity=MultiplicityRule? modifiers=ModifiersRule? effect=EffectRule? defaultValue=DefaultValueRule?;
- public ParserRule getRule() { return rule; }
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.ParameterRule");
+ private final Group cGroup = (Group) rule.eContents().get(1);
+ private final Assignment cVisibilityAssignment_0 = (Assignment) cGroup.eContents().get(0);
+ private final RuleCall cVisibilityVisibilityRuleParserRuleCall_0_0 = (RuleCall) cVisibilityAssignment_0.eContents().get(0);
+ private final Assignment cDirectionAssignment_1 = (Assignment) cGroup.eContents().get(1);
+ private final RuleCall cDirectionDirectionRuleParserRuleCall_1_0 = (RuleCall) cDirectionAssignment_1.eContents().get(0);
+ private final Assignment cNameAssignment_2 = (Assignment) cGroup.eContents().get(2);
+ private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall) cNameAssignment_2.eContents().get(0);
+ private final Group cGroup_3 = (Group) cGroup.eContents().get(3);
+ private final Keyword cColonKeyword_3_0 = (Keyword) cGroup_3.eContents().get(0);
+ private final Alternatives cAlternatives_3_1 = (Alternatives) cGroup_3.eContents().get(1);
+ private final Assignment cTypeAssignment_3_1_0 = (Assignment) cAlternatives_3_1.eContents().get(0);
+ private final RuleCall cTypeTypeRuleParserRuleCall_3_1_0_0 = (RuleCall) cTypeAssignment_3_1_0.eContents().get(0);
+ private final Assignment cTypeUndefinedAssignment_3_1_1 = (Assignment) cAlternatives_3_1.eContents().get(1);
+ private final Keyword cTypeUndefinedUndefinedKeyword_3_1_1_0 = (Keyword) cTypeUndefinedAssignment_3_1_1.eContents().get(0);
+ private final Assignment cMultiplicityAssignment_4 = (Assignment) cGroup.eContents().get(4);
+ private final RuleCall cMultiplicityMultiplicityRuleParserRuleCall_4_0 = (RuleCall) cMultiplicityAssignment_4.eContents().get(0);
+ private final Assignment cModifiersAssignment_5 = (Assignment) cGroup.eContents().get(5);
+ private final RuleCall cModifiersModifiersRuleParserRuleCall_5_0 = (RuleCall) cModifiersAssignment_5.eContents().get(0);
+ private final Assignment cEffectAssignment_6 = (Assignment) cGroup.eContents().get(6);
+ private final RuleCall cEffectEffectRuleParserRuleCall_6_0 = (RuleCall) cEffectAssignment_6.eContents().get(0);
+ private final Assignment cDefaultValueAssignment_7 = (Assignment) cGroup.eContents().get(7);
+ private final RuleCall cDefaultValueDefaultValueRuleParserRuleCall_7_0 = (RuleCall) cDefaultValueAssignment_7.eContents().get(0);
+
+ // ParameterRule:
+ // visibility=VisibilityRule? direction=DirectionRule? name=ID (':' (type=TypeRule | typeUndefined?="<Undefined>"))?
+ // multiplicity=MultiplicityRule? modifiers=ModifiersRule? effect=EffectRule? defaultValue=DefaultValueRule?;
+ @Override
+ public ParserRule getRule() {
+ return rule;
+ }
- //visibility=VisibilityRule? direction=DirectionRule? name=ID (":" (type=TypeRule | typeUndefined?="<Undefined>"))?
- //multiplicity=MultiplicityRule? modifiers=ModifiersRule? effect=EffectRule? defaultValue=DefaultValueRule?
- public Group getGroup() { return cGroup; }
+ // visibility=VisibilityRule? direction=DirectionRule? name=ID (':' (type=TypeRule | typeUndefined?="<Undefined>"))?
+ // multiplicity=MultiplicityRule? modifiers=ModifiersRule? effect=EffectRule? defaultValue=DefaultValueRule?
+ public Group getGroup() {
+ return cGroup;
+ }
- //visibility=VisibilityRule?
- public Assignment getVisibilityAssignment_0() { return cVisibilityAssignment_0; }
+ // visibility=VisibilityRule?
+ public Assignment getVisibilityAssignment_0() {
+ return cVisibilityAssignment_0;
+ }
- //VisibilityRule
- public RuleCall getVisibilityVisibilityRuleParserRuleCall_0_0() { return cVisibilityVisibilityRuleParserRuleCall_0_0; }
+ // VisibilityRule
+ public RuleCall getVisibilityVisibilityRuleParserRuleCall_0_0() {
+ return cVisibilityVisibilityRuleParserRuleCall_0_0;
+ }
- //direction=DirectionRule?
- public Assignment getDirectionAssignment_1() { return cDirectionAssignment_1; }
+ // direction=DirectionRule?
+ public Assignment getDirectionAssignment_1() {
+ return cDirectionAssignment_1;
+ }
- //DirectionRule
- public RuleCall getDirectionDirectionRuleParserRuleCall_1_0() { return cDirectionDirectionRuleParserRuleCall_1_0; }
+ // DirectionRule
+ public RuleCall getDirectionDirectionRuleParserRuleCall_1_0() {
+ return cDirectionDirectionRuleParserRuleCall_1_0;
+ }
- //name=ID
- public Assignment getNameAssignment_2() { return cNameAssignment_2; }
+ // name=ID
+ public Assignment getNameAssignment_2() {
+ return cNameAssignment_2;
+ }
- //ID
- public RuleCall getNameIDTerminalRuleCall_2_0() { return cNameIDTerminalRuleCall_2_0; }
+ // ID
+ public RuleCall getNameIDTerminalRuleCall_2_0() {
+ return cNameIDTerminalRuleCall_2_0;
+ }
- //(":" (type=TypeRule | typeUndefined?="<Undefined>"))?
- public Group getGroup_3() { return cGroup_3; }
+ // (':' (type=TypeRule | typeUndefined?="<Undefined>"))?
+ public Group getGroup_3() {
+ return cGroup_3;
+ }
- //":"
- public Keyword getColonKeyword_3_0() { return cColonKeyword_3_0; }
+ // ':'
+ public Keyword getColonKeyword_3_0() {
+ return cColonKeyword_3_0;
+ }
- //type=TypeRule | typeUndefined?="<Undefined>"
- public Alternatives getAlternatives_3_1() { return cAlternatives_3_1; }
+ // type=TypeRule | typeUndefined?="<Undefined>"
+ public Alternatives getAlternatives_3_1() {
+ return cAlternatives_3_1;
+ }
- //type=TypeRule
- public Assignment getTypeAssignment_3_1_0() { return cTypeAssignment_3_1_0; }
+ // type=TypeRule
+ public Assignment getTypeAssignment_3_1_0() {
+ return cTypeAssignment_3_1_0;
+ }
- //TypeRule
- public RuleCall getTypeTypeRuleParserRuleCall_3_1_0_0() { return cTypeTypeRuleParserRuleCall_3_1_0_0; }
+ // TypeRule
+ public RuleCall getTypeTypeRuleParserRuleCall_3_1_0_0() {
+ return cTypeTypeRuleParserRuleCall_3_1_0_0;
+ }
- //typeUndefined?="<Undefined>"
- public Assignment getTypeUndefinedAssignment_3_1_1() { return cTypeUndefinedAssignment_3_1_1; }
+ // typeUndefined?="<Undefined>"
+ public Assignment getTypeUndefinedAssignment_3_1_1() {
+ return cTypeUndefinedAssignment_3_1_1;
+ }
- //"<Undefined>"
- public Keyword getTypeUndefinedUndefinedKeyword_3_1_1_0() { return cTypeUndefinedUndefinedKeyword_3_1_1_0; }
+ // "<Undefined>"
+ public Keyword getTypeUndefinedUndefinedKeyword_3_1_1_0() {
+ return cTypeUndefinedUndefinedKeyword_3_1_1_0;
+ }
- //multiplicity=MultiplicityRule?
- public Assignment getMultiplicityAssignment_4() { return cMultiplicityAssignment_4; }
+ // multiplicity=MultiplicityRule?
+ public Assignment getMultiplicityAssignment_4() {
+ return cMultiplicityAssignment_4;
+ }
- //MultiplicityRule
- public RuleCall getMultiplicityMultiplicityRuleParserRuleCall_4_0() { return cMultiplicityMultiplicityRuleParserRuleCall_4_0; }
+ // MultiplicityRule
+ public RuleCall getMultiplicityMultiplicityRuleParserRuleCall_4_0() {
+ return cMultiplicityMultiplicityRuleParserRuleCall_4_0;
+ }
- //modifiers=ModifiersRule?
- public Assignment getModifiersAssignment_5() { return cModifiersAssignment_5; }
+ // modifiers=ModifiersRule?
+ public Assignment getModifiersAssignment_5() {
+ return cModifiersAssignment_5;
+ }
- //ModifiersRule
- public RuleCall getModifiersModifiersRuleParserRuleCall_5_0() { return cModifiersModifiersRuleParserRuleCall_5_0; }
+ // ModifiersRule
+ public RuleCall getModifiersModifiersRuleParserRuleCall_5_0() {
+ return cModifiersModifiersRuleParserRuleCall_5_0;
+ }
- //effect=EffectRule?
- public Assignment getEffectAssignment_6() { return cEffectAssignment_6; }
+ // effect=EffectRule?
+ public Assignment getEffectAssignment_6() {
+ return cEffectAssignment_6;
+ }
- //EffectRule
- public RuleCall getEffectEffectRuleParserRuleCall_6_0() { return cEffectEffectRuleParserRuleCall_6_0; }
+ // EffectRule
+ public RuleCall getEffectEffectRuleParserRuleCall_6_0() {
+ return cEffectEffectRuleParserRuleCall_6_0;
+ }
- //defaultValue=DefaultValueRule?
- public Assignment getDefaultValueAssignment_7() { return cDefaultValueAssignment_7; }
+ // defaultValue=DefaultValueRule?
+ public Assignment getDefaultValueAssignment_7() {
+ return cDefaultValueAssignment_7;
+ }
- //DefaultValueRule
- public RuleCall getDefaultValueDefaultValueRuleParserRuleCall_7_0() { return cDefaultValueDefaultValueRuleParserRuleCall_7_0; }
+ // DefaultValueRule
+ public RuleCall getDefaultValueDefaultValueRuleParserRuleCall_7_0() {
+ return cDefaultValueDefaultValueRuleParserRuleCall_7_0;
+ }
}
public class ModifiersRuleElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ModifiersRule");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Action cModifiersRuleAction_0 = (Action)cGroup.eContents().get(0);
- private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1);
- private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
- private final Assignment cValuesAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0);
- private final RuleCall cValuesModifierSpecificationParserRuleCall_2_0_0 = (RuleCall)cValuesAssignment_2_0.eContents().get(0);
- private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1);
- private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0);
- private final Assignment cValuesAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1);
- private final RuleCall cValuesModifierSpecificationParserRuleCall_2_1_1_0 = (RuleCall)cValuesAssignment_2_1_1.eContents().get(0);
- private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3);
-
- //ModifiersRule:
- // {ModifiersRule} "{" (values+=ModifierSpecification ("," values+=ModifierSpecification)*)? "}";
- public ParserRule getRule() { return rule; }
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.ModifiersRule");
+ private final Group cGroup = (Group) rule.eContents().get(1);
+ private final Action cModifiersRuleAction_0 = (Action) cGroup.eContents().get(0);
+ private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword) cGroup.eContents().get(1);
+ private final Group cGroup_2 = (Group) cGroup.eContents().get(2);
+ private final Assignment cValuesAssignment_2_0 = (Assignment) cGroup_2.eContents().get(0);
+ private final RuleCall cValuesModifierSpecificationParserRuleCall_2_0_0 = (RuleCall) cValuesAssignment_2_0.eContents().get(0);
+ private final Group cGroup_2_1 = (Group) cGroup_2.eContents().get(1);
+ private final Keyword cCommaKeyword_2_1_0 = (Keyword) cGroup_2_1.eContents().get(0);
+ private final Assignment cValuesAssignment_2_1_1 = (Assignment) cGroup_2_1.eContents().get(1);
+ private final RuleCall cValuesModifierSpecificationParserRuleCall_2_1_1_0 = (RuleCall) cValuesAssignment_2_1_1.eContents().get(0);
+ private final Keyword cRightCurlyBracketKeyword_3 = (Keyword) cGroup.eContents().get(3);
+
+ // ModifiersRule:
+ // {ModifiersRule} '{' (values+=ModifierSpecification (',' values+=ModifierSpecification)*)? '}';
+ @Override
+ public ParserRule getRule() {
+ return rule;
+ }
- //{ModifiersRule} "{" (values+=ModifierSpecification ("," values+=ModifierSpecification)*)? "}"
- public Group getGroup() { return cGroup; }
+ // {ModifiersRule} '{' (values+=ModifierSpecification (',' values+=ModifierSpecification)*)? '}'
+ public Group getGroup() {
+ return cGroup;
+ }
- //{ModifiersRule}
- public Action getModifiersRuleAction_0() { return cModifiersRuleAction_0; }
+ // {ModifiersRule}
+ public Action getModifiersRuleAction_0() {
+ return cModifiersRuleAction_0;
+ }
- //"{"
- public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; }
+ // '{'
+ public Keyword getLeftCurlyBracketKeyword_1() {
+ return cLeftCurlyBracketKeyword_1;
+ }
- //(values+=ModifierSpecification ("," values+=ModifierSpecification)*)?
- public Group getGroup_2() { return cGroup_2; }
+ // (values+=ModifierSpecification (',' values+=ModifierSpecification)*)?
+ public Group getGroup_2() {
+ return cGroup_2;
+ }
- //values+=ModifierSpecification
- public Assignment getValuesAssignment_2_0() { return cValuesAssignment_2_0; }
+ // values+=ModifierSpecification
+ public Assignment getValuesAssignment_2_0() {
+ return cValuesAssignment_2_0;
+ }
- //ModifierSpecification
- public RuleCall getValuesModifierSpecificationParserRuleCall_2_0_0() { return cValuesModifierSpecificationParserRuleCall_2_0_0; }
+ // ModifierSpecification
+ public RuleCall getValuesModifierSpecificationParserRuleCall_2_0_0() {
+ return cValuesModifierSpecificationParserRuleCall_2_0_0;
+ }
- //("," values+=ModifierSpecification)*
- public Group getGroup_2_1() { return cGroup_2_1; }
+ // (',' values+=ModifierSpecification)*
+ public Group getGroup_2_1() {
+ return cGroup_2_1;
+ }
- //","
- public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; }
+ // ','
+ public Keyword getCommaKeyword_2_1_0() {
+ return cCommaKeyword_2_1_0;
+ }
- //values+=ModifierSpecification
- public Assignment getValuesAssignment_2_1_1() { return cValuesAssignment_2_1_1; }
+ // values+=ModifierSpecification
+ public Assignment getValuesAssignment_2_1_1() {
+ return cValuesAssignment_2_1_1;
+ }
- //ModifierSpecification
- public RuleCall getValuesModifierSpecificationParserRuleCall_2_1_1_0() { return cValuesModifierSpecificationParserRuleCall_2_1_1_0; }
+ // ModifierSpecification
+ public RuleCall getValuesModifierSpecificationParserRuleCall_2_1_1_0() {
+ return cValuesModifierSpecificationParserRuleCall_2_1_1_0;
+ }
- //"}"
- public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; }
+ // '}'
+ public Keyword getRightCurlyBracketKeyword_3() {
+ return cRightCurlyBracketKeyword_3;
+ }
}
public class ModifierSpecificationElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ModifierSpecification");
- private final Assignment cValueAssignment = (Assignment)rule.eContents().get(1);
- private final RuleCall cValueModifierKindEnumRuleCall_0 = (RuleCall)cValueAssignment.eContents().get(0);
-
- //ModifierSpecification:
- // value=ModifierKind;
- public ParserRule getRule() { return rule; }
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.ModifierSpecification");
+ private final Assignment cValueAssignment = (Assignment) rule.eContents().get(1);
+ private final RuleCall cValueModifierKindEnumRuleCall_0 = (RuleCall) cValueAssignment.eContents().get(0);
+
+ // ModifierSpecification:
+ // value=ModifierKind;
+ @Override
+ public ParserRule getRule() {
+ return rule;
+ }
- //value=ModifierKind
- public Assignment getValueAssignment() { return cValueAssignment; }
+ // value=ModifierKind
+ public Assignment getValueAssignment() {
+ return cValueAssignment;
+ }
- //ModifierKind
- public RuleCall getValueModifierKindEnumRuleCall_0() { return cValueModifierKindEnumRuleCall_0; }
+ // ModifierKind
+ public RuleCall getValueModifierKindEnumRuleCall_0() {
+ return cValueModifierKindEnumRuleCall_0;
+ }
}
public class VisibilityRuleElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "VisibilityRule");
- private final Assignment cVisibilityAssignment = (Assignment)rule.eContents().get(1);
- private final RuleCall cVisibilityVisibilityKindEnumRuleCall_0 = (RuleCall)cVisibilityAssignment.eContents().get(0);
-
- //VisibilityRule:
- // visibility=VisibilityKind;
- public ParserRule getRule() { return rule; }
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.VisibilityRule");
+ private final Assignment cVisibilityAssignment = (Assignment) rule.eContents().get(1);
+ private final RuleCall cVisibilityVisibilityKindEnumRuleCall_0 = (RuleCall) cVisibilityAssignment.eContents().get(0);
+
+ // VisibilityRule:
+ // visibility=VisibilityKind;
+ @Override
+ public ParserRule getRule() {
+ return rule;
+ }
- //visibility=VisibilityKind
- public Assignment getVisibilityAssignment() { return cVisibilityAssignment; }
+ // visibility=VisibilityKind
+ public Assignment getVisibilityAssignment() {
+ return cVisibilityAssignment;
+ }
- //VisibilityKind
- public RuleCall getVisibilityVisibilityKindEnumRuleCall_0() { return cVisibilityVisibilityKindEnumRuleCall_0; }
+ // VisibilityKind
+ public RuleCall getVisibilityVisibilityKindEnumRuleCall_0() {
+ return cVisibilityVisibilityKindEnumRuleCall_0;
+ }
}
public class DirectionRuleElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DirectionRule");
- private final Assignment cDirectionAssignment = (Assignment)rule.eContents().get(1);
- private final RuleCall cDirectionDirectionEnumRuleCall_0 = (RuleCall)cDirectionAssignment.eContents().get(0);
-
- //DirectionRule:
- // direction=Direction;
- public ParserRule getRule() { return rule; }
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.DirectionRule");
+ private final Assignment cDirectionAssignment = (Assignment) rule.eContents().get(1);
+ private final RuleCall cDirectionDirectionEnumRuleCall_0 = (RuleCall) cDirectionAssignment.eContents().get(0);
+
+ // DirectionRule:
+ // direction=Direction;
+ @Override
+ public ParserRule getRule() {
+ return rule;
+ }
- //direction=Direction
- public Assignment getDirectionAssignment() { return cDirectionAssignment; }
+ // direction=Direction
+ public Assignment getDirectionAssignment() {
+ return cDirectionAssignment;
+ }
- //Direction
- public RuleCall getDirectionDirectionEnumRuleCall_0() { return cDirectionDirectionEnumRuleCall_0; }
+ // Direction
+ public RuleCall getDirectionDirectionEnumRuleCall_0() {
+ return cDirectionDirectionEnumRuleCall_0;
+ }
}
public class EffectRuleElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EffectRule");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
- private final Keyword cEffectKeyword_1 = (Keyword)cGroup.eContents().get(1);
- private final Assignment cEffectKindAssignment_2 = (Assignment)cGroup.eContents().get(2);
- private final RuleCall cEffectKindEffectKindEnumRuleCall_2_0 = (RuleCall)cEffectKindAssignment_2.eContents().get(0);
- private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3);
-
- //EffectRule:
- // "{" "effect:" effectKind=EffectKind "}";
- public ParserRule getRule() { return rule; }
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.EffectRule");
+ private final Group cGroup = (Group) rule.eContents().get(1);
+ private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword) cGroup.eContents().get(0);
+ private final Keyword cEffectKeyword_1 = (Keyword) cGroup.eContents().get(1);
+ private final Assignment cEffectKindAssignment_2 = (Assignment) cGroup.eContents().get(2);
+ private final RuleCall cEffectKindEffectKindEnumRuleCall_2_0 = (RuleCall) cEffectKindAssignment_2.eContents().get(0);
+ private final Keyword cRightCurlyBracketKeyword_3 = (Keyword) cGroup.eContents().get(3);
+
+ // EffectRule:
+ // '{' "effect:" effectKind=EffectKind '}';
+ @Override
+ public ParserRule getRule() {
+ return rule;
+ }
- //"{" "effect:" effectKind=EffectKind "}"
- public Group getGroup() { return cGroup; }
+ // '{' "effect:" effectKind=EffectKind '}'
+ public Group getGroup() {
+ return cGroup;
+ }
- //"{"
- public Keyword getLeftCurlyBracketKeyword_0() { return cLeftCurlyBracketKeyword_0; }
+ // '{'
+ public Keyword getLeftCurlyBracketKeyword_0() {
+ return cLeftCurlyBracketKeyword_0;
+ }
- //"effect:"
- public Keyword getEffectKeyword_1() { return cEffectKeyword_1; }
+ // "effect:"
+ public Keyword getEffectKeyword_1() {
+ return cEffectKeyword_1;
+ }
- //effectKind=EffectKind
- public Assignment getEffectKindAssignment_2() { return cEffectKindAssignment_2; }
+ // effectKind=EffectKind
+ public Assignment getEffectKindAssignment_2() {
+ return cEffectKindAssignment_2;
+ }
- //EffectKind
- public RuleCall getEffectKindEffectKindEnumRuleCall_2_0() { return cEffectKindEffectKindEnumRuleCall_2_0; }
+ // EffectKind
+ public RuleCall getEffectKindEffectKindEnumRuleCall_2_0() {
+ return cEffectKindEffectKindEnumRuleCall_2_0;
+ }
- //"}"
- public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; }
+ // '}'
+ public Keyword getRightCurlyBracketKeyword_3() {
+ return cRightCurlyBracketKeyword_3;
+ }
}
public class DefaultValueRuleElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DefaultValueRule");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Keyword cEqualsSignKeyword_0 = (Keyword)cGroup.eContents().get(0);
- private final Assignment cDefaultAssignment_1 = (Assignment)cGroup.eContents().get(1);
- private final RuleCall cDefaultValueParserRuleCall_1_0 = (RuleCall)cDefaultAssignment_1.eContents().get(0);
-
- //DefaultValueRule:
- // "=" default=Value;
- public ParserRule getRule() { return rule; }
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.DefaultValueRule");
+ private final Group cGroup = (Group) rule.eContents().get(1);
+ private final Keyword cEqualsSignKeyword_0 = (Keyword) cGroup.eContents().get(0);
+ private final Assignment cDefaultAssignment_1 = (Assignment) cGroup.eContents().get(1);
+ private final RuleCall cDefaultValueParserRuleCall_1_0 = (RuleCall) cDefaultAssignment_1.eContents().get(0);
+
+ // DefaultValueRule:
+ // '=' default=Value;
+ @Override
+ public ParserRule getRule() {
+ return rule;
+ }
- //"=" default=Value
- public Group getGroup() { return cGroup; }
+ // '=' default=Value
+ public Group getGroup() {
+ return cGroup;
+ }
- //"="
- public Keyword getEqualsSignKeyword_0() { return cEqualsSignKeyword_0; }
+ // '='
+ public Keyword getEqualsSignKeyword_0() {
+ return cEqualsSignKeyword_0;
+ }
- //default=Value
- public Assignment getDefaultAssignment_1() { return cDefaultAssignment_1; }
+ // default=Value
+ public Assignment getDefaultAssignment_1() {
+ return cDefaultAssignment_1;
+ }
- //Value
- public RuleCall getDefaultValueParserRuleCall_1_0() { return cDefaultValueParserRuleCall_1_0; }
+ // Value
+ public RuleCall getDefaultValueParserRuleCall_1_0() {
+ return cDefaultValueParserRuleCall_1_0;
+ }
}
public class ValueElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Value");
- private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
- private final RuleCall cIntValueParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
- private final RuleCall cStringValueParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
- private final RuleCall cBooleanValueParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
- private final RuleCall cRealValueParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3);
- private final RuleCall cNullValueParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4);
- private final RuleCall cNoValueParserRuleCall_5 = (RuleCall)cAlternatives.eContents().get(5);
-
- //Value:
- // IntValue | StringValue | BooleanValue | RealValue | NullValue | NoValue;
- public ParserRule getRule() { return rule; }
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.Value");
+ private final Alternatives cAlternatives = (Alternatives) rule.eContents().get(1);
+ private final RuleCall cIntValueParserRuleCall_0 = (RuleCall) cAlternatives.eContents().get(0);
+ private final RuleCall cStringValueParserRuleCall_1 = (RuleCall) cAlternatives.eContents().get(1);
+ private final RuleCall cBooleanValueParserRuleCall_2 = (RuleCall) cAlternatives.eContents().get(2);
+ private final RuleCall cRealValueParserRuleCall_3 = (RuleCall) cAlternatives.eContents().get(3);
+ private final RuleCall cNullValueParserRuleCall_4 = (RuleCall) cAlternatives.eContents().get(4);
+ private final RuleCall cNoValueParserRuleCall_5 = (RuleCall) cAlternatives.eContents().get(5);
+
+ // Value:
+ // IntValue | StringValue | BooleanValue | RealValue | NullValue | NoValue;
+ @Override
+ public ParserRule getRule() {
+ return rule;
+ }
- //IntValue | StringValue | BooleanValue | RealValue | NullValue | NoValue
- public Alternatives getAlternatives() { return cAlternatives; }
+ // IntValue | StringValue | BooleanValue | RealValue | NullValue | NoValue
+ public Alternatives getAlternatives() {
+ return cAlternatives;
+ }
- //IntValue
- public RuleCall getIntValueParserRuleCall_0() { return cIntValueParserRuleCall_0; }
+ // IntValue
+ public RuleCall getIntValueParserRuleCall_0() {
+ return cIntValueParserRuleCall_0;
+ }
- //StringValue
- public RuleCall getStringValueParserRuleCall_1() { return cStringValueParserRuleCall_1; }
+ // StringValue
+ public RuleCall getStringValueParserRuleCall_1() {
+ return cStringValueParserRuleCall_1;
+ }
- //BooleanValue
- public RuleCall getBooleanValueParserRuleCall_2() { return cBooleanValueParserRuleCall_2; }
+ // BooleanValue
+ public RuleCall getBooleanValueParserRuleCall_2() {
+ return cBooleanValueParserRuleCall_2;
+ }
- //RealValue
- public RuleCall getRealValueParserRuleCall_3() { return cRealValueParserRuleCall_3; }
+ // RealValue
+ public RuleCall getRealValueParserRuleCall_3() {
+ return cRealValueParserRuleCall_3;
+ }
- //NullValue
- public RuleCall getNullValueParserRuleCall_4() { return cNullValueParserRuleCall_4; }
+ // NullValue
+ public RuleCall getNullValueParserRuleCall_4() {
+ return cNullValueParserRuleCall_4;
+ }
- //NoValue
- public RuleCall getNoValueParserRuleCall_5() { return cNoValueParserRuleCall_5; }
+ // NoValue
+ public RuleCall getNoValueParserRuleCall_5() {
+ return cNoValueParserRuleCall_5;
+ }
}
public class IntValueElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "IntValue");
- private final Assignment cLiteralIntegerAssignment = (Assignment)rule.eContents().get(1);
- private final RuleCall cLiteralIntegerINTTerminalRuleCall_0 = (RuleCall)cLiteralIntegerAssignment.eContents().get(0);
-
- //IntValue:
- // literalInteger=INT;
- public ParserRule getRule() { return rule; }
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.IntValue");
+ private final Assignment cLiteralIntegerAssignment = (Assignment) rule.eContents().get(1);
+ private final RuleCall cLiteralIntegerINTTerminalRuleCall_0 = (RuleCall) cLiteralIntegerAssignment.eContents().get(0);
+
+ // IntValue:
+ // literalInteger=INT;
+ @Override
+ public ParserRule getRule() {
+ return rule;
+ }
- //literalInteger=INT
- public Assignment getLiteralIntegerAssignment() { return cLiteralIntegerAssignment; }
+ // literalInteger=INT
+ public Assignment getLiteralIntegerAssignment() {
+ return cLiteralIntegerAssignment;
+ }
- //INT
- public RuleCall getLiteralIntegerINTTerminalRuleCall_0() { return cLiteralIntegerINTTerminalRuleCall_0; }
+ // INT
+ public RuleCall getLiteralIntegerINTTerminalRuleCall_0() {
+ return cLiteralIntegerINTTerminalRuleCall_0;
+ }
}
public class StringValueElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "StringValue");
- private final Assignment cLiteralStringAssignment = (Assignment)rule.eContents().get(1);
- private final RuleCall cLiteralStringSTRINGTerminalRuleCall_0 = (RuleCall)cLiteralStringAssignment.eContents().get(0);
-
- //StringValue:
- // literalString=STRING;
- public ParserRule getRule() { return rule; }
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.StringValue");
+ private final Assignment cLiteralStringAssignment = (Assignment) rule.eContents().get(1);
+ private final RuleCall cLiteralStringSTRINGTerminalRuleCall_0 = (RuleCall) cLiteralStringAssignment.eContents().get(0);
+
+ // StringValue:
+ // literalString=STRING;
+ @Override
+ public ParserRule getRule() {
+ return rule;
+ }
- //literalString=STRING
- public Assignment getLiteralStringAssignment() { return cLiteralStringAssignment; }
+ // literalString=STRING
+ public Assignment getLiteralStringAssignment() {
+ return cLiteralStringAssignment;
+ }
- //STRING
- public RuleCall getLiteralStringSTRINGTerminalRuleCall_0() { return cLiteralStringSTRINGTerminalRuleCall_0; }
+ // STRING
+ public RuleCall getLiteralStringSTRINGTerminalRuleCall_0() {
+ return cLiteralStringSTRINGTerminalRuleCall_0;
+ }
}
public class BooleanValueElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "BooleanValue");
- private final Assignment cLiteralBooleanAssignment = (Assignment)rule.eContents().get(1);
- private final RuleCall cLiteralBooleanBooleanLiteralsEnumRuleCall_0 = (RuleCall)cLiteralBooleanAssignment.eContents().get(0);
-
- //BooleanValue:
- // literalBoolean=BooleanLiterals;
- public ParserRule getRule() { return rule; }
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.BooleanValue");
+ private final Assignment cLiteralBooleanAssignment = (Assignment) rule.eContents().get(1);
+ private final RuleCall cLiteralBooleanBooleanLiteralsEnumRuleCall_0 = (RuleCall) cLiteralBooleanAssignment.eContents().get(0);
+
+ // BooleanValue:
+ // literalBoolean=BooleanLiterals;
+ @Override
+ public ParserRule getRule() {
+ return rule;
+ }
- //literalBoolean=BooleanLiterals
- public Assignment getLiteralBooleanAssignment() { return cLiteralBooleanAssignment; }
+ // literalBoolean=BooleanLiterals
+ public Assignment getLiteralBooleanAssignment() {
+ return cLiteralBooleanAssignment;
+ }
- //BooleanLiterals
- public RuleCall getLiteralBooleanBooleanLiteralsEnumRuleCall_0() { return cLiteralBooleanBooleanLiteralsEnumRuleCall_0; }
+ // BooleanLiterals
+ public RuleCall getLiteralBooleanBooleanLiteralsEnumRuleCall_0() {
+ return cLiteralBooleanBooleanLiteralsEnumRuleCall_0;
+ }
}
public class RealValueElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "RealValue");
- private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
- private final Group cGroup_0 = (Group)cAlternatives.eContents().get(0);
- private final Assignment cIntegerAssignment_0_0 = (Assignment)cGroup_0.eContents().get(0);
- private final RuleCall cIntegerINTTerminalRuleCall_0_0_0 = (RuleCall)cIntegerAssignment_0_0.eContents().get(0);
- private final Keyword cFullStopKeyword_0_1 = (Keyword)cGroup_0.eContents().get(1);
- private final Group cGroup_1 = (Group)cAlternatives.eContents().get(1);
- private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
- private final Assignment cFractionAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1);
- private final RuleCall cFractionINTTerminalRuleCall_1_1_0 = (RuleCall)cFractionAssignment_1_1.eContents().get(0);
- private final Group cGroup_2 = (Group)cAlternatives.eContents().get(2);
- private final Assignment cIntegerAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0);
- private final RuleCall cIntegerINTTerminalRuleCall_2_0_0 = (RuleCall)cIntegerAssignment_2_0.eContents().get(0);
- private final Keyword cFullStopKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1);
- private final Assignment cFractionAssignment_2_2 = (Assignment)cGroup_2.eContents().get(2);
- private final RuleCall cFractionINTTerminalRuleCall_2_2_0 = (RuleCall)cFractionAssignment_2_2.eContents().get(0);
-
- ////TODO: Support all Java-compliant doubles
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.RealValue");
+ private final Alternatives cAlternatives = (Alternatives) rule.eContents().get(1);
+ private final Group cGroup_0 = (Group) cAlternatives.eContents().get(0);
+ private final Assignment cIntegerAssignment_0_0 = (Assignment) cGroup_0.eContents().get(0);
+ private final RuleCall cIntegerINTTerminalRuleCall_0_0_0 = (RuleCall) cIntegerAssignment_0_0.eContents().get(0);
+ private final Keyword cFullStopKeyword_0_1 = (Keyword) cGroup_0.eContents().get(1);
+ private final Group cGroup_1 = (Group) cAlternatives.eContents().get(1);
+ private final Keyword cFullStopKeyword_1_0 = (Keyword) cGroup_1.eContents().get(0);
+ private final Assignment cFractionAssignment_1_1 = (Assignment) cGroup_1.eContents().get(1);
+ private final RuleCall cFractionINTTerminalRuleCall_1_1_0 = (RuleCall) cFractionAssignment_1_1.eContents().get(0);
+ private final Group cGroup_2 = (Group) cAlternatives.eContents().get(2);
+ private final Assignment cIntegerAssignment_2_0 = (Assignment) cGroup_2.eContents().get(0);
+ private final RuleCall cIntegerINTTerminalRuleCall_2_0_0 = (RuleCall) cIntegerAssignment_2_0.eContents().get(0);
+ private final Keyword cFullStopKeyword_2_1 = (Keyword) cGroup_2.eContents().get(1);
+ private final Assignment cFractionAssignment_2_2 = (Assignment) cGroup_2.eContents().get(2);
+ private final RuleCall cFractionINTTerminalRuleCall_2_2_0 = (RuleCall) cFractionAssignment_2_2.eContents().get(0);
+
+ //// TODO: Support all Java-compliant doubles
// RealValue:
- // integer=INT "." | "." fraction=INT | integer=INT "." fraction=INT;
- public ParserRule getRule() { return rule; }
+ // integer=INT '.' | '.' fraction=INT | integer=INT "." fraction=INT;
+ @Override
+ public ParserRule getRule() {
+ return rule;
+ }
- //integer=INT "." | "." fraction=INT | integer=INT "." fraction=INT
- public Alternatives getAlternatives() { return cAlternatives; }
+ // integer=INT '.' | '.' fraction=INT | integer=INT "." fraction=INT
+ public Alternatives getAlternatives() {
+ return cAlternatives;
+ }
- //integer=INT "."
- public Group getGroup_0() { return cGroup_0; }
+ // integer=INT '.'
+ public Group getGroup_0() {
+ return cGroup_0;
+ }
- //integer=INT
- public Assignment getIntegerAssignment_0_0() { return cIntegerAssignment_0_0; }
+ // integer=INT
+ public Assignment getIntegerAssignment_0_0() {
+ return cIntegerAssignment_0_0;
+ }
- //INT
- public RuleCall getIntegerINTTerminalRuleCall_0_0_0() { return cIntegerINTTerminalRuleCall_0_0_0; }
+ // INT
+ public RuleCall getIntegerINTTerminalRuleCall_0_0_0() {
+ return cIntegerINTTerminalRuleCall_0_0_0;
+ }
- //"."
- public Keyword getFullStopKeyword_0_1() { return cFullStopKeyword_0_1; }
+ // '.'
+ public Keyword getFullStopKeyword_0_1() {
+ return cFullStopKeyword_0_1;
+ }
- //"." fraction=INT
- public Group getGroup_1() { return cGroup_1; }
+ // '.' fraction=INT
+ public Group getGroup_1() {
+ return cGroup_1;
+ }
- //"."
- public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; }
+ // '.'
+ public Keyword getFullStopKeyword_1_0() {
+ return cFullStopKeyword_1_0;
+ }
- //fraction=INT
- public Assignment getFractionAssignment_1_1() { return cFractionAssignment_1_1; }
+ // fraction=INT
+ public Assignment getFractionAssignment_1_1() {
+ return cFractionAssignment_1_1;
+ }
- //INT
- public RuleCall getFractionINTTerminalRuleCall_1_1_0() { return cFractionINTTerminalRuleCall_1_1_0; }
+ // INT
+ public RuleCall getFractionINTTerminalRuleCall_1_1_0() {
+ return cFractionINTTerminalRuleCall_1_1_0;
+ }
- //integer=INT "." fraction=INT
- public Group getGroup_2() { return cGroup_2; }
+ // integer=INT "." fraction=INT
+ public Group getGroup_2() {
+ return cGroup_2;
+ }
- //integer=INT
- public Assignment getIntegerAssignment_2_0() { return cIntegerAssignment_2_0; }
+ // integer=INT
+ public Assignment getIntegerAssignment_2_0() {
+ return cIntegerAssignment_2_0;
+ }
- //INT
- public RuleCall getIntegerINTTerminalRuleCall_2_0_0() { return cIntegerINTTerminalRuleCall_2_0_0; }
+ // INT
+ public RuleCall getIntegerINTTerminalRuleCall_2_0_0() {
+ return cIntegerINTTerminalRuleCall_2_0_0;
+ }
- //"."
- public Keyword getFullStopKeyword_2_1() { return cFullStopKeyword_2_1; }
+ // "."
+ public Keyword getFullStopKeyword_2_1() {
+ return cFullStopKeyword_2_1;
+ }
- //fraction=INT
- public Assignment getFractionAssignment_2_2() { return cFractionAssignment_2_2; }
+ // fraction=INT
+ public Assignment getFractionAssignment_2_2() {
+ return cFractionAssignment_2_2;
+ }
- //INT
- public RuleCall getFractionINTTerminalRuleCall_2_2_0() { return cFractionINTTerminalRuleCall_2_2_0; }
+ // INT
+ public RuleCall getFractionINTTerminalRuleCall_2_2_0() {
+ return cFractionINTTerminalRuleCall_2_2_0;
+ }
}
public class NullValueElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "NullValue");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Action cNullValueAction_0 = (Action)cGroup.eContents().get(0);
- private final Keyword cNullKeyword_1 = (Keyword)cGroup.eContents().get(1);
-
- //NullValue:
- // {NullValue} "null";
- public ParserRule getRule() { return rule; }
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.NullValue");
+ private final Group cGroup = (Group) rule.eContents().get(1);
+ private final Action cNullValueAction_0 = (Action) cGroup.eContents().get(0);
+ private final Keyword cNullKeyword_1 = (Keyword) cGroup.eContents().get(1);
+
+ // NullValue:
+ // {NullValue} 'null';
+ @Override
+ public ParserRule getRule() {
+ return rule;
+ }
- //{NullValue} "null"
- public Group getGroup() { return cGroup; }
+ // {NullValue} 'null'
+ public Group getGroup() {
+ return cGroup;
+ }
- //{NullValue}
- public Action getNullValueAction_0() { return cNullValueAction_0; }
+ // {NullValue}
+ public Action getNullValueAction_0() {
+ return cNullValueAction_0;
+ }
- //"null"
- public Keyword getNullKeyword_1() { return cNullKeyword_1; }
+ // 'null'
+ public Keyword getNullKeyword_1() {
+ return cNullKeyword_1;
+ }
}
public class NoValueElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "NoValue");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Action cNoValueAction_0 = (Action)cGroup.eContents().get(0);
- private final Keyword cNoneKeyword_1 = (Keyword)cGroup.eContents().get(1);
-
- //NoValue:
- // {NoValue} "none";
- public ParserRule getRule() { return rule; }
-
- //{NoValue} "none"
- public Group getGroup() { return cGroup; }
-
- //{NoValue}
- public Action getNoValueAction_0() { return cNoValueAction_0; }
-
- //"none"
- public Keyword getNoneKeyword_1() { return cNoneKeyword_1; }
- }
-
-
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.NoValue");
+ private final Group cGroup = (Group) rule.eContents().get(1);
+ private final Action cNoValueAction_0 = (Action) cGroup.eContents().get(0);
+ private final Keyword cNoneKeyword_1 = (Keyword) cGroup.eContents().get(1);
+
+ // NoValue:
+ // {NoValue} 'none';
+ @Override
+ public ParserRule getRule() {
+ return rule;
+ }
+
+ // {NoValue} 'none'
+ public Group getGroup() {
+ return cGroup;
+ }
+
+ // {NoValue}
+ public Action getNoValueAction_0() {
+ return cNoValueAction_0;
+ }
+
+ // 'none'
+ public Keyword getNoneKeyword_1() {
+ return cNoneKeyword_1;
+ }
+ }
+
+
public class ModifierKindElements extends AbstractEnumRuleElementFinder {
- private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "ModifierKind");
- private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
- private final EnumLiteralDeclaration cEXCEPTIONEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
- private final Keyword cEXCEPTIONExceptionKeyword_0_0 = (Keyword)cEXCEPTIONEnumLiteralDeclaration_0.eContents().get(0);
- private final EnumLiteralDeclaration cSTREAMEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
- private final Keyword cSTREAMStreamKeyword_1_0 = (Keyword)cSTREAMEnumLiteralDeclaration_1.eContents().get(0);
- private final EnumLiteralDeclaration cORDEREDEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
- private final Keyword cORDEREDOrderedKeyword_2_0 = (Keyword)cORDEREDEnumLiteralDeclaration_2.eContents().get(0);
- private final EnumLiteralDeclaration cUNIQUEEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3);
- private final Keyword cUNIQUEUniqueKeyword_3_0 = (Keyword)cUNIQUEEnumLiteralDeclaration_3.eContents().get(0);
-
- //enum ModifierKind:
- // EXCEPTION="exception" | STREAM="stream" | ORDERED="ordered" | UNIQUE="unique";
- public EnumRule getRule() { return rule; }
+ private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.ModifierKind");
+ private final Alternatives cAlternatives = (Alternatives) rule.eContents().get(1);
+ private final EnumLiteralDeclaration cEXCEPTIONEnumLiteralDeclaration_0 = (EnumLiteralDeclaration) cAlternatives.eContents().get(0);
+ private final Keyword cEXCEPTIONExceptionKeyword_0_0 = (Keyword) cEXCEPTIONEnumLiteralDeclaration_0.eContents().get(0);
+ private final EnumLiteralDeclaration cSTREAMEnumLiteralDeclaration_1 = (EnumLiteralDeclaration) cAlternatives.eContents().get(1);
+ private final Keyword cSTREAMStreamKeyword_1_0 = (Keyword) cSTREAMEnumLiteralDeclaration_1.eContents().get(0);
+ private final EnumLiteralDeclaration cORDEREDEnumLiteralDeclaration_2 = (EnumLiteralDeclaration) cAlternatives.eContents().get(2);
+ private final Keyword cORDEREDOrderedKeyword_2_0 = (Keyword) cORDEREDEnumLiteralDeclaration_2.eContents().get(0);
+ private final EnumLiteralDeclaration cUNIQUEEnumLiteralDeclaration_3 = (EnumLiteralDeclaration) cAlternatives.eContents().get(3);
+ private final Keyword cUNIQUEUniqueKeyword_3_0 = (Keyword) cUNIQUEEnumLiteralDeclaration_3.eContents().get(0);
+
+ // enum ModifierKind:
+ // EXCEPTION="exception" | STREAM="stream" | ORDERED="ordered" | UNIQUE="unique";
+ public EnumRule getRule() {
+ return rule;
+ }
- //EXCEPTION="exception" | STREAM="stream" | ORDERED="ordered" | UNIQUE="unique"
- public Alternatives getAlternatives() { return cAlternatives; }
+ // EXCEPTION="exception" | STREAM="stream" | ORDERED="ordered" | UNIQUE="unique"
+ public Alternatives getAlternatives() {
+ return cAlternatives;
+ }
- //EXCEPTION="exception"
- public EnumLiteralDeclaration getEXCEPTIONEnumLiteralDeclaration_0() { return cEXCEPTIONEnumLiteralDeclaration_0; }
+ // EXCEPTION="exception"
+ public EnumLiteralDeclaration getEXCEPTIONEnumLiteralDeclaration_0() {
+ return cEXCEPTIONEnumLiteralDeclaration_0;
+ }
- //"exception"
- public Keyword getEXCEPTIONExceptionKeyword_0_0() { return cEXCEPTIONExceptionKeyword_0_0; }
+ // "exception"
+ public Keyword getEXCEPTIONExceptionKeyword_0_0() {
+ return cEXCEPTIONExceptionKeyword_0_0;
+ }
- //STREAM="stream"
- public EnumLiteralDeclaration getSTREAMEnumLiteralDeclaration_1() { return cSTREAMEnumLiteralDeclaration_1; }
+ // STREAM="stream"
+ public EnumLiteralDeclaration getSTREAMEnumLiteralDeclaration_1() {
+ return cSTREAMEnumLiteralDeclaration_1;
+ }
- //"stream"
- public Keyword getSTREAMStreamKeyword_1_0() { return cSTREAMStreamKeyword_1_0; }
+ // "stream"
+ public Keyword getSTREAMStreamKeyword_1_0() {
+ return cSTREAMStreamKeyword_1_0;
+ }
- //ORDERED="ordered"
- public EnumLiteralDeclaration getORDEREDEnumLiteralDeclaration_2() { return cORDEREDEnumLiteralDeclaration_2; }
+ // ORDERED="ordered"
+ public EnumLiteralDeclaration getORDEREDEnumLiteralDeclaration_2() {
+ return cORDEREDEnumLiteralDeclaration_2;
+ }
- //"ordered"
- public Keyword getORDEREDOrderedKeyword_2_0() { return cORDEREDOrderedKeyword_2_0; }
+ // "ordered"
+ public Keyword getORDEREDOrderedKeyword_2_0() {
+ return cORDEREDOrderedKeyword_2_0;
+ }
- //UNIQUE="unique"
- public EnumLiteralDeclaration getUNIQUEEnumLiteralDeclaration_3() { return cUNIQUEEnumLiteralDeclaration_3; }
+ // UNIQUE="unique"
+ public EnumLiteralDeclaration getUNIQUEEnumLiteralDeclaration_3() {
+ return cUNIQUEEnumLiteralDeclaration_3;
+ }
- //"unique"
- public Keyword getUNIQUEUniqueKeyword_3_0() { return cUNIQUEUniqueKeyword_3_0; }
+ // "unique"
+ public Keyword getUNIQUEUniqueKeyword_3_0() {
+ return cUNIQUEUniqueKeyword_3_0;
+ }
}
public class EffectKindElements extends AbstractEnumRuleElementFinder {
- private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "EffectKind");
- private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
- private final EnumLiteralDeclaration cCREATEEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
- private final Keyword cCREATECreateKeyword_0_0 = (Keyword)cCREATEEnumLiteralDeclaration_0.eContents().get(0);
- private final EnumLiteralDeclaration cREADEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
- private final Keyword cREADReadKeyword_1_0 = (Keyword)cREADEnumLiteralDeclaration_1.eContents().get(0);
- private final EnumLiteralDeclaration cUPDATEEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
- private final Keyword cUPDATEUpdateKeyword_2_0 = (Keyword)cUPDATEEnumLiteralDeclaration_2.eContents().get(0);
- private final EnumLiteralDeclaration cDELETEEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3);
- private final Keyword cDELETEDeleteKeyword_3_0 = (Keyword)cDELETEEnumLiteralDeclaration_3.eContents().get(0);
-
- //enum EffectKind:
- // CREATE="create" | READ="read" | UPDATE="update" | DELETE="delete";
- public EnumRule getRule() { return rule; }
+ private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.EffectKind");
+ private final Alternatives cAlternatives = (Alternatives) rule.eContents().get(1);
+ private final EnumLiteralDeclaration cCREATEEnumLiteralDeclaration_0 = (EnumLiteralDeclaration) cAlternatives.eContents().get(0);
+ private final Keyword cCREATECreateKeyword_0_0 = (Keyword) cCREATEEnumLiteralDeclaration_0.eContents().get(0);
+ private final EnumLiteralDeclaration cREADEnumLiteralDeclaration_1 = (EnumLiteralDeclaration) cAlternatives.eContents().get(1);
+ private final Keyword cREADReadKeyword_1_0 = (Keyword) cREADEnumLiteralDeclaration_1.eContents().get(0);
+ private final EnumLiteralDeclaration cUPDATEEnumLiteralDeclaration_2 = (EnumLiteralDeclaration) cAlternatives.eContents().get(2);
+ private final Keyword cUPDATEUpdateKeyword_2_0 = (Keyword) cUPDATEEnumLiteralDeclaration_2.eContents().get(0);
+ private final EnumLiteralDeclaration cDELETEEnumLiteralDeclaration_3 = (EnumLiteralDeclaration) cAlternatives.eContents().get(3);
+ private final Keyword cDELETEDeleteKeyword_3_0 = (Keyword) cDELETEEnumLiteralDeclaration_3.eContents().get(0);
+
+ // enum EffectKind:
+ // CREATE="create" | READ="read" | UPDATE="update" | DELETE="delete";
+ public EnumRule getRule() {
+ return rule;
+ }
- //CREATE="create" | READ="read" | UPDATE="update" | DELETE="delete"
- public Alternatives getAlternatives() { return cAlternatives; }
+ // CREATE="create" | READ="read" | UPDATE="update" | DELETE="delete"
+ public Alternatives getAlternatives() {
+ return cAlternatives;
+ }
- //CREATE="create"
- public EnumLiteralDeclaration getCREATEEnumLiteralDeclaration_0() { return cCREATEEnumLiteralDeclaration_0; }
+ // CREATE="create"
+ public EnumLiteralDeclaration getCREATEEnumLiteralDeclaration_0() {
+ return cCREATEEnumLiteralDeclaration_0;
+ }
- //"create"
- public Keyword getCREATECreateKeyword_0_0() { return cCREATECreateKeyword_0_0; }
+ // "create"
+ public Keyword getCREATECreateKeyword_0_0() {
+ return cCREATECreateKeyword_0_0;
+ }
- //READ="read"
- public EnumLiteralDeclaration getREADEnumLiteralDeclaration_1() { return cREADEnumLiteralDeclaration_1; }
+ // READ="read"
+ public EnumLiteralDeclaration getREADEnumLiteralDeclaration_1() {
+ return cREADEnumLiteralDeclaration_1;
+ }
- //"read"
- public Keyword getREADReadKeyword_1_0() { return cREADReadKeyword_1_0; }
+ // "read"
+ public Keyword getREADReadKeyword_1_0() {
+ return cREADReadKeyword_1_0;
+ }
- //UPDATE="update"
- public EnumLiteralDeclaration getUPDATEEnumLiteralDeclaration_2() { return cUPDATEEnumLiteralDeclaration_2; }
+ // UPDATE="update"
+ public EnumLiteralDeclaration getUPDATEEnumLiteralDeclaration_2() {
+ return cUPDATEEnumLiteralDeclaration_2;
+ }
- //"update"
- public Keyword getUPDATEUpdateKeyword_2_0() { return cUPDATEUpdateKeyword_2_0; }
+ // "update"
+ public Keyword getUPDATEUpdateKeyword_2_0() {
+ return cUPDATEUpdateKeyword_2_0;
+ }
- //DELETE="delete"
- public EnumLiteralDeclaration getDELETEEnumLiteralDeclaration_3() { return cDELETEEnumLiteralDeclaration_3; }
+ // DELETE="delete"
+ public EnumLiteralDeclaration getDELETEEnumLiteralDeclaration_3() {
+ return cDELETEEnumLiteralDeclaration_3;
+ }
- //"delete"
- public Keyword getDELETEDeleteKeyword_3_0() { return cDELETEDeleteKeyword_3_0; }
+ // "delete"
+ public Keyword getDELETEDeleteKeyword_3_0() {
+ return cDELETEDeleteKeyword_3_0;
+ }
}
public class BooleanLiteralsElements extends AbstractEnumRuleElementFinder {
- private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "BooleanLiterals");
- private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
- private final EnumLiteralDeclaration cTrueEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
- private final Keyword cTrueTrueKeyword_0_0 = (Keyword)cTrueEnumLiteralDeclaration_0.eContents().get(0);
- private final EnumLiteralDeclaration cFalseEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
- private final Keyword cFalseFalseKeyword_1_0 = (Keyword)cFalseEnumLiteralDeclaration_1.eContents().get(0);
-
- //enum BooleanLiterals:
- // true | false;
- public EnumRule getRule() { return rule; }
+ private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.parameter.xtext.UmlParameter.BooleanLiterals");
+ private final Alternatives cAlternatives = (Alternatives) rule.eContents().get(1);
+ private final EnumLiteralDeclaration cTRUEEnumLiteralDeclaration_0 = (EnumLiteralDeclaration) cAlternatives.eContents().get(0);
+ private final Keyword cTRUETrueKeyword_0_0 = (Keyword) cTRUEEnumLiteralDeclaration_0.eContents().get(0);
+ private final EnumLiteralDeclaration cFALSEEnumLiteralDeclaration_1 = (EnumLiteralDeclaration) cAlternatives.eContents().get(1);
+ private final Keyword cFALSEFalseKeyword_1_0 = (Keyword) cFALSEEnumLiteralDeclaration_1.eContents().get(0);
+
+ // enum BooleanLiterals:
+ // TRUE="true" | FALSE="false";
+ public EnumRule getRule() {
+ return rule;
+ }
- //true | false
- public Alternatives getAlternatives() { return cAlternatives; }
+ // TRUE="true" | FALSE="false"
+ public Alternatives getAlternatives() {
+ return cAlternatives;
+ }
- //true
- public EnumLiteralDeclaration getTrueEnumLiteralDeclaration_0() { return cTrueEnumLiteralDeclaration_0; }
+ // TRUE="true"
+ public EnumLiteralDeclaration getTRUEEnumLiteralDeclaration_0() {
+ return cTRUEEnumLiteralDeclaration_0;
+ }
- //"true"
- public Keyword getTrueTrueKeyword_0_0() { return cTrueTrueKeyword_0_0; }
+ // "true"
+ public Keyword getTRUETrueKeyword_0_0() {
+ return cTRUETrueKeyword_0_0;
+ }
- //false
- public EnumLiteralDeclaration getFalseEnumLiteralDeclaration_1() { return cFalseEnumLiteralDeclaration_1; }
+ // FALSE="false"
+ public EnumLiteralDeclaration getFALSEEnumLiteralDeclaration_1() {
+ return cFALSEEnumLiteralDeclaration_1;
+ }
- //"false"
- public Keyword getFalseFalseKeyword_1_0() { return cFalseFalseKeyword_1_0; }
+ // "false"
+ public Keyword getFALSEFalseKeyword_1_0() {
+ return cFALSEFalseKeyword_1_0;
+ }
}
-
+
private final ParameterRuleElements pParameterRule;
private final ModifiersRuleElements pModifiersRule;
private final ModifierSpecificationElements pModifierSpecification;
private final VisibilityRuleElements pVisibilityRule;
private final DirectionRuleElements pDirectionRule;
- private final ModifierKindElements unknownRuleModifierKind;
- private final EffectKindElements unknownRuleEffectKind;
+ private final ModifierKindElements eModifierKind;
+ private final EffectKindElements eEffectKind;
private final EffectRuleElements pEffectRule;
private final DefaultValueRuleElements pDefaultValueRule;
private final ValueElements pValue;
private final IntValueElements pIntValue;
private final StringValueElements pStringValue;
- private final BooleanLiteralsElements unknownRuleBooleanLiterals;
+ private final BooleanLiteralsElements eBooleanLiterals;
private final BooleanValueElements pBooleanValue;
private final RealValueElements pRealValue;
private final NullValueElements pNullValue;
private final NoValueElements pNoValue;
-
+
private final Grammar grammar;
private final UmlCommonGrammarAccess gaUmlCommon;
+ private final CommonGrammarAccess gaCommon;
+
+ private final TerminalsGrammarAccess gaTerminals;
+
@Inject
public UmlParameterGrammarAccess(GrammarProvider grammarProvider,
- UmlCommonGrammarAccess gaUmlCommon) {
+ UmlCommonGrammarAccess gaUmlCommon,
+ CommonGrammarAccess gaCommon,
+ TerminalsGrammarAccess gaTerminals) {
this.grammar = internalFindGrammar(grammarProvider);
this.gaUmlCommon = gaUmlCommon;
+ this.gaCommon = gaCommon;
+ this.gaTerminals = gaTerminals;
this.pParameterRule = new ParameterRuleElements();
this.pModifiersRule = new ModifiersRuleElements();
this.pModifierSpecification = new ModifierSpecificationElements();
this.pVisibilityRule = new VisibilityRuleElements();
this.pDirectionRule = new DirectionRuleElements();
- this.unknownRuleModifierKind = new ModifierKindElements();
- this.unknownRuleEffectKind = new EffectKindElements();
+ this.eModifierKind = new ModifierKindElements();
+ this.eEffectKind = new EffectKindElements();
this.pEffectRule = new EffectRuleElements();
this.pDefaultValueRule = new DefaultValueRuleElements();
this.pValue = new ValueElements();
this.pIntValue = new IntValueElements();
this.pStringValue = new StringValueElements();
- this.unknownRuleBooleanLiterals = new BooleanLiteralsElements();
+ this.eBooleanLiterals = new BooleanLiteralsElements();
this.pBooleanValue = new BooleanValueElements();
this.pRealValue = new RealValueElements();
this.pNullValue = new NullValueElements();
this.pNoValue = new NoValueElements();
}
-
+
protected Grammar internalFindGrammar(GrammarProvider grammarProvider) {
Grammar grammar = grammarProvider.getGrammar(this);
while (grammar != null) {
@@ -643,316 +923,314 @@ public class UmlParameterGrammarAccess extends AbstractGrammarElementFinder {
}
return grammar;
}
-
-
+
+ @Override
public Grammar getGrammar() {
return grammar;
}
-
+
public UmlCommonGrammarAccess getUmlCommonGrammarAccess() {
return gaUmlCommon;
}
-
- //ParameterRule:
- // visibility=VisibilityRule? direction=DirectionRule? name=ID (":" (type=TypeRule | typeUndefined?="<Undefined>"))?
- // multiplicity=MultiplicityRule? modifiers=ModifiersRule? effect=EffectRule? defaultValue=DefaultValueRule?;
+ public CommonGrammarAccess getCommonGrammarAccess() {
+ return gaCommon;
+ }
+
+ public TerminalsGrammarAccess getTerminalsGrammarAccess() {
+ return gaTerminals;
+ }
+
+
+ // ParameterRule:
+ // visibility=VisibilityRule? direction=DirectionRule? name=ID (':' (type=TypeRule | typeUndefined?="<Undefined>"))?
+ // multiplicity=MultiplicityRule? modifiers=ModifiersRule? effect=EffectRule? defaultValue=DefaultValueRule?;
public ParameterRuleElements getParameterRuleAccess() {
return pParameterRule;
}
-
+
public ParserRule getParameterRuleRule() {
return getParameterRuleAccess().getRule();
}
- //ModifiersRule:
- // {ModifiersRule} "{" (values+=ModifierSpecification ("," values+=ModifierSpecification)*)? "}";
+ // ModifiersRule:
+ // {ModifiersRule} '{' (values+=ModifierSpecification (',' values+=ModifierSpecification)*)? '}';
public ModifiersRuleElements getModifiersRuleAccess() {
return pModifiersRule;
}
-
+
public ParserRule getModifiersRuleRule() {
return getModifiersRuleAccess().getRule();
}
- //ModifierSpecification:
- // value=ModifierKind;
+ // ModifierSpecification:
+ // value=ModifierKind;
public ModifierSpecificationElements getModifierSpecificationAccess() {
return pModifierSpecification;
}
-
+
public ParserRule getModifierSpecificationRule() {
return getModifierSpecificationAccess().getRule();
}
- //VisibilityRule:
- // visibility=VisibilityKind;
+ // VisibilityRule:
+ // visibility=VisibilityKind;
public VisibilityRuleElements getVisibilityRuleAccess() {
return pVisibilityRule;
}
-
+
public ParserRule getVisibilityRuleRule() {
return getVisibilityRuleAccess().getRule();
}
- //DirectionRule:
- // direction=Direction;
+ // DirectionRule:
+ // direction=Direction;
public DirectionRuleElements getDirectionRuleAccess() {
return pDirectionRule;
}
-
+
public ParserRule getDirectionRuleRule() {
return getDirectionRuleAccess().getRule();
}
- //enum ModifierKind:
- // EXCEPTION="exception" | STREAM="stream" | ORDERED="ordered" | UNIQUE="unique";
+ // enum ModifierKind:
+ // EXCEPTION="exception" | STREAM="stream" | ORDERED="ordered" | UNIQUE="unique";
public ModifierKindElements getModifierKindAccess() {
- return unknownRuleModifierKind;
+ return eModifierKind;
}
-
+
public EnumRule getModifierKindRule() {
return getModifierKindAccess().getRule();
}
- //enum EffectKind:
- // CREATE="create" | READ="read" | UPDATE="update" | DELETE="delete";
+ // enum EffectKind:
+ // CREATE="create" | READ="read" | UPDATE="update" | DELETE="delete";
public EffectKindElements getEffectKindAccess() {
- return unknownRuleEffectKind;
+ return eEffectKind;
}
-
+
public EnumRule getEffectKindRule() {
return getEffectKindAccess().getRule();
}
- //EffectRule:
- // "{" "effect:" effectKind=EffectKind "}";
+ // EffectRule:
+ // '{' "effect:" effectKind=EffectKind '}';
public EffectRuleElements getEffectRuleAccess() {
return pEffectRule;
}
-
+
public ParserRule getEffectRuleRule() {
return getEffectRuleAccess().getRule();
}
- //DefaultValueRule:
- // "=" default=Value;
+ // DefaultValueRule:
+ // '=' default=Value;
public DefaultValueRuleElements getDefaultValueRuleAccess() {
return pDefaultValueRule;
}
-
+
public ParserRule getDefaultValueRuleRule() {
return getDefaultValueRuleAccess().getRule();
}
- //Value:
- // IntValue | StringValue | BooleanValue | RealValue | NullValue | NoValue;
+ // Value:
+ // IntValue | StringValue | BooleanValue | RealValue | NullValue | NoValue;
public ValueElements getValueAccess() {
return pValue;
}
-
+
public ParserRule getValueRule() {
return getValueAccess().getRule();
}
- //IntValue:
- // literalInteger=INT;
+ // IntValue:
+ // literalInteger=INT;
public IntValueElements getIntValueAccess() {
return pIntValue;
}
-
+
public ParserRule getIntValueRule() {
return getIntValueAccess().getRule();
}
- //StringValue:
- // literalString=STRING;
+ // StringValue:
+ // literalString=STRING;
public StringValueElements getStringValueAccess() {
return pStringValue;
}
-
+
public ParserRule getStringValueRule() {
return getStringValueAccess().getRule();
}
- //enum BooleanLiterals:
- // true | false;
+ // enum BooleanLiterals:
+ // TRUE="true" | FALSE="false";
public BooleanLiteralsElements getBooleanLiteralsAccess() {
- return unknownRuleBooleanLiterals;
+ return eBooleanLiterals;
}
-
+
public EnumRule getBooleanLiteralsRule() {
return getBooleanLiteralsAccess().getRule();
}
- //BooleanValue:
- // literalBoolean=BooleanLiterals;
+ // BooleanValue:
+ // literalBoolean=BooleanLiterals;
public BooleanValueElements getBooleanValueAccess() {
return pBooleanValue;
}
-
+
public ParserRule getBooleanValueRule() {
return getBooleanValueAccess().getRule();
}
- ////TODO: Support all Java-compliant doubles
+ //// TODO: Support all Java-compliant doubles
// RealValue:
- // integer=INT "." | "." fraction=INT | integer=INT "." fraction=INT;
+ // integer=INT '.' | '.' fraction=INT | integer=INT "." fraction=INT;
public RealValueElements getRealValueAccess() {
return pRealValue;
}
-
+
public ParserRule getRealValueRule() {
return getRealValueAccess().getRule();
}
- //NullValue:
- // {NullValue} "null";
+ // NullValue:
+ // {NullValue} 'null';
public NullValueElements getNullValueAccess() {
return pNullValue;
}
-
+
public ParserRule getNullValueRule() {
return getNullValueAccess().getRule();
}
- //NoValue:
- // {NoValue} "none";
+ // NoValue:
+ // {NoValue} 'none';
public NoValueElements getNoValueAccess() {
return pNoValue;
}
-
+
public ParserRule getNoValueRule() {
return getNoValueAccess().getRule();
}
- //QualifiedName:
- // path=[uml::Namespace] "::" remaining=QualifiedName?;
+ // QualifiedName:
+ // path=[uml::Namespace] '::' remaining=QualifiedName?;
public UmlCommonGrammarAccess.QualifiedNameElements getQualifiedNameAccess() {
return gaUmlCommon.getQualifiedNameAccess();
}
-
+
public ParserRule getQualifiedNameRule() {
return getQualifiedNameAccess().getRule();
}
- //TypeRule:
- // path=QualifiedName? type=[uml::Type];
+ // TypeRule:
+ // path=QualifiedName? type=[uml::Type];
public UmlCommonGrammarAccess.TypeRuleElements getTypeRuleAccess() {
return gaUmlCommon.getTypeRuleAccess();
}
-
+
public ParserRule getTypeRuleRule() {
return getTypeRuleAccess().getRule();
}
- //enum VisibilityKind:
- // public="+" | private="-" | protected="#" | package="~";
+ // enum VisibilityKind:
+ // public="+" | private="-" | protected="#" | package="~";
public UmlCommonGrammarAccess.VisibilityKindElements getVisibilityKindAccess() {
return gaUmlCommon.getVisibilityKindAccess();
}
-
+
public EnumRule getVisibilityKindRule() {
return getVisibilityKindAccess().getRule();
}
- //MultiplicityRule:
- // "[" bounds+=BoundSpecification (".." bounds+=BoundSpecification)? "]";
+ // MultiplicityRule:
+ // "[" bounds+=BoundSpecification ('..' bounds+=BoundSpecification)? "]";
public UmlCommonGrammarAccess.MultiplicityRuleElements getMultiplicityRuleAccess() {
return gaUmlCommon.getMultiplicityRuleAccess();
}
-
+
public ParserRule getMultiplicityRuleRule() {
return getMultiplicityRuleAccess().getRule();
}
- //BoundSpecification:
- // value=UnlimitedLiteral;
+ // BoundSpecification:
+ // value=UnlimitedLiteral;
public UmlCommonGrammarAccess.BoundSpecificationElements getBoundSpecificationAccess() {
return gaUmlCommon.getBoundSpecificationAccess();
}
-
+
public ParserRule getBoundSpecificationRule() {
return getBoundSpecificationAccess().getRule();
}
- //UnlimitedLiteral returns ecore::EString:
- // INT | "*";
+ // UnlimitedLiteral:
+ // INT | "*";
public UmlCommonGrammarAccess.UnlimitedLiteralElements getUnlimitedLiteralAccess() {
return gaUmlCommon.getUnlimitedLiteralAccess();
}
-
+
public ParserRule getUnlimitedLiteralRule() {
return getUnlimitedLiteralAccess().getRule();
}
- //enum Direction:
- // IN="in" | OUT="out" | INOUT="inout" | RETURN="return";
+ // enum Direction:
+ // IN="in" | OUT="out" | INOUT="inout" | RETURN="return";
public UmlCommonGrammarAccess.DirectionElements getDirectionAccess() {
return gaUmlCommon.getDirectionAccess();
}
-
+
public EnumRule getDirectionRule() {
return getDirectionAccess().getRule();
}
- //terminal ID:
- // ("a".."z" | "A".."Z" | "_") ("a".."z" | "A".."Z" | "_" | "0".."9")* | "\'"->"\'";
+ // terminal ID:
+ // ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')* | '\''->'\'';
public TerminalRule getIDRule() {
- return gaUmlCommon.getIDRule();
- }
+ return gaCommon.getIDRule();
+ }
- //terminal STRING:
- // "\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"";
+ // terminal STRING:
+ // '"' ('\\' ('b' | 't' | 'n' | 'f' | 'r' | '"' | "'" | '\\') | !('\\' | '"'))* '"';
public TerminalRule getSTRINGRule() {
- return gaUmlCommon.getSTRINGRule();
- }
+ return gaCommon.getSTRINGRule();
+ }
- //terminal ML_COMMENT:
- // "/ *" !"@"->"* /";
+ // terminal ML_COMMENT:
+ // '/*' !'@'->'*/';
public TerminalRule getML_COMMENTRule() {
- return gaUmlCommon.getML_COMMENTRule();
- }
+ return gaCommon.getML_COMMENTRule();
+ }
- //terminal SL_COMMENT:
- // "//" !("\n" | "\r" | "@")* ("\r"? "\n")?;
+ // terminal SL_COMMENT:
+ // '//' !('\n' | '\r' | '@')* ('\r'? '\n')?;
public TerminalRule getSL_COMMENTRule() {
- return gaUmlCommon.getSL_COMMENTRule();
- }
+ return gaCommon.getSL_COMMENTRule();
+ }
- //terminal INT returns ecore::EInt:
- // "0".."9"+;
+ // terminal INT returns ecore::EInt:
+ // '0'..'9'+;
public TerminalRule getINTRule() {
- return gaUmlCommon.getINTRule();
- }
-
- ////terminal DOUBLE_COLON : '::' ;
- ////terminal IDENTIFIER : ID ;
- ////terminal IDENTIFIER : ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')* | ('\'' -> '\'') ;
- ////terminal DOCUMENTATION_COMMENT : '/ *' -> '* /' ;
- ////terminal ML_COMMENT : '/°' -> '°/';
- ////terminal SL_COMMENT : '°°' !('\n'|'\r')* ('\r'? '\n')?;
- ////terminal WS : (' '|'\t'|'\r'|'\n')+; terminal INTEGER_VALUE:
- // ("0" | "1".."9" ("_"? "0".."9")*) //DECIMAL
- // // BINARY
- // // HEX
- // // OCT
- // | ("0b" | "0B") "0".."1" ("_"? "0".."1")* | ("0x" | "0X") ("0".."9" | "a".."f" | "A".."F") ("_"? ("0".."9" | "a".."f" |
- // "A".."F"))* | "0" "_"? "0".."7" ("_"? "0".."7")*;
+ return gaCommon.getINTRule();
+ }
+
+ // terminal INTEGER_VALUE:
+ // ('0' | '1'..'9' ('_'? '0'..'9')*) | ('0b' | '0B') '0'..'1' ('_'? '0'..'1')* | ('0x' | '0X') ('0'..'9' | 'a'..'f' |
+ // 'A'..'F') ('_'? ('0'..'9' | 'a'..'f' | 'A'..'F'))* | '0' '_'? '0'..'7' ('_'? '0'..'7')*;
public TerminalRule getINTEGER_VALUERule() {
- return gaUmlCommon.getINTEGER_VALUERule();
- }
+ return gaCommon.getINTEGER_VALUERule();
+ }
- //terminal WS:
- // (" " | "\t" | "\r" | "\n")+;
+ // terminal WS:
+ // ' ' | '\t' | '\r' | '\n'+;
public TerminalRule getWSRule() {
- return gaUmlCommon.getWSRule();
- }
+ return gaTerminals.getWSRule();
+ }
- //terminal ANY_OTHER:
- // .;
+ // terminal ANY_OTHER:
+ // .;
public TerminalRule getANY_OTHERRule() {
- return gaUmlCommon.getANY_OTHERRule();
- }
+ return gaTerminals.getANY_OTHERRule();
+ }
}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/BooleanLiterals.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/BooleanLiterals.java
index 869d06faf6b..2b6968b91ac 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/BooleanLiterals.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/BooleanLiterals.java
@@ -13,211 +13,224 @@ import org.eclipse.emf.common.util.Enumerator;
* A representation of the literals of the enumeration '<em><b>Boolean Literals</b></em>',
* and utility methods for working with them.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getBooleanLiterals()
* @model
* @generated
*/
-public enum BooleanLiterals implements Enumerator
-{
- /**
- * The '<em><b>True</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #TRUE_VALUE
- * @generated
- * @ordered
- */
- TRUE(0, "true", "true"),
-
- /**
- * The '<em><b>False</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #FALSE_VALUE
- * @generated
- * @ordered
- */
- FALSE(1, "false", "false");
-
- /**
- * The '<em><b>True</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>True</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #TRUE
- * @model name="true"
- * @generated
- * @ordered
- */
- public static final int TRUE_VALUE = 0;
-
- /**
- * The '<em><b>False</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>False</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #FALSE
- * @model name="false"
- * @generated
- * @ordered
- */
- public static final int FALSE_VALUE = 1;
-
- /**
- * An array of all the '<em><b>Boolean Literals</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final BooleanLiterals[] VALUES_ARRAY =
- new BooleanLiterals[]
- {
- TRUE,
- FALSE,
- };
-
- /**
- * A public read-only list of all the '<em><b>Boolean Literals</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List<BooleanLiterals> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Boolean Literals</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static BooleanLiterals get(String literal)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- BooleanLiterals result = VALUES_ARRAY[i];
- if (result.toString().equals(literal))
- {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Boolean Literals</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static BooleanLiterals getByName(String name)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- BooleanLiterals result = VALUES_ARRAY[i];
- if (result.getName().equals(name))
- {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Boolean Literals</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static BooleanLiterals get(int value)
- {
- switch (value)
- {
- case TRUE_VALUE: return TRUE;
- case FALSE_VALUE: return FALSE;
- }
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final int value;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String name;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String literal;
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private BooleanLiterals(int value, String name, String literal)
- {
- this.value = value;
- this.name = name;
- this.literal = literal;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getValue()
- {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLiteral()
- {
- return literal;
- }
-
- /**
- * Returns the literal value of the enumerator, which is its string representation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- return literal;
- }
-
-} //BooleanLiterals
+public enum BooleanLiterals implements Enumerator {
+ /**
+ * The '<em><b>TRUE</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #TRUE_VALUE
+ * @generated
+ * @ordered
+ */
+ TRUE(0, "TRUE", "true"),
+
+ /**
+ * The '<em><b>FALSE</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #FALSE_VALUE
+ * @generated
+ * @ordered
+ */
+ FALSE(1, "FALSE", "false");
+
+ /**
+ * The '<em><b>TRUE</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>TRUE</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @see #TRUE
+ * @model literal="true"
+ * @generated
+ * @ordered
+ */
+ public static final int TRUE_VALUE = 0;
+
+ /**
+ * The '<em><b>FALSE</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>FALSE</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @see #FALSE
+ * @model literal="false"
+ * @generated
+ * @ordered
+ */
+ public static final int FALSE_VALUE = 1;
+
+ /**
+ * An array of all the '<em><b>Boolean Literals</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private static final BooleanLiterals[] VALUES_ARRAY = new BooleanLiterals[] {
+ TRUE,
+ FALSE,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>Boolean Literals</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public static final List<BooleanLiterals> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Boolean Literals</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param literal
+ * the literal.
+ * @return the matching enumerator or <code>null</code>.
+ * @generated
+ */
+ public static BooleanLiterals get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ BooleanLiterals result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Boolean Literals</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param name
+ * the name.
+ * @return the matching enumerator or <code>null</code>.
+ * @generated
+ */
+ public static BooleanLiterals getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ BooleanLiterals result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Boolean Literals</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param value
+ * the integer value.
+ * @return the matching enumerator or <code>null</code>.
+ * @generated
+ */
+ public static BooleanLiterals get(int value) {
+ switch (value) {
+ case TRUE_VALUE:
+ return TRUE;
+ case FALSE_VALUE:
+ return FALSE;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private BooleanLiterals(int value, String name, String literal) {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return literal;
+ }
+
+} // BooleanLiterals
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/BooleanValue.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/BooleanValue.java
index f0089e88134..aaa1d0a20f0 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/BooleanValue.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/BooleanValue.java
@@ -10,44 +10,46 @@ package org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter;
*
* <p>
* The following features are supported:
+ * </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanValue#getLiteralBoolean <em>Literal Boolean</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanValue#getLiteralBoolean <em>Literal Boolean</em>}</li>
* </ul>
- * </p>
*
* @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getBooleanValue()
* @model
* @generated
*/
-public interface BooleanValue extends Value
-{
- /**
- * Returns the value of the '<em><b>Literal Boolean</b></em>' attribute.
- * The literals are from the enumeration {@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanLiterals}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Literal Boolean</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Literal Boolean</em>' attribute.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanLiterals
- * @see #setLiteralBoolean(BooleanLiterals)
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getBooleanValue_LiteralBoolean()
- * @model
- * @generated
- */
- BooleanLiterals getLiteralBoolean();
+public interface BooleanValue extends Value {
+ /**
+ * Returns the value of the '<em><b>Literal Boolean</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanLiterals}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Literal Boolean</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Literal Boolean</em>' attribute.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanLiterals
+ * @see #setLiteralBoolean(BooleanLiterals)
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getBooleanValue_LiteralBoolean()
+ * @model
+ * @generated
+ */
+ BooleanLiterals getLiteralBoolean();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanValue#getLiteralBoolean <em>Literal Boolean</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Literal Boolean</em>' attribute.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanLiterals
- * @see #getLiteralBoolean()
- * @generated
- */
- void setLiteralBoolean(BooleanLiterals value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanValue#getLiteralBoolean <em>Literal Boolean</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Literal Boolean</em>' attribute.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanLiterals
+ * @see #getLiteralBoolean()
+ * @generated
+ */
+ void setLiteralBoolean(BooleanLiterals value);
} // BooleanValue
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/DefaultValueRule.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/DefaultValueRule.java
index 23aa4a31f6c..a028bc847a2 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/DefaultValueRule.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/DefaultValueRule.java
@@ -11,41 +11,43 @@ import org.eclipse.emf.ecore.EObject;
*
* <p>
* The following features are supported:
+ * </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DefaultValueRule#getDefault <em>Default</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DefaultValueRule#getDefault <em>Default</em>}</li>
* </ul>
- * </p>
*
* @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getDefaultValueRule()
* @model
* @generated
*/
-public interface DefaultValueRule extends EObject
-{
- /**
- * Returns the value of the '<em><b>Default</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Default</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Default</em>' containment reference.
- * @see #setDefault(Value)
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getDefaultValueRule_Default()
- * @model containment="true"
- * @generated
- */
- Value getDefault();
+public interface DefaultValueRule extends EObject {
+ /**
+ * Returns the value of the '<em><b>Default</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Default</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Default</em>' containment reference.
+ * @see #setDefault(Value)
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getDefaultValueRule_Default()
+ * @model containment="true"
+ * @generated
+ */
+ Value getDefault();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DefaultValueRule#getDefault <em>Default</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Default</em>' containment reference.
- * @see #getDefault()
- * @generated
- */
- void setDefault(Value value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DefaultValueRule#getDefault <em>Default</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Default</em>' containment reference.
+ * @see #getDefault()
+ * @generated
+ */
+ void setDefault(Value value);
} // DefaultValueRule
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/DirectionRule.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/DirectionRule.java
index bea046a846f..90d9775bbb7 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/DirectionRule.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/DirectionRule.java
@@ -3,7 +3,6 @@
package org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter;
import org.eclipse.emf.ecore.EObject;
-
import org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.Direction;
/**
@@ -13,44 +12,46 @@ import org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.Direction;
*
* <p>
* The following features are supported:
+ * </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DirectionRule#getDirection <em>Direction</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DirectionRule#getDirection <em>Direction</em>}</li>
* </ul>
- * </p>
*
* @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getDirectionRule()
* @model
* @generated
*/
-public interface DirectionRule extends EObject
-{
- /**
- * Returns the value of the '<em><b>Direction</b></em>' attribute.
- * The literals are from the enumeration {@link org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.Direction}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Direction</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Direction</em>' attribute.
- * @see org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.Direction
- * @see #setDirection(Direction)
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getDirectionRule_Direction()
- * @model
- * @generated
- */
- Direction getDirection();
+public interface DirectionRule extends EObject {
+ /**
+ * Returns the value of the '<em><b>Direction</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.Direction}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Direction</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Direction</em>' attribute.
+ * @see org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.Direction
+ * @see #setDirection(Direction)
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getDirectionRule_Direction()
+ * @model
+ * @generated
+ */
+ Direction getDirection();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DirectionRule#getDirection <em>Direction</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Direction</em>' attribute.
- * @see org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.Direction
- * @see #getDirection()
- * @generated
- */
- void setDirection(Direction value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DirectionRule#getDirection <em>Direction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Direction</em>' attribute.
+ * @see org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.Direction
+ * @see #getDirection()
+ * @generated
+ */
+ void setDirection(Direction value);
} // DirectionRule
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/EffectKind.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/EffectKind.java
index aa375ff24d1..db7fc41e815 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/EffectKind.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/EffectKind.java
@@ -13,265 +13,284 @@ import org.eclipse.emf.common.util.Enumerator;
* A representation of the literals of the enumeration '<em><b>Effect Kind</b></em>',
* and utility methods for working with them.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getEffectKind()
* @model
* @generated
*/
-public enum EffectKind implements Enumerator
-{
- /**
- * The '<em><b>CREATE</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #CREATE_VALUE
- * @generated
- * @ordered
- */
- CREATE(0, "CREATE", "create"),
+public enum EffectKind implements Enumerator {
+ /**
+ * The '<em><b>CREATE</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #CREATE_VALUE
+ * @generated
+ * @ordered
+ */
+ CREATE(0, "CREATE", "create"),
- /**
- * The '<em><b>READ</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #READ_VALUE
- * @generated
- * @ordered
- */
- READ(1, "READ", "read"),
+ /**
+ * The '<em><b>READ</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #READ_VALUE
+ * @generated
+ * @ordered
+ */
+ READ(1, "READ", "read"),
- /**
- * The '<em><b>UPDATE</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #UPDATE_VALUE
- * @generated
- * @ordered
- */
- UPDATE(2, "UPDATE", "update"),
+ /**
+ * The '<em><b>UPDATE</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #UPDATE_VALUE
+ * @generated
+ * @ordered
+ */
+ UPDATE(2, "UPDATE", "update"),
- /**
- * The '<em><b>DELETE</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #DELETE_VALUE
- * @generated
- * @ordered
- */
- DELETE(3, "DELETE", "delete");
+ /**
+ * The '<em><b>DELETE</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #DELETE_VALUE
+ * @generated
+ * @ordered
+ */
+ DELETE(3, "DELETE", "delete");
- /**
- * The '<em><b>CREATE</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>CREATE</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #CREATE
- * @model literal="create"
- * @generated
- * @ordered
- */
- public static final int CREATE_VALUE = 0;
+ /**
+ * The '<em><b>CREATE</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>CREATE</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @see #CREATE
+ * @model literal="create"
+ * @generated
+ * @ordered
+ */
+ public static final int CREATE_VALUE = 0;
- /**
- * The '<em><b>READ</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>READ</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #READ
- * @model literal="read"
- * @generated
- * @ordered
- */
- public static final int READ_VALUE = 1;
+ /**
+ * The '<em><b>READ</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>READ</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @see #READ
+ * @model literal="read"
+ * @generated
+ * @ordered
+ */
+ public static final int READ_VALUE = 1;
- /**
- * The '<em><b>UPDATE</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>UPDATE</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #UPDATE
- * @model literal="update"
- * @generated
- * @ordered
- */
- public static final int UPDATE_VALUE = 2;
+ /**
+ * The '<em><b>UPDATE</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>UPDATE</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @see #UPDATE
+ * @model literal="update"
+ * @generated
+ * @ordered
+ */
+ public static final int UPDATE_VALUE = 2;
- /**
- * The '<em><b>DELETE</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>DELETE</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #DELETE
- * @model literal="delete"
- * @generated
- * @ordered
- */
- public static final int DELETE_VALUE = 3;
+ /**
+ * The '<em><b>DELETE</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>DELETE</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @see #DELETE
+ * @model literal="delete"
+ * @generated
+ * @ordered
+ */
+ public static final int DELETE_VALUE = 3;
- /**
- * An array of all the '<em><b>Effect Kind</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final EffectKind[] VALUES_ARRAY =
- new EffectKind[]
- {
- CREATE,
- READ,
- UPDATE,
- DELETE,
- };
+ /**
+ * An array of all the '<em><b>Effect Kind</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private static final EffectKind[] VALUES_ARRAY = new EffectKind[] {
+ CREATE,
+ READ,
+ UPDATE,
+ DELETE,
+ };
- /**
- * A public read-only list of all the '<em><b>Effect Kind</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List<EffectKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+ /**
+ * A public read-only list of all the '<em><b>Effect Kind</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public static final List<EffectKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
- /**
- * Returns the '<em><b>Effect Kind</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static EffectKind get(String literal)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- EffectKind result = VALUES_ARRAY[i];
- if (result.toString().equals(literal))
- {
- return result;
- }
- }
- return null;
- }
+ /**
+ * Returns the '<em><b>Effect Kind</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param literal
+ * the literal.
+ * @return the matching enumerator or <code>null</code>.
+ * @generated
+ */
+ public static EffectKind get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ EffectKind result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
- /**
- * Returns the '<em><b>Effect Kind</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static EffectKind getByName(String name)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- EffectKind result = VALUES_ARRAY[i];
- if (result.getName().equals(name))
- {
- return result;
- }
- }
- return null;
- }
+ /**
+ * Returns the '<em><b>Effect Kind</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param name
+ * the name.
+ * @return the matching enumerator or <code>null</code>.
+ * @generated
+ */
+ public static EffectKind getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ EffectKind result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
- /**
- * Returns the '<em><b>Effect Kind</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static EffectKind get(int value)
- {
- switch (value)
- {
- case CREATE_VALUE: return CREATE;
- case READ_VALUE: return READ;
- case UPDATE_VALUE: return UPDATE;
- case DELETE_VALUE: return DELETE;
- }
- return null;
- }
+ /**
+ * Returns the '<em><b>Effect Kind</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param value
+ * the integer value.
+ * @return the matching enumerator or <code>null</code>.
+ * @generated
+ */
+ public static EffectKind get(int value) {
+ switch (value) {
+ case CREATE_VALUE:
+ return CREATE;
+ case READ_VALUE:
+ return READ;
+ case UPDATE_VALUE:
+ return UPDATE;
+ case DELETE_VALUE:
+ return DELETE;
+ }
+ return null;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final int value;
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private final int value;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String name;
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private final String name;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String literal;
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private final String literal;
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EffectKind(int value, String name, String literal)
- {
- this.value = value;
- this.name = name;
- this.literal = literal;
- }
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EffectKind(int value, String name, String literal) {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getValue()
- {
- return value;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public int getValue() {
+ return value;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLiteral()
- {
- return literal;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getLiteral() {
+ return literal;
+ }
- /**
- * Returns the literal value of the enumerator, which is its string representation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- return literal;
- }
-
-} //EffectKind
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return literal;
+ }
+
+} // EffectKind
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/EffectRule.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/EffectRule.java
index 6311922123d..1eebe343336 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/EffectRule.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/EffectRule.java
@@ -11,44 +11,46 @@ import org.eclipse.emf.ecore.EObject;
*
* <p>
* The following features are supported:
+ * </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectRule#getEffectKind <em>Effect Kind</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectRule#getEffectKind <em>Effect Kind</em>}</li>
* </ul>
- * </p>
*
* @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getEffectRule()
* @model
* @generated
*/
-public interface EffectRule extends EObject
-{
- /**
- * Returns the value of the '<em><b>Effect Kind</b></em>' attribute.
- * The literals are from the enumeration {@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectKind}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Effect Kind</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Effect Kind</em>' attribute.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectKind
- * @see #setEffectKind(EffectKind)
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getEffectRule_EffectKind()
- * @model
- * @generated
- */
- EffectKind getEffectKind();
+public interface EffectRule extends EObject {
+ /**
+ * Returns the value of the '<em><b>Effect Kind</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectKind}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Effect Kind</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Effect Kind</em>' attribute.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectKind
+ * @see #setEffectKind(EffectKind)
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getEffectRule_EffectKind()
+ * @model
+ * @generated
+ */
+ EffectKind getEffectKind();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectRule#getEffectKind <em>Effect Kind</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Effect Kind</em>' attribute.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectKind
- * @see #getEffectKind()
- * @generated
- */
- void setEffectKind(EffectKind value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectRule#getEffectKind <em>Effect Kind</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Effect Kind</em>' attribute.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectKind
+ * @see #getEffectKind()
+ * @generated
+ */
+ void setEffectKind(EffectKind value);
} // EffectRule
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/IntValue.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/IntValue.java
index 4141a9b479e..1c0f6d22bd0 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/IntValue.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/IntValue.java
@@ -10,41 +10,43 @@ package org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter;
*
* <p>
* The following features are supported:
+ * </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.IntValue#getLiteralInteger <em>Literal Integer</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.IntValue#getLiteralInteger <em>Literal Integer</em>}</li>
* </ul>
- * </p>
*
* @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getIntValue()
* @model
* @generated
*/
-public interface IntValue extends Value
-{
- /**
- * Returns the value of the '<em><b>Literal Integer</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Literal Integer</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Literal Integer</em>' attribute.
- * @see #setLiteralInteger(int)
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getIntValue_LiteralInteger()
- * @model
- * @generated
- */
- int getLiteralInteger();
+public interface IntValue extends Value {
+ /**
+ * Returns the value of the '<em><b>Literal Integer</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Literal Integer</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Literal Integer</em>' attribute.
+ * @see #setLiteralInteger(int)
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getIntValue_LiteralInteger()
+ * @model
+ * @generated
+ */
+ int getLiteralInteger();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.IntValue#getLiteralInteger <em>Literal Integer</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Literal Integer</em>' attribute.
- * @see #getLiteralInteger()
- * @generated
- */
- void setLiteralInteger(int value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.IntValue#getLiteralInteger <em>Literal Integer</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Literal Integer</em>' attribute.
+ * @see #getLiteralInteger()
+ * @generated
+ */
+ void setLiteralInteger(int value);
} // IntValue
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/ModifierKind.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/ModifierKind.java
index 238495daa23..c62e2aa4d40 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/ModifierKind.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/ModifierKind.java
@@ -13,265 +13,284 @@ import org.eclipse.emf.common.util.Enumerator;
* A representation of the literals of the enumeration '<em><b>Modifier Kind</b></em>',
* and utility methods for working with them.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getModifierKind()
* @model
* @generated
*/
-public enum ModifierKind implements Enumerator
-{
- /**
- * The '<em><b>EXCEPTION</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #EXCEPTION_VALUE
- * @generated
- * @ordered
- */
- EXCEPTION(0, "EXCEPTION", "exception"),
+public enum ModifierKind implements Enumerator {
+ /**
+ * The '<em><b>EXCEPTION</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #EXCEPTION_VALUE
+ * @generated
+ * @ordered
+ */
+ EXCEPTION(0, "EXCEPTION", "exception"),
- /**
- * The '<em><b>STREAM</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #STREAM_VALUE
- * @generated
- * @ordered
- */
- STREAM(1, "STREAM", "stream"),
+ /**
+ * The '<em><b>STREAM</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #STREAM_VALUE
+ * @generated
+ * @ordered
+ */
+ STREAM(1, "STREAM", "stream"),
- /**
- * The '<em><b>ORDERED</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #ORDERED_VALUE
- * @generated
- * @ordered
- */
- ORDERED(2, "ORDERED", "ordered"),
+ /**
+ * The '<em><b>ORDERED</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #ORDERED_VALUE
+ * @generated
+ * @ordered
+ */
+ ORDERED(2, "ORDERED", "ordered"),
- /**
- * The '<em><b>UNIQUE</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #UNIQUE_VALUE
- * @generated
- * @ordered
- */
- UNIQUE(3, "UNIQUE", "unique");
+ /**
+ * The '<em><b>UNIQUE</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #UNIQUE_VALUE
+ * @generated
+ * @ordered
+ */
+ UNIQUE(3, "UNIQUE", "unique");
- /**
- * The '<em><b>EXCEPTION</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>EXCEPTION</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #EXCEPTION
- * @model literal="exception"
- * @generated
- * @ordered
- */
- public static final int EXCEPTION_VALUE = 0;
+ /**
+ * The '<em><b>EXCEPTION</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>EXCEPTION</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @see #EXCEPTION
+ * @model literal="exception"
+ * @generated
+ * @ordered
+ */
+ public static final int EXCEPTION_VALUE = 0;
- /**
- * The '<em><b>STREAM</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>STREAM</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #STREAM
- * @model literal="stream"
- * @generated
- * @ordered
- */
- public static final int STREAM_VALUE = 1;
+ /**
+ * The '<em><b>STREAM</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>STREAM</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @see #STREAM
+ * @model literal="stream"
+ * @generated
+ * @ordered
+ */
+ public static final int STREAM_VALUE = 1;
- /**
- * The '<em><b>ORDERED</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>ORDERED</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #ORDERED
- * @model literal="ordered"
- * @generated
- * @ordered
- */
- public static final int ORDERED_VALUE = 2;
+ /**
+ * The '<em><b>ORDERED</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>ORDERED</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @see #ORDERED
+ * @model literal="ordered"
+ * @generated
+ * @ordered
+ */
+ public static final int ORDERED_VALUE = 2;
- /**
- * The '<em><b>UNIQUE</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>UNIQUE</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #UNIQUE
- * @model literal="unique"
- * @generated
- * @ordered
- */
- public static final int UNIQUE_VALUE = 3;
+ /**
+ * The '<em><b>UNIQUE</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>UNIQUE</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @see #UNIQUE
+ * @model literal="unique"
+ * @generated
+ * @ordered
+ */
+ public static final int UNIQUE_VALUE = 3;
- /**
- * An array of all the '<em><b>Modifier Kind</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final ModifierKind[] VALUES_ARRAY =
- new ModifierKind[]
- {
- EXCEPTION,
- STREAM,
- ORDERED,
- UNIQUE,
- };
+ /**
+ * An array of all the '<em><b>Modifier Kind</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private static final ModifierKind[] VALUES_ARRAY = new ModifierKind[] {
+ EXCEPTION,
+ STREAM,
+ ORDERED,
+ UNIQUE,
+ };
- /**
- * A public read-only list of all the '<em><b>Modifier Kind</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List<ModifierKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+ /**
+ * A public read-only list of all the '<em><b>Modifier Kind</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public static final List<ModifierKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
- /**
- * Returns the '<em><b>Modifier Kind</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static ModifierKind get(String literal)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- ModifierKind result = VALUES_ARRAY[i];
- if (result.toString().equals(literal))
- {
- return result;
- }
- }
- return null;
- }
+ /**
+ * Returns the '<em><b>Modifier Kind</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param literal
+ * the literal.
+ * @return the matching enumerator or <code>null</code>.
+ * @generated
+ */
+ public static ModifierKind get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ ModifierKind result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
- /**
- * Returns the '<em><b>Modifier Kind</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static ModifierKind getByName(String name)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- ModifierKind result = VALUES_ARRAY[i];
- if (result.getName().equals(name))
- {
- return result;
- }
- }
- return null;
- }
+ /**
+ * Returns the '<em><b>Modifier Kind</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param name
+ * the name.
+ * @return the matching enumerator or <code>null</code>.
+ * @generated
+ */
+ public static ModifierKind getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ ModifierKind result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
- /**
- * Returns the '<em><b>Modifier Kind</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static ModifierKind get(int value)
- {
- switch (value)
- {
- case EXCEPTION_VALUE: return EXCEPTION;
- case STREAM_VALUE: return STREAM;
- case ORDERED_VALUE: return ORDERED;
- case UNIQUE_VALUE: return UNIQUE;
- }
- return null;
- }
+ /**
+ * Returns the '<em><b>Modifier Kind</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param value
+ * the integer value.
+ * @return the matching enumerator or <code>null</code>.
+ * @generated
+ */
+ public static ModifierKind get(int value) {
+ switch (value) {
+ case EXCEPTION_VALUE:
+ return EXCEPTION;
+ case STREAM_VALUE:
+ return STREAM;
+ case ORDERED_VALUE:
+ return ORDERED;
+ case UNIQUE_VALUE:
+ return UNIQUE;
+ }
+ return null;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final int value;
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private final int value;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String name;
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private final String name;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String literal;
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private final String literal;
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private ModifierKind(int value, String name, String literal)
- {
- this.value = value;
- this.name = name;
- this.literal = literal;
- }
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private ModifierKind(int value, String name, String literal) {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getValue()
- {
- return value;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public int getValue() {
+ return value;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLiteral()
- {
- return literal;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getLiteral() {
+ return literal;
+ }
- /**
- * Returns the literal value of the enumerator, which is its string representation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- return literal;
- }
-
-} //ModifierKind
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return literal;
+ }
+
+} // ModifierKind
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/ModifierSpecification.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/ModifierSpecification.java
index abe010cc71c..cda09041f22 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/ModifierSpecification.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/ModifierSpecification.java
@@ -11,44 +11,46 @@ import org.eclipse.emf.ecore.EObject;
*
* <p>
* The following features are supported:
+ * </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierSpecification#getValue <em>Value</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierSpecification#getValue <em>Value</em>}</li>
* </ul>
- * </p>
*
* @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getModifierSpecification()
* @model
* @generated
*/
-public interface ModifierSpecification extends EObject
-{
- /**
- * Returns the value of the '<em><b>Value</b></em>' attribute.
- * The literals are from the enumeration {@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierKind}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Value</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Value</em>' attribute.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierKind
- * @see #setValue(ModifierKind)
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getModifierSpecification_Value()
- * @model
- * @generated
- */
- ModifierKind getValue();
+public interface ModifierSpecification extends EObject {
+ /**
+ * Returns the value of the '<em><b>Value</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierKind}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Value</em>' attribute.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierKind
+ * @see #setValue(ModifierKind)
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getModifierSpecification_Value()
+ * @model
+ * @generated
+ */
+ ModifierKind getValue();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierSpecification#getValue <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Value</em>' attribute.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierKind
- * @see #getValue()
- * @generated
- */
- void setValue(ModifierKind value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierSpecification#getValue <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Value</em>' attribute.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierKind
+ * @see #getValue()
+ * @generated
+ */
+ void setValue(ModifierKind value);
} // ModifierSpecification
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/ModifiersRule.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/ModifiersRule.java
index 36c5111e4a9..ad57cc29a47 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/ModifiersRule.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/ModifiersRule.java
@@ -3,7 +3,6 @@
package org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter;
import org.eclipse.emf.common.util.EList;
-
import org.eclipse.emf.ecore.EObject;
/**
@@ -13,31 +12,31 @@ import org.eclipse.emf.ecore.EObject;
*
* <p>
* The following features are supported:
+ * </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifiersRule#getValues <em>Values</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifiersRule#getValues <em>Values</em>}</li>
* </ul>
- * </p>
*
* @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getModifiersRule()
* @model
* @generated
*/
-public interface ModifiersRule extends EObject
-{
- /**
- * Returns the value of the '<em><b>Values</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierSpecification}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Values</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Values</em>' containment reference list.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getModifiersRule_Values()
- * @model containment="true"
- * @generated
- */
- EList<ModifierSpecification> getValues();
+public interface ModifiersRule extends EObject {
+ /**
+ * Returns the value of the '<em><b>Values</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierSpecification}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Values</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Values</em>' containment reference list.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getModifiersRule_Values()
+ * @model containment="true"
+ * @generated
+ */
+ EList<ModifierSpecification> getValues();
} // ModifiersRule
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/NoValue.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/NoValue.java
index 41c0c28f5fc..750a2c7419e 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/NoValue.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/NoValue.java
@@ -13,6 +13,5 @@ package org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter;
* @model
* @generated
*/
-public interface NoValue extends Value
-{
+public interface NoValue extends Value {
} // NoValue
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/NullValue.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/NullValue.java
index 996e5ffa0fd..1b7105ce21d 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/NullValue.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/NullValue.java
@@ -13,6 +13,5 @@ package org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter;
* @model
* @generated
*/
-public interface NullValue extends Value
-{
+public interface NullValue extends Value {
} // NullValue
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/ParameterRule.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/ParameterRule.java
index e99c4685b63..b256b5206d9 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/ParameterRule.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/ParameterRule.java
@@ -3,7 +3,6 @@
package org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter;
import org.eclipse.emf.ecore.EObject;
-
import org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.MultiplicityRule;
import org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.TypeRule;
@@ -14,257 +13,283 @@ import org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.TypeRule;
*
* <p>
* The following features are supported:
+ * </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getVisibility <em>Visibility</em>}</li>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getDirection <em>Direction</em>}</li>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getType <em>Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#isTypeUndefined <em>Type Undefined</em>}</li>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getMultiplicity <em>Multiplicity</em>}</li>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getModifiers <em>Modifiers</em>}</li>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getEffect <em>Effect</em>}</li>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getDefaultValue <em>Default Value</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getVisibility <em>Visibility</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getDirection <em>Direction</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#isTypeUndefined <em>Type Undefined</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getMultiplicity <em>Multiplicity</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getModifiers <em>Modifiers</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getEffect <em>Effect</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getDefaultValue <em>Default Value</em>}</li>
* </ul>
- * </p>
*
* @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getParameterRule()
* @model
* @generated
*/
-public interface ParameterRule extends EObject
-{
- /**
- * Returns the value of the '<em><b>Visibility</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Visibility</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Visibility</em>' containment reference.
- * @see #setVisibility(VisibilityRule)
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getParameterRule_Visibility()
- * @model containment="true"
- * @generated
- */
- VisibilityRule getVisibility();
+public interface ParameterRule extends EObject {
+ /**
+ * Returns the value of the '<em><b>Visibility</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Visibility</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Visibility</em>' containment reference.
+ * @see #setVisibility(VisibilityRule)
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getParameterRule_Visibility()
+ * @model containment="true"
+ * @generated
+ */
+ VisibilityRule getVisibility();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getVisibility <em>Visibility</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Visibility</em>' containment reference.
- * @see #getVisibility()
- * @generated
- */
- void setVisibility(VisibilityRule value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getVisibility <em>Visibility</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Visibility</em>' containment reference.
+ * @see #getVisibility()
+ * @generated
+ */
+ void setVisibility(VisibilityRule value);
- /**
- * Returns the value of the '<em><b>Direction</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Direction</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Direction</em>' containment reference.
- * @see #setDirection(DirectionRule)
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getParameterRule_Direction()
- * @model containment="true"
- * @generated
- */
- DirectionRule getDirection();
+ /**
+ * Returns the value of the '<em><b>Direction</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Direction</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Direction</em>' containment reference.
+ * @see #setDirection(DirectionRule)
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getParameterRule_Direction()
+ * @model containment="true"
+ * @generated
+ */
+ DirectionRule getDirection();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getDirection <em>Direction</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Direction</em>' containment reference.
- * @see #getDirection()
- * @generated
- */
- void setDirection(DirectionRule value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getDirection <em>Direction</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Direction</em>' containment reference.
+ * @see #getDirection()
+ * @generated
+ */
+ void setDirection(DirectionRule value);
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getParameterRule_Name()
- * @model
- * @generated
- */
- String getName();
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getParameterRule_Name()
+ * @model
+ * @generated
+ */
+ String getName();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
- /**
- * Returns the value of the '<em><b>Type</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Type</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Type</em>' containment reference.
- * @see #setType(TypeRule)
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getParameterRule_Type()
- * @model containment="true"
- * @generated
- */
- TypeRule getType();
+ /**
+ * Returns the value of the '<em><b>Type</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Type</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Type</em>' containment reference.
+ * @see #setType(TypeRule)
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getParameterRule_Type()
+ * @model containment="true"
+ * @generated
+ */
+ TypeRule getType();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getType <em>Type</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Type</em>' containment reference.
- * @see #getType()
- * @generated
- */
- void setType(TypeRule value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getType <em>Type</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Type</em>' containment reference.
+ * @see #getType()
+ * @generated
+ */
+ void setType(TypeRule value);
- /**
- * Returns the value of the '<em><b>Type Undefined</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Type Undefined</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Type Undefined</em>' attribute.
- * @see #setTypeUndefined(boolean)
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getParameterRule_TypeUndefined()
- * @model
- * @generated
- */
- boolean isTypeUndefined();
+ /**
+ * Returns the value of the '<em><b>Type Undefined</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Type Undefined</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Type Undefined</em>' attribute.
+ * @see #setTypeUndefined(boolean)
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getParameterRule_TypeUndefined()
+ * @model
+ * @generated
+ */
+ boolean isTypeUndefined();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#isTypeUndefined <em>Type Undefined</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Type Undefined</em>' attribute.
- * @see #isTypeUndefined()
- * @generated
- */
- void setTypeUndefined(boolean value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#isTypeUndefined <em>Type Undefined</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Type Undefined</em>' attribute.
+ * @see #isTypeUndefined()
+ * @generated
+ */
+ void setTypeUndefined(boolean value);
- /**
- * Returns the value of the '<em><b>Multiplicity</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Multiplicity</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Multiplicity</em>' containment reference.
- * @see #setMultiplicity(MultiplicityRule)
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getParameterRule_Multiplicity()
- * @model containment="true"
- * @generated
- */
- MultiplicityRule getMultiplicity();
+ /**
+ * Returns the value of the '<em><b>Multiplicity</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Multiplicity</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Multiplicity</em>' containment reference.
+ * @see #setMultiplicity(MultiplicityRule)
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getParameterRule_Multiplicity()
+ * @model containment="true"
+ * @generated
+ */
+ MultiplicityRule getMultiplicity();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getMultiplicity <em>Multiplicity</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Multiplicity</em>' containment reference.
- * @see #getMultiplicity()
- * @generated
- */
- void setMultiplicity(MultiplicityRule value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getMultiplicity <em>Multiplicity</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Multiplicity</em>' containment reference.
+ * @see #getMultiplicity()
+ * @generated
+ */
+ void setMultiplicity(MultiplicityRule value);
- /**
- * Returns the value of the '<em><b>Modifiers</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Modifiers</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Modifiers</em>' containment reference.
- * @see #setModifiers(ModifiersRule)
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getParameterRule_Modifiers()
- * @model containment="true"
- * @generated
- */
- ModifiersRule getModifiers();
+ /**
+ * Returns the value of the '<em><b>Modifiers</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Modifiers</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Modifiers</em>' containment reference.
+ * @see #setModifiers(ModifiersRule)
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getParameterRule_Modifiers()
+ * @model containment="true"
+ * @generated
+ */
+ ModifiersRule getModifiers();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getModifiers <em>Modifiers</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Modifiers</em>' containment reference.
- * @see #getModifiers()
- * @generated
- */
- void setModifiers(ModifiersRule value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getModifiers <em>Modifiers</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Modifiers</em>' containment reference.
+ * @see #getModifiers()
+ * @generated
+ */
+ void setModifiers(ModifiersRule value);
- /**
- * Returns the value of the '<em><b>Effect</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Effect</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Effect</em>' containment reference.
- * @see #setEffect(EffectRule)
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getParameterRule_Effect()
- * @model containment="true"
- * @generated
- */
- EffectRule getEffect();
+ /**
+ * Returns the value of the '<em><b>Effect</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Effect</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Effect</em>' containment reference.
+ * @see #setEffect(EffectRule)
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getParameterRule_Effect()
+ * @model containment="true"
+ * @generated
+ */
+ EffectRule getEffect();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getEffect <em>Effect</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Effect</em>' containment reference.
- * @see #getEffect()
- * @generated
- */
- void setEffect(EffectRule value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getEffect <em>Effect</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Effect</em>' containment reference.
+ * @see #getEffect()
+ * @generated
+ */
+ void setEffect(EffectRule value);
- /**
- * Returns the value of the '<em><b>Default Value</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Default Value</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Default Value</em>' containment reference.
- * @see #setDefaultValue(DefaultValueRule)
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getParameterRule_DefaultValue()
- * @model containment="true"
- * @generated
- */
- DefaultValueRule getDefaultValue();
+ /**
+ * Returns the value of the '<em><b>Default Value</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Default Value</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Default Value</em>' containment reference.
+ * @see #setDefaultValue(DefaultValueRule)
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getParameterRule_DefaultValue()
+ * @model containment="true"
+ * @generated
+ */
+ DefaultValueRule getDefaultValue();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getDefaultValue <em>Default Value</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Default Value</em>' containment reference.
- * @see #getDefaultValue()
- * @generated
- */
- void setDefaultValue(DefaultValueRule value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getDefaultValue <em>Default Value</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Default Value</em>' containment reference.
+ * @see #getDefaultValue()
+ * @generated
+ */
+ void setDefaultValue(DefaultValueRule value);
} // ParameterRule
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/RealValue.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/RealValue.java
index f84c3d15483..ccae0176e4d 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/RealValue.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/RealValue.java
@@ -10,68 +10,73 @@ package org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter;
*
* <p>
* The following features are supported:
+ * </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue#getInteger <em>Integer</em>}</li>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue#getFraction <em>Fraction</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue#getInteger <em>Integer</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue#getFraction <em>Fraction</em>}</li>
* </ul>
- * </p>
*
* @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getRealValue()
* @model
* @generated
*/
-public interface RealValue extends Value
-{
- /**
- * Returns the value of the '<em><b>Integer</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Integer</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Integer</em>' attribute.
- * @see #setInteger(int)
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getRealValue_Integer()
- * @model
- * @generated
- */
- int getInteger();
+public interface RealValue extends Value {
+ /**
+ * Returns the value of the '<em><b>Integer</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Integer</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Integer</em>' attribute.
+ * @see #setInteger(int)
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getRealValue_Integer()
+ * @model
+ * @generated
+ */
+ int getInteger();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue#getInteger <em>Integer</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Integer</em>' attribute.
- * @see #getInteger()
- * @generated
- */
- void setInteger(int value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue#getInteger <em>Integer</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Integer</em>' attribute.
+ * @see #getInteger()
+ * @generated
+ */
+ void setInteger(int value);
- /**
- * Returns the value of the '<em><b>Fraction</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Fraction</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Fraction</em>' attribute.
- * @see #setFraction(int)
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getRealValue_Fraction()
- * @model
- * @generated
- */
- int getFraction();
+ /**
+ * Returns the value of the '<em><b>Fraction</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Fraction</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Fraction</em>' attribute.
+ * @see #setFraction(int)
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getRealValue_Fraction()
+ * @model
+ * @generated
+ */
+ int getFraction();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue#getFraction <em>Fraction</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Fraction</em>' attribute.
- * @see #getFraction()
- * @generated
- */
- void setFraction(int value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue#getFraction <em>Fraction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Fraction</em>' attribute.
+ * @see #getFraction()
+ * @generated
+ */
+ void setFraction(int value);
} // RealValue
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/StringValue.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/StringValue.java
index 4c70f328bf3..c589154c5d0 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/StringValue.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/StringValue.java
@@ -10,41 +10,43 @@ package org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter;
*
* <p>
* The following features are supported:
+ * </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.StringValue#getLiteralString <em>Literal String</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.StringValue#getLiteralString <em>Literal String</em>}</li>
* </ul>
- * </p>
*
* @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getStringValue()
* @model
* @generated
*/
-public interface StringValue extends Value
-{
- /**
- * Returns the value of the '<em><b>Literal String</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Literal String</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Literal String</em>' attribute.
- * @see #setLiteralString(String)
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getStringValue_LiteralString()
- * @model
- * @generated
- */
- String getLiteralString();
+public interface StringValue extends Value {
+ /**
+ * Returns the value of the '<em><b>Literal String</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Literal String</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Literal String</em>' attribute.
+ * @see #setLiteralString(String)
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getStringValue_LiteralString()
+ * @model
+ * @generated
+ */
+ String getLiteralString();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.StringValue#getLiteralString <em>Literal String</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Literal String</em>' attribute.
- * @see #getLiteralString()
- * @generated
- */
- void setLiteralString(String value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.StringValue#getLiteralString <em>Literal String</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Literal String</em>' attribute.
+ * @see #getLiteralString()
+ * @generated
+ */
+ void setLiteralString(String value);
} // StringValue
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/UmlParameterFactory.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/UmlParameterFactory.java
index 8575601207f..44611e3f3cd 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/UmlParameterFactory.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/UmlParameterFactory.java
@@ -9,152 +9,168 @@ import org.eclipse.emf.ecore.EFactory;
* The <b>Factory</b> for the model.
* It provides a create method for each non-abstract class of the model.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage
* @generated
*/
-public interface UmlParameterFactory extends EFactory
-{
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- UmlParameterFactory eINSTANCE = org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Parameter Rule</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Parameter Rule</em>'.
- * @generated
- */
- ParameterRule createParameterRule();
-
- /**
- * Returns a new object of class '<em>Modifiers Rule</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Modifiers Rule</em>'.
- * @generated
- */
- ModifiersRule createModifiersRule();
-
- /**
- * Returns a new object of class '<em>Modifier Specification</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Modifier Specification</em>'.
- * @generated
- */
- ModifierSpecification createModifierSpecification();
-
- /**
- * Returns a new object of class '<em>Visibility Rule</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Visibility Rule</em>'.
- * @generated
- */
- VisibilityRule createVisibilityRule();
-
- /**
- * Returns a new object of class '<em>Direction Rule</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Direction Rule</em>'.
- * @generated
- */
- DirectionRule createDirectionRule();
-
- /**
- * Returns a new object of class '<em>Effect Rule</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Effect Rule</em>'.
- * @generated
- */
- EffectRule createEffectRule();
-
- /**
- * Returns a new object of class '<em>Default Value Rule</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Default Value Rule</em>'.
- * @generated
- */
- DefaultValueRule createDefaultValueRule();
-
- /**
- * Returns a new object of class '<em>Value</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Value</em>'.
- * @generated
- */
- Value createValue();
-
- /**
- * Returns a new object of class '<em>Int Value</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Int Value</em>'.
- * @generated
- */
- IntValue createIntValue();
-
- /**
- * Returns a new object of class '<em>String Value</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>String Value</em>'.
- * @generated
- */
- StringValue createStringValue();
-
- /**
- * Returns a new object of class '<em>Boolean Value</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Boolean Value</em>'.
- * @generated
- */
- BooleanValue createBooleanValue();
-
- /**
- * Returns a new object of class '<em>Real Value</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Real Value</em>'.
- * @generated
- */
- RealValue createRealValue();
-
- /**
- * Returns a new object of class '<em>Null Value</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Null Value</em>'.
- * @generated
- */
- NullValue createNullValue();
-
- /**
- * Returns a new object of class '<em>No Value</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>No Value</em>'.
- * @generated
- */
- NoValue createNoValue();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- UmlParameterPackage getUmlParameterPackage();
-
-} //UmlParameterFactory
+public interface UmlParameterFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ UmlParameterFactory eINSTANCE = org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Parameter Rule</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Parameter Rule</em>'.
+ * @generated
+ */
+ ParameterRule createParameterRule();
+
+ /**
+ * Returns a new object of class '<em>Modifiers Rule</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Modifiers Rule</em>'.
+ * @generated
+ */
+ ModifiersRule createModifiersRule();
+
+ /**
+ * Returns a new object of class '<em>Modifier Specification</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Modifier Specification</em>'.
+ * @generated
+ */
+ ModifierSpecification createModifierSpecification();
+
+ /**
+ * Returns a new object of class '<em>Visibility Rule</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Visibility Rule</em>'.
+ * @generated
+ */
+ VisibilityRule createVisibilityRule();
+
+ /**
+ * Returns a new object of class '<em>Direction Rule</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Direction Rule</em>'.
+ * @generated
+ */
+ DirectionRule createDirectionRule();
+
+ /**
+ * Returns a new object of class '<em>Effect Rule</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Effect Rule</em>'.
+ * @generated
+ */
+ EffectRule createEffectRule();
+
+ /**
+ * Returns a new object of class '<em>Default Value Rule</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Default Value Rule</em>'.
+ * @generated
+ */
+ DefaultValueRule createDefaultValueRule();
+
+ /**
+ * Returns a new object of class '<em>Value</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Value</em>'.
+ * @generated
+ */
+ Value createValue();
+
+ /**
+ * Returns a new object of class '<em>Int Value</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Int Value</em>'.
+ * @generated
+ */
+ IntValue createIntValue();
+
+ /**
+ * Returns a new object of class '<em>String Value</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>String Value</em>'.
+ * @generated
+ */
+ StringValue createStringValue();
+
+ /**
+ * Returns a new object of class '<em>Boolean Value</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Boolean Value</em>'.
+ * @generated
+ */
+ BooleanValue createBooleanValue();
+
+ /**
+ * Returns a new object of class '<em>Real Value</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Real Value</em>'.
+ * @generated
+ */
+ RealValue createRealValue();
+
+ /**
+ * Returns a new object of class '<em>Null Value</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Null Value</em>'.
+ * @generated
+ */
+ NullValue createNullValue();
+
+ /**
+ * Returns a new object of class '<em>No Value</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>No Value</em>'.
+ * @generated
+ */
+ NoValue createNoValue();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the package supported by this factory.
+ * @generated
+ */
+ UmlParameterPackage getUmlParameterPackage();
+
+} // UmlParameterFactory
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/UmlParameterPackage.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/UmlParameterPackage.java
index 7cb3b29562f..498bd0a9425 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/UmlParameterPackage.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/UmlParameterPackage.java
@@ -13,1270 +13,1400 @@ import org.eclipse.emf.ecore.EReference;
* The <b>Package</b> for the model.
* It contains accessors for the meta objects to represent
* <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterFactory
* @model kind="package"
* @generated
*/
-public interface UmlParameterPackage extends EPackage
-{
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "umlParameter";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/papyrus/uml/textedit/parameter/xtext/UmlParameter";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "umlParameter";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- UmlParameterPackage eINSTANCE = org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ParameterRuleImpl <em>Parameter Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ParameterRuleImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getParameterRule()
- * @generated
- */
- int PARAMETER_RULE = 0;
-
- /**
- * The feature id for the '<em><b>Visibility</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PARAMETER_RULE__VISIBILITY = 0;
-
- /**
- * The feature id for the '<em><b>Direction</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PARAMETER_RULE__DIRECTION = 1;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PARAMETER_RULE__NAME = 2;
-
- /**
- * The feature id for the '<em><b>Type</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PARAMETER_RULE__TYPE = 3;
-
- /**
- * The feature id for the '<em><b>Type Undefined</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PARAMETER_RULE__TYPE_UNDEFINED = 4;
-
- /**
- * The feature id for the '<em><b>Multiplicity</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PARAMETER_RULE__MULTIPLICITY = 5;
-
- /**
- * The feature id for the '<em><b>Modifiers</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PARAMETER_RULE__MODIFIERS = 6;
-
- /**
- * The feature id for the '<em><b>Effect</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PARAMETER_RULE__EFFECT = 7;
-
- /**
- * The feature id for the '<em><b>Default Value</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PARAMETER_RULE__DEFAULT_VALUE = 8;
-
- /**
- * The number of structural features of the '<em>Parameter Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PARAMETER_RULE_FEATURE_COUNT = 9;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ModifiersRuleImpl <em>Modifiers Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ModifiersRuleImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getModifiersRule()
- * @generated
- */
- int MODIFIERS_RULE = 1;
-
- /**
- * The feature id for the '<em><b>Values</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MODIFIERS_RULE__VALUES = 0;
-
- /**
- * The number of structural features of the '<em>Modifiers Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MODIFIERS_RULE_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ModifierSpecificationImpl <em>Modifier Specification</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ModifierSpecificationImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getModifierSpecification()
- * @generated
- */
- int MODIFIER_SPECIFICATION = 2;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MODIFIER_SPECIFICATION__VALUE = 0;
-
- /**
- * The number of structural features of the '<em>Modifier Specification</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MODIFIER_SPECIFICATION_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.VisibilityRuleImpl <em>Visibility Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.VisibilityRuleImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getVisibilityRule()
- * @generated
- */
- int VISIBILITY_RULE = 3;
-
- /**
- * The feature id for the '<em><b>Visibility</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int VISIBILITY_RULE__VISIBILITY = 0;
-
- /**
- * The number of structural features of the '<em>Visibility Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int VISIBILITY_RULE_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.DirectionRuleImpl <em>Direction Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.DirectionRuleImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getDirectionRule()
- * @generated
- */
- int DIRECTION_RULE = 4;
-
- /**
- * The feature id for the '<em><b>Direction</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DIRECTION_RULE__DIRECTION = 0;
-
- /**
- * The number of structural features of the '<em>Direction Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DIRECTION_RULE_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.EffectRuleImpl <em>Effect Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.EffectRuleImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getEffectRule()
- * @generated
- */
- int EFFECT_RULE = 5;
-
- /**
- * The feature id for the '<em><b>Effect Kind</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EFFECT_RULE__EFFECT_KIND = 0;
-
- /**
- * The number of structural features of the '<em>Effect Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EFFECT_RULE_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.DefaultValueRuleImpl <em>Default Value Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.DefaultValueRuleImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getDefaultValueRule()
- * @generated
- */
- int DEFAULT_VALUE_RULE = 6;
-
- /**
- * The feature id for the '<em><b>Default</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DEFAULT_VALUE_RULE__DEFAULT = 0;
-
- /**
- * The number of structural features of the '<em>Default Value Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DEFAULT_VALUE_RULE_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ValueImpl <em>Value</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ValueImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getValue()
- * @generated
- */
- int VALUE = 7;
-
- /**
- * The number of structural features of the '<em>Value</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int VALUE_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.IntValueImpl <em>Int Value</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.IntValueImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getIntValue()
- * @generated
- */
- int INT_VALUE = 8;
-
- /**
- * The feature id for the '<em><b>Literal Integer</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INT_VALUE__LITERAL_INTEGER = VALUE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Int Value</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INT_VALUE_FEATURE_COUNT = VALUE_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.StringValueImpl <em>String Value</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.StringValueImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getStringValue()
- * @generated
- */
- int STRING_VALUE = 9;
-
- /**
- * The feature id for the '<em><b>Literal String</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int STRING_VALUE__LITERAL_STRING = VALUE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>String Value</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int STRING_VALUE_FEATURE_COUNT = VALUE_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.BooleanValueImpl <em>Boolean Value</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.BooleanValueImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getBooleanValue()
- * @generated
- */
- int BOOLEAN_VALUE = 10;
-
- /**
- * The feature id for the '<em><b>Literal Boolean</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BOOLEAN_VALUE__LITERAL_BOOLEAN = VALUE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Boolean Value</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BOOLEAN_VALUE_FEATURE_COUNT = VALUE_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.RealValueImpl <em>Real Value</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.RealValueImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getRealValue()
- * @generated
- */
- int REAL_VALUE = 11;
-
- /**
- * The feature id for the '<em><b>Integer</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REAL_VALUE__INTEGER = VALUE_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Fraction</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REAL_VALUE__FRACTION = VALUE_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Real Value</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REAL_VALUE_FEATURE_COUNT = VALUE_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.NullValueImpl <em>Null Value</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.NullValueImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getNullValue()
- * @generated
- */
- int NULL_VALUE = 12;
-
- /**
- * The number of structural features of the '<em>Null Value</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NULL_VALUE_FEATURE_COUNT = VALUE_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.NoValueImpl <em>No Value</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.NoValueImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getNoValue()
- * @generated
- */
- int NO_VALUE = 13;
-
- /**
- * The number of structural features of the '<em>No Value</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NO_VALUE_FEATURE_COUNT = VALUE_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierKind <em>Modifier Kind</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierKind
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getModifierKind()
- * @generated
- */
- int MODIFIER_KIND = 14;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectKind <em>Effect Kind</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectKind
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getEffectKind()
- * @generated
- */
- int EFFECT_KIND = 15;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanLiterals <em>Boolean Literals</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanLiterals
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getBooleanLiterals()
- * @generated
- */
- int BOOLEAN_LITERALS = 16;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule <em>Parameter Rule</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Parameter Rule</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule
- * @generated
- */
- EClass getParameterRule();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getVisibility <em>Visibility</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Visibility</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getVisibility()
- * @see #getParameterRule()
- * @generated
- */
- EReference getParameterRule_Visibility();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getDirection <em>Direction</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Direction</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getDirection()
- * @see #getParameterRule()
- * @generated
- */
- EReference getParameterRule_Direction();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getName()
- * @see #getParameterRule()
- * @generated
- */
- EAttribute getParameterRule_Name();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getType <em>Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Type</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getType()
- * @see #getParameterRule()
- * @generated
- */
- EReference getParameterRule_Type();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#isTypeUndefined <em>Type Undefined</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Type Undefined</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#isTypeUndefined()
- * @see #getParameterRule()
- * @generated
- */
- EAttribute getParameterRule_TypeUndefined();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getMultiplicity <em>Multiplicity</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Multiplicity</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getMultiplicity()
- * @see #getParameterRule()
- * @generated
- */
- EReference getParameterRule_Multiplicity();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getModifiers <em>Modifiers</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Modifiers</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getModifiers()
- * @see #getParameterRule()
- * @generated
- */
- EReference getParameterRule_Modifiers();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getEffect <em>Effect</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Effect</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getEffect()
- * @see #getParameterRule()
- * @generated
- */
- EReference getParameterRule_Effect();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getDefaultValue <em>Default Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Default Value</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getDefaultValue()
- * @see #getParameterRule()
- * @generated
- */
- EReference getParameterRule_DefaultValue();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifiersRule <em>Modifiers Rule</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Modifiers Rule</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifiersRule
- * @generated
- */
- EClass getModifiersRule();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifiersRule#getValues <em>Values</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Values</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifiersRule#getValues()
- * @see #getModifiersRule()
- * @generated
- */
- EReference getModifiersRule_Values();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierSpecification <em>Modifier Specification</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Modifier Specification</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierSpecification
- * @generated
- */
- EClass getModifierSpecification();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierSpecification#getValue <em>Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Value</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierSpecification#getValue()
- * @see #getModifierSpecification()
- * @generated
- */
- EAttribute getModifierSpecification_Value();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.VisibilityRule <em>Visibility Rule</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Visibility Rule</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.VisibilityRule
- * @generated
- */
- EClass getVisibilityRule();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.VisibilityRule#getVisibility <em>Visibility</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Visibility</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.VisibilityRule#getVisibility()
- * @see #getVisibilityRule()
- * @generated
- */
- EAttribute getVisibilityRule_Visibility();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DirectionRule <em>Direction Rule</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Direction Rule</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DirectionRule
- * @generated
- */
- EClass getDirectionRule();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DirectionRule#getDirection <em>Direction</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Direction</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DirectionRule#getDirection()
- * @see #getDirectionRule()
- * @generated
- */
- EAttribute getDirectionRule_Direction();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectRule <em>Effect Rule</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Effect Rule</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectRule
- * @generated
- */
- EClass getEffectRule();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectRule#getEffectKind <em>Effect Kind</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Effect Kind</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectRule#getEffectKind()
- * @see #getEffectRule()
- * @generated
- */
- EAttribute getEffectRule_EffectKind();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DefaultValueRule <em>Default Value Rule</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Default Value Rule</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DefaultValueRule
- * @generated
- */
- EClass getDefaultValueRule();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DefaultValueRule#getDefault <em>Default</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Default</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DefaultValueRule#getDefault()
- * @see #getDefaultValueRule()
- * @generated
- */
- EReference getDefaultValueRule_Default();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.Value <em>Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Value</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.Value
- * @generated
- */
- EClass getValue();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.IntValue <em>Int Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Int Value</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.IntValue
- * @generated
- */
- EClass getIntValue();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.IntValue#getLiteralInteger <em>Literal Integer</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Literal Integer</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.IntValue#getLiteralInteger()
- * @see #getIntValue()
- * @generated
- */
- EAttribute getIntValue_LiteralInteger();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.StringValue <em>String Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>String Value</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.StringValue
- * @generated
- */
- EClass getStringValue();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.StringValue#getLiteralString <em>Literal String</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Literal String</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.StringValue#getLiteralString()
- * @see #getStringValue()
- * @generated
- */
- EAttribute getStringValue_LiteralString();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanValue <em>Boolean Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Boolean Value</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanValue
- * @generated
- */
- EClass getBooleanValue();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanValue#getLiteralBoolean <em>Literal Boolean</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Literal Boolean</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanValue#getLiteralBoolean()
- * @see #getBooleanValue()
- * @generated
- */
- EAttribute getBooleanValue_LiteralBoolean();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue <em>Real Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Real Value</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue
- * @generated
- */
- EClass getRealValue();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue#getInteger <em>Integer</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Integer</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue#getInteger()
- * @see #getRealValue()
- * @generated
- */
- EAttribute getRealValue_Integer();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue#getFraction <em>Fraction</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Fraction</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue#getFraction()
- * @see #getRealValue()
- * @generated
- */
- EAttribute getRealValue_Fraction();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.NullValue <em>Null Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Null Value</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.NullValue
- * @generated
- */
- EClass getNullValue();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.NoValue <em>No Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>No Value</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.NoValue
- * @generated
- */
- EClass getNoValue();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierKind <em>Modifier Kind</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for enum '<em>Modifier Kind</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierKind
- * @generated
- */
- EEnum getModifierKind();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectKind <em>Effect Kind</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for enum '<em>Effect Kind</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectKind
- * @generated
- */
- EEnum getEffectKind();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanLiterals <em>Boolean Literals</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for enum '<em>Boolean Literals</em>'.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanLiterals
- * @generated
- */
- EEnum getBooleanLiterals();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the factory that creates the instances of the model.
- * @generated
- */
- UmlParameterFactory getUmlParameterFactory();
-
- /**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @generated
- */
- interface Literals
- {
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ParameterRuleImpl <em>Parameter Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ParameterRuleImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getParameterRule()
- * @generated
- */
- EClass PARAMETER_RULE = eINSTANCE.getParameterRule();
-
- /**
- * The meta object literal for the '<em><b>Visibility</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PARAMETER_RULE__VISIBILITY = eINSTANCE.getParameterRule_Visibility();
-
- /**
- * The meta object literal for the '<em><b>Direction</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PARAMETER_RULE__DIRECTION = eINSTANCE.getParameterRule_Direction();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PARAMETER_RULE__NAME = eINSTANCE.getParameterRule_Name();
-
- /**
- * The meta object literal for the '<em><b>Type</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PARAMETER_RULE__TYPE = eINSTANCE.getParameterRule_Type();
-
- /**
- * The meta object literal for the '<em><b>Type Undefined</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PARAMETER_RULE__TYPE_UNDEFINED = eINSTANCE.getParameterRule_TypeUndefined();
-
- /**
- * The meta object literal for the '<em><b>Multiplicity</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PARAMETER_RULE__MULTIPLICITY = eINSTANCE.getParameterRule_Multiplicity();
-
- /**
- * The meta object literal for the '<em><b>Modifiers</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PARAMETER_RULE__MODIFIERS = eINSTANCE.getParameterRule_Modifiers();
-
- /**
- * The meta object literal for the '<em><b>Effect</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PARAMETER_RULE__EFFECT = eINSTANCE.getParameterRule_Effect();
-
- /**
- * The meta object literal for the '<em><b>Default Value</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PARAMETER_RULE__DEFAULT_VALUE = eINSTANCE.getParameterRule_DefaultValue();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ModifiersRuleImpl <em>Modifiers Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ModifiersRuleImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getModifiersRule()
- * @generated
- */
- EClass MODIFIERS_RULE = eINSTANCE.getModifiersRule();
-
- /**
- * The meta object literal for the '<em><b>Values</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference MODIFIERS_RULE__VALUES = eINSTANCE.getModifiersRule_Values();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ModifierSpecificationImpl <em>Modifier Specification</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ModifierSpecificationImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getModifierSpecification()
- * @generated
- */
- EClass MODIFIER_SPECIFICATION = eINSTANCE.getModifierSpecification();
-
- /**
- * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute MODIFIER_SPECIFICATION__VALUE = eINSTANCE.getModifierSpecification_Value();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.VisibilityRuleImpl <em>Visibility Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.VisibilityRuleImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getVisibilityRule()
- * @generated
- */
- EClass VISIBILITY_RULE = eINSTANCE.getVisibilityRule();
-
- /**
- * The meta object literal for the '<em><b>Visibility</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute VISIBILITY_RULE__VISIBILITY = eINSTANCE.getVisibilityRule_Visibility();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.DirectionRuleImpl <em>Direction Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.DirectionRuleImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getDirectionRule()
- * @generated
- */
- EClass DIRECTION_RULE = eINSTANCE.getDirectionRule();
-
- /**
- * The meta object literal for the '<em><b>Direction</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute DIRECTION_RULE__DIRECTION = eINSTANCE.getDirectionRule_Direction();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.EffectRuleImpl <em>Effect Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.EffectRuleImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getEffectRule()
- * @generated
- */
- EClass EFFECT_RULE = eINSTANCE.getEffectRule();
-
- /**
- * The meta object literal for the '<em><b>Effect Kind</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute EFFECT_RULE__EFFECT_KIND = eINSTANCE.getEffectRule_EffectKind();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.DefaultValueRuleImpl <em>Default Value Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.DefaultValueRuleImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getDefaultValueRule()
- * @generated
- */
- EClass DEFAULT_VALUE_RULE = eINSTANCE.getDefaultValueRule();
-
- /**
- * The meta object literal for the '<em><b>Default</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference DEFAULT_VALUE_RULE__DEFAULT = eINSTANCE.getDefaultValueRule_Default();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ValueImpl <em>Value</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ValueImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getValue()
- * @generated
- */
- EClass VALUE = eINSTANCE.getValue();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.IntValueImpl <em>Int Value</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.IntValueImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getIntValue()
- * @generated
- */
- EClass INT_VALUE = eINSTANCE.getIntValue();
-
- /**
- * The meta object literal for the '<em><b>Literal Integer</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute INT_VALUE__LITERAL_INTEGER = eINSTANCE.getIntValue_LiteralInteger();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.StringValueImpl <em>String Value</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.StringValueImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getStringValue()
- * @generated
- */
- EClass STRING_VALUE = eINSTANCE.getStringValue();
-
- /**
- * The meta object literal for the '<em><b>Literal String</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute STRING_VALUE__LITERAL_STRING = eINSTANCE.getStringValue_LiteralString();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.BooleanValueImpl <em>Boolean Value</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.BooleanValueImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getBooleanValue()
- * @generated
- */
- EClass BOOLEAN_VALUE = eINSTANCE.getBooleanValue();
-
- /**
- * The meta object literal for the '<em><b>Literal Boolean</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute BOOLEAN_VALUE__LITERAL_BOOLEAN = eINSTANCE.getBooleanValue_LiteralBoolean();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.RealValueImpl <em>Real Value</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.RealValueImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getRealValue()
- * @generated
- */
- EClass REAL_VALUE = eINSTANCE.getRealValue();
-
- /**
- * The meta object literal for the '<em><b>Integer</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute REAL_VALUE__INTEGER = eINSTANCE.getRealValue_Integer();
-
- /**
- * The meta object literal for the '<em><b>Fraction</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute REAL_VALUE__FRACTION = eINSTANCE.getRealValue_Fraction();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.NullValueImpl <em>Null Value</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.NullValueImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getNullValue()
- * @generated
- */
- EClass NULL_VALUE = eINSTANCE.getNullValue();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.NoValueImpl <em>No Value</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.NoValueImpl
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getNoValue()
- * @generated
- */
- EClass NO_VALUE = eINSTANCE.getNoValue();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierKind <em>Modifier Kind</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierKind
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getModifierKind()
- * @generated
- */
- EEnum MODIFIER_KIND = eINSTANCE.getModifierKind();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectKind <em>Effect Kind</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectKind
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getEffectKind()
- * @generated
- */
- EEnum EFFECT_KIND = eINSTANCE.getEffectKind();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanLiterals <em>Boolean Literals</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanLiterals
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getBooleanLiterals()
- * @generated
- */
- EEnum BOOLEAN_LITERALS = eINSTANCE.getBooleanLiterals();
-
- }
-
-} //UmlParameterPackage
+public interface UmlParameterPackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ String eNAME = "umlParameter";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ String eNS_URI = "http://www.eclipse.org/papyrus/uml/textedit/parameter/xtext/UmlParameter";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ String eNS_PREFIX = "umlParameter";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ UmlParameterPackage eINSTANCE = org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ParameterRuleImpl <em>Parameter Rule</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ParameterRuleImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getParameterRule()
+ * @generated
+ */
+ int PARAMETER_RULE = 0;
+
+ /**
+ * The feature id for the '<em><b>Visibility</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int PARAMETER_RULE__VISIBILITY = 0;
+
+ /**
+ * The feature id for the '<em><b>Direction</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int PARAMETER_RULE__DIRECTION = 1;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int PARAMETER_RULE__NAME = 2;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int PARAMETER_RULE__TYPE = 3;
+
+ /**
+ * The feature id for the '<em><b>Type Undefined</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int PARAMETER_RULE__TYPE_UNDEFINED = 4;
+
+ /**
+ * The feature id for the '<em><b>Multiplicity</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int PARAMETER_RULE__MULTIPLICITY = 5;
+
+ /**
+ * The feature id for the '<em><b>Modifiers</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int PARAMETER_RULE__MODIFIERS = 6;
+
+ /**
+ * The feature id for the '<em><b>Effect</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int PARAMETER_RULE__EFFECT = 7;
+
+ /**
+ * The feature id for the '<em><b>Default Value</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int PARAMETER_RULE__DEFAULT_VALUE = 8;
+
+ /**
+ * The number of structural features of the '<em>Parameter Rule</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int PARAMETER_RULE_FEATURE_COUNT = 9;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ModifiersRuleImpl <em>Modifiers Rule</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ModifiersRuleImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getModifiersRule()
+ * @generated
+ */
+ int MODIFIERS_RULE = 1;
+
+ /**
+ * The feature id for the '<em><b>Values</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int MODIFIERS_RULE__VALUES = 0;
+
+ /**
+ * The number of structural features of the '<em>Modifiers Rule</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int MODIFIERS_RULE_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ModifierSpecificationImpl <em>Modifier Specification</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ModifierSpecificationImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getModifierSpecification()
+ * @generated
+ */
+ int MODIFIER_SPECIFICATION = 2;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int MODIFIER_SPECIFICATION__VALUE = 0;
+
+ /**
+ * The number of structural features of the '<em>Modifier Specification</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int MODIFIER_SPECIFICATION_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.VisibilityRuleImpl <em>Visibility Rule</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.VisibilityRuleImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getVisibilityRule()
+ * @generated
+ */
+ int VISIBILITY_RULE = 3;
+
+ /**
+ * The feature id for the '<em><b>Visibility</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int VISIBILITY_RULE__VISIBILITY = 0;
+
+ /**
+ * The number of structural features of the '<em>Visibility Rule</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int VISIBILITY_RULE_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.DirectionRuleImpl <em>Direction Rule</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.DirectionRuleImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getDirectionRule()
+ * @generated
+ */
+ int DIRECTION_RULE = 4;
+
+ /**
+ * The feature id for the '<em><b>Direction</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int DIRECTION_RULE__DIRECTION = 0;
+
+ /**
+ * The number of structural features of the '<em>Direction Rule</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int DIRECTION_RULE_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.EffectRuleImpl <em>Effect Rule</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.EffectRuleImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getEffectRule()
+ * @generated
+ */
+ int EFFECT_RULE = 5;
+
+ /**
+ * The feature id for the '<em><b>Effect Kind</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int EFFECT_RULE__EFFECT_KIND = 0;
+
+ /**
+ * The number of structural features of the '<em>Effect Rule</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int EFFECT_RULE_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.DefaultValueRuleImpl <em>Default Value Rule</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.DefaultValueRuleImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getDefaultValueRule()
+ * @generated
+ */
+ int DEFAULT_VALUE_RULE = 6;
+
+ /**
+ * The feature id for the '<em><b>Default</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int DEFAULT_VALUE_RULE__DEFAULT = 0;
+
+ /**
+ * The number of structural features of the '<em>Default Value Rule</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int DEFAULT_VALUE_RULE_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ValueImpl <em>Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ValueImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getValue()
+ * @generated
+ */
+ int VALUE = 7;
+
+ /**
+ * The number of structural features of the '<em>Value</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int VALUE_FEATURE_COUNT = 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.IntValueImpl <em>Int Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.IntValueImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getIntValue()
+ * @generated
+ */
+ int INT_VALUE = 8;
+
+ /**
+ * The feature id for the '<em><b>Literal Integer</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int INT_VALUE__LITERAL_INTEGER = VALUE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Int Value</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int INT_VALUE_FEATURE_COUNT = VALUE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.StringValueImpl <em>String Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.StringValueImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getStringValue()
+ * @generated
+ */
+ int STRING_VALUE = 9;
+
+ /**
+ * The feature id for the '<em><b>Literal String</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int STRING_VALUE__LITERAL_STRING = VALUE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>String Value</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int STRING_VALUE_FEATURE_COUNT = VALUE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.BooleanValueImpl <em>Boolean Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.BooleanValueImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getBooleanValue()
+ * @generated
+ */
+ int BOOLEAN_VALUE = 10;
+
+ /**
+ * The feature id for the '<em><b>Literal Boolean</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int BOOLEAN_VALUE__LITERAL_BOOLEAN = VALUE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Boolean Value</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int BOOLEAN_VALUE_FEATURE_COUNT = VALUE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.RealValueImpl <em>Real Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.RealValueImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getRealValue()
+ * @generated
+ */
+ int REAL_VALUE = 11;
+
+ /**
+ * The feature id for the '<em><b>Integer</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int REAL_VALUE__INTEGER = VALUE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Fraction</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int REAL_VALUE__FRACTION = VALUE_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Real Value</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int REAL_VALUE_FEATURE_COUNT = VALUE_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.NullValueImpl <em>Null Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.NullValueImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getNullValue()
+ * @generated
+ */
+ int NULL_VALUE = 12;
+
+ /**
+ * The number of structural features of the '<em>Null Value</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NULL_VALUE_FEATURE_COUNT = VALUE_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.NoValueImpl <em>No Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.NoValueImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getNoValue()
+ * @generated
+ */
+ int NO_VALUE = 13;
+
+ /**
+ * The number of structural features of the '<em>No Value</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NO_VALUE_FEATURE_COUNT = VALUE_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierKind <em>Modifier Kind</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierKind
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getModifierKind()
+ * @generated
+ */
+ int MODIFIER_KIND = 14;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectKind <em>Effect Kind</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectKind
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getEffectKind()
+ * @generated
+ */
+ int EFFECT_KIND = 15;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanLiterals <em>Boolean Literals</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanLiterals
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getBooleanLiterals()
+ * @generated
+ */
+ int BOOLEAN_LITERALS = 16;
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule <em>Parameter Rule</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Parameter Rule</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule
+ * @generated
+ */
+ EClass getParameterRule();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getVisibility <em>Visibility</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the containment reference '<em>Visibility</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getVisibility()
+ * @see #getParameterRule()
+ * @generated
+ */
+ EReference getParameterRule_Visibility();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getDirection <em>Direction</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the containment reference '<em>Direction</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getDirection()
+ * @see #getParameterRule()
+ * @generated
+ */
+ EReference getParameterRule_Direction();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getName()
+ * @see #getParameterRule()
+ * @generated
+ */
+ EAttribute getParameterRule_Name();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getType <em>Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the containment reference '<em>Type</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getType()
+ * @see #getParameterRule()
+ * @generated
+ */
+ EReference getParameterRule_Type();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#isTypeUndefined <em>Type Undefined</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Type Undefined</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#isTypeUndefined()
+ * @see #getParameterRule()
+ * @generated
+ */
+ EAttribute getParameterRule_TypeUndefined();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getMultiplicity <em>Multiplicity</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the containment reference '<em>Multiplicity</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getMultiplicity()
+ * @see #getParameterRule()
+ * @generated
+ */
+ EReference getParameterRule_Multiplicity();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getModifiers <em>Modifiers</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the containment reference '<em>Modifiers</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getModifiers()
+ * @see #getParameterRule()
+ * @generated
+ */
+ EReference getParameterRule_Modifiers();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getEffect <em>Effect</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the containment reference '<em>Effect</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getEffect()
+ * @see #getParameterRule()
+ * @generated
+ */
+ EReference getParameterRule_Effect();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getDefaultValue <em>Default Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the containment reference '<em>Default Value</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule#getDefaultValue()
+ * @see #getParameterRule()
+ * @generated
+ */
+ EReference getParameterRule_DefaultValue();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifiersRule <em>Modifiers Rule</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Modifiers Rule</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifiersRule
+ * @generated
+ */
+ EClass getModifiersRule();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifiersRule#getValues <em>Values</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the containment reference list '<em>Values</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifiersRule#getValues()
+ * @see #getModifiersRule()
+ * @generated
+ */
+ EReference getModifiersRule_Values();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierSpecification <em>Modifier Specification</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Modifier Specification</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierSpecification
+ * @generated
+ */
+ EClass getModifierSpecification();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierSpecification#getValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Value</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierSpecification#getValue()
+ * @see #getModifierSpecification()
+ * @generated
+ */
+ EAttribute getModifierSpecification_Value();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.VisibilityRule <em>Visibility Rule</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Visibility Rule</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.VisibilityRule
+ * @generated
+ */
+ EClass getVisibilityRule();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.VisibilityRule#getVisibility <em>Visibility</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Visibility</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.VisibilityRule#getVisibility()
+ * @see #getVisibilityRule()
+ * @generated
+ */
+ EAttribute getVisibilityRule_Visibility();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DirectionRule <em>Direction Rule</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Direction Rule</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DirectionRule
+ * @generated
+ */
+ EClass getDirectionRule();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DirectionRule#getDirection <em>Direction</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Direction</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DirectionRule#getDirection()
+ * @see #getDirectionRule()
+ * @generated
+ */
+ EAttribute getDirectionRule_Direction();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectRule <em>Effect Rule</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Effect Rule</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectRule
+ * @generated
+ */
+ EClass getEffectRule();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectRule#getEffectKind <em>Effect Kind</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Effect Kind</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectRule#getEffectKind()
+ * @see #getEffectRule()
+ * @generated
+ */
+ EAttribute getEffectRule_EffectKind();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DefaultValueRule <em>Default Value Rule</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Default Value Rule</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DefaultValueRule
+ * @generated
+ */
+ EClass getDefaultValueRule();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DefaultValueRule#getDefault <em>Default</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the containment reference '<em>Default</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DefaultValueRule#getDefault()
+ * @see #getDefaultValueRule()
+ * @generated
+ */
+ EReference getDefaultValueRule_Default();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.Value <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Value</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.Value
+ * @generated
+ */
+ EClass getValue();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.IntValue <em>Int Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Int Value</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.IntValue
+ * @generated
+ */
+ EClass getIntValue();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.IntValue#getLiteralInteger <em>Literal Integer</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Literal Integer</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.IntValue#getLiteralInteger()
+ * @see #getIntValue()
+ * @generated
+ */
+ EAttribute getIntValue_LiteralInteger();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.StringValue <em>String Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>String Value</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.StringValue
+ * @generated
+ */
+ EClass getStringValue();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.StringValue#getLiteralString <em>Literal String</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Literal String</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.StringValue#getLiteralString()
+ * @see #getStringValue()
+ * @generated
+ */
+ EAttribute getStringValue_LiteralString();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanValue <em>Boolean Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Boolean Value</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanValue
+ * @generated
+ */
+ EClass getBooleanValue();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanValue#getLiteralBoolean <em>Literal Boolean</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Literal Boolean</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanValue#getLiteralBoolean()
+ * @see #getBooleanValue()
+ * @generated
+ */
+ EAttribute getBooleanValue_LiteralBoolean();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue <em>Real Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Real Value</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue
+ * @generated
+ */
+ EClass getRealValue();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue#getInteger <em>Integer</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Integer</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue#getInteger()
+ * @see #getRealValue()
+ * @generated
+ */
+ EAttribute getRealValue_Integer();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue#getFraction <em>Fraction</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Fraction</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue#getFraction()
+ * @see #getRealValue()
+ * @generated
+ */
+ EAttribute getRealValue_Fraction();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.NullValue <em>Null Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Null Value</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.NullValue
+ * @generated
+ */
+ EClass getNullValue();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.NoValue <em>No Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>No Value</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.NoValue
+ * @generated
+ */
+ EClass getNoValue();
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierKind <em>Modifier Kind</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for enum '<em>Modifier Kind</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierKind
+ * @generated
+ */
+ EEnum getModifierKind();
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectKind <em>Effect Kind</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for enum '<em>Effect Kind</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectKind
+ * @generated
+ */
+ EEnum getEffectKind();
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanLiterals <em>Boolean Literals</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for enum '<em>Boolean Literals</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanLiterals
+ * @generated
+ */
+ EEnum getBooleanLiterals();
+
+ /**
+ * Returns the factory that creates the instances of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the factory that creates the instances of the model.
+ * @generated
+ */
+ UmlParameterFactory getUmlParameterFactory();
+
+ /**
+ * <!-- begin-user-doc -->
+ * Defines literals for the meta objects that represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ interface Literals {
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ParameterRuleImpl <em>Parameter Rule</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ParameterRuleImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getParameterRule()
+ * @generated
+ */
+ EClass PARAMETER_RULE = eINSTANCE.getParameterRule();
+
+ /**
+ * The meta object literal for the '<em><b>Visibility</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EReference PARAMETER_RULE__VISIBILITY = eINSTANCE.getParameterRule_Visibility();
+
+ /**
+ * The meta object literal for the '<em><b>Direction</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EReference PARAMETER_RULE__DIRECTION = eINSTANCE.getParameterRule_Direction();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute PARAMETER_RULE__NAME = eINSTANCE.getParameterRule_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Type</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EReference PARAMETER_RULE__TYPE = eINSTANCE.getParameterRule_Type();
+
+ /**
+ * The meta object literal for the '<em><b>Type Undefined</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute PARAMETER_RULE__TYPE_UNDEFINED = eINSTANCE.getParameterRule_TypeUndefined();
+
+ /**
+ * The meta object literal for the '<em><b>Multiplicity</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EReference PARAMETER_RULE__MULTIPLICITY = eINSTANCE.getParameterRule_Multiplicity();
+
+ /**
+ * The meta object literal for the '<em><b>Modifiers</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EReference PARAMETER_RULE__MODIFIERS = eINSTANCE.getParameterRule_Modifiers();
+
+ /**
+ * The meta object literal for the '<em><b>Effect</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EReference PARAMETER_RULE__EFFECT = eINSTANCE.getParameterRule_Effect();
+
+ /**
+ * The meta object literal for the '<em><b>Default Value</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EReference PARAMETER_RULE__DEFAULT_VALUE = eINSTANCE.getParameterRule_DefaultValue();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ModifiersRuleImpl <em>Modifiers Rule</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ModifiersRuleImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getModifiersRule()
+ * @generated
+ */
+ EClass MODIFIERS_RULE = eINSTANCE.getModifiersRule();
+
+ /**
+ * The meta object literal for the '<em><b>Values</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EReference MODIFIERS_RULE__VALUES = eINSTANCE.getModifiersRule_Values();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ModifierSpecificationImpl <em>Modifier Specification</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ModifierSpecificationImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getModifierSpecification()
+ * @generated
+ */
+ EClass MODIFIER_SPECIFICATION = eINSTANCE.getModifierSpecification();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute MODIFIER_SPECIFICATION__VALUE = eINSTANCE.getModifierSpecification_Value();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.VisibilityRuleImpl <em>Visibility Rule</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.VisibilityRuleImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getVisibilityRule()
+ * @generated
+ */
+ EClass VISIBILITY_RULE = eINSTANCE.getVisibilityRule();
+
+ /**
+ * The meta object literal for the '<em><b>Visibility</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute VISIBILITY_RULE__VISIBILITY = eINSTANCE.getVisibilityRule_Visibility();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.DirectionRuleImpl <em>Direction Rule</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.DirectionRuleImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getDirectionRule()
+ * @generated
+ */
+ EClass DIRECTION_RULE = eINSTANCE.getDirectionRule();
+
+ /**
+ * The meta object literal for the '<em><b>Direction</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute DIRECTION_RULE__DIRECTION = eINSTANCE.getDirectionRule_Direction();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.EffectRuleImpl <em>Effect Rule</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.EffectRuleImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getEffectRule()
+ * @generated
+ */
+ EClass EFFECT_RULE = eINSTANCE.getEffectRule();
+
+ /**
+ * The meta object literal for the '<em><b>Effect Kind</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute EFFECT_RULE__EFFECT_KIND = eINSTANCE.getEffectRule_EffectKind();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.DefaultValueRuleImpl <em>Default Value Rule</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.DefaultValueRuleImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getDefaultValueRule()
+ * @generated
+ */
+ EClass DEFAULT_VALUE_RULE = eINSTANCE.getDefaultValueRule();
+
+ /**
+ * The meta object literal for the '<em><b>Default</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EReference DEFAULT_VALUE_RULE__DEFAULT = eINSTANCE.getDefaultValueRule_Default();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ValueImpl <em>Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ValueImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getValue()
+ * @generated
+ */
+ EClass VALUE = eINSTANCE.getValue();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.IntValueImpl <em>Int Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.IntValueImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getIntValue()
+ * @generated
+ */
+ EClass INT_VALUE = eINSTANCE.getIntValue();
+
+ /**
+ * The meta object literal for the '<em><b>Literal Integer</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute INT_VALUE__LITERAL_INTEGER = eINSTANCE.getIntValue_LiteralInteger();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.StringValueImpl <em>String Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.StringValueImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getStringValue()
+ * @generated
+ */
+ EClass STRING_VALUE = eINSTANCE.getStringValue();
+
+ /**
+ * The meta object literal for the '<em><b>Literal String</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute STRING_VALUE__LITERAL_STRING = eINSTANCE.getStringValue_LiteralString();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.BooleanValueImpl <em>Boolean Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.BooleanValueImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getBooleanValue()
+ * @generated
+ */
+ EClass BOOLEAN_VALUE = eINSTANCE.getBooleanValue();
+
+ /**
+ * The meta object literal for the '<em><b>Literal Boolean</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute BOOLEAN_VALUE__LITERAL_BOOLEAN = eINSTANCE.getBooleanValue_LiteralBoolean();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.RealValueImpl <em>Real Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.RealValueImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getRealValue()
+ * @generated
+ */
+ EClass REAL_VALUE = eINSTANCE.getRealValue();
+
+ /**
+ * The meta object literal for the '<em><b>Integer</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute REAL_VALUE__INTEGER = eINSTANCE.getRealValue_Integer();
+
+ /**
+ * The meta object literal for the '<em><b>Fraction</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute REAL_VALUE__FRACTION = eINSTANCE.getRealValue_Fraction();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.NullValueImpl <em>Null Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.NullValueImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getNullValue()
+ * @generated
+ */
+ EClass NULL_VALUE = eINSTANCE.getNullValue();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.NoValueImpl <em>No Value</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.NoValueImpl
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getNoValue()
+ * @generated
+ */
+ EClass NO_VALUE = eINSTANCE.getNoValue();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierKind <em>Modifier Kind</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierKind
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getModifierKind()
+ * @generated
+ */
+ EEnum MODIFIER_KIND = eINSTANCE.getModifierKind();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectKind <em>Effect Kind</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectKind
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getEffectKind()
+ * @generated
+ */
+ EEnum EFFECT_KIND = eINSTANCE.getEffectKind();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanLiterals <em>Boolean Literals</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanLiterals
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.UmlParameterPackageImpl#getBooleanLiterals()
+ * @generated
+ */
+ EEnum BOOLEAN_LITERALS = eINSTANCE.getBooleanLiterals();
+
+ }
+
+} // UmlParameterPackage
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/Value.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/Value.java
index 74ff902d533..45d0c6b661b 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/Value.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/Value.java
@@ -14,6 +14,5 @@ import org.eclipse.emf.ecore.EObject;
* @model
* @generated
*/
-public interface Value extends EObject
-{
+public interface Value extends EObject {
} // Value
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/VisibilityRule.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/VisibilityRule.java
index f4f86a76f96..d2d659ca6a0 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/VisibilityRule.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/VisibilityRule.java
@@ -3,7 +3,6 @@
package org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter;
import org.eclipse.emf.ecore.EObject;
-
import org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.VisibilityKind;
/**
@@ -13,44 +12,46 @@ import org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.VisibilityKind;
*
* <p>
* The following features are supported:
+ * </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.VisibilityRule#getVisibility <em>Visibility</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.VisibilityRule#getVisibility <em>Visibility</em>}</li>
* </ul>
- * </p>
*
* @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getVisibilityRule()
* @model
* @generated
*/
-public interface VisibilityRule extends EObject
-{
- /**
- * Returns the value of the '<em><b>Visibility</b></em>' attribute.
- * The literals are from the enumeration {@link org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.VisibilityKind}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Visibility</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Visibility</em>' attribute.
- * @see org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.VisibilityKind
- * @see #setVisibility(VisibilityKind)
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getVisibilityRule_Visibility()
- * @model
- * @generated
- */
- VisibilityKind getVisibility();
+public interface VisibilityRule extends EObject {
+ /**
+ * Returns the value of the '<em><b>Visibility</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.VisibilityKind}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Visibility</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Visibility</em>' attribute.
+ * @see org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.VisibilityKind
+ * @see #setVisibility(VisibilityKind)
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#getVisibilityRule_Visibility()
+ * @model
+ * @generated
+ */
+ VisibilityKind getVisibility();
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.VisibilityRule#getVisibility <em>Visibility</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Visibility</em>' attribute.
- * @see org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.VisibilityKind
- * @see #getVisibility()
- * @generated
- */
- void setVisibility(VisibilityKind value);
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.VisibilityRule#getVisibility <em>Visibility</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Visibility</em>' attribute.
+ * @see org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.VisibilityKind
+ * @see #getVisibility()
+ * @generated
+ */
+ void setVisibility(VisibilityKind value);
} // VisibilityRule
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/BooleanValueImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/BooleanValueImpl.java
index b093390235d..e2cf130f373 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/BooleanValueImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/BooleanValueImpl.java
@@ -3,11 +3,8 @@
package org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.ecore.EClass;
-
import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanLiterals;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanValue;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage;
@@ -18,160 +15,158 @@ import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParamete
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.BooleanValueImpl#getLiteralBoolean <em>Literal Boolean</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.BooleanValueImpl#getLiteralBoolean <em>Literal Boolean</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
-public class BooleanValueImpl extends ValueImpl implements BooleanValue
-{
- /**
- * The default value of the '{@link #getLiteralBoolean() <em>Literal Boolean</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLiteralBoolean()
- * @generated
- * @ordered
- */
- protected static final BooleanLiterals LITERAL_BOOLEAN_EDEFAULT = BooleanLiterals.TRUE;
-
- /**
- * The cached value of the '{@link #getLiteralBoolean() <em>Literal Boolean</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLiteralBoolean()
- * @generated
- * @ordered
- */
- protected BooleanLiterals literalBoolean = LITERAL_BOOLEAN_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected BooleanValueImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return UmlParameterPackage.Literals.BOOLEAN_VALUE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public BooleanLiterals getLiteralBoolean()
- {
- return literalBoolean;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLiteralBoolean(BooleanLiterals newLiteralBoolean)
- {
- BooleanLiterals oldLiteralBoolean = literalBoolean;
- literalBoolean = newLiteralBoolean == null ? LITERAL_BOOLEAN_EDEFAULT : newLiteralBoolean;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.BOOLEAN_VALUE__LITERAL_BOOLEAN, oldLiteralBoolean, literalBoolean));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case UmlParameterPackage.BOOLEAN_VALUE__LITERAL_BOOLEAN:
- return getLiteralBoolean();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case UmlParameterPackage.BOOLEAN_VALUE__LITERAL_BOOLEAN:
- setLiteralBoolean((BooleanLiterals)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case UmlParameterPackage.BOOLEAN_VALUE__LITERAL_BOOLEAN:
- setLiteralBoolean(LITERAL_BOOLEAN_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case UmlParameterPackage.BOOLEAN_VALUE__LITERAL_BOOLEAN:
- return literalBoolean != LITERAL_BOOLEAN_EDEFAULT;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (literalBoolean: ");
- result.append(literalBoolean);
- result.append(')');
- return result.toString();
- }
-
-} //BooleanValueImpl
+public class BooleanValueImpl extends ValueImpl implements BooleanValue {
+ /**
+ * The default value of the '{@link #getLiteralBoolean() <em>Literal Boolean</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getLiteralBoolean()
+ * @generated
+ * @ordered
+ */
+ protected static final BooleanLiterals LITERAL_BOOLEAN_EDEFAULT = BooleanLiterals.TRUE;
+
+ /**
+ * The cached value of the '{@link #getLiteralBoolean() <em>Literal Boolean</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getLiteralBoolean()
+ * @generated
+ * @ordered
+ */
+ protected BooleanLiterals literalBoolean = LITERAL_BOOLEAN_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected BooleanValueImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UmlParameterPackage.Literals.BOOLEAN_VALUE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public BooleanLiterals getLiteralBoolean() {
+ return literalBoolean;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setLiteralBoolean(BooleanLiterals newLiteralBoolean) {
+ BooleanLiterals oldLiteralBoolean = literalBoolean;
+ literalBoolean = newLiteralBoolean == null ? LITERAL_BOOLEAN_EDEFAULT : newLiteralBoolean;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.BOOLEAN_VALUE__LITERAL_BOOLEAN, oldLiteralBoolean, literalBoolean));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case UmlParameterPackage.BOOLEAN_VALUE__LITERAL_BOOLEAN:
+ return getLiteralBoolean();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case UmlParameterPackage.BOOLEAN_VALUE__LITERAL_BOOLEAN:
+ setLiteralBoolean((BooleanLiterals) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case UmlParameterPackage.BOOLEAN_VALUE__LITERAL_BOOLEAN:
+ setLiteralBoolean(LITERAL_BOOLEAN_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case UmlParameterPackage.BOOLEAN_VALUE__LITERAL_BOOLEAN:
+ return literalBoolean != LITERAL_BOOLEAN_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuilder result = new StringBuilder(super.toString());
+ result.append(" (literalBoolean: ");
+ result.append(literalBoolean);
+ result.append(')');
+ return result.toString();
+ }
+
+} // BooleanValueImpl
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/DefaultValueRuleImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/DefaultValueRuleImpl.java
index 1dfa6ee88c4..34dac82448b 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/DefaultValueRuleImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/DefaultValueRuleImpl.java
@@ -4,13 +4,10 @@ package org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
-
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
-
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DefaultValueRule;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.Value;
@@ -21,174 +18,170 @@ import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.Value;
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.DefaultValueRuleImpl#getDefault <em>Default</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.DefaultValueRuleImpl#getDefault <em>Default</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
-public class DefaultValueRuleImpl extends MinimalEObjectImpl.Container implements DefaultValueRule
-{
- /**
- * The cached value of the '{@link #getDefault() <em>Default</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDefault()
- * @generated
- * @ordered
- */
- protected Value default_;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DefaultValueRuleImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return UmlParameterPackage.Literals.DEFAULT_VALUE_RULE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Value getDefault()
- {
- return default_;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetDefault(Value newDefault, NotificationChain msgs)
- {
- Value oldDefault = default_;
- default_ = newDefault;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlParameterPackage.DEFAULT_VALUE_RULE__DEFAULT, oldDefault, newDefault);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDefault(Value newDefault)
- {
- if (newDefault != default_)
- {
- NotificationChain msgs = null;
- if (default_ != null)
- msgs = ((InternalEObject)default_).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.DEFAULT_VALUE_RULE__DEFAULT, null, msgs);
- if (newDefault != null)
- msgs = ((InternalEObject)newDefault).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.DEFAULT_VALUE_RULE__DEFAULT, null, msgs);
- msgs = basicSetDefault(newDefault, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.DEFAULT_VALUE_RULE__DEFAULT, newDefault, newDefault));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case UmlParameterPackage.DEFAULT_VALUE_RULE__DEFAULT:
- return basicSetDefault(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case UmlParameterPackage.DEFAULT_VALUE_RULE__DEFAULT:
- return getDefault();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case UmlParameterPackage.DEFAULT_VALUE_RULE__DEFAULT:
- setDefault((Value)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case UmlParameterPackage.DEFAULT_VALUE_RULE__DEFAULT:
- setDefault((Value)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case UmlParameterPackage.DEFAULT_VALUE_RULE__DEFAULT:
- return default_ != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //DefaultValueRuleImpl
+public class DefaultValueRuleImpl extends MinimalEObjectImpl.Container implements DefaultValueRule {
+ /**
+ * The cached value of the '{@link #getDefault() <em>Default</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getDefault()
+ * @generated
+ * @ordered
+ */
+ protected Value default_;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected DefaultValueRuleImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UmlParameterPackage.Literals.DEFAULT_VALUE_RULE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Value getDefault() {
+ return default_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public NotificationChain basicSetDefault(Value newDefault, NotificationChain msgs) {
+ Value oldDefault = default_;
+ default_ = newDefault;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlParameterPackage.DEFAULT_VALUE_RULE__DEFAULT, oldDefault, newDefault);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setDefault(Value newDefault) {
+ if (newDefault != default_) {
+ NotificationChain msgs = null;
+ if (default_ != null)
+ msgs = ((InternalEObject) default_).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.DEFAULT_VALUE_RULE__DEFAULT, null, msgs);
+ if (newDefault != null)
+ msgs = ((InternalEObject) newDefault).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.DEFAULT_VALUE_RULE__DEFAULT, null, msgs);
+ msgs = basicSetDefault(newDefault, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.DEFAULT_VALUE_RULE__DEFAULT, newDefault, newDefault));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case UmlParameterPackage.DEFAULT_VALUE_RULE__DEFAULT:
+ return basicSetDefault(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case UmlParameterPackage.DEFAULT_VALUE_RULE__DEFAULT:
+ return getDefault();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case UmlParameterPackage.DEFAULT_VALUE_RULE__DEFAULT:
+ setDefault((Value) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case UmlParameterPackage.DEFAULT_VALUE_RULE__DEFAULT:
+ setDefault((Value) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case UmlParameterPackage.DEFAULT_VALUE_RULE__DEFAULT:
+ return default_ != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} // DefaultValueRuleImpl
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/DirectionRuleImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/DirectionRuleImpl.java
index ee7e1d2a7f3..4b2fc50115c 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/DirectionRuleImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/DirectionRuleImpl.java
@@ -3,14 +3,10 @@
package org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.ecore.EClass;
-
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
import org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.Direction;
-
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DirectionRule;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage;
@@ -20,160 +16,158 @@ import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParamete
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.DirectionRuleImpl#getDirection <em>Direction</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.DirectionRuleImpl#getDirection <em>Direction</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
-public class DirectionRuleImpl extends MinimalEObjectImpl.Container implements DirectionRule
-{
- /**
- * The default value of the '{@link #getDirection() <em>Direction</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDirection()
- * @generated
- * @ordered
- */
- protected static final Direction DIRECTION_EDEFAULT = Direction.IN;
-
- /**
- * The cached value of the '{@link #getDirection() <em>Direction</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDirection()
- * @generated
- * @ordered
- */
- protected Direction direction = DIRECTION_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DirectionRuleImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return UmlParameterPackage.Literals.DIRECTION_RULE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Direction getDirection()
- {
- return direction;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDirection(Direction newDirection)
- {
- Direction oldDirection = direction;
- direction = newDirection == null ? DIRECTION_EDEFAULT : newDirection;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.DIRECTION_RULE__DIRECTION, oldDirection, direction));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case UmlParameterPackage.DIRECTION_RULE__DIRECTION:
- return getDirection();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case UmlParameterPackage.DIRECTION_RULE__DIRECTION:
- setDirection((Direction)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case UmlParameterPackage.DIRECTION_RULE__DIRECTION:
- setDirection(DIRECTION_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case UmlParameterPackage.DIRECTION_RULE__DIRECTION:
- return direction != DIRECTION_EDEFAULT;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (direction: ");
- result.append(direction);
- result.append(')');
- return result.toString();
- }
-
-} //DirectionRuleImpl
+public class DirectionRuleImpl extends MinimalEObjectImpl.Container implements DirectionRule {
+ /**
+ * The default value of the '{@link #getDirection() <em>Direction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getDirection()
+ * @generated
+ * @ordered
+ */
+ protected static final Direction DIRECTION_EDEFAULT = Direction.IN;
+
+ /**
+ * The cached value of the '{@link #getDirection() <em>Direction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getDirection()
+ * @generated
+ * @ordered
+ */
+ protected Direction direction = DIRECTION_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected DirectionRuleImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UmlParameterPackage.Literals.DIRECTION_RULE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Direction getDirection() {
+ return direction;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setDirection(Direction newDirection) {
+ Direction oldDirection = direction;
+ direction = newDirection == null ? DIRECTION_EDEFAULT : newDirection;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.DIRECTION_RULE__DIRECTION, oldDirection, direction));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case UmlParameterPackage.DIRECTION_RULE__DIRECTION:
+ return getDirection();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case UmlParameterPackage.DIRECTION_RULE__DIRECTION:
+ setDirection((Direction) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case UmlParameterPackage.DIRECTION_RULE__DIRECTION:
+ setDirection(DIRECTION_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case UmlParameterPackage.DIRECTION_RULE__DIRECTION:
+ return direction != DIRECTION_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuilder result = new StringBuilder(super.toString());
+ result.append(" (direction: ");
+ result.append(direction);
+ result.append(')');
+ return result.toString();
+ }
+
+} // DirectionRuleImpl
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/EffectRuleImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/EffectRuleImpl.java
index 663a1ba395b..31374e62c26 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/EffectRuleImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/EffectRuleImpl.java
@@ -3,12 +3,9 @@
package org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.ecore.EClass;
-
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectKind;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectRule;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage;
@@ -19,160 +16,158 @@ import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParamete
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.EffectRuleImpl#getEffectKind <em>Effect Kind</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.EffectRuleImpl#getEffectKind <em>Effect Kind</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
-public class EffectRuleImpl extends MinimalEObjectImpl.Container implements EffectRule
-{
- /**
- * The default value of the '{@link #getEffectKind() <em>Effect Kind</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEffectKind()
- * @generated
- * @ordered
- */
- protected static final EffectKind EFFECT_KIND_EDEFAULT = EffectKind.CREATE;
-
- /**
- * The cached value of the '{@link #getEffectKind() <em>Effect Kind</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEffectKind()
- * @generated
- * @ordered
- */
- protected EffectKind effectKind = EFFECT_KIND_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EffectRuleImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return UmlParameterPackage.Literals.EFFECT_RULE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EffectKind getEffectKind()
- {
- return effectKind;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEffectKind(EffectKind newEffectKind)
- {
- EffectKind oldEffectKind = effectKind;
- effectKind = newEffectKind == null ? EFFECT_KIND_EDEFAULT : newEffectKind;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.EFFECT_RULE__EFFECT_KIND, oldEffectKind, effectKind));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case UmlParameterPackage.EFFECT_RULE__EFFECT_KIND:
- return getEffectKind();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case UmlParameterPackage.EFFECT_RULE__EFFECT_KIND:
- setEffectKind((EffectKind)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case UmlParameterPackage.EFFECT_RULE__EFFECT_KIND:
- setEffectKind(EFFECT_KIND_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case UmlParameterPackage.EFFECT_RULE__EFFECT_KIND:
- return effectKind != EFFECT_KIND_EDEFAULT;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (effectKind: ");
- result.append(effectKind);
- result.append(')');
- return result.toString();
- }
-
-} //EffectRuleImpl
+public class EffectRuleImpl extends MinimalEObjectImpl.Container implements EffectRule {
+ /**
+ * The default value of the '{@link #getEffectKind() <em>Effect Kind</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getEffectKind()
+ * @generated
+ * @ordered
+ */
+ protected static final EffectKind EFFECT_KIND_EDEFAULT = EffectKind.CREATE;
+
+ /**
+ * The cached value of the '{@link #getEffectKind() <em>Effect Kind</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getEffectKind()
+ * @generated
+ * @ordered
+ */
+ protected EffectKind effectKind = EFFECT_KIND_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected EffectRuleImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UmlParameterPackage.Literals.EFFECT_RULE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EffectKind getEffectKind() {
+ return effectKind;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setEffectKind(EffectKind newEffectKind) {
+ EffectKind oldEffectKind = effectKind;
+ effectKind = newEffectKind == null ? EFFECT_KIND_EDEFAULT : newEffectKind;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.EFFECT_RULE__EFFECT_KIND, oldEffectKind, effectKind));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case UmlParameterPackage.EFFECT_RULE__EFFECT_KIND:
+ return getEffectKind();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case UmlParameterPackage.EFFECT_RULE__EFFECT_KIND:
+ setEffectKind((EffectKind) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case UmlParameterPackage.EFFECT_RULE__EFFECT_KIND:
+ setEffectKind(EFFECT_KIND_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case UmlParameterPackage.EFFECT_RULE__EFFECT_KIND:
+ return effectKind != EFFECT_KIND_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuilder result = new StringBuilder(super.toString());
+ result.append(" (effectKind: ");
+ result.append(effectKind);
+ result.append(')');
+ return result.toString();
+ }
+
+} // EffectRuleImpl
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/IntValueImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/IntValueImpl.java
index 750568133b1..9580841c3b7 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/IntValueImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/IntValueImpl.java
@@ -3,11 +3,8 @@
package org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.ecore.EClass;
-
import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.IntValue;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage;
@@ -17,160 +14,158 @@ import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParamete
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.IntValueImpl#getLiteralInteger <em>Literal Integer</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.IntValueImpl#getLiteralInteger <em>Literal Integer</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
-public class IntValueImpl extends ValueImpl implements IntValue
-{
- /**
- * The default value of the '{@link #getLiteralInteger() <em>Literal Integer</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLiteralInteger()
- * @generated
- * @ordered
- */
- protected static final int LITERAL_INTEGER_EDEFAULT = 0;
-
- /**
- * The cached value of the '{@link #getLiteralInteger() <em>Literal Integer</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLiteralInteger()
- * @generated
- * @ordered
- */
- protected int literalInteger = LITERAL_INTEGER_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected IntValueImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return UmlParameterPackage.Literals.INT_VALUE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getLiteralInteger()
- {
- return literalInteger;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLiteralInteger(int newLiteralInteger)
- {
- int oldLiteralInteger = literalInteger;
- literalInteger = newLiteralInteger;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.INT_VALUE__LITERAL_INTEGER, oldLiteralInteger, literalInteger));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case UmlParameterPackage.INT_VALUE__LITERAL_INTEGER:
- return getLiteralInteger();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case UmlParameterPackage.INT_VALUE__LITERAL_INTEGER:
- setLiteralInteger((Integer)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case UmlParameterPackage.INT_VALUE__LITERAL_INTEGER:
- setLiteralInteger(LITERAL_INTEGER_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case UmlParameterPackage.INT_VALUE__LITERAL_INTEGER:
- return literalInteger != LITERAL_INTEGER_EDEFAULT;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (literalInteger: ");
- result.append(literalInteger);
- result.append(')');
- return result.toString();
- }
-
-} //IntValueImpl
+public class IntValueImpl extends ValueImpl implements IntValue {
+ /**
+ * The default value of the '{@link #getLiteralInteger() <em>Literal Integer</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getLiteralInteger()
+ * @generated
+ * @ordered
+ */
+ protected static final int LITERAL_INTEGER_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getLiteralInteger() <em>Literal Integer</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getLiteralInteger()
+ * @generated
+ * @ordered
+ */
+ protected int literalInteger = LITERAL_INTEGER_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected IntValueImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UmlParameterPackage.Literals.INT_VALUE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public int getLiteralInteger() {
+ return literalInteger;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setLiteralInteger(int newLiteralInteger) {
+ int oldLiteralInteger = literalInteger;
+ literalInteger = newLiteralInteger;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.INT_VALUE__LITERAL_INTEGER, oldLiteralInteger, literalInteger));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case UmlParameterPackage.INT_VALUE__LITERAL_INTEGER:
+ return getLiteralInteger();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case UmlParameterPackage.INT_VALUE__LITERAL_INTEGER:
+ setLiteralInteger((Integer) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case UmlParameterPackage.INT_VALUE__LITERAL_INTEGER:
+ setLiteralInteger(LITERAL_INTEGER_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case UmlParameterPackage.INT_VALUE__LITERAL_INTEGER:
+ return literalInteger != LITERAL_INTEGER_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuilder result = new StringBuilder(super.toString());
+ result.append(" (literalInteger: ");
+ result.append(literalInteger);
+ result.append(')');
+ return result.toString();
+ }
+
+} // IntValueImpl
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/ModifierSpecificationImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/ModifierSpecificationImpl.java
index de04fe90cc0..f1ef1163d40 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/ModifierSpecificationImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/ModifierSpecificationImpl.java
@@ -3,12 +3,9 @@
package org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.ecore.EClass;
-
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierKind;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierSpecification;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage;
@@ -19,160 +16,158 @@ import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParamete
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ModifierSpecificationImpl#getValue <em>Value</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ModifierSpecificationImpl#getValue <em>Value</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
-public class ModifierSpecificationImpl extends MinimalEObjectImpl.Container implements ModifierSpecification
-{
- /**
- * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected static final ModifierKind VALUE_EDEFAULT = ModifierKind.EXCEPTION;
-
- /**
- * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected ModifierKind value = VALUE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ModifierSpecificationImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return UmlParameterPackage.Literals.MODIFIER_SPECIFICATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ModifierKind getValue()
- {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setValue(ModifierKind newValue)
- {
- ModifierKind oldValue = value;
- value = newValue == null ? VALUE_EDEFAULT : newValue;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.MODIFIER_SPECIFICATION__VALUE, oldValue, value));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case UmlParameterPackage.MODIFIER_SPECIFICATION__VALUE:
- return getValue();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case UmlParameterPackage.MODIFIER_SPECIFICATION__VALUE:
- setValue((ModifierKind)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case UmlParameterPackage.MODIFIER_SPECIFICATION__VALUE:
- setValue(VALUE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case UmlParameterPackage.MODIFIER_SPECIFICATION__VALUE:
- return value != VALUE_EDEFAULT;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (value: ");
- result.append(value);
- result.append(')');
- return result.toString();
- }
-
-} //ModifierSpecificationImpl
+public class ModifierSpecificationImpl extends MinimalEObjectImpl.Container implements ModifierSpecification {
+ /**
+ * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected static final ModifierKind VALUE_EDEFAULT = ModifierKind.EXCEPTION;
+
+ /**
+ * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected ModifierKind value = VALUE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected ModifierSpecificationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UmlParameterPackage.Literals.MODIFIER_SPECIFICATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public ModifierKind getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setValue(ModifierKind newValue) {
+ ModifierKind oldValue = value;
+ value = newValue == null ? VALUE_EDEFAULT : newValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.MODIFIER_SPECIFICATION__VALUE, oldValue, value));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case UmlParameterPackage.MODIFIER_SPECIFICATION__VALUE:
+ return getValue();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case UmlParameterPackage.MODIFIER_SPECIFICATION__VALUE:
+ setValue((ModifierKind) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case UmlParameterPackage.MODIFIER_SPECIFICATION__VALUE:
+ setValue(VALUE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case UmlParameterPackage.MODIFIER_SPECIFICATION__VALUE:
+ return value != VALUE_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuilder result = new StringBuilder(super.toString());
+ result.append(" (value: ");
+ result.append(value);
+ result.append(')');
+ return result.toString();
+ }
+
+} // ModifierSpecificationImpl
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/ModifiersRuleImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/ModifiersRuleImpl.java
index 6342182c5b1..55ef2cc7e97 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/ModifiersRuleImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/ModifiersRuleImpl.java
@@ -5,17 +5,12 @@ package org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl;
import java.util.Collection;
import org.eclipse.emf.common.notify.NotificationChain;
-
import org.eclipse.emf.common.util.EList;
-
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
-
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
import org.eclipse.emf.ecore.util.InternalEList;
-
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierSpecification;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifiersRule;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage;
@@ -26,142 +21,136 @@ import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParamete
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ModifiersRuleImpl#getValues <em>Values</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ModifiersRuleImpl#getValues <em>Values</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
-public class ModifiersRuleImpl extends MinimalEObjectImpl.Container implements ModifiersRule
-{
- /**
- * The cached value of the '{@link #getValues() <em>Values</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValues()
- * @generated
- * @ordered
- */
- protected EList<ModifierSpecification> values;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ModifiersRuleImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return UmlParameterPackage.Literals.MODIFIERS_RULE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<ModifierSpecification> getValues()
- {
- if (values == null)
- {
- values = new EObjectContainmentEList<ModifierSpecification>(ModifierSpecification.class, this, UmlParameterPackage.MODIFIERS_RULE__VALUES);
- }
- return values;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case UmlParameterPackage.MODIFIERS_RULE__VALUES:
- return ((InternalEList<?>)getValues()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case UmlParameterPackage.MODIFIERS_RULE__VALUES:
- return getValues();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case UmlParameterPackage.MODIFIERS_RULE__VALUES:
- getValues().clear();
- getValues().addAll((Collection<? extends ModifierSpecification>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case UmlParameterPackage.MODIFIERS_RULE__VALUES:
- getValues().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case UmlParameterPackage.MODIFIERS_RULE__VALUES:
- return values != null && !values.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} //ModifiersRuleImpl
+public class ModifiersRuleImpl extends MinimalEObjectImpl.Container implements ModifiersRule {
+ /**
+ * The cached value of the '{@link #getValues() <em>Values</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getValues()
+ * @generated
+ * @ordered
+ */
+ protected EList<ModifierSpecification> values;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected ModifiersRuleImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UmlParameterPackage.Literals.MODIFIERS_RULE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EList<ModifierSpecification> getValues() {
+ if (values == null) {
+ values = new EObjectContainmentEList<ModifierSpecification>(ModifierSpecification.class, this, UmlParameterPackage.MODIFIERS_RULE__VALUES);
+ }
+ return values;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case UmlParameterPackage.MODIFIERS_RULE__VALUES:
+ return ((InternalEList<?>) getValues()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case UmlParameterPackage.MODIFIERS_RULE__VALUES:
+ return getValues();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case UmlParameterPackage.MODIFIERS_RULE__VALUES:
+ getValues().clear();
+ getValues().addAll((Collection<? extends ModifierSpecification>) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case UmlParameterPackage.MODIFIERS_RULE__VALUES:
+ getValues().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case UmlParameterPackage.MODIFIERS_RULE__VALUES:
+ return values != null && !values.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} // ModifiersRuleImpl
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/NoValueImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/NoValueImpl.java
index a0578d84b58..1aeac800934 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/NoValueImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/NoValueImpl.java
@@ -3,7 +3,6 @@
package org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl;
import org.eclipse.emf.ecore.EClass;
-
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.NoValue;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage;
@@ -11,32 +10,29 @@ import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParamete
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>No Value</b></em>'.
* <!-- end-user-doc -->
- * <p>
- * </p>
*
* @generated
*/
-public class NoValueImpl extends ValueImpl implements NoValue
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected NoValueImpl()
- {
- super();
- }
+public class NoValueImpl extends ValueImpl implements NoValue {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected NoValueImpl() {
+ super();
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return UmlParameterPackage.Literals.NO_VALUE;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UmlParameterPackage.Literals.NO_VALUE;
+ }
-} //NoValueImpl
+} // NoValueImpl
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/NullValueImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/NullValueImpl.java
index 0d148f97bf8..f2a56f92a90 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/NullValueImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/NullValueImpl.java
@@ -3,7 +3,6 @@
package org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl;
import org.eclipse.emf.ecore.EClass;
-
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.NullValue;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage;
@@ -11,32 +10,29 @@ import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParamete
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Null Value</b></em>'.
* <!-- end-user-doc -->
- * <p>
- * </p>
*
* @generated
*/
-public class NullValueImpl extends ValueImpl implements NullValue
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected NullValueImpl()
- {
- super();
- }
+public class NullValueImpl extends ValueImpl implements NullValue {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected NullValueImpl() {
+ super();
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return UmlParameterPackage.Literals.NULL_VALUE;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UmlParameterPackage.Literals.NULL_VALUE;
+ }
-} //NullValueImpl
+} // NullValueImpl
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/ParameterRuleImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/ParameterRuleImpl.java
index 7f96d52ab5d..5ef9e374274 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/ParameterRuleImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/ParameterRuleImpl.java
@@ -4,16 +4,12 @@ package org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
-
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
-
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
import org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.MultiplicityRule;
import org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.TypeRule;
-
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DefaultValueRule;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DirectionRule;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectRule;
@@ -28,727 +24,740 @@ import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.VisibilityR
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ParameterRuleImpl#getVisibility <em>Visibility</em>}</li>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ParameterRuleImpl#getDirection <em>Direction</em>}</li>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ParameterRuleImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ParameterRuleImpl#getType <em>Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ParameterRuleImpl#isTypeUndefined <em>Type Undefined</em>}</li>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ParameterRuleImpl#getMultiplicity <em>Multiplicity</em>}</li>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ParameterRuleImpl#getModifiers <em>Modifiers</em>}</li>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ParameterRuleImpl#getEffect <em>Effect</em>}</li>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ParameterRuleImpl#getDefaultValue <em>Default Value</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ParameterRuleImpl#getVisibility <em>Visibility</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ParameterRuleImpl#getDirection <em>Direction</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ParameterRuleImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ParameterRuleImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ParameterRuleImpl#isTypeUndefined <em>Type Undefined</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ParameterRuleImpl#getMultiplicity <em>Multiplicity</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ParameterRuleImpl#getModifiers <em>Modifiers</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ParameterRuleImpl#getEffect <em>Effect</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.ParameterRuleImpl#getDefaultValue <em>Default Value</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
-public class ParameterRuleImpl extends MinimalEObjectImpl.Container implements ParameterRule
-{
- /**
- * The cached value of the '{@link #getVisibility() <em>Visibility</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getVisibility()
- * @generated
- * @ordered
- */
- protected VisibilityRule visibility;
-
- /**
- * The cached value of the '{@link #getDirection() <em>Direction</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDirection()
- * @generated
- * @ordered
- */
- protected DirectionRule direction;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getType() <em>Type</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getType()
- * @generated
- * @ordered
- */
- protected TypeRule type;
-
- /**
- * The default value of the '{@link #isTypeUndefined() <em>Type Undefined</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isTypeUndefined()
- * @generated
- * @ordered
- */
- protected static final boolean TYPE_UNDEFINED_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isTypeUndefined() <em>Type Undefined</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isTypeUndefined()
- * @generated
- * @ordered
- */
- protected boolean typeUndefined = TYPE_UNDEFINED_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMultiplicity()
- * @generated
- * @ordered
- */
- protected MultiplicityRule multiplicity;
-
- /**
- * The cached value of the '{@link #getModifiers() <em>Modifiers</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getModifiers()
- * @generated
- * @ordered
- */
- protected ModifiersRule modifiers;
-
- /**
- * The cached value of the '{@link #getEffect() <em>Effect</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEffect()
- * @generated
- * @ordered
- */
- protected EffectRule effect;
-
- /**
- * The cached value of the '{@link #getDefaultValue() <em>Default Value</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDefaultValue()
- * @generated
- * @ordered
- */
- protected DefaultValueRule defaultValue;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ParameterRuleImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return UmlParameterPackage.Literals.PARAMETER_RULE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public VisibilityRule getVisibility()
- {
- return visibility;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetVisibility(VisibilityRule newVisibility, NotificationChain msgs)
- {
- VisibilityRule oldVisibility = visibility;
- visibility = newVisibility;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__VISIBILITY, oldVisibility, newVisibility);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setVisibility(VisibilityRule newVisibility)
- {
- if (newVisibility != visibility)
- {
- NotificationChain msgs = null;
- if (visibility != null)
- msgs = ((InternalEObject)visibility).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__VISIBILITY, null, msgs);
- if (newVisibility != null)
- msgs = ((InternalEObject)newVisibility).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__VISIBILITY, null, msgs);
- msgs = basicSetVisibility(newVisibility, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__VISIBILITY, newVisibility, newVisibility));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DirectionRule getDirection()
- {
- return direction;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetDirection(DirectionRule newDirection, NotificationChain msgs)
- {
- DirectionRule oldDirection = direction;
- direction = newDirection;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__DIRECTION, oldDirection, newDirection);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDirection(DirectionRule newDirection)
- {
- if (newDirection != direction)
- {
- NotificationChain msgs = null;
- if (direction != null)
- msgs = ((InternalEObject)direction).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__DIRECTION, null, msgs);
- if (newDirection != null)
- msgs = ((InternalEObject)newDirection).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__DIRECTION, null, msgs);
- msgs = basicSetDirection(newDirection, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__DIRECTION, newDirection, newDirection));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName)
- {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TypeRule getType()
- {
- return type;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetType(TypeRule newType, NotificationChain msgs)
- {
- TypeRule oldType = type;
- type = newType;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__TYPE, oldType, newType);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setType(TypeRule newType)
- {
- if (newType != type)
- {
- NotificationChain msgs = null;
- if (type != null)
- msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__TYPE, null, msgs);
- if (newType != null)
- msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__TYPE, null, msgs);
- msgs = basicSetType(newType, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__TYPE, newType, newType));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isTypeUndefined()
- {
- return typeUndefined;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTypeUndefined(boolean newTypeUndefined)
- {
- boolean oldTypeUndefined = typeUndefined;
- typeUndefined = newTypeUndefined;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__TYPE_UNDEFINED, oldTypeUndefined, typeUndefined));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public MultiplicityRule getMultiplicity()
- {
- return multiplicity;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetMultiplicity(MultiplicityRule newMultiplicity, NotificationChain msgs)
- {
- MultiplicityRule oldMultiplicity = multiplicity;
- multiplicity = newMultiplicity;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY, oldMultiplicity, newMultiplicity);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMultiplicity(MultiplicityRule newMultiplicity)
- {
- if (newMultiplicity != multiplicity)
- {
- NotificationChain msgs = null;
- if (multiplicity != null)
- msgs = ((InternalEObject)multiplicity).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY, null, msgs);
- if (newMultiplicity != null)
- msgs = ((InternalEObject)newMultiplicity).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY, null, msgs);
- msgs = basicSetMultiplicity(newMultiplicity, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY, newMultiplicity, newMultiplicity));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ModifiersRule getModifiers()
- {
- return modifiers;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetModifiers(ModifiersRule newModifiers, NotificationChain msgs)
- {
- ModifiersRule oldModifiers = modifiers;
- modifiers = newModifiers;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__MODIFIERS, oldModifiers, newModifiers);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setModifiers(ModifiersRule newModifiers)
- {
- if (newModifiers != modifiers)
- {
- NotificationChain msgs = null;
- if (modifiers != null)
- msgs = ((InternalEObject)modifiers).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__MODIFIERS, null, msgs);
- if (newModifiers != null)
- msgs = ((InternalEObject)newModifiers).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__MODIFIERS, null, msgs);
- msgs = basicSetModifiers(newModifiers, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__MODIFIERS, newModifiers, newModifiers));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EffectRule getEffect()
- {
- return effect;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetEffect(EffectRule newEffect, NotificationChain msgs)
- {
- EffectRule oldEffect = effect;
- effect = newEffect;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__EFFECT, oldEffect, newEffect);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEffect(EffectRule newEffect)
- {
- if (newEffect != effect)
- {
- NotificationChain msgs = null;
- if (effect != null)
- msgs = ((InternalEObject)effect).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__EFFECT, null, msgs);
- if (newEffect != null)
- msgs = ((InternalEObject)newEffect).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__EFFECT, null, msgs);
- msgs = basicSetEffect(newEffect, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__EFFECT, newEffect, newEffect));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DefaultValueRule getDefaultValue()
- {
- return defaultValue;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetDefaultValue(DefaultValueRule newDefaultValue, NotificationChain msgs)
- {
- DefaultValueRule oldDefaultValue = defaultValue;
- defaultValue = newDefaultValue;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__DEFAULT_VALUE, oldDefaultValue, newDefaultValue);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDefaultValue(DefaultValueRule newDefaultValue)
- {
- if (newDefaultValue != defaultValue)
- {
- NotificationChain msgs = null;
- if (defaultValue != null)
- msgs = ((InternalEObject)defaultValue).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__DEFAULT_VALUE, null, msgs);
- if (newDefaultValue != null)
- msgs = ((InternalEObject)newDefaultValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__DEFAULT_VALUE, null, msgs);
- msgs = basicSetDefaultValue(newDefaultValue, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__DEFAULT_VALUE, newDefaultValue, newDefaultValue));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case UmlParameterPackage.PARAMETER_RULE__VISIBILITY:
- return basicSetVisibility(null, msgs);
- case UmlParameterPackage.PARAMETER_RULE__DIRECTION:
- return basicSetDirection(null, msgs);
- case UmlParameterPackage.PARAMETER_RULE__TYPE:
- return basicSetType(null, msgs);
- case UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY:
- return basicSetMultiplicity(null, msgs);
- case UmlParameterPackage.PARAMETER_RULE__MODIFIERS:
- return basicSetModifiers(null, msgs);
- case UmlParameterPackage.PARAMETER_RULE__EFFECT:
- return basicSetEffect(null, msgs);
- case UmlParameterPackage.PARAMETER_RULE__DEFAULT_VALUE:
- return basicSetDefaultValue(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case UmlParameterPackage.PARAMETER_RULE__VISIBILITY:
- return getVisibility();
- case UmlParameterPackage.PARAMETER_RULE__DIRECTION:
- return getDirection();
- case UmlParameterPackage.PARAMETER_RULE__NAME:
- return getName();
- case UmlParameterPackage.PARAMETER_RULE__TYPE:
- return getType();
- case UmlParameterPackage.PARAMETER_RULE__TYPE_UNDEFINED:
- return isTypeUndefined();
- case UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY:
- return getMultiplicity();
- case UmlParameterPackage.PARAMETER_RULE__MODIFIERS:
- return getModifiers();
- case UmlParameterPackage.PARAMETER_RULE__EFFECT:
- return getEffect();
- case UmlParameterPackage.PARAMETER_RULE__DEFAULT_VALUE:
- return getDefaultValue();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case UmlParameterPackage.PARAMETER_RULE__VISIBILITY:
- setVisibility((VisibilityRule)newValue);
- return;
- case UmlParameterPackage.PARAMETER_RULE__DIRECTION:
- setDirection((DirectionRule)newValue);
- return;
- case UmlParameterPackage.PARAMETER_RULE__NAME:
- setName((String)newValue);
- return;
- case UmlParameterPackage.PARAMETER_RULE__TYPE:
- setType((TypeRule)newValue);
- return;
- case UmlParameterPackage.PARAMETER_RULE__TYPE_UNDEFINED:
- setTypeUndefined((Boolean)newValue);
- return;
- case UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY:
- setMultiplicity((MultiplicityRule)newValue);
- return;
- case UmlParameterPackage.PARAMETER_RULE__MODIFIERS:
- setModifiers((ModifiersRule)newValue);
- return;
- case UmlParameterPackage.PARAMETER_RULE__EFFECT:
- setEffect((EffectRule)newValue);
- return;
- case UmlParameterPackage.PARAMETER_RULE__DEFAULT_VALUE:
- setDefaultValue((DefaultValueRule)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case UmlParameterPackage.PARAMETER_RULE__VISIBILITY:
- setVisibility((VisibilityRule)null);
- return;
- case UmlParameterPackage.PARAMETER_RULE__DIRECTION:
- setDirection((DirectionRule)null);
- return;
- case UmlParameterPackage.PARAMETER_RULE__NAME:
- setName(NAME_EDEFAULT);
- return;
- case UmlParameterPackage.PARAMETER_RULE__TYPE:
- setType((TypeRule)null);
- return;
- case UmlParameterPackage.PARAMETER_RULE__TYPE_UNDEFINED:
- setTypeUndefined(TYPE_UNDEFINED_EDEFAULT);
- return;
- case UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY:
- setMultiplicity((MultiplicityRule)null);
- return;
- case UmlParameterPackage.PARAMETER_RULE__MODIFIERS:
- setModifiers((ModifiersRule)null);
- return;
- case UmlParameterPackage.PARAMETER_RULE__EFFECT:
- setEffect((EffectRule)null);
- return;
- case UmlParameterPackage.PARAMETER_RULE__DEFAULT_VALUE:
- setDefaultValue((DefaultValueRule)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case UmlParameterPackage.PARAMETER_RULE__VISIBILITY:
- return visibility != null;
- case UmlParameterPackage.PARAMETER_RULE__DIRECTION:
- return direction != null;
- case UmlParameterPackage.PARAMETER_RULE__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case UmlParameterPackage.PARAMETER_RULE__TYPE:
- return type != null;
- case UmlParameterPackage.PARAMETER_RULE__TYPE_UNDEFINED:
- return typeUndefined != TYPE_UNDEFINED_EDEFAULT;
- case UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY:
- return multiplicity != null;
- case UmlParameterPackage.PARAMETER_RULE__MODIFIERS:
- return modifiers != null;
- case UmlParameterPackage.PARAMETER_RULE__EFFECT:
- return effect != null;
- case UmlParameterPackage.PARAMETER_RULE__DEFAULT_VALUE:
- return defaultValue != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(", typeUndefined: ");
- result.append(typeUndefined);
- result.append(')');
- return result.toString();
- }
-
-} //ParameterRuleImpl
+public class ParameterRuleImpl extends MinimalEObjectImpl.Container implements ParameterRule {
+ /**
+ * The cached value of the '{@link #getVisibility() <em>Visibility</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getVisibility()
+ * @generated
+ * @ordered
+ */
+ protected VisibilityRule visibility;
+
+ /**
+ * The cached value of the '{@link #getDirection() <em>Direction</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getDirection()
+ * @generated
+ * @ordered
+ */
+ protected DirectionRule direction;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected TypeRule type;
+
+ /**
+ * The default value of the '{@link #isTypeUndefined() <em>Type Undefined</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #isTypeUndefined()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean TYPE_UNDEFINED_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isTypeUndefined() <em>Type Undefined</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #isTypeUndefined()
+ * @generated
+ * @ordered
+ */
+ protected boolean typeUndefined = TYPE_UNDEFINED_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getMultiplicity()
+ * @generated
+ * @ordered
+ */
+ protected MultiplicityRule multiplicity;
+
+ /**
+ * The cached value of the '{@link #getModifiers() <em>Modifiers</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getModifiers()
+ * @generated
+ * @ordered
+ */
+ protected ModifiersRule modifiers;
+
+ /**
+ * The cached value of the '{@link #getEffect() <em>Effect</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getEffect()
+ * @generated
+ * @ordered
+ */
+ protected EffectRule effect;
+
+ /**
+ * The cached value of the '{@link #getDefaultValue() <em>Default Value</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getDefaultValue()
+ * @generated
+ * @ordered
+ */
+ protected DefaultValueRule defaultValue;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected ParameterRuleImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UmlParameterPackage.Literals.PARAMETER_RULE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public VisibilityRule getVisibility() {
+ return visibility;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public NotificationChain basicSetVisibility(VisibilityRule newVisibility, NotificationChain msgs) {
+ VisibilityRule oldVisibility = visibility;
+ visibility = newVisibility;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__VISIBILITY, oldVisibility, newVisibility);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setVisibility(VisibilityRule newVisibility) {
+ if (newVisibility != visibility) {
+ NotificationChain msgs = null;
+ if (visibility != null)
+ msgs = ((InternalEObject) visibility).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__VISIBILITY, null, msgs);
+ if (newVisibility != null)
+ msgs = ((InternalEObject) newVisibility).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__VISIBILITY, null, msgs);
+ msgs = basicSetVisibility(newVisibility, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__VISIBILITY, newVisibility, newVisibility));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public DirectionRule getDirection() {
+ return direction;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public NotificationChain basicSetDirection(DirectionRule newDirection, NotificationChain msgs) {
+ DirectionRule oldDirection = direction;
+ direction = newDirection;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__DIRECTION, oldDirection, newDirection);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setDirection(DirectionRule newDirection) {
+ if (newDirection != direction) {
+ NotificationChain msgs = null;
+ if (direction != null)
+ msgs = ((InternalEObject) direction).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__DIRECTION, null, msgs);
+ if (newDirection != null)
+ msgs = ((InternalEObject) newDirection).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__DIRECTION, null, msgs);
+ msgs = basicSetDirection(newDirection, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__DIRECTION, newDirection, newDirection));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public TypeRule getType() {
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public NotificationChain basicSetType(TypeRule newType, NotificationChain msgs) {
+ TypeRule oldType = type;
+ type = newType;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__TYPE, oldType, newType);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setType(TypeRule newType) {
+ if (newType != type) {
+ NotificationChain msgs = null;
+ if (type != null)
+ msgs = ((InternalEObject) type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__TYPE, null, msgs);
+ if (newType != null)
+ msgs = ((InternalEObject) newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__TYPE, null, msgs);
+ msgs = basicSetType(newType, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__TYPE, newType, newType));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isTypeUndefined() {
+ return typeUndefined;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setTypeUndefined(boolean newTypeUndefined) {
+ boolean oldTypeUndefined = typeUndefined;
+ typeUndefined = newTypeUndefined;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__TYPE_UNDEFINED, oldTypeUndefined, typeUndefined));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public MultiplicityRule getMultiplicity() {
+ return multiplicity;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public NotificationChain basicSetMultiplicity(MultiplicityRule newMultiplicity, NotificationChain msgs) {
+ MultiplicityRule oldMultiplicity = multiplicity;
+ multiplicity = newMultiplicity;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY, oldMultiplicity, newMultiplicity);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setMultiplicity(MultiplicityRule newMultiplicity) {
+ if (newMultiplicity != multiplicity) {
+ NotificationChain msgs = null;
+ if (multiplicity != null)
+ msgs = ((InternalEObject) multiplicity).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY, null, msgs);
+ if (newMultiplicity != null)
+ msgs = ((InternalEObject) newMultiplicity).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY, null, msgs);
+ msgs = basicSetMultiplicity(newMultiplicity, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY, newMultiplicity, newMultiplicity));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public ModifiersRule getModifiers() {
+ return modifiers;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public NotificationChain basicSetModifiers(ModifiersRule newModifiers, NotificationChain msgs) {
+ ModifiersRule oldModifiers = modifiers;
+ modifiers = newModifiers;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__MODIFIERS, oldModifiers, newModifiers);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setModifiers(ModifiersRule newModifiers) {
+ if (newModifiers != modifiers) {
+ NotificationChain msgs = null;
+ if (modifiers != null)
+ msgs = ((InternalEObject) modifiers).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__MODIFIERS, null, msgs);
+ if (newModifiers != null)
+ msgs = ((InternalEObject) newModifiers).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__MODIFIERS, null, msgs);
+ msgs = basicSetModifiers(newModifiers, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__MODIFIERS, newModifiers, newModifiers));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EffectRule getEffect() {
+ return effect;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public NotificationChain basicSetEffect(EffectRule newEffect, NotificationChain msgs) {
+ EffectRule oldEffect = effect;
+ effect = newEffect;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__EFFECT, oldEffect, newEffect);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setEffect(EffectRule newEffect) {
+ if (newEffect != effect) {
+ NotificationChain msgs = null;
+ if (effect != null)
+ msgs = ((InternalEObject) effect).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__EFFECT, null, msgs);
+ if (newEffect != null)
+ msgs = ((InternalEObject) newEffect).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__EFFECT, null, msgs);
+ msgs = basicSetEffect(newEffect, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__EFFECT, newEffect, newEffect));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public DefaultValueRule getDefaultValue() {
+ return defaultValue;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public NotificationChain basicSetDefaultValue(DefaultValueRule newDefaultValue, NotificationChain msgs) {
+ DefaultValueRule oldDefaultValue = defaultValue;
+ defaultValue = newDefaultValue;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__DEFAULT_VALUE, oldDefaultValue, newDefaultValue);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setDefaultValue(DefaultValueRule newDefaultValue) {
+ if (newDefaultValue != defaultValue) {
+ NotificationChain msgs = null;
+ if (defaultValue != null)
+ msgs = ((InternalEObject) defaultValue).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__DEFAULT_VALUE, null, msgs);
+ if (newDefaultValue != null)
+ msgs = ((InternalEObject) newDefaultValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlParameterPackage.PARAMETER_RULE__DEFAULT_VALUE, null, msgs);
+ msgs = basicSetDefaultValue(newDefaultValue, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.PARAMETER_RULE__DEFAULT_VALUE, newDefaultValue, newDefaultValue));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case UmlParameterPackage.PARAMETER_RULE__VISIBILITY:
+ return basicSetVisibility(null, msgs);
+ case UmlParameterPackage.PARAMETER_RULE__DIRECTION:
+ return basicSetDirection(null, msgs);
+ case UmlParameterPackage.PARAMETER_RULE__TYPE:
+ return basicSetType(null, msgs);
+ case UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY:
+ return basicSetMultiplicity(null, msgs);
+ case UmlParameterPackage.PARAMETER_RULE__MODIFIERS:
+ return basicSetModifiers(null, msgs);
+ case UmlParameterPackage.PARAMETER_RULE__EFFECT:
+ return basicSetEffect(null, msgs);
+ case UmlParameterPackage.PARAMETER_RULE__DEFAULT_VALUE:
+ return basicSetDefaultValue(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case UmlParameterPackage.PARAMETER_RULE__VISIBILITY:
+ return getVisibility();
+ case UmlParameterPackage.PARAMETER_RULE__DIRECTION:
+ return getDirection();
+ case UmlParameterPackage.PARAMETER_RULE__NAME:
+ return getName();
+ case UmlParameterPackage.PARAMETER_RULE__TYPE:
+ return getType();
+ case UmlParameterPackage.PARAMETER_RULE__TYPE_UNDEFINED:
+ return isTypeUndefined();
+ case UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY:
+ return getMultiplicity();
+ case UmlParameterPackage.PARAMETER_RULE__MODIFIERS:
+ return getModifiers();
+ case UmlParameterPackage.PARAMETER_RULE__EFFECT:
+ return getEffect();
+ case UmlParameterPackage.PARAMETER_RULE__DEFAULT_VALUE:
+ return getDefaultValue();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case UmlParameterPackage.PARAMETER_RULE__VISIBILITY:
+ setVisibility((VisibilityRule) newValue);
+ return;
+ case UmlParameterPackage.PARAMETER_RULE__DIRECTION:
+ setDirection((DirectionRule) newValue);
+ return;
+ case UmlParameterPackage.PARAMETER_RULE__NAME:
+ setName((String) newValue);
+ return;
+ case UmlParameterPackage.PARAMETER_RULE__TYPE:
+ setType((TypeRule) newValue);
+ return;
+ case UmlParameterPackage.PARAMETER_RULE__TYPE_UNDEFINED:
+ setTypeUndefined((Boolean) newValue);
+ return;
+ case UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY:
+ setMultiplicity((MultiplicityRule) newValue);
+ return;
+ case UmlParameterPackage.PARAMETER_RULE__MODIFIERS:
+ setModifiers((ModifiersRule) newValue);
+ return;
+ case UmlParameterPackage.PARAMETER_RULE__EFFECT:
+ setEffect((EffectRule) newValue);
+ return;
+ case UmlParameterPackage.PARAMETER_RULE__DEFAULT_VALUE:
+ setDefaultValue((DefaultValueRule) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case UmlParameterPackage.PARAMETER_RULE__VISIBILITY:
+ setVisibility((VisibilityRule) null);
+ return;
+ case UmlParameterPackage.PARAMETER_RULE__DIRECTION:
+ setDirection((DirectionRule) null);
+ return;
+ case UmlParameterPackage.PARAMETER_RULE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case UmlParameterPackage.PARAMETER_RULE__TYPE:
+ setType((TypeRule) null);
+ return;
+ case UmlParameterPackage.PARAMETER_RULE__TYPE_UNDEFINED:
+ setTypeUndefined(TYPE_UNDEFINED_EDEFAULT);
+ return;
+ case UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY:
+ setMultiplicity((MultiplicityRule) null);
+ return;
+ case UmlParameterPackage.PARAMETER_RULE__MODIFIERS:
+ setModifiers((ModifiersRule) null);
+ return;
+ case UmlParameterPackage.PARAMETER_RULE__EFFECT:
+ setEffect((EffectRule) null);
+ return;
+ case UmlParameterPackage.PARAMETER_RULE__DEFAULT_VALUE:
+ setDefaultValue((DefaultValueRule) null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case UmlParameterPackage.PARAMETER_RULE__VISIBILITY:
+ return visibility != null;
+ case UmlParameterPackage.PARAMETER_RULE__DIRECTION:
+ return direction != null;
+ case UmlParameterPackage.PARAMETER_RULE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case UmlParameterPackage.PARAMETER_RULE__TYPE:
+ return type != null;
+ case UmlParameterPackage.PARAMETER_RULE__TYPE_UNDEFINED:
+ return typeUndefined != TYPE_UNDEFINED_EDEFAULT;
+ case UmlParameterPackage.PARAMETER_RULE__MULTIPLICITY:
+ return multiplicity != null;
+ case UmlParameterPackage.PARAMETER_RULE__MODIFIERS:
+ return modifiers != null;
+ case UmlParameterPackage.PARAMETER_RULE__EFFECT:
+ return effect != null;
+ case UmlParameterPackage.PARAMETER_RULE__DEFAULT_VALUE:
+ return defaultValue != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuilder result = new StringBuilder(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(", typeUndefined: ");
+ result.append(typeUndefined);
+ result.append(')');
+ return result.toString();
+ }
+
+} // ParameterRuleImpl
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/RealValueImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/RealValueImpl.java
index ce7b912e80a..c095046fcfd 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/RealValueImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/RealValueImpl.java
@@ -3,11 +3,8 @@
package org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.ecore.EClass;
-
import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage;
@@ -17,216 +14,216 @@ import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParamete
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.RealValueImpl#getInteger <em>Integer</em>}</li>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.RealValueImpl#getFraction <em>Fraction</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.RealValueImpl#getInteger <em>Integer</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.RealValueImpl#getFraction <em>Fraction</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
-public class RealValueImpl extends ValueImpl implements RealValue
-{
- /**
- * The default value of the '{@link #getInteger() <em>Integer</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getInteger()
- * @generated
- * @ordered
- */
- protected static final int INTEGER_EDEFAULT = 0;
-
- /**
- * The cached value of the '{@link #getInteger() <em>Integer</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getInteger()
- * @generated
- * @ordered
- */
- protected int integer = INTEGER_EDEFAULT;
-
- /**
- * The default value of the '{@link #getFraction() <em>Fraction</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getFraction()
- * @generated
- * @ordered
- */
- protected static final int FRACTION_EDEFAULT = 0;
-
- /**
- * The cached value of the '{@link #getFraction() <em>Fraction</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getFraction()
- * @generated
- * @ordered
- */
- protected int fraction = FRACTION_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected RealValueImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return UmlParameterPackage.Literals.REAL_VALUE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getInteger()
- {
- return integer;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setInteger(int newInteger)
- {
- int oldInteger = integer;
- integer = newInteger;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.REAL_VALUE__INTEGER, oldInteger, integer));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getFraction()
- {
- return fraction;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setFraction(int newFraction)
- {
- int oldFraction = fraction;
- fraction = newFraction;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.REAL_VALUE__FRACTION, oldFraction, fraction));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case UmlParameterPackage.REAL_VALUE__INTEGER:
- return getInteger();
- case UmlParameterPackage.REAL_VALUE__FRACTION:
- return getFraction();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case UmlParameterPackage.REAL_VALUE__INTEGER:
- setInteger((Integer)newValue);
- return;
- case UmlParameterPackage.REAL_VALUE__FRACTION:
- setFraction((Integer)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case UmlParameterPackage.REAL_VALUE__INTEGER:
- setInteger(INTEGER_EDEFAULT);
- return;
- case UmlParameterPackage.REAL_VALUE__FRACTION:
- setFraction(FRACTION_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case UmlParameterPackage.REAL_VALUE__INTEGER:
- return integer != INTEGER_EDEFAULT;
- case UmlParameterPackage.REAL_VALUE__FRACTION:
- return fraction != FRACTION_EDEFAULT;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (integer: ");
- result.append(integer);
- result.append(", fraction: ");
- result.append(fraction);
- result.append(')');
- return result.toString();
- }
-
-} //RealValueImpl
+public class RealValueImpl extends ValueImpl implements RealValue {
+ /**
+ * The default value of the '{@link #getInteger() <em>Integer</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getInteger()
+ * @generated
+ * @ordered
+ */
+ protected static final int INTEGER_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getInteger() <em>Integer</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getInteger()
+ * @generated
+ * @ordered
+ */
+ protected int integer = INTEGER_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getFraction() <em>Fraction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getFraction()
+ * @generated
+ * @ordered
+ */
+ protected static final int FRACTION_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getFraction() <em>Fraction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getFraction()
+ * @generated
+ * @ordered
+ */
+ protected int fraction = FRACTION_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected RealValueImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UmlParameterPackage.Literals.REAL_VALUE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public int getInteger() {
+ return integer;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setInteger(int newInteger) {
+ int oldInteger = integer;
+ integer = newInteger;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.REAL_VALUE__INTEGER, oldInteger, integer));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public int getFraction() {
+ return fraction;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setFraction(int newFraction) {
+ int oldFraction = fraction;
+ fraction = newFraction;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.REAL_VALUE__FRACTION, oldFraction, fraction));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case UmlParameterPackage.REAL_VALUE__INTEGER:
+ return getInteger();
+ case UmlParameterPackage.REAL_VALUE__FRACTION:
+ return getFraction();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case UmlParameterPackage.REAL_VALUE__INTEGER:
+ setInteger((Integer) newValue);
+ return;
+ case UmlParameterPackage.REAL_VALUE__FRACTION:
+ setFraction((Integer) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case UmlParameterPackage.REAL_VALUE__INTEGER:
+ setInteger(INTEGER_EDEFAULT);
+ return;
+ case UmlParameterPackage.REAL_VALUE__FRACTION:
+ setFraction(FRACTION_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case UmlParameterPackage.REAL_VALUE__INTEGER:
+ return integer != INTEGER_EDEFAULT;
+ case UmlParameterPackage.REAL_VALUE__FRACTION:
+ return fraction != FRACTION_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuilder result = new StringBuilder(super.toString());
+ result.append(" (integer: ");
+ result.append(integer);
+ result.append(", fraction: ");
+ result.append(fraction);
+ result.append(')');
+ return result.toString();
+ }
+
+} // RealValueImpl
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/StringValueImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/StringValueImpl.java
index bf00bd076aa..d2fadf3065d 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/StringValueImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/StringValueImpl.java
@@ -3,11 +3,8 @@
package org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.ecore.EClass;
-
import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.StringValue;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage;
@@ -17,160 +14,158 @@ import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParamete
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.StringValueImpl#getLiteralString <em>Literal String</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.StringValueImpl#getLiteralString <em>Literal String</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
-public class StringValueImpl extends ValueImpl implements StringValue
-{
- /**
- * The default value of the '{@link #getLiteralString() <em>Literal String</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLiteralString()
- * @generated
- * @ordered
- */
- protected static final String LITERAL_STRING_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getLiteralString() <em>Literal String</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLiteralString()
- * @generated
- * @ordered
- */
- protected String literalString = LITERAL_STRING_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected StringValueImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return UmlParameterPackage.Literals.STRING_VALUE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLiteralString()
- {
- return literalString;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLiteralString(String newLiteralString)
- {
- String oldLiteralString = literalString;
- literalString = newLiteralString;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.STRING_VALUE__LITERAL_STRING, oldLiteralString, literalString));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case UmlParameterPackage.STRING_VALUE__LITERAL_STRING:
- return getLiteralString();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case UmlParameterPackage.STRING_VALUE__LITERAL_STRING:
- setLiteralString((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case UmlParameterPackage.STRING_VALUE__LITERAL_STRING:
- setLiteralString(LITERAL_STRING_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case UmlParameterPackage.STRING_VALUE__LITERAL_STRING:
- return LITERAL_STRING_EDEFAULT == null ? literalString != null : !LITERAL_STRING_EDEFAULT.equals(literalString);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (literalString: ");
- result.append(literalString);
- result.append(')');
- return result.toString();
- }
-
-} //StringValueImpl
+public class StringValueImpl extends ValueImpl implements StringValue {
+ /**
+ * The default value of the '{@link #getLiteralString() <em>Literal String</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getLiteralString()
+ * @generated
+ * @ordered
+ */
+ protected static final String LITERAL_STRING_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getLiteralString() <em>Literal String</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getLiteralString()
+ * @generated
+ * @ordered
+ */
+ protected String literalString = LITERAL_STRING_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected StringValueImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UmlParameterPackage.Literals.STRING_VALUE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getLiteralString() {
+ return literalString;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setLiteralString(String newLiteralString) {
+ String oldLiteralString = literalString;
+ literalString = newLiteralString;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, UmlParameterPackage.STRING_VALUE__LITERAL_STRING, oldLiteralString, literalString));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case UmlParameterPackage.STRING_VALUE__LITERAL_STRING:
+ return getLiteralString();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case UmlParameterPackage.STRING_VALUE__LITERAL_STRING:
+ setLiteralString((String) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case UmlParameterPackage.STRING_VALUE__LITERAL_STRING:
+ setLiteralString(LITERAL_STRING_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case UmlParameterPackage.STRING_VALUE__LITERAL_STRING:
+ return LITERAL_STRING_EDEFAULT == null ? literalString != null : !LITERAL_STRING_EDEFAULT.equals(literalString);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuilder result = new StringBuilder(super.toString());
+ result.append(" (literalString: ");
+ result.append(literalString);
+ result.append(')');
+ return result.toString();
+ }
+
+} // StringValueImpl
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/UmlParameterFactoryImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/UmlParameterFactoryImpl.java
index 471c4ce154f..43bd33c289b 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/UmlParameterFactoryImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/UmlParameterFactoryImpl.java
@@ -6,366 +6,391 @@ import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EDataType;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
-
import org.eclipse.emf.ecore.impl.EFactoryImpl;
-
import org.eclipse.emf.ecore.plugin.EcorePlugin;
-
-import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.*;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanLiterals;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanValue;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DefaultValueRule;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DirectionRule;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectKind;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectRule;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.IntValue;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierKind;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierSpecification;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifiersRule;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.NoValue;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.NullValue;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.StringValue;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterFactory;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.Value;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.VisibilityRule;
/**
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- end-user-doc -->
+ *
* @generated
*/
-public class UmlParameterFactoryImpl extends EFactoryImpl implements UmlParameterFactory
-{
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static UmlParameterFactory init()
- {
- try
- {
- UmlParameterFactory theUmlParameterFactory = (UmlParameterFactory)EPackage.Registry.INSTANCE.getEFactory(UmlParameterPackage.eNS_URI);
- if (theUmlParameterFactory != null)
- {
- return theUmlParameterFactory;
- }
- }
- catch (Exception exception)
- {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new UmlParameterFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public UmlParameterFactoryImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EObject create(EClass eClass)
- {
- switch (eClass.getClassifierID())
- {
- case UmlParameterPackage.PARAMETER_RULE: return createParameterRule();
- case UmlParameterPackage.MODIFIERS_RULE: return createModifiersRule();
- case UmlParameterPackage.MODIFIER_SPECIFICATION: return createModifierSpecification();
- case UmlParameterPackage.VISIBILITY_RULE: return createVisibilityRule();
- case UmlParameterPackage.DIRECTION_RULE: return createDirectionRule();
- case UmlParameterPackage.EFFECT_RULE: return createEffectRule();
- case UmlParameterPackage.DEFAULT_VALUE_RULE: return createDefaultValueRule();
- case UmlParameterPackage.VALUE: return createValue();
- case UmlParameterPackage.INT_VALUE: return createIntValue();
- case UmlParameterPackage.STRING_VALUE: return createStringValue();
- case UmlParameterPackage.BOOLEAN_VALUE: return createBooleanValue();
- case UmlParameterPackage.REAL_VALUE: return createRealValue();
- case UmlParameterPackage.NULL_VALUE: return createNullValue();
- case UmlParameterPackage.NO_VALUE: return createNoValue();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object createFromString(EDataType eDataType, String initialValue)
- {
- switch (eDataType.getClassifierID())
- {
- case UmlParameterPackage.MODIFIER_KIND:
- return createModifierKindFromString(eDataType, initialValue);
- case UmlParameterPackage.EFFECT_KIND:
- return createEffectKindFromString(eDataType, initialValue);
- case UmlParameterPackage.BOOLEAN_LITERALS:
- return createBooleanLiteralsFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String convertToString(EDataType eDataType, Object instanceValue)
- {
- switch (eDataType.getClassifierID())
- {
- case UmlParameterPackage.MODIFIER_KIND:
- return convertModifierKindToString(eDataType, instanceValue);
- case UmlParameterPackage.EFFECT_KIND:
- return convertEffectKindToString(eDataType, instanceValue);
- case UmlParameterPackage.BOOLEAN_LITERALS:
- return convertBooleanLiteralsToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ParameterRule createParameterRule()
- {
- ParameterRuleImpl parameterRule = new ParameterRuleImpl();
- return parameterRule;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ModifiersRule createModifiersRule()
- {
- ModifiersRuleImpl modifiersRule = new ModifiersRuleImpl();
- return modifiersRule;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ModifierSpecification createModifierSpecification()
- {
- ModifierSpecificationImpl modifierSpecification = new ModifierSpecificationImpl();
- return modifierSpecification;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public VisibilityRule createVisibilityRule()
- {
- VisibilityRuleImpl visibilityRule = new VisibilityRuleImpl();
- return visibilityRule;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DirectionRule createDirectionRule()
- {
- DirectionRuleImpl directionRule = new DirectionRuleImpl();
- return directionRule;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EffectRule createEffectRule()
- {
- EffectRuleImpl effectRule = new EffectRuleImpl();
- return effectRule;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DefaultValueRule createDefaultValueRule()
- {
- DefaultValueRuleImpl defaultValueRule = new DefaultValueRuleImpl();
- return defaultValueRule;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Value createValue()
- {
- ValueImpl value = new ValueImpl();
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public IntValue createIntValue()
- {
- IntValueImpl intValue = new IntValueImpl();
- return intValue;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public StringValue createStringValue()
- {
- StringValueImpl stringValue = new StringValueImpl();
- return stringValue;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public BooleanValue createBooleanValue()
- {
- BooleanValueImpl booleanValue = new BooleanValueImpl();
- return booleanValue;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RealValue createRealValue()
- {
- RealValueImpl realValue = new RealValueImpl();
- return realValue;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NullValue createNullValue()
- {
- NullValueImpl nullValue = new NullValueImpl();
- return nullValue;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NoValue createNoValue()
- {
- NoValueImpl noValue = new NoValueImpl();
- return noValue;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ModifierKind createModifierKindFromString(EDataType eDataType, String initialValue)
- {
- ModifierKind result = ModifierKind.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- return result;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertModifierKindToString(EDataType eDataType, Object instanceValue)
- {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EffectKind createEffectKindFromString(EDataType eDataType, String initialValue)
- {
- EffectKind result = EffectKind.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- return result;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertEffectKindToString(EDataType eDataType, Object instanceValue)
- {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public BooleanLiterals createBooleanLiteralsFromString(EDataType eDataType, String initialValue)
- {
- BooleanLiterals result = BooleanLiterals.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- return result;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertBooleanLiteralsToString(EDataType eDataType, Object instanceValue)
- {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public UmlParameterPackage getUmlParameterPackage()
- {
- return (UmlParameterPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- @Deprecated
- public static UmlParameterPackage getPackage()
- {
- return UmlParameterPackage.eINSTANCE;
- }
-
-} //UmlParameterFactoryImpl
+public class UmlParameterFactoryImpl extends EFactoryImpl implements UmlParameterFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public static UmlParameterFactory init() {
+ try {
+ UmlParameterFactory theUmlParameterFactory = (UmlParameterFactory) EPackage.Registry.INSTANCE.getEFactory(UmlParameterPackage.eNS_URI);
+ if (theUmlParameterFactory != null) {
+ return theUmlParameterFactory;
+ }
+ } catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new UmlParameterFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public UmlParameterFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case UmlParameterPackage.PARAMETER_RULE:
+ return createParameterRule();
+ case UmlParameterPackage.MODIFIERS_RULE:
+ return createModifiersRule();
+ case UmlParameterPackage.MODIFIER_SPECIFICATION:
+ return createModifierSpecification();
+ case UmlParameterPackage.VISIBILITY_RULE:
+ return createVisibilityRule();
+ case UmlParameterPackage.DIRECTION_RULE:
+ return createDirectionRule();
+ case UmlParameterPackage.EFFECT_RULE:
+ return createEffectRule();
+ case UmlParameterPackage.DEFAULT_VALUE_RULE:
+ return createDefaultValueRule();
+ case UmlParameterPackage.VALUE:
+ return createValue();
+ case UmlParameterPackage.INT_VALUE:
+ return createIntValue();
+ case UmlParameterPackage.STRING_VALUE:
+ return createStringValue();
+ case UmlParameterPackage.BOOLEAN_VALUE:
+ return createBooleanValue();
+ case UmlParameterPackage.REAL_VALUE:
+ return createRealValue();
+ case UmlParameterPackage.NULL_VALUE:
+ return createNullValue();
+ case UmlParameterPackage.NO_VALUE:
+ return createNoValue();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public Object createFromString(EDataType eDataType, String initialValue) {
+ switch (eDataType.getClassifierID()) {
+ case UmlParameterPackage.MODIFIER_KIND:
+ return createModifierKindFromString(eDataType, initialValue);
+ case UmlParameterPackage.EFFECT_KIND:
+ return createEffectKindFromString(eDataType, initialValue);
+ case UmlParameterPackage.BOOLEAN_LITERALS:
+ return createBooleanLiteralsFromString(eDataType, initialValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public String convertToString(EDataType eDataType, Object instanceValue) {
+ switch (eDataType.getClassifierID()) {
+ case UmlParameterPackage.MODIFIER_KIND:
+ return convertModifierKindToString(eDataType, instanceValue);
+ case UmlParameterPackage.EFFECT_KIND:
+ return convertEffectKindToString(eDataType, instanceValue);
+ case UmlParameterPackage.BOOLEAN_LITERALS:
+ return convertBooleanLiteralsToString(eDataType, instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public ParameterRule createParameterRule() {
+ ParameterRuleImpl parameterRule = new ParameterRuleImpl();
+ return parameterRule;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public ModifiersRule createModifiersRule() {
+ ModifiersRuleImpl modifiersRule = new ModifiersRuleImpl();
+ return modifiersRule;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public ModifierSpecification createModifierSpecification() {
+ ModifierSpecificationImpl modifierSpecification = new ModifierSpecificationImpl();
+ return modifierSpecification;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public VisibilityRule createVisibilityRule() {
+ VisibilityRuleImpl visibilityRule = new VisibilityRuleImpl();
+ return visibilityRule;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public DirectionRule createDirectionRule() {
+ DirectionRuleImpl directionRule = new DirectionRuleImpl();
+ return directionRule;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EffectRule createEffectRule() {
+ EffectRuleImpl effectRule = new EffectRuleImpl();
+ return effectRule;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public DefaultValueRule createDefaultValueRule() {
+ DefaultValueRuleImpl defaultValueRule = new DefaultValueRuleImpl();
+ return defaultValueRule;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Value createValue() {
+ ValueImpl value = new ValueImpl();
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public IntValue createIntValue() {
+ IntValueImpl intValue = new IntValueImpl();
+ return intValue;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public StringValue createStringValue() {
+ StringValueImpl stringValue = new StringValueImpl();
+ return stringValue;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public BooleanValue createBooleanValue() {
+ BooleanValueImpl booleanValue = new BooleanValueImpl();
+ return booleanValue;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public RealValue createRealValue() {
+ RealValueImpl realValue = new RealValueImpl();
+ return realValue;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public NullValue createNullValue() {
+ NullValueImpl nullValue = new NullValueImpl();
+ return nullValue;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public NoValue createNoValue() {
+ NoValueImpl noValue = new NoValueImpl();
+ return noValue;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public ModifierKind createModifierKindFromString(EDataType eDataType, String initialValue) {
+ ModifierKind result = ModifierKind.get(initialValue);
+ if (result == null)
+ throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String convertModifierKindToString(EDataType eDataType, Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EffectKind createEffectKindFromString(EDataType eDataType, String initialValue) {
+ EffectKind result = EffectKind.get(initialValue);
+ if (result == null)
+ throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String convertEffectKindToString(EDataType eDataType, Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public BooleanLiterals createBooleanLiteralsFromString(EDataType eDataType, String initialValue) {
+ BooleanLiterals result = BooleanLiterals.get(initialValue);
+ if (result == null)
+ throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String convertBooleanLiteralsToString(EDataType eDataType, Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public UmlParameterPackage getUmlParameterPackage() {
+ return (UmlParameterPackage) getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static UmlParameterPackage getPackage() {
+ return UmlParameterPackage.eINSTANCE;
+ }
+
+} // UmlParameterFactoryImpl
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/UmlParameterPackageImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/UmlParameterPackageImpl.java
index 0e09af2f445..9374ca460e7 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/UmlParameterPackageImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/UmlParameterPackageImpl.java
@@ -8,11 +8,8 @@ import org.eclipse.emf.ecore.EEnum;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.EcorePackage;
-
import org.eclipse.emf.ecore.impl.EPackageImpl;
-
import org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.UmlCommonPackage;
-
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanLiterals;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanValue;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DefaultValueRule;
@@ -32,762 +29,799 @@ import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParamete
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.Value;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.VisibilityRule;
+import org.eclipse.uml2.types.TypesPackage;
+import org.eclipse.uml2.uml.UMLPackage;
/**
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
+ *
* @generated
*/
-public class UmlParameterPackageImpl extends EPackageImpl implements UmlParameterPackage
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass parameterRuleEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass modifiersRuleEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass modifierSpecificationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass visibilityRuleEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass directionRuleEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass effectRuleEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass defaultValueRuleEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass valueEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass intValueEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass stringValueEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass booleanValueEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass realValueEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass nullValueEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass noValueEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EEnum modifierKindEEnum = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EEnum effectKindEEnum = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EEnum booleanLiteralsEEnum = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private UmlParameterPackageImpl()
- {
- super(eNS_URI, UmlParameterFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
- * <p>This method is used to initialize {@link UmlParameterPackage#eINSTANCE} when that field is accessed.
- * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static UmlParameterPackage init()
- {
- if (isInited) return (UmlParameterPackage)EPackage.Registry.INSTANCE.getEPackage(UmlParameterPackage.eNS_URI);
-
- // Obtain or create and register package
- UmlParameterPackageImpl theUmlParameterPackage = (UmlParameterPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof UmlParameterPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new UmlParameterPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- UmlCommonPackage.eINSTANCE.eClass();
-
- // Create package meta-data objects
- theUmlParameterPackage.createPackageContents();
-
- // Initialize created meta-data
- theUmlParameterPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theUmlParameterPackage.freeze();
-
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(UmlParameterPackage.eNS_URI, theUmlParameterPackage);
- return theUmlParameterPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getParameterRule()
- {
- return parameterRuleEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getParameterRule_Visibility()
- {
- return (EReference)parameterRuleEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getParameterRule_Direction()
- {
- return (EReference)parameterRuleEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getParameterRule_Name()
- {
- return (EAttribute)parameterRuleEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getParameterRule_Type()
- {
- return (EReference)parameterRuleEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getParameterRule_TypeUndefined()
- {
- return (EAttribute)parameterRuleEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getParameterRule_Multiplicity()
- {
- return (EReference)parameterRuleEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getParameterRule_Modifiers()
- {
- return (EReference)parameterRuleEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getParameterRule_Effect()
- {
- return (EReference)parameterRuleEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getParameterRule_DefaultValue()
- {
- return (EReference)parameterRuleEClass.getEStructuralFeatures().get(8);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getModifiersRule()
- {
- return modifiersRuleEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getModifiersRule_Values()
- {
- return (EReference)modifiersRuleEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getModifierSpecification()
- {
- return modifierSpecificationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getModifierSpecification_Value()
- {
- return (EAttribute)modifierSpecificationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getVisibilityRule()
- {
- return visibilityRuleEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getVisibilityRule_Visibility()
- {
- return (EAttribute)visibilityRuleEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getDirectionRule()
- {
- return directionRuleEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getDirectionRule_Direction()
- {
- return (EAttribute)directionRuleEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getEffectRule()
- {
- return effectRuleEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getEffectRule_EffectKind()
- {
- return (EAttribute)effectRuleEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getDefaultValueRule()
- {
- return defaultValueRuleEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDefaultValueRule_Default()
- {
- return (EReference)defaultValueRuleEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getValue()
- {
- return valueEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIntValue()
- {
- return intValueEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getIntValue_LiteralInteger()
- {
- return (EAttribute)intValueEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getStringValue()
- {
- return stringValueEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getStringValue_LiteralString()
- {
- return (EAttribute)stringValueEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getBooleanValue()
- {
- return booleanValueEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBooleanValue_LiteralBoolean()
- {
- return (EAttribute)booleanValueEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getRealValue()
- {
- return realValueEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getRealValue_Integer()
- {
- return (EAttribute)realValueEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getRealValue_Fraction()
- {
- return (EAttribute)realValueEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getNullValue()
- {
- return nullValueEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getNoValue()
- {
- return noValueEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EEnum getModifierKind()
- {
- return modifierKindEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EEnum getEffectKind()
- {
- return effectKindEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EEnum getBooleanLiterals()
- {
- return booleanLiteralsEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public UmlParameterFactory getUmlParameterFactory()
- {
- return (UmlParameterFactory)getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void createPackageContents()
- {
- if (isCreated) return;
- isCreated = true;
-
- // Create classes and their features
- parameterRuleEClass = createEClass(PARAMETER_RULE);
- createEReference(parameterRuleEClass, PARAMETER_RULE__VISIBILITY);
- createEReference(parameterRuleEClass, PARAMETER_RULE__DIRECTION);
- createEAttribute(parameterRuleEClass, PARAMETER_RULE__NAME);
- createEReference(parameterRuleEClass, PARAMETER_RULE__TYPE);
- createEAttribute(parameterRuleEClass, PARAMETER_RULE__TYPE_UNDEFINED);
- createEReference(parameterRuleEClass, PARAMETER_RULE__MULTIPLICITY);
- createEReference(parameterRuleEClass, PARAMETER_RULE__MODIFIERS);
- createEReference(parameterRuleEClass, PARAMETER_RULE__EFFECT);
- createEReference(parameterRuleEClass, PARAMETER_RULE__DEFAULT_VALUE);
-
- modifiersRuleEClass = createEClass(MODIFIERS_RULE);
- createEReference(modifiersRuleEClass, MODIFIERS_RULE__VALUES);
-
- modifierSpecificationEClass = createEClass(MODIFIER_SPECIFICATION);
- createEAttribute(modifierSpecificationEClass, MODIFIER_SPECIFICATION__VALUE);
-
- visibilityRuleEClass = createEClass(VISIBILITY_RULE);
- createEAttribute(visibilityRuleEClass, VISIBILITY_RULE__VISIBILITY);
-
- directionRuleEClass = createEClass(DIRECTION_RULE);
- createEAttribute(directionRuleEClass, DIRECTION_RULE__DIRECTION);
-
- effectRuleEClass = createEClass(EFFECT_RULE);
- createEAttribute(effectRuleEClass, EFFECT_RULE__EFFECT_KIND);
-
- defaultValueRuleEClass = createEClass(DEFAULT_VALUE_RULE);
- createEReference(defaultValueRuleEClass, DEFAULT_VALUE_RULE__DEFAULT);
-
- valueEClass = createEClass(VALUE);
-
- intValueEClass = createEClass(INT_VALUE);
- createEAttribute(intValueEClass, INT_VALUE__LITERAL_INTEGER);
-
- stringValueEClass = createEClass(STRING_VALUE);
- createEAttribute(stringValueEClass, STRING_VALUE__LITERAL_STRING);
-
- booleanValueEClass = createEClass(BOOLEAN_VALUE);
- createEAttribute(booleanValueEClass, BOOLEAN_VALUE__LITERAL_BOOLEAN);
-
- realValueEClass = createEClass(REAL_VALUE);
- createEAttribute(realValueEClass, REAL_VALUE__INTEGER);
- createEAttribute(realValueEClass, REAL_VALUE__FRACTION);
-
- nullValueEClass = createEClass(NULL_VALUE);
-
- noValueEClass = createEClass(NO_VALUE);
-
- // Create enums
- modifierKindEEnum = createEEnum(MODIFIER_KIND);
- effectKindEEnum = createEEnum(EFFECT_KIND);
- booleanLiteralsEEnum = createEEnum(BOOLEAN_LITERALS);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void initializePackageContents()
- {
- if (isInitialized) return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Obtain other dependent packages
- EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
- UmlCommonPackage theUmlCommonPackage = (UmlCommonPackage)EPackage.Registry.INSTANCE.getEPackage(UmlCommonPackage.eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
- intValueEClass.getESuperTypes().add(this.getValue());
- stringValueEClass.getESuperTypes().add(this.getValue());
- booleanValueEClass.getESuperTypes().add(this.getValue());
- realValueEClass.getESuperTypes().add(this.getValue());
- nullValueEClass.getESuperTypes().add(this.getValue());
- noValueEClass.getESuperTypes().add(this.getValue());
-
- // Initialize classes and features; add operations and parameters
- initEClass(parameterRuleEClass, ParameterRule.class, "ParameterRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getParameterRule_Visibility(), this.getVisibilityRule(), null, "visibility", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getParameterRule_Direction(), this.getDirectionRule(), null, "direction", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getParameterRule_Name(), theEcorePackage.getEString(), "name", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getParameterRule_Type(), theUmlCommonPackage.getTypeRule(), null, "type", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getParameterRule_TypeUndefined(), theEcorePackage.getEBoolean(), "typeUndefined", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getParameterRule_Multiplicity(), theUmlCommonPackage.getMultiplicityRule(), null, "multiplicity", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getParameterRule_Modifiers(), this.getModifiersRule(), null, "modifiers", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getParameterRule_Effect(), this.getEffectRule(), null, "effect", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getParameterRule_DefaultValue(), this.getDefaultValueRule(), null, "defaultValue", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(modifiersRuleEClass, ModifiersRule.class, "ModifiersRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getModifiersRule_Values(), this.getModifierSpecification(), null, "values", null, 0, -1, ModifiersRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(modifierSpecificationEClass, ModifierSpecification.class, "ModifierSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getModifierSpecification_Value(), this.getModifierKind(), "value", null, 0, 1, ModifierSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(visibilityRuleEClass, VisibilityRule.class, "VisibilityRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getVisibilityRule_Visibility(), theUmlCommonPackage.getVisibilityKind(), "visibility", null, 0, 1, VisibilityRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(directionRuleEClass, DirectionRule.class, "DirectionRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getDirectionRule_Direction(), theUmlCommonPackage.getDirection(), "direction", null, 0, 1, DirectionRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(effectRuleEClass, EffectRule.class, "EffectRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getEffectRule_EffectKind(), this.getEffectKind(), "effectKind", null, 0, 1, EffectRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(defaultValueRuleEClass, DefaultValueRule.class, "DefaultValueRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getDefaultValueRule_Default(), this.getValue(), null, "default", null, 0, 1, DefaultValueRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(valueEClass, Value.class, "Value", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(intValueEClass, IntValue.class, "IntValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getIntValue_LiteralInteger(), theEcorePackage.getEInt(), "literalInteger", null, 0, 1, IntValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(stringValueEClass, StringValue.class, "StringValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getStringValue_LiteralString(), theEcorePackage.getEString(), "literalString", null, 0, 1, StringValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(booleanValueEClass, BooleanValue.class, "BooleanValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getBooleanValue_LiteralBoolean(), this.getBooleanLiterals(), "literalBoolean", null, 0, 1, BooleanValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(realValueEClass, RealValue.class, "RealValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getRealValue_Integer(), theEcorePackage.getEInt(), "integer", null, 0, 1, RealValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getRealValue_Fraction(), theEcorePackage.getEInt(), "fraction", null, 0, 1, RealValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(nullValueEClass, NullValue.class, "NullValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(noValueEClass, NoValue.class, "NoValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- // Initialize enums and add enum literals
- initEEnum(modifierKindEEnum, ModifierKind.class, "ModifierKind");
- addEEnumLiteral(modifierKindEEnum, ModifierKind.EXCEPTION);
- addEEnumLiteral(modifierKindEEnum, ModifierKind.STREAM);
- addEEnumLiteral(modifierKindEEnum, ModifierKind.ORDERED);
- addEEnumLiteral(modifierKindEEnum, ModifierKind.UNIQUE);
-
- initEEnum(effectKindEEnum, EffectKind.class, "EffectKind");
- addEEnumLiteral(effectKindEEnum, EffectKind.CREATE);
- addEEnumLiteral(effectKindEEnum, EffectKind.READ);
- addEEnumLiteral(effectKindEEnum, EffectKind.UPDATE);
- addEEnumLiteral(effectKindEEnum, EffectKind.DELETE);
-
- initEEnum(booleanLiteralsEEnum, BooleanLiterals.class, "BooleanLiterals");
- addEEnumLiteral(booleanLiteralsEEnum, BooleanLiterals.TRUE);
- addEEnumLiteral(booleanLiteralsEEnum, BooleanLiterals.FALSE);
-
- // Create resource
- createResource(eNS_URI);
- }
-
-} //UmlParameterPackageImpl
+public class UmlParameterPackageImpl extends EPackageImpl implements UmlParameterPackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass parameterRuleEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass modifiersRuleEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass modifierSpecificationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass visibilityRuleEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass directionRuleEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass effectRuleEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass defaultValueRuleEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass valueEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass intValueEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass stringValueEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass booleanValueEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass realValueEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass nullValueEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass noValueEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EEnum modifierKindEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EEnum effectKindEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EEnum booleanLiteralsEEnum = null;
+
+ /**
+ * Creates an instance of the model <b>Package</b>, registered with
+ * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * package URI value.
+ * <p>
+ * Note: the correct way to create the package is via the static
+ * factory method {@link #init init()}, which also performs
+ * initialization of the package, or returns the registered package,
+ * if one already exists.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.ecore.EPackage.Registry
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private UmlParameterPackageImpl() {
+ super(eNS_URI, UmlParameterFactory.eINSTANCE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private static boolean isInited = false;
+
+ /**
+ * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
+ *
+ * <p>
+ * This method is used to initialize {@link UmlParameterPackage#eINSTANCE} when that field is accessed.
+ * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static UmlParameterPackage init() {
+ if (isInited)
+ return (UmlParameterPackage) EPackage.Registry.INSTANCE.getEPackage(UmlParameterPackage.eNS_URI);
+
+ // Obtain or create and register package
+ Object registeredUmlParameterPackage = EPackage.Registry.INSTANCE.get(eNS_URI);
+ UmlParameterPackageImpl theUmlParameterPackage = registeredUmlParameterPackage instanceof UmlParameterPackageImpl ? (UmlParameterPackageImpl) registeredUmlParameterPackage : new UmlParameterPackageImpl();
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ EcorePackage.eINSTANCE.eClass();
+ UmlCommonPackage.eINSTANCE.eClass();
+ UMLPackage.eINSTANCE.eClass();
+ TypesPackage.eINSTANCE.eClass();
+
+ // Create package meta-data objects
+ theUmlParameterPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theUmlParameterPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theUmlParameterPackage.freeze();
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(UmlParameterPackage.eNS_URI, theUmlParameterPackage);
+ return theUmlParameterPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getParameterRule() {
+ return parameterRuleEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getParameterRule_Visibility() {
+ return (EReference) parameterRuleEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getParameterRule_Direction() {
+ return (EReference) parameterRuleEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getParameterRule_Name() {
+ return (EAttribute) parameterRuleEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getParameterRule_Type() {
+ return (EReference) parameterRuleEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getParameterRule_TypeUndefined() {
+ return (EAttribute) parameterRuleEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getParameterRule_Multiplicity() {
+ return (EReference) parameterRuleEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getParameterRule_Modifiers() {
+ return (EReference) parameterRuleEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getParameterRule_Effect() {
+ return (EReference) parameterRuleEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getParameterRule_DefaultValue() {
+ return (EReference) parameterRuleEClass.getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getModifiersRule() {
+ return modifiersRuleEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getModifiersRule_Values() {
+ return (EReference) modifiersRuleEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getModifierSpecification() {
+ return modifierSpecificationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getModifierSpecification_Value() {
+ return (EAttribute) modifierSpecificationEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getVisibilityRule() {
+ return visibilityRuleEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getVisibilityRule_Visibility() {
+ return (EAttribute) visibilityRuleEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getDirectionRule() {
+ return directionRuleEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getDirectionRule_Direction() {
+ return (EAttribute) directionRuleEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getEffectRule() {
+ return effectRuleEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getEffectRule_EffectKind() {
+ return (EAttribute) effectRuleEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getDefaultValueRule() {
+ return defaultValueRuleEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getDefaultValueRule_Default() {
+ return (EReference) defaultValueRuleEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getValue() {
+ return valueEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getIntValue() {
+ return intValueEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getIntValue_LiteralInteger() {
+ return (EAttribute) intValueEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getStringValue() {
+ return stringValueEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getStringValue_LiteralString() {
+ return (EAttribute) stringValueEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getBooleanValue() {
+ return booleanValueEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getBooleanValue_LiteralBoolean() {
+ return (EAttribute) booleanValueEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getRealValue() {
+ return realValueEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getRealValue_Integer() {
+ return (EAttribute) realValueEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getRealValue_Fraction() {
+ return (EAttribute) realValueEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getNullValue() {
+ return nullValueEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getNoValue() {
+ return noValueEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EEnum getModifierKind() {
+ return modifierKindEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EEnum getEffectKind() {
+ return effectKindEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EEnum getBooleanLiterals() {
+ return booleanLiteralsEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public UmlParameterFactory getUmlParameterFactory() {
+ return (UmlParameterFactory) getEFactoryInstance();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private boolean isCreated = false;
+
+ /**
+ * Creates the meta-model objects for the package. This method is
+ * guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void createPackageContents() {
+ if (isCreated)
+ return;
+ isCreated = true;
+
+ // Create classes and their features
+ parameterRuleEClass = createEClass(PARAMETER_RULE);
+ createEReference(parameterRuleEClass, PARAMETER_RULE__VISIBILITY);
+ createEReference(parameterRuleEClass, PARAMETER_RULE__DIRECTION);
+ createEAttribute(parameterRuleEClass, PARAMETER_RULE__NAME);
+ createEReference(parameterRuleEClass, PARAMETER_RULE__TYPE);
+ createEAttribute(parameterRuleEClass, PARAMETER_RULE__TYPE_UNDEFINED);
+ createEReference(parameterRuleEClass, PARAMETER_RULE__MULTIPLICITY);
+ createEReference(parameterRuleEClass, PARAMETER_RULE__MODIFIERS);
+ createEReference(parameterRuleEClass, PARAMETER_RULE__EFFECT);
+ createEReference(parameterRuleEClass, PARAMETER_RULE__DEFAULT_VALUE);
+
+ modifiersRuleEClass = createEClass(MODIFIERS_RULE);
+ createEReference(modifiersRuleEClass, MODIFIERS_RULE__VALUES);
+
+ modifierSpecificationEClass = createEClass(MODIFIER_SPECIFICATION);
+ createEAttribute(modifierSpecificationEClass, MODIFIER_SPECIFICATION__VALUE);
+
+ visibilityRuleEClass = createEClass(VISIBILITY_RULE);
+ createEAttribute(visibilityRuleEClass, VISIBILITY_RULE__VISIBILITY);
+
+ directionRuleEClass = createEClass(DIRECTION_RULE);
+ createEAttribute(directionRuleEClass, DIRECTION_RULE__DIRECTION);
+
+ effectRuleEClass = createEClass(EFFECT_RULE);
+ createEAttribute(effectRuleEClass, EFFECT_RULE__EFFECT_KIND);
+
+ defaultValueRuleEClass = createEClass(DEFAULT_VALUE_RULE);
+ createEReference(defaultValueRuleEClass, DEFAULT_VALUE_RULE__DEFAULT);
+
+ valueEClass = createEClass(VALUE);
+
+ intValueEClass = createEClass(INT_VALUE);
+ createEAttribute(intValueEClass, INT_VALUE__LITERAL_INTEGER);
+
+ stringValueEClass = createEClass(STRING_VALUE);
+ createEAttribute(stringValueEClass, STRING_VALUE__LITERAL_STRING);
+
+ booleanValueEClass = createEClass(BOOLEAN_VALUE);
+ createEAttribute(booleanValueEClass, BOOLEAN_VALUE__LITERAL_BOOLEAN);
+
+ realValueEClass = createEClass(REAL_VALUE);
+ createEAttribute(realValueEClass, REAL_VALUE__INTEGER);
+ createEAttribute(realValueEClass, REAL_VALUE__FRACTION);
+
+ nullValueEClass = createEClass(NULL_VALUE);
+
+ noValueEClass = createEClass(NO_VALUE);
+
+ // Create enums
+ modifierKindEEnum = createEEnum(MODIFIER_KIND);
+ effectKindEEnum = createEEnum(EFFECT_KIND);
+ booleanLiteralsEEnum = createEEnum(BOOLEAN_LITERALS);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * Complete the initialization of the package and its meta-model. This
+ * method is guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void initializePackageContents() {
+ if (isInitialized)
+ return;
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Obtain other dependent packages
+ EcorePackage theEcorePackage = (EcorePackage) EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
+ UmlCommonPackage theUmlCommonPackage = (UmlCommonPackage) EPackage.Registry.INSTANCE.getEPackage(UmlCommonPackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ intValueEClass.getESuperTypes().add(this.getValue());
+ stringValueEClass.getESuperTypes().add(this.getValue());
+ booleanValueEClass.getESuperTypes().add(this.getValue());
+ realValueEClass.getESuperTypes().add(this.getValue());
+ nullValueEClass.getESuperTypes().add(this.getValue());
+ noValueEClass.getESuperTypes().add(this.getValue());
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(parameterRuleEClass, ParameterRule.class, "ParameterRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getParameterRule_Visibility(), this.getVisibilityRule(), null, "visibility", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEReference(getParameterRule_Direction(), this.getDirectionRule(), null, "direction", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getParameterRule_Name(), theEcorePackage.getEString(), "name", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getParameterRule_Type(), theUmlCommonPackage.getTypeRule(), null, "type", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getParameterRule_TypeUndefined(), theEcorePackage.getEBoolean(), "typeUndefined", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getParameterRule_Multiplicity(), theUmlCommonPackage.getMultiplicityRule(), null, "multiplicity", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEReference(getParameterRule_Modifiers(), this.getModifiersRule(), null, "modifiers", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEReference(getParameterRule_Effect(), this.getEffectRule(), null, "effect", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getParameterRule_DefaultValue(), this.getDefaultValueRule(), null, "defaultValue", null, 0, 1, ParameterRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+
+ initEClass(modifiersRuleEClass, ModifiersRule.class, "ModifiersRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getModifiersRule_Values(), this.getModifierSpecification(), null, "values", null, 0, -1, ModifiersRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+
+ initEClass(modifierSpecificationEClass, ModifierSpecification.class, "ModifierSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getModifierSpecification_Value(), this.getModifierKind(), "value", null, 0, 1, ModifierSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(visibilityRuleEClass, VisibilityRule.class, "VisibilityRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getVisibilityRule_Visibility(), theUmlCommonPackage.getVisibilityKind(), "visibility", null, 0, 1, VisibilityRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(directionRuleEClass, DirectionRule.class, "DirectionRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDirectionRule_Direction(), theUmlCommonPackage.getDirection(), "direction", null, 0, 1, DirectionRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(effectRuleEClass, EffectRule.class, "EffectRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEffectRule_EffectKind(), this.getEffectKind(), "effectKind", null, 0, 1, EffectRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(defaultValueRuleEClass, DefaultValueRule.class, "DefaultValueRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getDefaultValueRule_Default(), this.getValue(), null, "default", null, 0, 1, DefaultValueRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(valueEClass, Value.class, "Value", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(intValueEClass, IntValue.class, "IntValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getIntValue_LiteralInteger(), theEcorePackage.getEInt(), "literalInteger", null, 0, 1, IntValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(stringValueEClass, StringValue.class, "StringValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getStringValue_LiteralString(), theEcorePackage.getEString(), "literalString", null, 0, 1, StringValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(booleanValueEClass, BooleanValue.class, "BooleanValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getBooleanValue_LiteralBoolean(), this.getBooleanLiterals(), "literalBoolean", null, 0, 1, BooleanValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(realValueEClass, RealValue.class, "RealValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getRealValue_Integer(), theEcorePackage.getEInt(), "integer", null, 0, 1, RealValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getRealValue_Fraction(), theEcorePackage.getEInt(), "fraction", null, 0, 1, RealValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(nullValueEClass, NullValue.class, "NullValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(noValueEClass, NoValue.class, "NoValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ // Initialize enums and add enum literals
+ initEEnum(modifierKindEEnum, ModifierKind.class, "ModifierKind");
+ addEEnumLiteral(modifierKindEEnum, ModifierKind.EXCEPTION);
+ addEEnumLiteral(modifierKindEEnum, ModifierKind.STREAM);
+ addEEnumLiteral(modifierKindEEnum, ModifierKind.ORDERED);
+ addEEnumLiteral(modifierKindEEnum, ModifierKind.UNIQUE);
+
+ initEEnum(effectKindEEnum, EffectKind.class, "EffectKind");
+ addEEnumLiteral(effectKindEEnum, EffectKind.CREATE);
+ addEEnumLiteral(effectKindEEnum, EffectKind.READ);
+ addEEnumLiteral(effectKindEEnum, EffectKind.UPDATE);
+ addEEnumLiteral(effectKindEEnum, EffectKind.DELETE);
+
+ initEEnum(booleanLiteralsEEnum, BooleanLiterals.class, "BooleanLiterals");
+ addEEnumLiteral(booleanLiteralsEEnum, BooleanLiterals.TRUE);
+ addEEnumLiteral(booleanLiteralsEEnum, BooleanLiterals.FALSE);
+
+ // Create resource
+ createResource(eNS_URI);
+ }
+
+} // UmlParameterPackageImpl
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/ValueImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/ValueImpl.java
index 4807f7ff84d..5589224605b 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/ValueImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/ValueImpl.java
@@ -3,9 +3,7 @@
package org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl;
import org.eclipse.emf.ecore.EClass;
-
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.Value;
@@ -13,32 +11,29 @@ import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.Value;
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Value</b></em>'.
* <!-- end-user-doc -->
- * <p>
- * </p>
*
* @generated
*/
-public class ValueImpl extends MinimalEObjectImpl.Container implements Value
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ValueImpl()
- {
- super();
- }
+public class ValueImpl extends MinimalEObjectImpl.Container implements Value {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected ValueImpl() {
+ super();
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return UmlParameterPackage.Literals.VALUE;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return UmlParameterPackage.Literals.VALUE;
+ }
-} //ValueImpl
+} // ValueImpl
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/VisibilityRuleImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/VisibilityRuleImpl.java
index 0eef87b0a5d..c2dff53f37f 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/VisibilityRuleImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/impl/VisibilityRuleImpl.java
@@ -3,14 +3,10 @@
package org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.ecore.EClass;
-
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
import org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.VisibilityKind;
-
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage;
import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.VisibilityRule;
@@ -20,10 +16,10 @@ import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.VisibilityR
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
* <li>{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.impl.VisibilityRuleImpl#getVisibility <em>Visibility</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
@@ -169,7 +165,7 @@ public class VisibilityRuleImpl extends MinimalEObjectImpl.Container implements
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (visibility: ");
result.append(visibility);
result.append(')');
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/util/UmlParameterAdapterFactory.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/util/UmlParameterAdapterFactory.java
index 9be1ffe0bbd..39f3e657849 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/util/UmlParameterAdapterFactory.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/util/UmlParameterAdapterFactory.java
@@ -4,389 +4,397 @@ package org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.util;
import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;
-
import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-
import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.*;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanValue;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DefaultValueRule;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DirectionRule;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectRule;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.IntValue;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierSpecification;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifiersRule;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.NoValue;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.NullValue;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.StringValue;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.Value;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.VisibilityRule;
/**
* <!-- begin-user-doc -->
* The <b>Adapter Factory</b> for the model.
* It provides an adapter <code>createXXX</code> method for each class of the model.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage
* @generated
*/
-public class UmlParameterAdapterFactory extends AdapterFactoryImpl
-{
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static UmlParameterPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public UmlParameterAdapterFactory()
- {
- if (modelPackage == null)
- {
- modelPackage = UmlParameterPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- @Override
- public boolean isFactoryForType(Object object)
- {
- if (object == modelPackage)
- {
- return true;
- }
- if (object instanceof EObject)
- {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch that delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected UmlParameterSwitch<Adapter> modelSwitch =
- new UmlParameterSwitch<Adapter>()
- {
- @Override
- public Adapter caseParameterRule(ParameterRule object)
- {
- return createParameterRuleAdapter();
- }
- @Override
- public Adapter caseModifiersRule(ModifiersRule object)
- {
- return createModifiersRuleAdapter();
- }
- @Override
- public Adapter caseModifierSpecification(ModifierSpecification object)
- {
- return createModifierSpecificationAdapter();
- }
- @Override
- public Adapter caseVisibilityRule(VisibilityRule object)
- {
- return createVisibilityRuleAdapter();
- }
- @Override
- public Adapter caseDirectionRule(DirectionRule object)
- {
- return createDirectionRuleAdapter();
- }
- @Override
- public Adapter caseEffectRule(EffectRule object)
- {
- return createEffectRuleAdapter();
- }
- @Override
- public Adapter caseDefaultValueRule(DefaultValueRule object)
- {
- return createDefaultValueRuleAdapter();
- }
- @Override
- public Adapter caseValue(Value object)
- {
- return createValueAdapter();
- }
- @Override
- public Adapter caseIntValue(IntValue object)
- {
- return createIntValueAdapter();
- }
- @Override
- public Adapter caseStringValue(StringValue object)
- {
- return createStringValueAdapter();
- }
- @Override
- public Adapter caseBooleanValue(BooleanValue object)
- {
- return createBooleanValueAdapter();
- }
- @Override
- public Adapter caseRealValue(RealValue object)
- {
- return createRealValueAdapter();
- }
- @Override
- public Adapter caseNullValue(NullValue object)
- {
- return createNullValueAdapter();
- }
- @Override
- public Adapter caseNoValue(NoValue object)
- {
- return createNoValueAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object)
- {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param target the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- @Override
- public Adapter createAdapter(Notifier target)
- {
- return modelSwitch.doSwitch((EObject)target);
- }
-
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule <em>Parameter Rule</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule
- * @generated
- */
- public Adapter createParameterRuleAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifiersRule <em>Modifiers Rule</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifiersRule
- * @generated
- */
- public Adapter createModifiersRuleAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierSpecification <em>Modifier Specification</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierSpecification
- * @generated
- */
- public Adapter createModifierSpecificationAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.VisibilityRule <em>Visibility Rule</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.VisibilityRule
- * @generated
- */
- public Adapter createVisibilityRuleAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DirectionRule <em>Direction Rule</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DirectionRule
- * @generated
- */
- public Adapter createDirectionRuleAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectRule <em>Effect Rule</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectRule
- * @generated
- */
- public Adapter createEffectRuleAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DefaultValueRule <em>Default Value Rule</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DefaultValueRule
- * @generated
- */
- public Adapter createDefaultValueRuleAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.Value <em>Value</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.Value
- * @generated
- */
- public Adapter createValueAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.IntValue <em>Int Value</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.IntValue
- * @generated
- */
- public Adapter createIntValueAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.StringValue <em>String Value</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.StringValue
- * @generated
- */
- public Adapter createStringValueAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanValue <em>Boolean Value</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanValue
- * @generated
- */
- public Adapter createBooleanValueAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue <em>Real Value</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue
- * @generated
- */
- public Adapter createRealValueAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.NullValue <em>Null Value</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.NullValue
- * @generated
- */
- public Adapter createNullValueAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.NoValue <em>No Value</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.NoValue
- * @generated
- */
- public Adapter createNoValueAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter()
- {
- return null;
- }
-
-} //UmlParameterAdapterFactory
+public class UmlParameterAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected static UmlParameterPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public UmlParameterAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = UmlParameterPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ * <!-- begin-user-doc -->
+ * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
+ * <!-- end-user-doc -->
+ *
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage) {
+ return true;
+ }
+ if (object instanceof EObject) {
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+ /**
+ * The switch that delegates to the <code>createXXX</code> methods.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected UmlParameterSwitch<Adapter> modelSwitch = new UmlParameterSwitch<Adapter>() {
+ @Override
+ public Adapter caseParameterRule(ParameterRule object) {
+ return createParameterRuleAdapter();
+ }
+
+ @Override
+ public Adapter caseModifiersRule(ModifiersRule object) {
+ return createModifiersRuleAdapter();
+ }
+
+ @Override
+ public Adapter caseModifierSpecification(ModifierSpecification object) {
+ return createModifierSpecificationAdapter();
+ }
+
+ @Override
+ public Adapter caseVisibilityRule(VisibilityRule object) {
+ return createVisibilityRuleAdapter();
+ }
+
+ @Override
+ public Adapter caseDirectionRule(DirectionRule object) {
+ return createDirectionRuleAdapter();
+ }
+
+ @Override
+ public Adapter caseEffectRule(EffectRule object) {
+ return createEffectRuleAdapter();
+ }
+
+ @Override
+ public Adapter caseDefaultValueRule(DefaultValueRule object) {
+ return createDefaultValueRuleAdapter();
+ }
+
+ @Override
+ public Adapter caseValue(Value object) {
+ return createValueAdapter();
+ }
+
+ @Override
+ public Adapter caseIntValue(IntValue object) {
+ return createIntValueAdapter();
+ }
+
+ @Override
+ public Adapter caseStringValue(StringValue object) {
+ return createStringValueAdapter();
+ }
+
+ @Override
+ public Adapter caseBooleanValue(BooleanValue object) {
+ return createBooleanValueAdapter();
+ }
+
+ @Override
+ public Adapter caseRealValue(RealValue object) {
+ return createRealValueAdapter();
+ }
+
+ @Override
+ public Adapter caseNullValue(NullValue object) {
+ return createNullValueAdapter();
+ }
+
+ @Override
+ public Adapter caseNoValue(NoValue object) {
+ return createNoValueAdapter();
+ }
+
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
+
+ /**
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param target
+ * the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target) {
+ return modelSwitch.doSwitch((EObject) target);
+ }
+
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule <em>Parameter Rule</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule
+ * @generated
+ */
+ public Adapter createParameterRuleAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifiersRule <em>Modifiers Rule</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifiersRule
+ * @generated
+ */
+ public Adapter createModifiersRuleAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierSpecification <em>Modifier Specification</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierSpecification
+ * @generated
+ */
+ public Adapter createModifierSpecificationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.VisibilityRule <em>Visibility Rule</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.VisibilityRule
+ * @generated
+ */
+ public Adapter createVisibilityRuleAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DirectionRule <em>Direction Rule</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DirectionRule
+ * @generated
+ */
+ public Adapter createDirectionRuleAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectRule <em>Effect Rule</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectRule
+ * @generated
+ */
+ public Adapter createEffectRuleAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DefaultValueRule <em>Default Value Rule</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DefaultValueRule
+ * @generated
+ */
+ public Adapter createDefaultValueRuleAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.Value <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.Value
+ * @generated
+ */
+ public Adapter createValueAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.IntValue <em>Int Value</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.IntValue
+ * @generated
+ */
+ public Adapter createIntValueAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.StringValue <em>String Value</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.StringValue
+ * @generated
+ */
+ public Adapter createStringValueAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanValue <em>Boolean Value</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanValue
+ * @generated
+ */
+ public Adapter createBooleanValueAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue <em>Real Value</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue
+ * @generated
+ */
+ public Adapter createRealValueAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.NullValue <em>Null Value</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.NullValue
+ * @generated
+ */
+ public Adapter createNullValueAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.NoValue <em>No Value</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.NoValue
+ * @generated
+ */
+ public Adapter createNoValueAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null.
+ * <!-- end-user-doc -->
+ *
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} // UmlParameterAdapterFactory
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/util/UmlParameterSwitch.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/util/UmlParameterSwitch.java
index 246ba3e54dc..0e0e8ca165c 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/util/UmlParameterSwitch.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/umlParameter/util/UmlParameterSwitch.java
@@ -4,10 +4,22 @@ package org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.util;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
-
import org.eclipse.emf.ecore.util.Switch;
-
-import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.*;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.BooleanValue;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DefaultValueRule;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.DirectionRule;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.EffectRule;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.IntValue;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifierSpecification;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ModifiersRule;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.NoValue;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.NullValue;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.ParameterRule;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.RealValue;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.StringValue;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.Value;
+import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.VisibilityRule;
/**
* <!-- begin-user-doc -->
@@ -19,406 +31,428 @@ import org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.*;
* until a non-null result is returned,
* which is the result of the switch.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage
* @generated
*/
-public class UmlParameterSwitch<T> extends Switch<T>
-{
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static UmlParameterPackage modelPackage;
+public class UmlParameterSwitch<T> extends Switch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected static UmlParameterPackage modelPackage;
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public UmlParameterSwitch()
- {
- if (modelPackage == null)
- {
- modelPackage = UmlParameterPackage.eINSTANCE;
- }
- }
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public UmlParameterSwitch() {
+ if (modelPackage == null) {
+ modelPackage = UmlParameterPackage.eINSTANCE;
+ }
+ }
- /**
- * Checks whether this is a switch for the given package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @parameter ePackage the package in question.
- * @return whether this is a switch for the given package.
- * @generated
- */
- @Override
- protected boolean isSwitchFor(EPackage ePackage)
- {
- return ePackage == modelPackage;
- }
+ /**
+ * Checks whether this is a switch for the given package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param ePackage
+ * the package in question.
+ * @return whether this is a switch for the given package.
+ * @generated
+ */
+ @Override
+ protected boolean isSwitchFor(EPackage ePackage) {
+ return ePackage == modelPackage;
+ }
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- @Override
- protected T doSwitch(int classifierID, EObject theEObject)
- {
- switch (classifierID)
- {
- case UmlParameterPackage.PARAMETER_RULE:
- {
- ParameterRule parameterRule = (ParameterRule)theEObject;
- T result = caseParameterRule(parameterRule);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case UmlParameterPackage.MODIFIERS_RULE:
- {
- ModifiersRule modifiersRule = (ModifiersRule)theEObject;
- T result = caseModifiersRule(modifiersRule);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case UmlParameterPackage.MODIFIER_SPECIFICATION:
- {
- ModifierSpecification modifierSpecification = (ModifierSpecification)theEObject;
- T result = caseModifierSpecification(modifierSpecification);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case UmlParameterPackage.VISIBILITY_RULE:
- {
- VisibilityRule visibilityRule = (VisibilityRule)theEObject;
- T result = caseVisibilityRule(visibilityRule);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case UmlParameterPackage.DIRECTION_RULE:
- {
- DirectionRule directionRule = (DirectionRule)theEObject;
- T result = caseDirectionRule(directionRule);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case UmlParameterPackage.EFFECT_RULE:
- {
- EffectRule effectRule = (EffectRule)theEObject;
- T result = caseEffectRule(effectRule);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case UmlParameterPackage.DEFAULT_VALUE_RULE:
- {
- DefaultValueRule defaultValueRule = (DefaultValueRule)theEObject;
- T result = caseDefaultValueRule(defaultValueRule);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case UmlParameterPackage.VALUE:
- {
- Value value = (Value)theEObject;
- T result = caseValue(value);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case UmlParameterPackage.INT_VALUE:
- {
- IntValue intValue = (IntValue)theEObject;
- T result = caseIntValue(intValue);
- if (result == null) result = caseValue(intValue);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case UmlParameterPackage.STRING_VALUE:
- {
- StringValue stringValue = (StringValue)theEObject;
- T result = caseStringValue(stringValue);
- if (result == null) result = caseValue(stringValue);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case UmlParameterPackage.BOOLEAN_VALUE:
- {
- BooleanValue booleanValue = (BooleanValue)theEObject;
- T result = caseBooleanValue(booleanValue);
- if (result == null) result = caseValue(booleanValue);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case UmlParameterPackage.REAL_VALUE:
- {
- RealValue realValue = (RealValue)theEObject;
- T result = caseRealValue(realValue);
- if (result == null) result = caseValue(realValue);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case UmlParameterPackage.NULL_VALUE:
- {
- NullValue nullValue = (NullValue)theEObject;
- T result = caseNullValue(nullValue);
- if (result == null) result = caseValue(nullValue);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case UmlParameterPackage.NO_VALUE:
- {
- NoValue noValue = (NoValue)theEObject;
- T result = caseNoValue(noValue);
- if (result == null) result = caseValue(noValue);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ @Override
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case UmlParameterPackage.PARAMETER_RULE: {
+ ParameterRule parameterRule = (ParameterRule) theEObject;
+ T result = caseParameterRule(parameterRule);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case UmlParameterPackage.MODIFIERS_RULE: {
+ ModifiersRule modifiersRule = (ModifiersRule) theEObject;
+ T result = caseModifiersRule(modifiersRule);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case UmlParameterPackage.MODIFIER_SPECIFICATION: {
+ ModifierSpecification modifierSpecification = (ModifierSpecification) theEObject;
+ T result = caseModifierSpecification(modifierSpecification);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case UmlParameterPackage.VISIBILITY_RULE: {
+ VisibilityRule visibilityRule = (VisibilityRule) theEObject;
+ T result = caseVisibilityRule(visibilityRule);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case UmlParameterPackage.DIRECTION_RULE: {
+ DirectionRule directionRule = (DirectionRule) theEObject;
+ T result = caseDirectionRule(directionRule);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case UmlParameterPackage.EFFECT_RULE: {
+ EffectRule effectRule = (EffectRule) theEObject;
+ T result = caseEffectRule(effectRule);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case UmlParameterPackage.DEFAULT_VALUE_RULE: {
+ DefaultValueRule defaultValueRule = (DefaultValueRule) theEObject;
+ T result = caseDefaultValueRule(defaultValueRule);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case UmlParameterPackage.VALUE: {
+ Value value = (Value) theEObject;
+ T result = caseValue(value);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case UmlParameterPackage.INT_VALUE: {
+ IntValue intValue = (IntValue) theEObject;
+ T result = caseIntValue(intValue);
+ if (result == null)
+ result = caseValue(intValue);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case UmlParameterPackage.STRING_VALUE: {
+ StringValue stringValue = (StringValue) theEObject;
+ T result = caseStringValue(stringValue);
+ if (result == null)
+ result = caseValue(stringValue);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case UmlParameterPackage.BOOLEAN_VALUE: {
+ BooleanValue booleanValue = (BooleanValue) theEObject;
+ T result = caseBooleanValue(booleanValue);
+ if (result == null)
+ result = caseValue(booleanValue);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case UmlParameterPackage.REAL_VALUE: {
+ RealValue realValue = (RealValue) theEObject;
+ T result = caseRealValue(realValue);
+ if (result == null)
+ result = caseValue(realValue);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case UmlParameterPackage.NULL_VALUE: {
+ NullValue nullValue = (NullValue) theEObject;
+ T result = caseNullValue(nullValue);
+ if (result == null)
+ result = caseValue(nullValue);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case UmlParameterPackage.NO_VALUE: {
+ NoValue noValue = (NoValue) theEObject;
+ T result = caseNoValue(noValue);
+ if (result == null)
+ result = caseValue(noValue);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ default:
+ return defaultCase(theEObject);
+ }
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Parameter Rule</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Parameter Rule</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseParameterRule(ParameterRule object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Parameter Rule</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Parameter Rule</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseParameterRule(ParameterRule object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Modifiers Rule</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Modifiers Rule</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseModifiersRule(ModifiersRule object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Modifiers Rule</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Modifiers Rule</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseModifiersRule(ModifiersRule object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Modifier Specification</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Modifier Specification</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseModifierSpecification(ModifierSpecification object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Modifier Specification</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Modifier Specification</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseModifierSpecification(ModifierSpecification object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Visibility Rule</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Visibility Rule</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseVisibilityRule(VisibilityRule object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Visibility Rule</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Visibility Rule</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseVisibilityRule(VisibilityRule object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Direction Rule</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Direction Rule</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseDirectionRule(DirectionRule object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Direction Rule</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Direction Rule</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDirectionRule(DirectionRule object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Effect Rule</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Effect Rule</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseEffectRule(EffectRule object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Effect Rule</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Effect Rule</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEffectRule(EffectRule object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Default Value Rule</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Default Value Rule</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseDefaultValueRule(DefaultValueRule object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Default Value Rule</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Default Value Rule</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDefaultValueRule(DefaultValueRule object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Value</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Value</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseValue(Value object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Value</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Value</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseValue(Value object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Int Value</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Int Value</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseIntValue(IntValue object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Int Value</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Int Value</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseIntValue(IntValue object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>String Value</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>String Value</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseStringValue(StringValue object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>String Value</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>String Value</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseStringValue(StringValue object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Boolean Value</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Boolean Value</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBooleanValue(BooleanValue object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Boolean Value</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Boolean Value</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseBooleanValue(BooleanValue object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Real Value</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Real Value</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseRealValue(RealValue object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Real Value</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Real Value</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseRealValue(RealValue object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>Null Value</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Null Value</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseNullValue(NullValue object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Null Value</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Null Value</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseNullValue(NullValue object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>No Value</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>No Value</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseNoValue(NoValue object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>No Value</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>No Value</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseNoValue(NoValue object) {
+ return null;
+ }
- /**
- * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- @Override
- public T defaultCase(EObject object)
- {
- return null;
- }
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ * <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ @Override
+ public T defaultCase(EObject object) {
+ return null;
+ }
-} //UmlParameterSwitch
+} // UmlParameterSwitch
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/validation/AbstractUmlParameterJavaValidator.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/validation/AbstractUmlParameterJavaValidator.java
index 254e152176b..de904468aaf 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/validation/AbstractUmlParameterJavaValidator.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/src-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/validation/AbstractUmlParameterJavaValidator.java
@@ -1,21 +1,21 @@
/*
-* generated by Xtext
-*/
+ * generated by Xtext
+ */
package org.eclipse.papyrus.uml.textedit.parameter.xtext.validation;
-
+
import java.util.ArrayList;
import java.util.List;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.xtext.validation.ComposedChecks;
-@ComposedChecks(validators= {org.eclipse.xtext.validation.ImportUriValidator.class, org.eclipse.xtext.validation.NamesAreUniqueValidator.class})
+@ComposedChecks(validators = { org.eclipse.xtext.validation.ImportUriValidator.class, org.eclipse.xtext.validation.NamesAreUniqueValidator.class })
public class AbstractUmlParameterJavaValidator extends org.eclipse.papyrus.uml.textedit.common.xtext.validation.UmlCommonJavaValidator {
@Override
protected List<EPackage> getEPackages() {
- List<EPackage> result = new ArrayList<EPackage>();
- result.add(org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage.eINSTANCE);
+ List<EPackage> result = new ArrayList<EPackage>();
+ result.add(org.eclipse.papyrus.uml.textedit.parameter.xtext.umlParameter.UmlParameterPackage.eINSTANCE);
return result;
}

Back to the top