diff --git a/.github/scripts/regenerate.sh b/.github/scripts/regenerate.sh
index fe3644c8dc..3bf84e14ee 100755
--- a/.github/scripts/regenerate.sh
+++ b/.github/scripts/regenerate.sh
@@ -15,12 +15,6 @@ EXCLUDE=(
# Workflows whose committed output still differs from what they generate, with the issue that fixes each.
KNOWN_DRIFT=(
- com.avaloq.tools.ddk.workflow/src/com/avaloq/tools/ddk/workflow/GenerateExport.mwe2 # #1671
- com.avaloq.tools.ddk.workflow/src/com/avaloq/tools/ddk/workflow/GenerateFormat.mwe2 # #1671
- com.avaloq.tools.ddk.workflow/src/com/avaloq/tools/ddk/workflow/GenerateFormatterTestLanguage.mwe2 # #1671
- com.avaloq.tools.ddk.workflow/src/com/avaloq/tools/ddk/workflow/GenerateCheck.mwe2 # #1671
- com.avaloq.tools.ddk.workflow/src/com/avaloq/tools/ddk/workflow/GenerateCheckCfg.mwe2 # #1671
- com.avaloq.tools.ddk.sample.helloworld/src/com/avaloq/tools/ddk/sample/helloworld/GenerateHelloWorld.mwe2 # #1671
com.avaloq.tools.ddk.check.test.runtime/src/com/avaloq/tools/ddk/check/GenerateTestLanguage.mwe2 # #1672
)
diff --git a/com.avaloq.tools.ddk.check.core.test/.classpath b/com.avaloq.tools.ddk.check.core.test/.classpath
index d831217226..0ed4027eb5 100644
--- a/com.avaloq.tools.ddk.check.core.test/.classpath
+++ b/com.avaloq.tools.ddk.check.core.test/.classpath
@@ -9,11 +9,6 @@
-
-
-
-
-
diff --git a/com.avaloq.tools.ddk.check.core.test/build.properties b/com.avaloq.tools.ddk.check.core.test/build.properties
index 3f15a3bd8b..2fc81ba6d4 100644
--- a/com.avaloq.tools.ddk.check.core.test/build.properties
+++ b/com.avaloq.tools.ddk.check.core.test/build.properties
@@ -1,5 +1,4 @@
source.. = src/,\
- src-gen/,\
resource/
output.. = bin/
bin.includes = META-INF/,\
diff --git a/com.avaloq.tools.ddk.check.core.test/src-gen/com/avaloq/tools/ddk/check/CheckInjectorProvider.java b/com.avaloq.tools.ddk.check.core.test/src/com/avaloq/tools/ddk/check/CheckInjectorProvider.java
similarity index 55%
rename from com.avaloq.tools.ddk.check.core.test/src-gen/com/avaloq/tools/ddk/check/CheckInjectorProvider.java
rename to com.avaloq.tools.ddk.check.core.test/src/com/avaloq/tools/ddk/check/CheckInjectorProvider.java
index 946e273f79..ef0c75d5d0 100644
--- a/com.avaloq.tools.ddk.check.core.test/src-gen/com/avaloq/tools/ddk/check/CheckInjectorProvider.java
+++ b/com.avaloq.tools.ddk.check.core.test/src/com/avaloq/tools/ddk/check/CheckInjectorProvider.java
@@ -1,6 +1,13 @@
-/*
- * generated by Xtext
- */
+/*******************************************************************************
+ * Copyright (c) 2017 Avaloq Group AG and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Avaloq Group AG - initial API and implementation
+ *******************************************************************************/
package com.avaloq.tools.ddk.check;
import org.eclipse.xtext.testing.GlobalRegistries;
@@ -11,11 +18,14 @@
import com.google.inject.Injector;
+/**
+ * Provides the injector of the Check language, created by {@link CheckStandaloneSetup}.
+ */
public class CheckInjectorProvider implements IInjectorProvider, IRegistryConfigurator {
- protected GlobalStateMemento stateBeforeInjectorCreation;
- protected GlobalStateMemento stateAfterInjectorCreation;
- protected Injector injector;
+ private GlobalStateMemento stateBeforeInjectorCreation;
+ private GlobalStateMemento stateAfterInjectorCreation;
+ private Injector injector;
static {
GlobalRegistries.initializeDefaults();
@@ -31,6 +41,11 @@ public Injector getInjector() {
return injector;
}
+ /**
+ * Creates the injector and registers the Check language with EMF.
+ *
+ * @return the {@link Injector}
+ */
protected Injector internalCreateInjector() {
return new CheckStandaloneSetup().createInjectorAndDoEMFRegistration();
}
diff --git a/com.avaloq.tools.ddk.check.core/META-INF/MANIFEST.MF b/com.avaloq.tools.ddk.check.core/META-INF/MANIFEST.MF
index 577c6fa85a..653ffcc230 100644
--- a/com.avaloq.tools.ddk.check.core/META-INF/MANIFEST.MF
+++ b/com.avaloq.tools.ddk.check.core/META-INF/MANIFEST.MF
@@ -52,5 +52,6 @@ Export-Package: com.avaloq.tools.ddk.check,
com.avaloq.tools.ddk.check.util,
com.avaloq.tools.ddk.check.validation
Import-Package: org.eclipse.jdt.internal.ui.text,
- org.apache.logging.log4j
+ org.apache.logging.log4j,
+ org.apache.log4j
Automatic-Module-Name: com.avaloq.tools.ddk.check.core
diff --git a/com.avaloq.tools.ddk.checkcfg.ui/META-INF/MANIFEST.MF b/com.avaloq.tools.ddk.checkcfg.ui/META-INF/MANIFEST.MF
index d2235568dd..d4773b7d04 100644
--- a/com.avaloq.tools.ddk.checkcfg.ui/META-INF/MANIFEST.MF
+++ b/com.avaloq.tools.ddk.checkcfg.ui/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: com.avaloq.tools.ddk.checkcfg.ui
Bundle-SymbolicName: com.avaloq.tools.ddk.checkcfg.ui;singleton:=true
-Bundle-Version: 17.3.5.qualifier
+Bundle-Version: 17.3.6.qualifier
Bundle-Vendor: Avaloq Group AG
Bundle-RequiredExecutionEnvironment: JavaSE-21
Bundle-Activator: com.avaloq.tools.ddk.checkcfg.ui.internal.Activator
diff --git a/com.avaloq.tools.ddk.checkcfg.ui/pom.xml b/com.avaloq.tools.ddk.checkcfg.ui/pom.xml
index 94ec995b64..e5aeddf51a 100644
--- a/com.avaloq.tools.ddk.checkcfg.ui/pom.xml
+++ b/com.avaloq.tools.ddk.checkcfg.ui/pom.xml
@@ -6,7 +6,7 @@
18.0.1-SNAPSHOT
../ddk-parent
- 17.3.5-SNAPSHOT
+ 17.3.6-SNAPSHOT
com.avaloq.tools.ddk
com.avaloq.tools.ddk.checkcfg.ui
eclipse-plugin
diff --git a/com.avaloq.tools.ddk.checkcfg.ui/src-gen/com/avaloq/tools/ddk/checkcfg/ui/internal/CheckcfgActivator.java b/com.avaloq.tools.ddk.checkcfg.ui/src-gen/com/avaloq/tools/ddk/checkcfg/ui/internal/CheckcfgActivator.java
index 4a98c64b34..5a9b81ea98 100644
--- a/com.avaloq.tools.ddk.checkcfg.ui/src-gen/com/avaloq/tools/ddk/checkcfg/ui/internal/CheckcfgActivator.java
+++ b/com.avaloq.tools.ddk.checkcfg.ui/src-gen/com/avaloq/tools/ddk/checkcfg/ui/internal/CheckcfgActivator.java
@@ -5,10 +5,10 @@
import com.avaloq.tools.ddk.checkcfg.CheckCfgRuntimeModule;
import com.avaloq.tools.ddk.checkcfg.ui.CheckCfgUiModule;
-import com.google.common.collect.Maps;
import com.google.inject.Guice;
import com.google.inject.Injector;
import java.util.Collections;
+import java.util.HashMap;
import java.util.Map;
import org.apache.log4j.Logger;
import org.eclipse.ui.plugin.AbstractUIPlugin;
@@ -29,7 +29,7 @@ public class CheckcfgActivator extends AbstractUIPlugin {
private static CheckcfgActivator INSTANCE;
- private Map injectors = Collections.synchronizedMap(Maps. newHashMapWithExpectedSize(1));
+ private Map injectors = Collections.synchronizedMap(new HashMap<>(2));
@Override
public void start(BundleContext context) throws Exception {
diff --git a/com.avaloq.tools.ddk.sample.helloworld.ui/src-gen/com/avaloq/tools/ddk/sample/helloworld/ui/internal/HelloworldActivator.java b/com.avaloq.tools.ddk.sample.helloworld.ui/src-gen/com/avaloq/tools/ddk/sample/helloworld/ui/internal/HelloworldActivator.java
index 18260f493b..8853c771c4 100644
--- a/com.avaloq.tools.ddk.sample.helloworld.ui/src-gen/com/avaloq/tools/ddk/sample/helloworld/ui/internal/HelloworldActivator.java
+++ b/com.avaloq.tools.ddk.sample.helloworld.ui/src-gen/com/avaloq/tools/ddk/sample/helloworld/ui/internal/HelloworldActivator.java
@@ -5,10 +5,10 @@
import com.avaloq.tools.ddk.sample.helloworld.HelloWorldRuntimeModule;
import com.avaloq.tools.ddk.sample.helloworld.ui.HelloWorldUiModule;
-import com.google.common.collect.Maps;
import com.google.inject.Guice;
import com.google.inject.Injector;
import java.util.Collections;
+import java.util.HashMap;
import java.util.Map;
import org.apache.log4j.Logger;
import org.eclipse.ui.plugin.AbstractUIPlugin;
@@ -29,7 +29,7 @@ public class HelloworldActivator extends AbstractUIPlugin {
private static HelloworldActivator INSTANCE;
- private Map injectors = Collections.synchronizedMap(Maps. newHashMapWithExpectedSize(1));
+ private Map injectors = Collections.synchronizedMap(new HashMap<>(2));
@Override
public void start(BundleContext context) throws Exception {
diff --git a/com.avaloq.tools.ddk.sample.helloworld/META-INF/MANIFEST.MF b/com.avaloq.tools.ddk.sample.helloworld/META-INF/MANIFEST.MF
index d8b2cb6117..c798755382 100644
--- a/com.avaloq.tools.ddk.sample.helloworld/META-INF/MANIFEST.MF
+++ b/com.avaloq.tools.ddk.sample.helloworld/META-INF/MANIFEST.MF
@@ -35,4 +35,5 @@ Export-Package: com.avaloq.tools.ddk.sample.helloworld.helloWorld,
com.avaloq.tools.ddk.sample.helloworld.parser.antlr.internal,
com.avaloq.tools.ddk.sample.helloworld.validation,
com.avaloq.tools.ddk.sample.helloworld.grammar
-Import-Package: org.apache.logging.log4j
+Import-Package: org.apache.logging.log4j,
+ org.apache.log4j
diff --git a/com.avaloq.tools.ddk.sample.helloworld/model/generated/HelloWorld.genmodel b/com.avaloq.tools.ddk.sample.helloworld/model/generated/HelloWorld.genmodel
index 58177cf2ce..4a80ac0bcd 100644
--- a/com.avaloq.tools.ddk.sample.helloworld/model/generated/HelloWorld.genmodel
+++ b/com.avaloq.tools.ddk.sample.helloworld/model/generated/HelloWorld.genmodel
@@ -3,7 +3,7 @@
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="generated by Xtext" modelDirectory="/com.avaloq.tools.ddk.sample.helloworld/src-gen"
modelPluginID="com.avaloq.tools.ddk.sample.helloworld" forceOverwrite="true" modelName="HelloWorld"
updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
- complianceLevel="11.0" copyrightFields="false" runtimeVersion="2.29">
+ complianceLevel="17.0" copyrightFields="false" runtimeVersion="2.36">
diff --git a/com.avaloq.tools.ddk.xtext.export/META-INF/MANIFEST.MF b/com.avaloq.tools.ddk.xtext.export/META-INF/MANIFEST.MF
index 940dd1b784..6c6568fd66 100644
--- a/com.avaloq.tools.ddk.xtext.export/META-INF/MANIFEST.MF
+++ b/com.avaloq.tools.ddk.xtext.export/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: com.avaloq.tools.ddk.xtext.export
Bundle-SymbolicName: com.avaloq.tools.ddk.xtext.export;singleton:=true
-Bundle-Version: 17.3.7.qualifier
+Bundle-Version: 17.3.8.qualifier
Bundle-Vendor: Avaloq Group AG
Bundle-RequiredExecutionEnvironment: JavaSE-21
Bundle-ActivationPolicy: lazy
diff --git a/com.avaloq.tools.ddk.xtext.export/pom.xml b/com.avaloq.tools.ddk.xtext.export/pom.xml
index 05bea34477..d9b50ca0da 100644
--- a/com.avaloq.tools.ddk.xtext.export/pom.xml
+++ b/com.avaloq.tools.ddk.xtext.export/pom.xml
@@ -6,7 +6,7 @@
18.0.1-SNAPSHOT
../ddk-parent
- 17.3.7-SNAPSHOT
+ 17.3.8-SNAPSHOT
com.avaloq.tools.ddk
com.avaloq.tools.ddk.xtext.export
eclipse-plugin
diff --git a/com.avaloq.tools.ddk.xtext.export/src-gen/com/avaloq/tools/ddk/xtext/export/AbstractExportRuntimeModule.java b/com.avaloq.tools.ddk.xtext.export/src-gen/com/avaloq/tools/ddk/xtext/export/AbstractExportRuntimeModule.java
index 1da89a0068..452ed302a1 100644
--- a/com.avaloq.tools.ddk.xtext.export/src-gen/com/avaloq/tools/ddk/xtext/export/AbstractExportRuntimeModule.java
+++ b/com.avaloq.tools.ddk.xtext.export/src-gen/com/avaloq/tools/ddk/xtext/export/AbstractExportRuntimeModule.java
@@ -3,8 +3,18 @@
*/
package com.avaloq.tools.ddk.xtext.export;
+import com.avaloq.tools.ddk.xtext.export.parser.antlr.ExportAntlrTokenFileProvider;
+import com.avaloq.tools.ddk.xtext.export.parser.antlr.ExportParser;
+import com.avaloq.tools.ddk.xtext.export.parser.antlr.internal.InternalExportLexer;
+import com.avaloq.tools.ddk.xtext.export.scoping.ExportScopeProvider;
+import com.avaloq.tools.ddk.xtext.export.serializer.ExportSemanticSequencer;
+import com.avaloq.tools.ddk.xtext.export.serializer.ExportSyntacticSequencer;
+import com.avaloq.tools.ddk.xtext.export.services.ExportGrammarAccess;
+import com.avaloq.tools.ddk.xtext.export.validation.ExportValidator;
+import com.google.inject.Binder;
+import com.google.inject.Provider;
+import com.google.inject.name.Names;
import java.util.Properties;
-
import org.eclipse.xtext.Constants;
import org.eclipse.xtext.IGrammarAccess;
import org.eclipse.xtext.common.types.xtext.TypesAwareDefaultGlobalScopeProvider;
@@ -50,193 +60,172 @@
import org.eclipse.xtext.xbase.validation.FeatureNameValidator;
import org.eclipse.xtext.xbase.validation.LogicalContainerAwareFeatureNameValidator;
-import com.avaloq.tools.ddk.xtext.export.parser.antlr.ExportAntlrTokenFileProvider;
-import com.avaloq.tools.ddk.xtext.export.parser.antlr.ExportParser;
-import com.avaloq.tools.ddk.xtext.export.parser.antlr.internal.InternalExportLexer;
-import com.avaloq.tools.ddk.xtext.export.scoping.ExportScopeProvider;
-import com.avaloq.tools.ddk.xtext.export.serializer.ExportSemanticSequencer;
-import com.avaloq.tools.ddk.xtext.export.serializer.ExportSyntacticSequencer;
-import com.avaloq.tools.ddk.xtext.export.services.ExportGrammarAccess;
-import com.avaloq.tools.ddk.xtext.export.validation.ExportValidator;
-import com.google.inject.Binder;
-import com.google.inject.Provider;
-import com.google.inject.name.Names;
-
-
/**
* Manual modifications go to {@link ExportRuntimeModule}.
*/
@SuppressWarnings("all")
public abstract class AbstractExportRuntimeModule extends DefaultXbaseRuntimeModule {
- protected Properties properties = null;
-
- @Override
- public void configure(final Binder binder) {
- properties = tryBindProperties(binder, "com/avaloq/tools/ddk/xtext/export/Export.properties");
- super.configure(binder);
- }
-
- public void configureLanguageName(final Binder binder) {
- binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("com.avaloq.tools.ddk.xtext.export.Export");
- }
-
- public void configureFileExtensions(final Binder binder) {
- if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null) {
- binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("export");
- }
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2
- @Override
- public ClassLoader bindClassLoaderToInstance() {
- return getClass().getClassLoader();
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2
- public Class extends IGrammarAccess> bindIGrammarAccess() {
- return ExportGrammarAccess.class;
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
- @Override
- public Class extends ISemanticSequencer> bindISemanticSequencer() {
- return ExportSemanticSequencer.class;
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
- public Class extends ISyntacticSequencer> bindISyntacticSequencer() {
- return ExportSyntacticSequencer.class;
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
- @Override
- public Class extends ISerializer> bindISerializer() {
- return Serializer.class;
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
- public Class extends IParser> bindIParser() {
- return ExportParser.class;
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
- @Override
- public Class extends ITokenToStringConverter> bindITokenToStringConverter() {
- return AntlrTokenToStringConverter.class;
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
- public Class extends IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() {
- return ExportAntlrTokenFileProvider.class;
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
- public Class extends Lexer> bindLexer() {
- return InternalExportLexer.class;
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
- @Override
- public Class extends ITokenDefProvider> bindITokenDefProvider() {
- return AntlrTokenDefProvider.class;
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
- public Provider extends InternalExportLexer> provideInternalExportLexer() {
- return LexerProvider.create(InternalExportLexer.class);
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
- public void configureRuntimeLexer(final Binder binder) {
- binder.bind(Lexer.class).annotatedWith(Names.named(LexerBindings.RUNTIME)).to(InternalExportLexer.class);
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.validation.ValidatorFragment2
- @SingletonBinding(eager = true)
- public Class extends ExportValidator> bindExportValidator() {
- return ExportValidator.class;
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2
- public Class extends IBatchScopeProvider> bindIBatchScopeProvider() {
- return ExportScopeProvider.class;
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2
- @Override
- public void configureIScopeProviderDelegate(final Binder binder) {
- binder.bind(IScopeProvider.class).annotatedWith(Names.named(AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(XImportSectionNamespaceScopeProvider.class);
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2
- public void configureIgnoreCaseLinking(final Binder binder) {
- binder.bindConstant().annotatedWith(IgnoreCaseLinking.class).to(false);
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.exporting.SimpleNamesFragment2
- @Override
- public Class extends IQualifiedNameProvider> bindIQualifiedNameProvider() {
- return SimpleNameProvider.class;
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2
- @Override
- public Class extends IContainer.Manager> bindIContainer$Manager() {
- return StateBasedContainerManager.class;
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2
- public Class extends IAllContainersState.Provider> bindIAllContainersState$Provider() {
- return ResourceSetBasedAllContainersStateProvider.class;
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2
- @Override
- public void configureIResourceDescriptions(final Binder binder) {
- binder.bind(IResourceDescriptions.class).to(ResourceSetBasedResourceDescriptions.class);
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2
- public void configureIResourceDescriptionsPersisted(final Binder binder) {
- binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(ResourceSetBasedResourceDescriptions.class);
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.xbase.XbaseGeneratorFragment2
- public void configureRewritableImportSectionEnablement(final Binder binder) {
- binder.bind(Boolean.TYPE).annotatedWith(Names.named(RewritableImportSection.Factory.REWRITABLEIMPORTSECTION_ENABLEMENT)).toInstance(Boolean.FALSE);
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.xbase.XbaseGeneratorFragment2
- @Override
- public Class extends ILocationInFileProvider> bindILocationInFileProvider() {
- return JvmLocationInFileProvider.class;
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.xbase.XbaseGeneratorFragment2
- @Override
- public Class extends IGlobalScopeProvider> bindIGlobalScopeProvider() {
- return TypesAwareDefaultGlobalScopeProvider.class;
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.xbase.XbaseGeneratorFragment2
- public Class extends FeatureNameValidator> bindFeatureNameValidator() {
- return LogicalContainerAwareFeatureNameValidator.class;
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.xbase.XbaseGeneratorFragment2
- public Class extends DefaultBatchTypeResolver> bindDefaultBatchTypeResolver() {
- return LogicalContainerAwareBatchTypeResolver.class;
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.xbase.XbaseGeneratorFragment2
- public Class extends DefaultReentrantTypeResolver> bindDefaultReentrantTypeResolver() {
- return LogicalContainerAwareReentrantTypeResolver.class;
- }
-
- // contributed by org.eclipse.xtext.xtext.generator.xbase.XbaseGeneratorFragment2
- public Class extends IResourceValidator> bindIResourceValidator() {
- return DerivedStateAwareResourceValidator.class;
- }
-
+ protected Properties properties = null;
+
+ @Override
+ public void configure(Binder binder) {
+ properties = tryBindProperties(binder, "com/avaloq/tools/ddk/xtext/export/Export.properties");
+ super.configure(binder);
+ }
+
+ public void configureLanguageName(Binder binder) {
+ binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("com.avaloq.tools.ddk.xtext.export.Export");
+ }
+
+ 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("export");
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2
+ public ClassLoader bindClassLoaderToInstance() {
+ return getClass().getClassLoader();
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2
+ public Class extends IGrammarAccess> bindIGrammarAccess() {
+ return ExportGrammarAccess.class;
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
+ public Class extends ISemanticSequencer> bindISemanticSequencer() {
+ return ExportSemanticSequencer.class;
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
+ public Class extends ISyntacticSequencer> bindISyntacticSequencer() {
+ return ExportSyntacticSequencer.class;
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2
+ public Class extends ISerializer> bindISerializer() {
+ return Serializer.class;
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
+ public Class extends IParser> bindIParser() {
+ return ExportParser.class;
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
+ public Class extends ITokenToStringConverter> bindITokenToStringConverter() {
+ return AntlrTokenToStringConverter.class;
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
+ public Class extends IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() {
+ return ExportAntlrTokenFileProvider.class;
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
+ public Class extends Lexer> bindLexer() {
+ return InternalExportLexer.class;
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
+ public Class extends ITokenDefProvider> bindITokenDefProvider() {
+ return AntlrTokenDefProvider.class;
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
+ public Provider extends InternalExportLexer> provideInternalExportLexer() {
+ return LexerProvider.create(InternalExportLexer.class);
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2
+ public void configureRuntimeLexer(Binder binder) {
+ binder.bind(Lexer.class)
+ .annotatedWith(Names.named(LexerBindings.RUNTIME))
+ .to(InternalExportLexer.class);
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.validation.ValidatorFragment2
+ @SingletonBinding(eager=true)
+ public Class extends ExportValidator> bindExportValidator() {
+ return ExportValidator.class;
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2
+ public Class extends IBatchScopeProvider> bindIBatchScopeProvider() {
+ return ExportScopeProvider.class;
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2
+ public void configureIScopeProviderDelegate(Binder binder) {
+ binder.bind(IScopeProvider.class).annotatedWith(Names.named(AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(XImportSectionNamespaceScopeProvider.class);
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2
+ public void configureIgnoreCaseLinking(Binder binder) {
+ binder.bindConstant().annotatedWith(IgnoreCaseLinking.class).to(false);
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.exporting.SimpleNamesFragment2
+ public Class extends IQualifiedNameProvider> bindIQualifiedNameProvider() {
+ return SimpleNameProvider.class;
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2
+ public Class extends IContainer.Manager> bindIContainer$Manager() {
+ return StateBasedContainerManager.class;
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2
+ public Class extends IAllContainersState.Provider> bindIAllContainersState$Provider() {
+ return ResourceSetBasedAllContainersStateProvider.class;
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2
+ public void configureIResourceDescriptions(Binder binder) {
+ binder.bind(IResourceDescriptions.class).to(ResourceSetBasedResourceDescriptions.class);
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2
+ public void configureIResourceDescriptionsPersisted(Binder binder) {
+ binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(ResourceSetBasedResourceDescriptions.class);
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.xbase.XbaseGeneratorFragment2
+ public void configureRewritableImportSectionEnablement(Binder binder) {
+ binder.bind(Boolean.TYPE)
+ .annotatedWith(Names.named(RewritableImportSection.Factory.REWRITABLEIMPORTSECTION_ENABLEMENT))
+ .toInstance(Boolean.FALSE);
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.xbase.XbaseGeneratorFragment2
+ public Class extends ILocationInFileProvider> bindILocationInFileProvider() {
+ return JvmLocationInFileProvider.class;
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.xbase.XbaseGeneratorFragment2
+ public Class extends IGlobalScopeProvider> bindIGlobalScopeProvider() {
+ return TypesAwareDefaultGlobalScopeProvider.class;
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.xbase.XbaseGeneratorFragment2
+ public Class extends FeatureNameValidator> bindFeatureNameValidator() {
+ return LogicalContainerAwareFeatureNameValidator.class;
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.xbase.XbaseGeneratorFragment2
+ public Class extends DefaultBatchTypeResolver> bindDefaultBatchTypeResolver() {
+ return LogicalContainerAwareBatchTypeResolver.class;
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.xbase.XbaseGeneratorFragment2
+ public Class extends DefaultReentrantTypeResolver> bindDefaultReentrantTypeResolver() {
+ return LogicalContainerAwareReentrantTypeResolver.class;
+ }
+
+ // contributed by org.eclipse.xtext.xtext.generator.xbase.XbaseGeneratorFragment2
+ public Class extends IResourceValidator> bindIResourceValidator() {
+ return DerivedStateAwareResourceValidator.class;
+ }
+
}
diff --git a/com.avaloq.tools.ddk.xtext.format.test/META-INF/MANIFEST.MF b/com.avaloq.tools.ddk.xtext.format.test/META-INF/MANIFEST.MF
index e91b938a18..e404fd1125 100644
--- a/com.avaloq.tools.ddk.xtext.format.test/META-INF/MANIFEST.MF
+++ b/com.avaloq.tools.ddk.xtext.format.test/META-INF/MANIFEST.MF
@@ -16,6 +16,7 @@ Require-Bundle: com.avaloq.tools.ddk.xtext.format,
org.objectweb.asm;resolution:=optional,
org.eclipse.xtext.testing,
junit-jupiter-api,
- junit-jupiter-engine
+ junit-jupiter-engine,
+ org.eclipse.xtext.xbase.lib
Export-Package: com.avaloq.tools.ddk.xtext.format;x-internal=true
Automatic-Module-Name: com.avaloq.tools.ddk.xtext.format.test
diff --git a/com.avaloq.tools.ddk.xtext.format.ui/src-gen/com/avaloq/tools/ddk/xtext/format/ui/internal/FormatActivator.java b/com.avaloq.tools.ddk.xtext.format.ui/src-gen/com/avaloq/tools/ddk/xtext/format/ui/internal/FormatActivator.java
index ee2fda75e3..1ff30d19b2 100644
--- a/com.avaloq.tools.ddk.xtext.format.ui/src-gen/com/avaloq/tools/ddk/xtext/format/ui/internal/FormatActivator.java
+++ b/com.avaloq.tools.ddk.xtext.format.ui/src-gen/com/avaloq/tools/ddk/xtext/format/ui/internal/FormatActivator.java
@@ -5,10 +5,10 @@
import com.avaloq.tools.ddk.xtext.format.FormatRuntimeModule;
import com.avaloq.tools.ddk.xtext.format.ui.FormatUiModule;
-import com.google.common.collect.Maps;
import com.google.inject.Guice;
import com.google.inject.Injector;
import java.util.Collections;
+import java.util.HashMap;
import java.util.Map;
import org.apache.log4j.Logger;
import org.eclipse.ui.plugin.AbstractUIPlugin;
@@ -29,7 +29,7 @@ public class FormatActivator extends AbstractUIPlugin {
private static FormatActivator INSTANCE;
- private Map injectors = Collections.synchronizedMap(Maps. newHashMapWithExpectedSize(1));
+ private Map injectors = Collections.synchronizedMap(new HashMap<>(2));
@Override
public void start(BundleContext context) throws Exception {
diff --git a/com.avaloq.tools.ddk.xtext.format/META-INF/MANIFEST.MF b/com.avaloq.tools.ddk.xtext.format/META-INF/MANIFEST.MF
index 877811bcf5..f16207f871 100644
--- a/com.avaloq.tools.ddk.xtext.format/META-INF/MANIFEST.MF
+++ b/com.avaloq.tools.ddk.xtext.format/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: com.avaloq.tools.ddk.xtext.format
Bundle-SymbolicName: com.avaloq.tools.ddk.xtext.format;singleton:=true
-Bundle-Version: 17.3.5.qualifier
+Bundle-Version: 17.3.6.qualifier
Bundle-Vendor: Avaloq Group AG
Bundle-RequiredExecutionEnvironment: JavaSE-21
Bundle-ActivationPolicy: lazy
diff --git a/com.avaloq.tools.ddk.xtext.format/model/generated/Format.ecore b/com.avaloq.tools.ddk.xtext.format/model/generated/Format.ecore
index 52c05c0881..3a35e0c545 100644
--- a/com.avaloq.tools.ddk.xtext.format/model/generated/Format.ecore
+++ b/com.avaloq.tools.ddk.xtext.format/model/generated/Format.ecore
@@ -3,7 +3,7 @@
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="format" nsURI="http://www.avaloq.com/tools/ddk/xtext/format/Format"
nsPrefix="format">
-
+
@@ -31,7 +31,7 @@
-
+
@@ -43,14 +43,14 @@
-
-
-
-
-
+
+
+
+
+
-
+
@@ -70,7 +70,7 @@
eType="#//Matcher" containment="true"/>
-
+
+ complianceLevel="17.0" copyrightFields="false" runtimeVersion="2.36" usedGenPackages="platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore platform:/resource/org.eclipse.xtext.common.types/model/JavaVMTypes.genmodel#//types platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel#//xbase platform:/resource/org.eclipse.xtext/org/eclipse/xtext/Xtext.genmodel#//xtext">
diff --git a/com.avaloq.tools.ddk.xtext.format/pom.xml b/com.avaloq.tools.ddk.xtext.format/pom.xml
index ad77a51ea5..0166d88a5f 100644
--- a/com.avaloq.tools.ddk.xtext.format/pom.xml
+++ b/com.avaloq.tools.ddk.xtext.format/pom.xml
@@ -6,7 +6,7 @@
18.0.1-SNAPSHOT
../ddk-parent
- 17.3.5-SNAPSHOT
+ 17.3.6-SNAPSHOT
com.avaloq.tools.ddk
com.avaloq.tools.ddk.xtext.format
eclipse-plugin
diff --git a/com.avaloq.tools.ddk.xtext.format/src-gen/com/avaloq/tools/ddk/xtext/format/format/impl/FormatPackageImpl.java b/com.avaloq.tools.ddk.xtext.format/src-gen/com/avaloq/tools/ddk/xtext/format/format/impl/FormatPackageImpl.java
index e136abe2bb..fb67fbbd18 100644
--- a/com.avaloq.tools.ddk.xtext.format/src-gen/com/avaloq/tools/ddk/xtext/format/format/impl/FormatPackageImpl.java
+++ b/com.avaloq.tools.ddk.xtext.format/src-gen/com/avaloq/tools/ddk/xtext/format/format/impl/FormatPackageImpl.java
@@ -286,10 +286,10 @@ public static FormatPackage init()
isInited = true;
// Initialize simple dependencies
- XtextPackage.eINSTANCE.eClass();
EcorePackage.eINSTANCE.eClass();
TypesPackage.eINSTANCE.eClass();
XbasePackage.eINSTANCE.eClass();
+ XtextPackage.eINSTANCE.eClass();
// Create package meta-data objects
theFormatPackage.createPackageContents();
diff --git a/com.avaloq.tools.ddk.xtext.test/src-gen/com/avaloq/tools/ddk/xtext/formatter/FormatterTestLanguage.ecore b/com.avaloq.tools.ddk.xtext.test/src-gen/com/avaloq/tools/ddk/xtext/formatter/FormatterTestLanguage.ecore
index 092726257a..ed788613e0 100644
--- a/com.avaloq.tools.ddk.xtext.test/src-gen/com/avaloq/tools/ddk/xtext/formatter/FormatterTestLanguage.ecore
+++ b/com.avaloq.tools.ddk.xtext.test/src-gen/com/avaloq/tools/ddk/xtext/formatter/FormatterTestLanguage.ecore
@@ -6,29 +6,29 @@
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
-
-
+
+
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
-
+
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
-
+
-
+
-
+
-
-
-
+
+
+
-
-
+
+
-
+
@@ -79,13 +79,13 @@
containment="true"/>
-
+
-
-
-
+
+
+
diff --git a/com.avaloq.tools.ddk.xtext.test/src-gen/com/avaloq/tools/ddk/xtext/formatter/FormatterTestLanguage.genmodel b/com.avaloq.tools.ddk.xtext.test/src-gen/com/avaloq/tools/ddk/xtext/formatter/FormatterTestLanguage.genmodel
index 2219e00a3f..2a4cfaf788 100644
--- a/com.avaloq.tools.ddk.xtext.test/src-gen/com/avaloq/tools/ddk/xtext/formatter/FormatterTestLanguage.genmodel
+++ b/com.avaloq.tools.ddk.xtext.test/src-gen/com/avaloq/tools/ddk/xtext/formatter/FormatterTestLanguage.genmodel
@@ -3,7 +3,7 @@
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="generated by Xtext" modelDirectory="/com.avaloq.tools.ddk.xtext.test/src-gen"
modelPluginID="com.avaloq.tools.ddk.xtext.test" forceOverwrite="true" modelName="FormatterTestLanguage"
updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
- complianceLevel="11.0" copyrightFields="false" runtimeVersion="2.29" usedGenPackages="platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore">
+ complianceLevel="17.0" copyrightFields="false" runtimeVersion="2.36">
diff --git a/com.avaloq.tools.ddk.xtext.test/src-gen/com/avaloq/tools/ddk/xtext/formatter/formatterTestLanguage/impl/FormatterTestLanguagePackageImpl.java b/com.avaloq.tools.ddk.xtext.test/src-gen/com/avaloq/tools/ddk/xtext/formatter/formatterTestLanguage/impl/FormatterTestLanguagePackageImpl.java
index a78097801d..5673921206 100644
--- a/com.avaloq.tools.ddk.xtext.test/src-gen/com/avaloq/tools/ddk/xtext/formatter/formatterTestLanguage/impl/FormatterTestLanguagePackageImpl.java
+++ b/com.avaloq.tools.ddk.xtext.test/src-gen/com/avaloq/tools/ddk/xtext/formatter/formatterTestLanguage/impl/FormatterTestLanguagePackageImpl.java
@@ -33,7 +33,6 @@
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;
@@ -247,9 +246,6 @@ public static FormatterTestLanguagePackage init()
isInited = true;
- // Initialize simple dependencies
- EcorePackage.eINSTANCE.eClass();
-
// Create package meta-data objects
theFormatterTestLanguagePackage.createPackageContents();
@@ -967,9 +963,6 @@ public void initializePackageContents()
setNsPrefix(eNS_PREFIX);
setNsURI(eNS_URI);
- // Obtain other dependent packages
- EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
-
// Create type parameters
// Set bounds for type parameters
@@ -999,24 +992,24 @@ public void initializePackageContents()
initEClass(lineEClass, Line.class, "Line", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(declEClass, Decl.class, "Decl", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getDecl_Type(), theEcorePackage.getEString(), "type", null, 0, -1, Decl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getDecl_Name(), theEcorePackage.getEString(), "name", null, 0, -1, Decl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDecl_Type(), ecorePackage.getEString(), "type", null, 0, -1, Decl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDecl_Name(), ecorePackage.getEString(), "name", null, 0, -1, Decl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(assignEClass, Assign.class, "Assign", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getAssign_Var(), theEcorePackage.getEString(), "var", null, 0, 1, Assign.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAssign_Op(), theEcorePackage.getEString(), "op", null, 0, 1, Assign.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAssign_Val(), theEcorePackage.getEInt(), "val", null, 0, -1, Assign.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getAssign_Var(), ecorePackage.getEString(), "var", null, 0, 1, Assign.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getAssign_Op(), ecorePackage.getEString(), "op", null, 0, 1, Assign.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getAssign_Val(), ecorePackage.getEInt(), "val", null, 0, -1, Assign.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(methEClass, Meth.class, "Meth", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getMeth_Name(), theEcorePackage.getEString(), "name", null, 0, 1, Meth.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getMeth_Name(), ecorePackage.getEString(), "name", null, 0, 1, Meth.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getMeth_Param(), this.getParam(), null, "param", null, 0, -1, Meth.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(paramEClass, Param.class, "Param", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getParam_Name(), theEcorePackage.getEString(), "name", null, 0, -1, Param.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getParam_Type(), theEcorePackage.getEString(), "type", null, 0, -1, Param.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getParam_Name(), ecorePackage.getEString(), "name", null, 0, -1, Param.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getParam_Type(), ecorePackage.getEString(), "type", null, 0, -1, Param.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(spaceEClass, Space.class, "Space", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getSpace_Val(), theEcorePackage.getEString(), "val", null, 0, 1, Space.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getSpace_Val(), ecorePackage.getEString(), "val", null, 0, 1, Space.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(testLinewrapEClass, TestLinewrap.class, "TestLinewrap", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getTestLinewrap_Items(), this.getLine(), null, "items", null, 0, -1, TestLinewrap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -1027,23 +1020,23 @@ public void initializePackageContents()
initEClass(testIndentationEClass, TestIndentation.class, "TestIndentation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getTestIndentation_Sub(), this.getTestIndentation(), null, "sub", null, 0, -1, TestIndentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getTestIndentation_Items(), this.getLine(), null, "items", null, 0, -1, TestIndentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getTestIndentation_Semi(), theEcorePackage.getEBoolean(), "semi", null, 0, 1, TestIndentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getTestIndentation_Semi(), ecorePackage.getEBoolean(), "semi", null, 0, 1, TestIndentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(testColumnEClass, TestColumn.class, "TestColumn", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getTestColumn_Name(), theEcorePackage.getEString(), "name", null, 0, 1, TestColumn.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getTestColumn_Name(), ecorePackage.getEString(), "name", null, 0, 1, TestColumn.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getTestColumn_Items(), this.getLine(), null, "items", null, 0, -1, TestColumn.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(testOffsetEClass, TestOffset.class, "TestOffset", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getTestOffset_Value(), theEcorePackage.getEString(), "value", null, 0, 1, TestOffset.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getTestOffset_First(), theEcorePackage.getEString(), "first", null, 0, 1, TestOffset.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getTestOffset_Second(), theEcorePackage.getEString(), "second", null, 0, 1, TestOffset.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getTestOffset_Value(), ecorePackage.getEString(), "value", null, 0, 1, TestOffset.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getTestOffset_First(), ecorePackage.getEString(), "first", null, 0, 1, TestOffset.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getTestOffset_Second(), ecorePackage.getEString(), "second", null, 0, 1, TestOffset.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(testRightPaddingEClass, TestRightPadding.class, "TestRightPadding", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getTestRightPadding_P1(), theEcorePackage.getEString(), "p1", null, 0, 1, TestRightPadding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getTestRightPadding_P2(), theEcorePackage.getEString(), "p2", null, 0, 1, TestRightPadding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getTestRightPadding_P1(), ecorePackage.getEString(), "p1", null, 0, 1, TestRightPadding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getTestRightPadding_P2(), ecorePackage.getEString(), "p2", null, 0, 1, TestRightPadding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(fqnObjEClass, FqnObj.class, "FqnObj", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getFqnObj_Name(), theEcorePackage.getEString(), "name", null, 0, 1, FqnObj.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getFqnObj_Name(), ecorePackage.getEString(), "name", null, 0, 1, FqnObj.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(fqnRefEClass, FqnRef.class, "FqnRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getFqnRef_Ref(), this.getFqnObj(), null, "ref", null, 0, 1, FqnRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -1055,16 +1048,16 @@ public void initializePackageContents()
initEReference(getSuppressedHidden_Vals(), this.getSuppressedHiddenSub(), null, "vals", null, 0, -1, SuppressedHidden.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(suppressedHiddenSubEClass, SuppressedHiddenSub.class, "SuppressedHiddenSub", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getSuppressedHiddenSub_Idval(), theEcorePackage.getEString(), "idval", null, 0, 1, SuppressedHiddenSub.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getSuppressedHiddenSub_Idval(), ecorePackage.getEString(), "idval", null, 0, 1, SuppressedHiddenSub.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(suppressedHiddenSubSubEClass, SuppressedHiddenSubSub.class, "SuppressedHiddenSubSub", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(suppressedHiddenSubIDEClass, SuppressedHiddenSubID.class, "SuppressedHiddenSubID", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(datatypesEClass, Datatypes.class, "Datatypes", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getDatatypes_Val1(), theEcorePackage.getEString(), "val1", null, 0, 1, Datatypes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getDatatypes_Val2(), theEcorePackage.getEString(), "val2", null, 0, 1, Datatypes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getDatatypes_Val3(), theEcorePackage.getEString(), "val3", null, 0, 1, Datatypes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDatatypes_Val1(), ecorePackage.getEString(), "val1", null, 0, 1, Datatypes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDatatypes_Val2(), ecorePackage.getEString(), "val2", null, 0, 1, Datatypes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDatatypes_Val3(), ecorePackage.getEString(), "val3", null, 0, 1, Datatypes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
// Initialize enums and add enum literals
initEEnum(enum1EEnum, Enum1.class, "Enum1");