diff --git a/org.eclipse.xtext.testlanguages/build.gradle b/org.eclipse.xtext.testlanguages/build.gradle index e6a67bcbc..a8128245d 100644 --- a/org.eclipse.xtext.testlanguages/build.gradle +++ b/org.eclipse.xtext.testlanguages/build.gradle @@ -3,7 +3,7 @@ dependencies { compile project(':org.eclipse.xtext.testing') compile "org.eclipse.core:org.eclipse.core.runtime:$versions.eclipseCore" mwe2Compile project(':org.eclipse.xtext.xtext.generator') - mwe2Compile "org.eclipse.xtext:org.eclipse.xtext.common.types:$versions.xtext_bootstrap" + mwe2Runtime "org.eclipse.xtext:org.eclipse.xtext.common.types:$versions.xtext_bootstrap" mwe2Runtime "org.eclipse.emf:org.eclipse.emf.mwe2.launch:$versions.emfMwe2" } diff --git a/org.eclipse.xtext.testlanguages/build.properties b/org.eclipse.xtext.testlanguages/build.properties deleted file mode 100644 index b2a618eee..000000000 --- a/org.eclipse.xtext.testlanguages/build.properties +++ /dev/null @@ -1,11 +0,0 @@ -source.. = src/,\ - src-gen/,\ - xtend-gen/ -bin.includes = model/generated/,\ - META-INF/,\ - .,\ - plugin.xml,\ - about.html - -src.includes = about.html -additional.bundles = org.eclipse.xtext.generator diff --git a/org.eclipse.xtext.tests/META-INF/MANIFEST.MF_gen b/org.eclipse.xtext.tests/META-INF/MANIFEST.MF_gen index ad1c0af03..3bb53e59a 100644 --- a/org.eclipse.xtext.tests/META-INF/MANIFEST.MF_gen +++ b/org.eclipse.xtext.tests/META-INF/MANIFEST.MF_gen @@ -1,515 +1,507 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: org.eclipse.xtext.tests -Bundle-SymbolicName: org.eclipse.xtext.tests;singleton:=true -Bundle-Version: 0.0.1.qualifier -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Bundle-ActivationPolicy: lazy -Export-Package: org.eclipse.xtext, - org.eclipse.xtext.dummy, - org.eclipse.xtext.dummy.dummyLang, - org.eclipse.xtext.dummy.dummyLang.impl, - org.eclipse.xtext.dummy.dummyLang.util, - org.eclipse.xtext.dummy.parser.antlr, - org.eclipse.xtext.dummy.parser.antlr.internal, - org.eclipse.xtext.dummy.serializer, - org.eclipse.xtext.dummy.services, - org.eclipse.xtext.enumrules, - org.eclipse.xtext.enumrules.enumAndReferenceTestLanguage, - org.eclipse.xtext.enumrules.enumAndReferenceTestLanguage.impl, - org.eclipse.xtext.enumrules.enumAndReferenceTestLanguage.util, - org.eclipse.xtext.enumrules.enumRulesTestLanguage, - org.eclipse.xtext.enumrules.enumRulesTestLanguage.impl, - org.eclipse.xtext.enumrules.enumRulesTestLanguage.util, - org.eclipse.xtext.enumrules.multiRuleenums, - org.eclipse.xtext.enumrules.multiRuleenums.impl, - org.eclipse.xtext.enumrules.multiRuleenums.util, - org.eclipse.xtext.enumrules.parser.antlr, - org.eclipse.xtext.enumrules.parser.antlr.internal, - org.eclipse.xtext.enumrules.serializer, - org.eclipse.xtext.enumrules.services, - org.eclipse.xtext.formatting2.internal, - org.eclipse.xtext.formatting2.internal.formattertestlanguage, - org.eclipse.xtext.formatting2.internal.formattertestlanguage.impl, - org.eclipse.xtext.formatting2.internal.formattertestlanguage.util, - org.eclipse.xtext.formatting2.internal.parser.antlr, - org.eclipse.xtext.formatting2.internal.parser.antlr.internal, - org.eclipse.xtext.formatting2.internal.serializer, - org.eclipse.xtext.formatting2.internal.services, - org.eclipse.xtext.formatting2.internal.tests, - org.eclipse.xtext.formatting2.regionaccess.internal, - org.eclipse.xtext.formatting2.regionaccess.internal.parser.antlr, - org.eclipse.xtext.formatting2.regionaccess.internal.parser.antlr.internal, - org.eclipse.xtext.formatting2.regionaccess.internal.regionaccesstestlanguage, - org.eclipse.xtext.formatting2.regionaccess.internal.regionaccesstestlanguage.impl, - org.eclipse.xtext.formatting2.regionaccess.internal.regionaccesstestlanguage.util, - org.eclipse.xtext.formatting2.regionaccess.internal.serializer, - org.eclipse.xtext.formatting2.regionaccess.internal.services, - org.eclipse.xtext.formatting2.regionaccess.internal.tests, - org.eclipse.xtext.generator.ecore, - org.eclipse.xtext.generator.ecore.parser.antlr, - org.eclipse.xtext.generator.ecore.parser.antlr.internal, - org.eclipse.xtext.generator.ecore.second, - org.eclipse.xtext.generator.ecore.second.impl, - org.eclipse.xtext.generator.ecore.second.util, - org.eclipse.xtext.generator.ecore.serializer, - org.eclipse.xtext.generator.ecore.services, - org.eclipse.xtext.generator.ecore.subPackage, - org.eclipse.xtext.generator.ecore.subPackage.impl, - org.eclipse.xtext.generator.ecore.subPackage.util, - org.eclipse.xtext.generator.ecore.superPackage, - org.eclipse.xtext.generator.ecore.superPackage.impl, - org.eclipse.xtext.generator.ecore.superPackage.util, - org.eclipse.xtext.generator.grammarAccess, - org.eclipse.xtext.generator.grammarAccess.parser.antlr, - org.eclipse.xtext.generator.grammarAccess.parser.antlr.internal, - org.eclipse.xtext.generator.grammarAccess.serializer, - org.eclipse.xtext.generator.grammarAccess.services, - org.eclipse.xtext.grammarinheritance, - org.eclipse.xtext.grammarinheritance.baseInheritanceTest, - org.eclipse.xtext.grammarinheritance.baseInheritanceTest.impl, - org.eclipse.xtext.grammarinheritance.baseInheritanceTest.util, - org.eclipse.xtext.grammarinheritance.foo, - org.eclipse.xtext.grammarinheritance.foo.impl, - org.eclipse.xtext.grammarinheritance.foo.util, - org.eclipse.xtext.grammarinheritance.inheritanceTest, - org.eclipse.xtext.grammarinheritance.inheritanceTest.impl, - org.eclipse.xtext.grammarinheritance.inheritanceTest.util, - org.eclipse.xtext.grammarinheritance.inheritanceTest2, - org.eclipse.xtext.grammarinheritance.inheritanceTest2.impl, - org.eclipse.xtext.grammarinheritance.inheritanceTest2.util, - org.eclipse.xtext.grammarinheritance.parser.antlr, - org.eclipse.xtext.grammarinheritance.parser.antlr.internal, - org.eclipse.xtext.grammarinheritance.serializer, - org.eclipse.xtext.grammarinheritance.services, - org.eclipse.xtext.index, - org.eclipse.xtext.index.indexTestLanguage, - org.eclipse.xtext.index.indexTestLanguage.impl, - org.eclipse.xtext.index.indexTestLanguage.util, - org.eclipse.xtext.index.parser.antlr, - org.eclipse.xtext.index.parser.antlr.internal, - org.eclipse.xtext.index.serializer, - org.eclipse.xtext.index.services, - org.eclipse.xtext.lexer, - org.eclipse.xtext.lexer.backtrackingTestLanguage, - org.eclipse.xtext.lexer.backtrackingTestLanguage.impl, - org.eclipse.xtext.lexer.backtrackingTestLanguage.util, - org.eclipse.xtext.lexer.ignoreCaseTestLanguage, - org.eclipse.xtext.lexer.ignoreCaseTestLanguage.impl, - org.eclipse.xtext.lexer.ignoreCaseTestLanguage.util, - org.eclipse.xtext.lexer.parser.antlr, - org.eclipse.xtext.lexer.parser.antlr.internal, - org.eclipse.xtext.lexer.parser.antlr.lexer, - org.eclipse.xtext.lexer.serializer, - org.eclipse.xtext.lexer.services, - org.eclipse.xtext.linking, - org.eclipse.xtext.linking.bug287988Test, - org.eclipse.xtext.linking.bug287988Test.impl, - org.eclipse.xtext.linking.bug287988Test.util, - org.eclipse.xtext.linking.bug289059Test, - org.eclipse.xtext.linking.bug289059Test.impl, - org.eclipse.xtext.linking.bug289059Test.util, - org.eclipse.xtext.linking.bug313089, - org.eclipse.xtext.linking.bug313089.impl, - org.eclipse.xtext.linking.bug313089.util, - org.eclipse.xtext.linking.bug362902, - org.eclipse.xtext.linking.bug362902.impl, - org.eclipse.xtext.linking.bug362902.util, - org.eclipse.xtext.linking.ignoreCaseImportsTest, - org.eclipse.xtext.linking.ignoreCaseImportsTest.impl, - org.eclipse.xtext.linking.ignoreCaseImportsTest.util, - org.eclipse.xtext.linking.ignoreCaseLinkingTest, - org.eclipse.xtext.linking.ignoreCaseLinkingTest.impl, - org.eclipse.xtext.linking.ignoreCaseLinkingTest.util, - org.eclipse.xtext.linking.ignoreCaseNamespacesTest, - org.eclipse.xtext.linking.ignoreCaseNamespacesTest.impl, - org.eclipse.xtext.linking.ignoreCaseNamespacesTest.util, - org.eclipse.xtext.linking.importedURI, - org.eclipse.xtext.linking.importedURI.impl, - org.eclipse.xtext.linking.importedURI.util, - org.eclipse.xtext.linking.langATestLanguage, - org.eclipse.xtext.linking.langATestLanguage.impl, - org.eclipse.xtext.linking.langATestLanguage.util, - org.eclipse.xtext.linking.lazy, - org.eclipse.xtext.linking.lazy.bug311337, - org.eclipse.xtext.linking.lazy.bug311337.impl, - org.eclipse.xtext.linking.lazy.bug311337.util, - org.eclipse.xtext.linking.lazy.lazyLinking, - org.eclipse.xtext.linking.lazy.lazyLinking.impl, - org.eclipse.xtext.linking.lazy.lazyLinking.util, - org.eclipse.xtext.linking.lazy.parser.antlr, - org.eclipse.xtext.linking.lazy.parser.antlr.internal, - org.eclipse.xtext.linking.lazy.serializer, - org.eclipse.xtext.linking.lazy.services, - org.eclipse.xtext.linking.lazy.tests, - org.eclipse.xtext.linking.parser.antlr, - org.eclipse.xtext.linking.parser.antlr.internal, - org.eclipse.xtext.linking.scoping, - org.eclipse.xtext.linking.serializer, - org.eclipse.xtext.linking.services, - org.eclipse.xtext.metamodelreferencing.tests, - org.eclipse.xtext.metamodelreferencing.tests.anotherSimpleTest, - org.eclipse.xtext.metamodelreferencing.tests.anotherSimpleTest.impl, - org.eclipse.xtext.metamodelreferencing.tests.anotherSimpleTest.util, - org.eclipse.xtext.metamodelreferencing.tests.ecoreReference, - org.eclipse.xtext.metamodelreferencing.tests.ecoreReference.impl, - org.eclipse.xtext.metamodelreferencing.tests.ecoreReference.util, - org.eclipse.xtext.metamodelreferencing.tests.otherTest, - org.eclipse.xtext.metamodelreferencing.tests.otherTest.impl, - org.eclipse.xtext.metamodelreferencing.tests.otherTest.util, - org.eclipse.xtext.metamodelreferencing.tests.parser.antlr, - org.eclipse.xtext.metamodelreferencing.tests.parser.antlr.internal, - org.eclipse.xtext.metamodelreferencing.tests.serializer, - org.eclipse.xtext.metamodelreferencing.tests.services, - org.eclipse.xtext.metamodelreferencing.tests.simpleTest, - org.eclipse.xtext.metamodelreferencing.tests.simpleTest.impl, - org.eclipse.xtext.metamodelreferencing.tests.simpleTest.util, - org.eclipse.xtext.parser.antlr, - org.eclipse.xtext.parser.antlr.bug289515Test, - org.eclipse.xtext.parser.antlr.bug289515Test.impl, - org.eclipse.xtext.parser.antlr.bug289515Test.util, - org.eclipse.xtext.parser.antlr.bug289524ExTest, - org.eclipse.xtext.parser.antlr.bug289524ExTest.impl, - org.eclipse.xtext.parser.antlr.bug289524ExTest.util, - org.eclipse.xtext.parser.antlr.bug289524Test, - org.eclipse.xtext.parser.antlr.bug289524Test.impl, - org.eclipse.xtext.parser.antlr.bug289524Test.util, - org.eclipse.xtext.parser.antlr.bug296889ExTest, - org.eclipse.xtext.parser.antlr.bug296889ExTest.impl, - org.eclipse.xtext.parser.antlr.bug296889ExTest.util, - org.eclipse.xtext.parser.antlr.bug296889Test, - org.eclipse.xtext.parser.antlr.bug296889Test.impl, - org.eclipse.xtext.parser.antlr.bug296889Test.util, - org.eclipse.xtext.parser.antlr.bug299237Test, - org.eclipse.xtext.parser.antlr.bug299237Test.impl, - org.eclipse.xtext.parser.antlr.bug299237Test.util, - org.eclipse.xtext.parser.antlr.bug301935Test, - org.eclipse.xtext.parser.antlr.bug301935Test.impl, - org.eclipse.xtext.parser.antlr.bug301935Test.util, - org.eclipse.xtext.parser.antlr.bug378967Test, - org.eclipse.xtext.parser.antlr.bug378967Test.impl, - org.eclipse.xtext.parser.antlr.bug378967Test.util, - org.eclipse.xtext.parser.antlr.bug443221Test, - org.eclipse.xtext.parser.antlr.bug443221Test.impl, - org.eclipse.xtext.parser.antlr.bug443221Test.util, - org.eclipse.xtext.parser.antlr.internal, - org.eclipse.xtext.parser.antlr.parser.antlr, - org.eclipse.xtext.parser.antlr.parser.antlr.internal, - org.eclipse.xtext.parser.antlr.parser.antlr.lexer, - org.eclipse.xtext.parser.antlr.serializer, - org.eclipse.xtext.parser.antlr.services, - org.eclipse.xtext.parser.assignments, - org.eclipse.xtext.parser.assignments.assignmentsTestLanguage, - org.eclipse.xtext.parser.assignments.assignmentsTestLanguage.impl, - org.eclipse.xtext.parser.assignments.assignmentsTestLanguage.util, - org.eclipse.xtext.parser.assignments.bug287184Test, - org.eclipse.xtext.parser.assignments.bug287184Test.impl, - org.eclipse.xtext.parser.assignments.bug287184Test.util, - org.eclipse.xtext.parser.assignments.bug288432Test, - org.eclipse.xtext.parser.assignments.bug288432Test.impl, - org.eclipse.xtext.parser.assignments.bug288432Test.util, - org.eclipse.xtext.parser.assignments.parser.antlr, - org.eclipse.xtext.parser.assignments.parser.antlr.internal, - org.eclipse.xtext.parser.assignments.serializer, - org.eclipse.xtext.parser.assignments.services, - org.eclipse.xtext.parser.bug419429, - org.eclipse.xtext.parser.bug419429.parser.antlr, - org.eclipse.xtext.parser.bug419429.parser.antlr.internal, - org.eclipse.xtext.parser.bug419429.serializer, - org.eclipse.xtext.parser.bug419429.services, - org.eclipse.xtext.parser.datatyperules, - org.eclipse.xtext.parser.datatyperules.datatypeRulesTestLanguage, - org.eclipse.xtext.parser.datatyperules.datatypeRulesTestLanguage.impl, - org.eclipse.xtext.parser.datatyperules.datatypeRulesTestLanguage.util, - org.eclipse.xtext.parser.datatyperules.parser.antlr, - org.eclipse.xtext.parser.datatyperules.parser.antlr.internal, - org.eclipse.xtext.parser.datatyperules.serializer, - org.eclipse.xtext.parser.datatyperules.services, - org.eclipse.xtext.parser.encoding, - org.eclipse.xtext.parser.encoding.encodingTest, - org.eclipse.xtext.parser.encoding.encodingTest.impl, - org.eclipse.xtext.parser.encoding.encodingTest.util, - org.eclipse.xtext.parser.encoding.parser.antlr, - org.eclipse.xtext.parser.encoding.parser.antlr.internal, - org.eclipse.xtext.parser.encoding.serializer, - org.eclipse.xtext.parser.encoding.services, - org.eclipse.xtext.parser.epatch, - org.eclipse.xtext.parser.epatch.epatchTestLanguage, - org.eclipse.xtext.parser.epatch.epatchTestLanguage.impl, - org.eclipse.xtext.parser.epatch.epatchTestLanguage.util, - org.eclipse.xtext.parser.epatch.parser.antlr, - org.eclipse.xtext.parser.epatch.parser.antlr.internal, - org.eclipse.xtext.parser.epatch.serializer, - org.eclipse.xtext.parser.epatch.services, - org.eclipse.xtext.parser.fragments, - org.eclipse.xtext.parser.fragments.fragmentTestLanguage, - org.eclipse.xtext.parser.fragments.fragmentTestLanguage.impl, - org.eclipse.xtext.parser.fragments.fragmentTestLanguage.util, - org.eclipse.xtext.parser.fragments.parser.antlr, - org.eclipse.xtext.parser.fragments.parser.antlr.internal, - org.eclipse.xtext.parser.fragments.serializer, - org.eclipse.xtext.parser.fragments.services, - org.eclipse.xtext.parser.fragments.tests, - org.eclipse.xtext.parser.indentation, - org.eclipse.xtext.parser.indentation.indentationAwareTestLanguage, - org.eclipse.xtext.parser.indentation.indentationAwareTestLanguage.impl, - org.eclipse.xtext.parser.indentation.indentationAwareTestLanguage.util, - org.eclipse.xtext.parser.indentation.parser.antlr, - org.eclipse.xtext.parser.indentation.parser.antlr.internal, - org.eclipse.xtext.parser.indentation.parser.antlr.lexer, - org.eclipse.xtext.parser.indentation.serializer, - org.eclipse.xtext.parser.indentation.services, - org.eclipse.xtext.parser.indentation.tests, - org.eclipse.xtext.parser.keywords, - org.eclipse.xtext.parser.keywords.keywordsTestLanguage, - org.eclipse.xtext.parser.keywords.keywordsTestLanguage.impl, - org.eclipse.xtext.parser.keywords.keywordsTestLanguage.util, - org.eclipse.xtext.parser.keywords.parser.antlr, - org.eclipse.xtext.parser.keywords.parser.antlr.internal, - org.eclipse.xtext.parser.keywords.serializer, - org.eclipse.xtext.parser.keywords.services, - org.eclipse.xtext.parser.parameters, - org.eclipse.xtext.parser.parameters.parametersTestLanguage, - org.eclipse.xtext.parser.parameters.parametersTestLanguage.impl, - org.eclipse.xtext.parser.parameters.parametersTestLanguage.util, - org.eclipse.xtext.parser.parameters.parser.antlr, - org.eclipse.xtext.parser.parameters.parser.antlr.internal, - org.eclipse.xtext.parser.parameters.serializer, - org.eclipse.xtext.parser.parameters.services, - org.eclipse.xtext.parser.parameters.tests, - org.eclipse.xtext.parser.terminalrules, - org.eclipse.xtext.parser.terminalrules.bug292245TestLanguage, - org.eclipse.xtext.parser.terminalrules.bug292245TestLanguage.impl, - org.eclipse.xtext.parser.terminalrules.bug292245TestLanguage.util, - org.eclipse.xtext.parser.terminalrules.bug297105TestLanguage, - org.eclipse.xtext.parser.terminalrules.bug297105TestLanguage.impl, - org.eclipse.xtext.parser.terminalrules.bug297105TestLanguage.util, - org.eclipse.xtext.parser.terminalrules.bug317840TestLanguage, - org.eclipse.xtext.parser.terminalrules.bug317840TestLanguage.impl, - org.eclipse.xtext.parser.terminalrules.bug317840TestLanguage.util, - org.eclipse.xtext.parser.terminalrules.ecoreTerminalsTestLanguage, - org.eclipse.xtext.parser.terminalrules.ecoreTerminalsTestLanguage.impl, - org.eclipse.xtext.parser.terminalrules.ecoreTerminalsTestLanguage.util, - org.eclipse.xtext.parser.terminalrules.hiddenTerminalsTestLanguage, - org.eclipse.xtext.parser.terminalrules.hiddenTerminalsTestLanguage.impl, - org.eclipse.xtext.parser.terminalrules.hiddenTerminalsTestLanguage.util, - org.eclipse.xtext.parser.terminalrules.parser.antlr, - org.eclipse.xtext.parser.terminalrules.parser.antlr.internal, - org.eclipse.xtext.parser.terminalrules.serializer, - org.eclipse.xtext.parser.terminalrules.services, - org.eclipse.xtext.parser.terminalrules.terminalRulesTestLanguage, - org.eclipse.xtext.parser.terminalrules.terminalRulesTestLanguage.impl, - org.eclipse.xtext.parser.terminalrules.terminalRulesTestLanguage.util, - org.eclipse.xtext.parser.terminalrules.unicode, - org.eclipse.xtext.parser.terminalrules.unicode.impl, - org.eclipse.xtext.parser.terminalrules.unicode.util, - org.eclipse.xtext.parser.terminalrules.xtextTerminalsTestLanguage, - org.eclipse.xtext.parser.terminalrules.xtextTerminalsTestLanguage.impl, - org.eclipse.xtext.parser.terminalrules.xtextTerminalsTestLanguage.util, - org.eclipse.xtext.parser.unorderedGroups, - org.eclipse.xtext.parser.unorderedGroups.backtrackingBug325745TestLanguage, - org.eclipse.xtext.parser.unorderedGroups.backtrackingBug325745TestLanguage.impl, - org.eclipse.xtext.parser.unorderedGroups.backtrackingBug325745TestLanguage.util, - org.eclipse.xtext.parser.unorderedGroups.parser.antlr, - org.eclipse.xtext.parser.unorderedGroups.parser.antlr.internal, - org.eclipse.xtext.parser.unorderedGroups.serializer, - org.eclipse.xtext.parser.unorderedGroups.services, - org.eclipse.xtext.parser.unorderedGroups.unorderedGroupsTestLanguage, - org.eclipse.xtext.parser.unorderedGroups.unorderedGroupsTestLanguage.impl, - org.eclipse.xtext.parser.unorderedGroups.unorderedGroupsTestLanguage.util, - org.eclipse.xtext.parsetree.formatter, - org.eclipse.xtext.parsetree.formatter.formattertestlanguage, - org.eclipse.xtext.parsetree.formatter.formattertestlanguage.impl, - org.eclipse.xtext.parsetree.formatter.formattertestlanguage.util, - org.eclipse.xtext.parsetree.formatter.parser.antlr, - org.eclipse.xtext.parsetree.formatter.parser.antlr.internal, - org.eclipse.xtext.parsetree.formatter.serializer, - org.eclipse.xtext.parsetree.formatter.services, - org.eclipse.xtext.parsetree.impl, - org.eclipse.xtext.parsetree.impl.bug305397, - org.eclipse.xtext.parsetree.impl.bug305397.impl, - org.eclipse.xtext.parsetree.impl.bug305397.util, - org.eclipse.xtext.parsetree.impl.commentAssociation, - org.eclipse.xtext.parsetree.impl.commentAssociation.impl, - org.eclipse.xtext.parsetree.impl.commentAssociation.util, - org.eclipse.xtext.parsetree.impl.parser.antlr, - org.eclipse.xtext.parsetree.impl.parser.antlr.internal, - org.eclipse.xtext.parsetree.impl.serializer, - org.eclipse.xtext.parsetree.impl.services, - org.eclipse.xtext.parsetree.reconstr, - org.eclipse.xtext.parsetree.reconstr.bug299395, - org.eclipse.xtext.parsetree.reconstr.bug299395.impl, - org.eclipse.xtext.parsetree.reconstr.bug299395.util, - org.eclipse.xtext.parsetree.reconstr.bug302128, - org.eclipse.xtext.parsetree.reconstr.bug302128.impl, - org.eclipse.xtext.parsetree.reconstr.bug302128.util, - org.eclipse.xtext.parsetree.reconstr.complexrewritetest, - org.eclipse.xtext.parsetree.reconstr.complexrewritetest.impl, - org.eclipse.xtext.parsetree.reconstr.complexrewritetest.util, - org.eclipse.xtext.parsetree.reconstr.hiddentokenmergertest, - org.eclipse.xtext.parsetree.reconstr.hiddentokenmergertest.impl, - org.eclipse.xtext.parsetree.reconstr.hiddentokenmergertest.util, - org.eclipse.xtext.parsetree.reconstr.parser.antlr, - org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal, - org.eclipse.xtext.parsetree.reconstr.partialserializationtest, - org.eclipse.xtext.parsetree.reconstr.partialserializationtest.impl, - org.eclipse.xtext.parsetree.reconstr.partialserializationtest.util, - org.eclipse.xtext.parsetree.reconstr.serializationBug269362TestLanguage, - org.eclipse.xtext.parsetree.reconstr.serializationBug269362TestLanguage.impl, - org.eclipse.xtext.parsetree.reconstr.serializationBug269362TestLanguage.util, - org.eclipse.xtext.parsetree.reconstr.serializationerror, - org.eclipse.xtext.parsetree.reconstr.serializationerror.impl, - org.eclipse.xtext.parsetree.reconstr.serializationerror.util, - org.eclipse.xtext.parsetree.reconstr.serializer, - org.eclipse.xtext.parsetree.reconstr.services, - org.eclipse.xtext.parsetree.reconstr.simplerewritetest, - org.eclipse.xtext.parsetree.reconstr.simplerewritetest.impl, - org.eclipse.xtext.parsetree.reconstr.simplerewritetest.util, - org.eclipse.xtext.parsetree.transientvalues, - org.eclipse.xtext.parsetree.transientvalues.parser.antlr, - org.eclipse.xtext.parsetree.transientvalues.parser.antlr.internal, - org.eclipse.xtext.parsetree.transientvalues.serializer, - org.eclipse.xtext.parsetree.transientvalues.services, - org.eclipse.xtext.parsetree.transientvalues.transientvaluestest, - org.eclipse.xtext.parsetree.transientvalues.transientvaluestest.impl, - org.eclipse.xtext.parsetree.transientvalues.transientvaluestest.util, - org.eclipse.xtext.parsetree.unassignedtext, - org.eclipse.xtext.parsetree.unassignedtext.parser.antlr, - org.eclipse.xtext.parsetree.unassignedtext.parser.antlr.internal, - org.eclipse.xtext.parsetree.unassignedtext.serializer, - org.eclipse.xtext.parsetree.unassignedtext.services, - org.eclipse.xtext.parsetree.unassignedtext.unassignedtext, - org.eclipse.xtext.parsetree.unassignedtext.unassignedtext.impl, - org.eclipse.xtext.parsetree.unassignedtext.unassignedtext.util, - org.eclipse.xtext.resource, - org.eclipse.xtext.resource.bug385636, - org.eclipse.xtext.resource.bug385636.impl, - org.eclipse.xtext.resource.bug385636.util, - org.eclipse.xtext.resource.eObjectAtOffsetTestLanguage, - org.eclipse.xtext.resource.eObjectAtOffsetTestLanguage.impl, - org.eclipse.xtext.resource.eObjectAtOffsetTestLanguage.util, - org.eclipse.xtext.resource.liveContainerBuilderIntegerationTestLanguage, - org.eclipse.xtext.resource.liveContainerBuilderIntegerationTestLanguage.impl, - org.eclipse.xtext.resource.liveContainerBuilderIntegerationTestLanguage.util, - org.eclipse.xtext.resource.liveContainerTestLanguage, - org.eclipse.xtext.resource.liveContainerTestLanguage.impl, - org.eclipse.xtext.resource.liveContainerTestLanguage.util, - org.eclipse.xtext.resource.locationprovidertest, - org.eclipse.xtext.resource.locationprovidertest.impl, - org.eclipse.xtext.resource.locationprovidertest.util, - org.eclipse.xtext.resource.parser.antlr, - org.eclipse.xtext.resource.parser.antlr.internal, - org.eclipse.xtext.resource.serializer, - org.eclipse.xtext.resource.services, - org.eclipse.xtext.serializer, - org.eclipse.xtext.serializer.assignmentFinderTest, - org.eclipse.xtext.serializer.assignmentFinderTest.impl, - org.eclipse.xtext.serializer.assignmentFinderTest.util, - org.eclipse.xtext.serializer.contextFinderTest, - org.eclipse.xtext.serializer.contextFinderTest.impl, - org.eclipse.xtext.serializer.contextFinderTest.util, - org.eclipse.xtext.serializer.hiddentokensequencertest, - org.eclipse.xtext.serializer.hiddentokensequencertest.impl, - org.eclipse.xtext.serializer.hiddentokensequencertest.util, - org.eclipse.xtext.serializer.parser.antlr, - org.eclipse.xtext.serializer.parser.antlr.internal, - org.eclipse.xtext.serializer.sequencertest, - org.eclipse.xtext.serializer.sequencertest.impl, - org.eclipse.xtext.serializer.sequencertest.util, - org.eclipse.xtext.serializer.serializer, - org.eclipse.xtext.serializer.services, - org.eclipse.xtext.serializer.syntacticsequencertest, - org.eclipse.xtext.serializer.syntacticsequencertest.impl, - org.eclipse.xtext.serializer.syntacticsequencertest.util, - org.eclipse.xtext.services, - org.eclipse.xtext.testlanguages, - org.eclipse.xtext.testlanguages.actionLang, - org.eclipse.xtext.testlanguages.actionLang.impl, - org.eclipse.xtext.testlanguages.actionLang.util, - org.eclipse.xtext.testlanguages.actionLang2, - org.eclipse.xtext.testlanguages.actionLang2.impl, - org.eclipse.xtext.testlanguages.actionLang2.util, - org.eclipse.xtext.testlanguages.fowlerdsl, - org.eclipse.xtext.testlanguages.fowlerdsl.impl, - org.eclipse.xtext.testlanguages.fowlerdsl.util, - org.eclipse.xtext.testlanguages.indent, - org.eclipse.xtext.testlanguages.indent.indentLang, - org.eclipse.xtext.testlanguages.indent.indentLang.impl, - org.eclipse.xtext.testlanguages.indent.indentLang.util, - org.eclipse.xtext.testlanguages.indent.parser.antlr, - org.eclipse.xtext.testlanguages.indent.parser.antlr.internal, - org.eclipse.xtext.testlanguages.indent.serializer, - org.eclipse.xtext.testlanguages.indent.services, - org.eclipse.xtext.testlanguages.lookaheadLang, - org.eclipse.xtext.testlanguages.lookaheadLang.impl, - org.eclipse.xtext.testlanguages.lookaheadLang.util, - org.eclipse.xtext.testlanguages.optionalEmpty, - org.eclipse.xtext.testlanguages.optionalEmpty.impl, - org.eclipse.xtext.testlanguages.optionalEmpty.util, - org.eclipse.xtext.testlanguages.parser.antlr, - org.eclipse.xtext.testlanguages.parser.antlr.internal, - org.eclipse.xtext.testlanguages.partialParserTestLanguage, - org.eclipse.xtext.testlanguages.partialParserTestLanguage.impl, - org.eclipse.xtext.testlanguages.partialParserTestLanguage.util, - org.eclipse.xtext.testlanguages.referenceGrammar, - org.eclipse.xtext.testlanguages.referenceGrammar.impl, - org.eclipse.xtext.testlanguages.referenceGrammar.util, - org.eclipse.xtext.testlanguages.serializer, - org.eclipse.xtext.testlanguages.services, - org.eclipse.xtext.testlanguages.simpleExpressions, - org.eclipse.xtext.testlanguages.simpleExpressions.impl, - org.eclipse.xtext.testlanguages.simpleExpressions.util, - org.eclipse.xtext.testlanguages.testLang, - org.eclipse.xtext.testlanguages.testLang.impl, - org.eclipse.xtext.testlanguages.testLang.util, - org.eclipse.xtext.testlanguages.treeTestLanguage, - org.eclipse.xtext.testlanguages.treeTestLanguage.impl, - org.eclipse.xtext.testlanguages.treeTestLanguage.util, - org.eclipse.xtext.validation, - org.eclipse.xtext.validation.csvalidationtest, - org.eclipse.xtext.validation.csvalidationtest.impl, - org.eclipse.xtext.validation.csvalidationtest.util, - org.eclipse.xtext.validation.parser.antlr, - org.eclipse.xtext.validation.parser.antlr.internal, - org.eclipse.xtext.validation.serializer, - org.eclipse.xtext.validation.services, - org.eclipse.xtext.valueconverter, - org.eclipse.xtext.valueconverter.bug250313, - org.eclipse.xtext.valueconverter.bug250313.impl, - org.eclipse.xtext.valueconverter.bug250313.util, - org.eclipse.xtext.valueconverter.parser.antlr, - org.eclipse.xtext.valueconverter.parser.antlr.internal, - org.eclipse.xtext.valueconverter.qualifiedName, - org.eclipse.xtext.valueconverter.qualifiedName.impl, - org.eclipse.xtext.valueconverter.qualifiedName.util, - org.eclipse.xtext.valueconverter.serializer, - org.eclipse.xtext.valueconverter.services, - org.eclipse.xtext.xtext.ecoreInference, - org.eclipse.xtext.xtext.ecoreInference.multiValueFeatureTestLanguage, - org.eclipse.xtext.xtext.ecoreInference.multiValueFeatureTestLanguage.impl, - org.eclipse.xtext.xtext.ecoreInference.multiValueFeatureTestLanguage.util, - org.eclipse.xtext.xtext.ecoreInference.parser.antlr, - org.eclipse.xtext.xtext.ecoreInference.parser.antlr.internal, - org.eclipse.xtext.xtext.ecoreInference.serializer, - org.eclipse.xtext.xtext.ecoreInference.services, - org.eclipse.xtext.xtext.ecoreInference.unassignedRuleCallTestLanguage, - org.eclipse.xtext.xtext.ecoreInference.unassignedRuleCallTestLanguage.impl, - org.eclipse.xtext.xtext.ecoreInference.unassignedRuleCallTestLanguage.util, - org.eclipse.xtext.xtextTest, - org.eclipse.xtext.xtextTest.impl, - org.eclipse.xtext.xtextTest.util -Require-Bundle: org.antlr.runtime, - org.eclipse.emf.common, - org.eclipse.emf.ecore, - org.eclipse.xtext, - org.eclipse.xtext.testing, - org.eclipse.xtext.util, - org.eclipse.xtext.xbase.lib -Import-Package: org.apache.log4j, - org.hamcrest.core, - org.junit.runner.manipulation;version="4.5.0", - org.junit.runner.notification;version="4.5.0", - org.junit.runner;version="4.5.0", - org.junit.runners.model;version="4.5.0", - org.junit.runners;version="4.5.0", - org.junit;version="4.5.0" +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: org.eclipse.xtext.tests +Bundle-SymbolicName: org.eclipse.xtext.tests;singleton:=true +Bundle-Version: 0.0.1.qualifier +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Bundle-ActivationPolicy: lazy +Export-Package: org.eclipse.xtext, + org.eclipse.xtext.dummy, + org.eclipse.xtext.dummy.dummyLang, + org.eclipse.xtext.dummy.dummyLang.impl, + org.eclipse.xtext.dummy.dummyLang.util, + org.eclipse.xtext.dummy.parser.antlr, + org.eclipse.xtext.dummy.parser.antlr.internal, + org.eclipse.xtext.dummy.serializer, + org.eclipse.xtext.dummy.services, + org.eclipse.xtext.enumrules, + org.eclipse.xtext.enumrules.enumAndReferenceTestLanguage, + org.eclipse.xtext.enumrules.enumAndReferenceTestLanguage.impl, + org.eclipse.xtext.enumrules.enumAndReferenceTestLanguage.util, + org.eclipse.xtext.enumrules.enumRulesTestLanguage, + org.eclipse.xtext.enumrules.enumRulesTestLanguage.impl, + org.eclipse.xtext.enumrules.enumRulesTestLanguage.util, + org.eclipse.xtext.enumrules.multiRuleenums, + org.eclipse.xtext.enumrules.multiRuleenums.impl, + org.eclipse.xtext.enumrules.multiRuleenums.util, + org.eclipse.xtext.enumrules.parser.antlr, + org.eclipse.xtext.enumrules.parser.antlr.internal, + org.eclipse.xtext.enumrules.serializer, + org.eclipse.xtext.enumrules.services, + org.eclipse.xtext.formatting2.internal, + org.eclipse.xtext.formatting2.internal.formattertestlanguage, + org.eclipse.xtext.formatting2.internal.formattertestlanguage.impl, + org.eclipse.xtext.formatting2.internal.formattertestlanguage.util, + org.eclipse.xtext.formatting2.internal.parser.antlr, + org.eclipse.xtext.formatting2.internal.parser.antlr.internal, + org.eclipse.xtext.formatting2.internal.serializer, + org.eclipse.xtext.formatting2.internal.services, + org.eclipse.xtext.formatting2.internal.tests;x-internal=true, + org.eclipse.xtext.formatting2.regionaccess.internal, + org.eclipse.xtext.formatting2.regionaccess.internal.parser.antlr, + org.eclipse.xtext.formatting2.regionaccess.internal.parser.antlr.internal, + org.eclipse.xtext.formatting2.regionaccess.internal.regionaccesstestlanguage, + org.eclipse.xtext.formatting2.regionaccess.internal.regionaccesstestlanguage.impl, + org.eclipse.xtext.formatting2.regionaccess.internal.regionaccesstestlanguage.util, + org.eclipse.xtext.formatting2.regionaccess.internal.serializer, + org.eclipse.xtext.formatting2.regionaccess.internal.services, + org.eclipse.xtext.formatting2.regionaccess.internal.tests;x-internal=true, + org.eclipse.xtext.generator.ecore, + org.eclipse.xtext.generator.ecore.parser.antlr, + org.eclipse.xtext.generator.ecore.parser.antlr.internal, + org.eclipse.xtext.generator.ecore.second, + org.eclipse.xtext.generator.ecore.second.impl, + org.eclipse.xtext.generator.ecore.second.util, + org.eclipse.xtext.generator.ecore.serializer, + org.eclipse.xtext.generator.ecore.services, + org.eclipse.xtext.generator.ecore.subPackage, + org.eclipse.xtext.generator.ecore.subPackage.impl, + org.eclipse.xtext.generator.ecore.subPackage.util, + org.eclipse.xtext.generator.ecore.superPackage, + org.eclipse.xtext.generator.ecore.superPackage.impl, + org.eclipse.xtext.generator.ecore.superPackage.util, + org.eclipse.xtext.generator.grammarAccess, + org.eclipse.xtext.generator.grammarAccess.parser.antlr, + org.eclipse.xtext.generator.grammarAccess.parser.antlr.internal, + org.eclipse.xtext.generator.grammarAccess.serializer, + org.eclipse.xtext.generator.grammarAccess.services, + org.eclipse.xtext.grammarinheritance, + org.eclipse.xtext.grammarinheritance.baseInheritanceTest, + org.eclipse.xtext.grammarinheritance.baseInheritanceTest.impl, + org.eclipse.xtext.grammarinheritance.baseInheritanceTest.util, + org.eclipse.xtext.grammarinheritance.foo, + org.eclipse.xtext.grammarinheritance.foo.impl, + org.eclipse.xtext.grammarinheritance.foo.util, + org.eclipse.xtext.grammarinheritance.inheritanceTest, + org.eclipse.xtext.grammarinheritance.inheritanceTest.impl, + org.eclipse.xtext.grammarinheritance.inheritanceTest.util, + org.eclipse.xtext.grammarinheritance.inheritanceTest2, + org.eclipse.xtext.grammarinheritance.inheritanceTest2.impl, + org.eclipse.xtext.grammarinheritance.inheritanceTest2.util, + org.eclipse.xtext.grammarinheritance.parser.antlr, + org.eclipse.xtext.grammarinheritance.parser.antlr.internal, + org.eclipse.xtext.grammarinheritance.serializer, + org.eclipse.xtext.grammarinheritance.services, + org.eclipse.xtext.index, + org.eclipse.xtext.index.indexTestLanguage, + org.eclipse.xtext.index.indexTestLanguage.impl, + org.eclipse.xtext.index.indexTestLanguage.util, + org.eclipse.xtext.index.parser.antlr, + org.eclipse.xtext.index.parser.antlr.internal, + org.eclipse.xtext.index.serializer, + org.eclipse.xtext.index.services, + org.eclipse.xtext.lexer, + org.eclipse.xtext.lexer.backtrackingTestLanguage, + org.eclipse.xtext.lexer.backtrackingTestLanguage.impl, + org.eclipse.xtext.lexer.backtrackingTestLanguage.util, + org.eclipse.xtext.lexer.ignoreCaseTestLanguage, + org.eclipse.xtext.lexer.ignoreCaseTestLanguage.impl, + org.eclipse.xtext.lexer.ignoreCaseTestLanguage.util, + org.eclipse.xtext.lexer.parser.antlr, + org.eclipse.xtext.lexer.parser.antlr.internal, + org.eclipse.xtext.lexer.parser.antlr.lexer, + org.eclipse.xtext.lexer.serializer, + org.eclipse.xtext.lexer.services, + org.eclipse.xtext.linking, + org.eclipse.xtext.linking.bug287988Test, + org.eclipse.xtext.linking.bug287988Test.impl, + org.eclipse.xtext.linking.bug287988Test.util, + org.eclipse.xtext.linking.bug289059Test, + org.eclipse.xtext.linking.bug289059Test.impl, + org.eclipse.xtext.linking.bug289059Test.util, + org.eclipse.xtext.linking.bug313089, + org.eclipse.xtext.linking.bug313089.impl, + org.eclipse.xtext.linking.bug313089.util, + org.eclipse.xtext.linking.bug362902, + org.eclipse.xtext.linking.bug362902.impl, + org.eclipse.xtext.linking.bug362902.util, + org.eclipse.xtext.linking.ignoreCaseImportsTest, + org.eclipse.xtext.linking.ignoreCaseImportsTest.impl, + org.eclipse.xtext.linking.ignoreCaseImportsTest.util, + org.eclipse.xtext.linking.ignoreCaseLinkingTest, + org.eclipse.xtext.linking.ignoreCaseLinkingTest.impl, + org.eclipse.xtext.linking.ignoreCaseLinkingTest.util, + org.eclipse.xtext.linking.ignoreCaseNamespacesTest, + org.eclipse.xtext.linking.ignoreCaseNamespacesTest.impl, + org.eclipse.xtext.linking.ignoreCaseNamespacesTest.util, + org.eclipse.xtext.linking.importedURI, + org.eclipse.xtext.linking.importedURI.impl, + org.eclipse.xtext.linking.importedURI.util, + org.eclipse.xtext.linking.langATestLanguage, + org.eclipse.xtext.linking.langATestLanguage.impl, + org.eclipse.xtext.linking.langATestLanguage.util, + org.eclipse.xtext.linking.lazy, + org.eclipse.xtext.linking.lazy.bug311337, + org.eclipse.xtext.linking.lazy.bug311337.impl, + org.eclipse.xtext.linking.lazy.bug311337.util, + org.eclipse.xtext.linking.lazy.parser.antlr, + org.eclipse.xtext.linking.lazy.parser.antlr.internal, + org.eclipse.xtext.linking.lazy.serializer, + org.eclipse.xtext.linking.lazy.services, + org.eclipse.xtext.linking.lazy.tests;x-internal=true, + org.eclipse.xtext.linking.parser.antlr, + org.eclipse.xtext.linking.parser.antlr.internal, + org.eclipse.xtext.linking.scoping, + org.eclipse.xtext.linking.serializer, + org.eclipse.xtext.linking.services, + org.eclipse.xtext.metamodelreferencing.tests, + org.eclipse.xtext.metamodelreferencing.tests.anotherSimpleTest, + org.eclipse.xtext.metamodelreferencing.tests.anotherSimpleTest.impl, + org.eclipse.xtext.metamodelreferencing.tests.anotherSimpleTest.util, + org.eclipse.xtext.metamodelreferencing.tests.ecoreReference, + org.eclipse.xtext.metamodelreferencing.tests.ecoreReference.impl, + org.eclipse.xtext.metamodelreferencing.tests.ecoreReference.util, + org.eclipse.xtext.metamodelreferencing.tests.otherTest, + org.eclipse.xtext.metamodelreferencing.tests.otherTest.impl, + org.eclipse.xtext.metamodelreferencing.tests.otherTest.util, + org.eclipse.xtext.metamodelreferencing.tests.parser.antlr, + org.eclipse.xtext.metamodelreferencing.tests.parser.antlr.internal, + org.eclipse.xtext.metamodelreferencing.tests.serializer, + org.eclipse.xtext.metamodelreferencing.tests.services, + org.eclipse.xtext.metamodelreferencing.tests.simpleTest, + org.eclipse.xtext.metamodelreferencing.tests.simpleTest.impl, + org.eclipse.xtext.metamodelreferencing.tests.simpleTest.util, + org.eclipse.xtext.parser.antlr, + org.eclipse.xtext.parser.antlr.bug289515Test, + org.eclipse.xtext.parser.antlr.bug289515Test.impl, + org.eclipse.xtext.parser.antlr.bug289515Test.util, + org.eclipse.xtext.parser.antlr.bug289524ExTest, + org.eclipse.xtext.parser.antlr.bug289524ExTest.impl, + org.eclipse.xtext.parser.antlr.bug289524ExTest.util, + org.eclipse.xtext.parser.antlr.bug289524Test, + org.eclipse.xtext.parser.antlr.bug289524Test.impl, + org.eclipse.xtext.parser.antlr.bug289524Test.util, + org.eclipse.xtext.parser.antlr.bug296889ExTest, + org.eclipse.xtext.parser.antlr.bug296889ExTest.impl, + org.eclipse.xtext.parser.antlr.bug296889ExTest.util, + org.eclipse.xtext.parser.antlr.bug296889Test, + org.eclipse.xtext.parser.antlr.bug296889Test.impl, + org.eclipse.xtext.parser.antlr.bug296889Test.util, + org.eclipse.xtext.parser.antlr.bug299237Test, + org.eclipse.xtext.parser.antlr.bug299237Test.impl, + org.eclipse.xtext.parser.antlr.bug299237Test.util, + org.eclipse.xtext.parser.antlr.bug301935Test, + org.eclipse.xtext.parser.antlr.bug301935Test.impl, + org.eclipse.xtext.parser.antlr.bug301935Test.util, + org.eclipse.xtext.parser.antlr.bug378967Test, + org.eclipse.xtext.parser.antlr.bug378967Test.impl, + org.eclipse.xtext.parser.antlr.bug378967Test.util, + org.eclipse.xtext.parser.antlr.bug406914Test, + org.eclipse.xtext.parser.antlr.bug406914Test.impl, + org.eclipse.xtext.parser.antlr.bug406914Test.util, + org.eclipse.xtext.parser.antlr.bug443221Test, + org.eclipse.xtext.parser.antlr.bug443221Test.impl, + org.eclipse.xtext.parser.antlr.bug443221Test.util, + org.eclipse.xtext.parser.antlr.internal, + org.eclipse.xtext.parser.antlr.parser.antlr, + org.eclipse.xtext.parser.antlr.parser.antlr.internal, + org.eclipse.xtext.parser.antlr.parser.antlr.lexer, + org.eclipse.xtext.parser.antlr.serializer, + org.eclipse.xtext.parser.antlr.services, + org.eclipse.xtext.parser.assignments, + org.eclipse.xtext.parser.assignments.assignmentsTestLanguage, + org.eclipse.xtext.parser.assignments.assignmentsTestLanguage.impl, + org.eclipse.xtext.parser.assignments.assignmentsTestLanguage.util, + org.eclipse.xtext.parser.assignments.bug287184Test, + org.eclipse.xtext.parser.assignments.bug287184Test.impl, + org.eclipse.xtext.parser.assignments.bug287184Test.util, + org.eclipse.xtext.parser.assignments.bug288432Test, + org.eclipse.xtext.parser.assignments.bug288432Test.impl, + org.eclipse.xtext.parser.assignments.bug288432Test.util, + org.eclipse.xtext.parser.assignments.parser.antlr, + org.eclipse.xtext.parser.assignments.parser.antlr.internal, + org.eclipse.xtext.parser.assignments.serializer, + org.eclipse.xtext.parser.assignments.services, + org.eclipse.xtext.parser.bug419429, + org.eclipse.xtext.parser.bug419429.parser.antlr, + org.eclipse.xtext.parser.bug419429.parser.antlr.internal, + org.eclipse.xtext.parser.bug419429.serializer, + org.eclipse.xtext.parser.bug419429.services, + org.eclipse.xtext.parser.datatyperules, + org.eclipse.xtext.parser.datatyperules.datatypeRulesTestLanguage, + org.eclipse.xtext.parser.datatyperules.datatypeRulesTestLanguage.impl, + org.eclipse.xtext.parser.datatyperules.datatypeRulesTestLanguage.util, + org.eclipse.xtext.parser.datatyperules.parser.antlr, + org.eclipse.xtext.parser.datatyperules.parser.antlr.internal, + org.eclipse.xtext.parser.datatyperules.serializer, + org.eclipse.xtext.parser.datatyperules.services, + org.eclipse.xtext.parser.encoding, + org.eclipse.xtext.parser.encoding.encodingTest, + org.eclipse.xtext.parser.encoding.encodingTest.impl, + org.eclipse.xtext.parser.encoding.encodingTest.util, + org.eclipse.xtext.parser.encoding.parser.antlr, + org.eclipse.xtext.parser.encoding.parser.antlr.internal, + org.eclipse.xtext.parser.encoding.serializer, + org.eclipse.xtext.parser.encoding.services, + org.eclipse.xtext.parser.epatch, + org.eclipse.xtext.parser.epatch.epatchTestLanguage, + org.eclipse.xtext.parser.epatch.epatchTestLanguage.impl, + org.eclipse.xtext.parser.epatch.epatchTestLanguage.util, + org.eclipse.xtext.parser.epatch.parser.antlr, + org.eclipse.xtext.parser.epatch.parser.antlr.internal, + org.eclipse.xtext.parser.epatch.serializer, + org.eclipse.xtext.parser.epatch.services, + org.eclipse.xtext.parser.fragments, + org.eclipse.xtext.parser.fragments.fragmentTestLanguage, + org.eclipse.xtext.parser.fragments.fragmentTestLanguage.impl, + org.eclipse.xtext.parser.fragments.fragmentTestLanguage.util, + org.eclipse.xtext.parser.fragments.parser.antlr, + org.eclipse.xtext.parser.fragments.parser.antlr.internal, + org.eclipse.xtext.parser.fragments.serializer, + org.eclipse.xtext.parser.fragments.services, + org.eclipse.xtext.parser.fragments.tests;x-internal=true, + org.eclipse.xtext.parser.indentation, + org.eclipse.xtext.parser.indentation.indentationAwareTestLanguage, + org.eclipse.xtext.parser.indentation.indentationAwareTestLanguage.impl, + org.eclipse.xtext.parser.indentation.indentationAwareTestLanguage.util, + org.eclipse.xtext.parser.indentation.parser.antlr, + org.eclipse.xtext.parser.indentation.parser.antlr.internal, + org.eclipse.xtext.parser.indentation.parser.antlr.lexer, + org.eclipse.xtext.parser.indentation.serializer, + org.eclipse.xtext.parser.indentation.services, + org.eclipse.xtext.parser.indentation.tests;x-internal=true, + org.eclipse.xtext.parser.keywords, + org.eclipse.xtext.parser.keywords.keywordsTestLanguage, + org.eclipse.xtext.parser.keywords.keywordsTestLanguage.impl, + org.eclipse.xtext.parser.keywords.keywordsTestLanguage.util, + org.eclipse.xtext.parser.keywords.parser.antlr, + org.eclipse.xtext.parser.keywords.parser.antlr.internal, + org.eclipse.xtext.parser.keywords.serializer, + org.eclipse.xtext.parser.keywords.services, + org.eclipse.xtext.parser.parameters, + org.eclipse.xtext.parser.parameters.parametersTestLanguage, + org.eclipse.xtext.parser.parameters.parametersTestLanguage.impl, + org.eclipse.xtext.parser.parameters.parametersTestLanguage.util, + org.eclipse.xtext.parser.parameters.parser.antlr, + org.eclipse.xtext.parser.parameters.parser.antlr.internal, + org.eclipse.xtext.parser.parameters.serializer, + org.eclipse.xtext.parser.parameters.services, + org.eclipse.xtext.parser.parameters.tests;x-internal=true, + org.eclipse.xtext.parser.terminalrules, + org.eclipse.xtext.parser.terminalrules.bug292245TestLanguage, + org.eclipse.xtext.parser.terminalrules.bug292245TestLanguage.impl, + org.eclipse.xtext.parser.terminalrules.bug292245TestLanguage.util, + org.eclipse.xtext.parser.terminalrules.bug297105TestLanguage, + org.eclipse.xtext.parser.terminalrules.bug297105TestLanguage.impl, + org.eclipse.xtext.parser.terminalrules.bug297105TestLanguage.util, + org.eclipse.xtext.parser.terminalrules.bug317840TestLanguage, + org.eclipse.xtext.parser.terminalrules.bug317840TestLanguage.impl, + org.eclipse.xtext.parser.terminalrules.bug317840TestLanguage.util, + org.eclipse.xtext.parser.terminalrules.ecoreTerminalsTestLanguage, + org.eclipse.xtext.parser.terminalrules.ecoreTerminalsTestLanguage.impl, + org.eclipse.xtext.parser.terminalrules.ecoreTerminalsTestLanguage.util, + org.eclipse.xtext.parser.terminalrules.hiddenTerminalsTestLanguage, + org.eclipse.xtext.parser.terminalrules.hiddenTerminalsTestLanguage.impl, + org.eclipse.xtext.parser.terminalrules.hiddenTerminalsTestLanguage.util, + org.eclipse.xtext.parser.terminalrules.parser.antlr, + org.eclipse.xtext.parser.terminalrules.parser.antlr.internal, + org.eclipse.xtext.parser.terminalrules.serializer, + org.eclipse.xtext.parser.terminalrules.services, + org.eclipse.xtext.parser.terminalrules.terminalRulesTestLanguage, + org.eclipse.xtext.parser.terminalrules.terminalRulesTestLanguage.impl, + org.eclipse.xtext.parser.terminalrules.terminalRulesTestLanguage.util, + org.eclipse.xtext.parser.terminalrules.unicode, + org.eclipse.xtext.parser.terminalrules.unicode.impl, + org.eclipse.xtext.parser.terminalrules.unicode.util, + org.eclipse.xtext.parser.terminalrules.xtextTerminalsTestLanguage, + org.eclipse.xtext.parser.terminalrules.xtextTerminalsTestLanguage.impl, + org.eclipse.xtext.parser.terminalrules.xtextTerminalsTestLanguage.util, + org.eclipse.xtext.parser.unorderedGroups, + org.eclipse.xtext.parser.unorderedGroups.backtrackingBug325745TestLanguage, + org.eclipse.xtext.parser.unorderedGroups.backtrackingBug325745TestLanguage.impl, + org.eclipse.xtext.parser.unorderedGroups.backtrackingBug325745TestLanguage.util, + org.eclipse.xtext.parser.unorderedGroups.parser.antlr, + org.eclipse.xtext.parser.unorderedGroups.parser.antlr.internal, + org.eclipse.xtext.parser.unorderedGroups.serializer, + org.eclipse.xtext.parser.unorderedGroups.services, + org.eclipse.xtext.parser.unorderedGroups.unorderedGroupsTestLanguage, + org.eclipse.xtext.parser.unorderedGroups.unorderedGroupsTestLanguage.impl, + org.eclipse.xtext.parser.unorderedGroups.unorderedGroupsTestLanguage.util, + org.eclipse.xtext.parsetree.formatter, + org.eclipse.xtext.parsetree.formatter.formattertestlanguage, + org.eclipse.xtext.parsetree.formatter.formattertestlanguage.impl, + org.eclipse.xtext.parsetree.formatter.formattertestlanguage.util, + org.eclipse.xtext.parsetree.formatter.parser.antlr, + org.eclipse.xtext.parsetree.formatter.parser.antlr.internal, + org.eclipse.xtext.parsetree.formatter.serializer, + org.eclipse.xtext.parsetree.formatter.services, + org.eclipse.xtext.parsetree.impl, + org.eclipse.xtext.parsetree.impl.bug305397, + org.eclipse.xtext.parsetree.impl.bug305397.impl, + org.eclipse.xtext.parsetree.impl.bug305397.util, + org.eclipse.xtext.parsetree.impl.commentAssociation, + org.eclipse.xtext.parsetree.impl.commentAssociation.impl, + org.eclipse.xtext.parsetree.impl.commentAssociation.util, + org.eclipse.xtext.parsetree.impl.parser.antlr, + org.eclipse.xtext.parsetree.impl.parser.antlr.internal, + org.eclipse.xtext.parsetree.impl.serializer, + org.eclipse.xtext.parsetree.impl.services, + org.eclipse.xtext.parsetree.reconstr, + org.eclipse.xtext.parsetree.reconstr.bug299395, + org.eclipse.xtext.parsetree.reconstr.bug299395.impl, + org.eclipse.xtext.parsetree.reconstr.bug299395.util, + org.eclipse.xtext.parsetree.reconstr.bug302128, + org.eclipse.xtext.parsetree.reconstr.bug302128.impl, + org.eclipse.xtext.parsetree.reconstr.bug302128.util, + org.eclipse.xtext.parsetree.reconstr.complexrewritetest, + org.eclipse.xtext.parsetree.reconstr.complexrewritetest.impl, + org.eclipse.xtext.parsetree.reconstr.complexrewritetest.util, + org.eclipse.xtext.parsetree.reconstr.parser.antlr, + org.eclipse.xtext.parsetree.reconstr.parser.antlr.internal, + org.eclipse.xtext.parsetree.reconstr.serializationBug269362TestLanguage, + org.eclipse.xtext.parsetree.reconstr.serializationBug269362TestLanguage.impl, + org.eclipse.xtext.parsetree.reconstr.serializationBug269362TestLanguage.util, + org.eclipse.xtext.parsetree.reconstr.serializationerror, + org.eclipse.xtext.parsetree.reconstr.serializationerror.impl, + org.eclipse.xtext.parsetree.reconstr.serializationerror.util, + org.eclipse.xtext.parsetree.reconstr.serializer, + org.eclipse.xtext.parsetree.reconstr.services, + org.eclipse.xtext.parsetree.transientvalues, + org.eclipse.xtext.parsetree.transientvalues.parser.antlr, + org.eclipse.xtext.parsetree.transientvalues.parser.antlr.internal, + org.eclipse.xtext.parsetree.transientvalues.serializer, + org.eclipse.xtext.parsetree.transientvalues.services, + org.eclipse.xtext.parsetree.transientvalues.transientvaluestest, + org.eclipse.xtext.parsetree.transientvalues.transientvaluestest.impl, + org.eclipse.xtext.parsetree.transientvalues.transientvaluestest.util, + org.eclipse.xtext.parsetree.unassignedtext, + org.eclipse.xtext.parsetree.unassignedtext.parser.antlr, + org.eclipse.xtext.parsetree.unassignedtext.parser.antlr.internal, + org.eclipse.xtext.parsetree.unassignedtext.serializer, + org.eclipse.xtext.parsetree.unassignedtext.services, + org.eclipse.xtext.parsetree.unassignedtext.unassignedtext, + org.eclipse.xtext.parsetree.unassignedtext.unassignedtext.impl, + org.eclipse.xtext.parsetree.unassignedtext.unassignedtext.util, + org.eclipse.xtext.resource, + org.eclipse.xtext.resource.bug385636, + org.eclipse.xtext.resource.bug385636.impl, + org.eclipse.xtext.resource.bug385636.util, + org.eclipse.xtext.resource.eObjectAtOffsetTestLanguage, + org.eclipse.xtext.resource.eObjectAtOffsetTestLanguage.impl, + org.eclipse.xtext.resource.eObjectAtOffsetTestLanguage.util, + org.eclipse.xtext.resource.liveContainerBuilderIntegerationTestLanguage, + org.eclipse.xtext.resource.liveContainerBuilderIntegerationTestLanguage.impl, + org.eclipse.xtext.resource.liveContainerBuilderIntegerationTestLanguage.util, + org.eclipse.xtext.resource.liveContainerTestLanguage, + org.eclipse.xtext.resource.liveContainerTestLanguage.impl, + org.eclipse.xtext.resource.liveContainerTestLanguage.util, + org.eclipse.xtext.resource.locationprovidertest, + org.eclipse.xtext.resource.locationprovidertest.impl, + org.eclipse.xtext.resource.locationprovidertest.util, + org.eclipse.xtext.resource.parser.antlr, + org.eclipse.xtext.resource.parser.antlr.internal, + org.eclipse.xtext.resource.serializer, + org.eclipse.xtext.resource.services, + org.eclipse.xtext.serializer, + org.eclipse.xtext.serializer.assignmentFinderTest, + org.eclipse.xtext.serializer.assignmentFinderTest.impl, + org.eclipse.xtext.serializer.assignmentFinderTest.util, + org.eclipse.xtext.serializer.contextFinderTest, + org.eclipse.xtext.serializer.contextFinderTest.impl, + org.eclipse.xtext.serializer.contextFinderTest.util, + org.eclipse.xtext.serializer.hiddentokensequencertest, + org.eclipse.xtext.serializer.hiddentokensequencertest.impl, + org.eclipse.xtext.serializer.hiddentokensequencertest.util, + org.eclipse.xtext.serializer.parser.antlr, + org.eclipse.xtext.serializer.parser.antlr.internal, + org.eclipse.xtext.serializer.sequencertest, + org.eclipse.xtext.serializer.sequencertest.impl, + org.eclipse.xtext.serializer.sequencertest.util, + org.eclipse.xtext.serializer.serializer, + org.eclipse.xtext.serializer.services, + org.eclipse.xtext.serializer.syntacticsequencertest, + org.eclipse.xtext.serializer.syntacticsequencertest.impl, + org.eclipse.xtext.serializer.syntacticsequencertest.util, + org.eclipse.xtext.serializer.tests;x-internal=true, + org.eclipse.xtext.services, + org.eclipse.xtext.testlanguages, + org.eclipse.xtext.testlanguages.actionLang, + org.eclipse.xtext.testlanguages.actionLang.impl, + org.eclipse.xtext.testlanguages.actionLang.util, + org.eclipse.xtext.testlanguages.actionLang2, + org.eclipse.xtext.testlanguages.actionLang2.impl, + org.eclipse.xtext.testlanguages.actionLang2.util, + org.eclipse.xtext.testlanguages.fowlerdsl, + org.eclipse.xtext.testlanguages.fowlerdsl.impl, + org.eclipse.xtext.testlanguages.fowlerdsl.util, + org.eclipse.xtext.testlanguages.indent, + org.eclipse.xtext.testlanguages.indent.indentLang, + org.eclipse.xtext.testlanguages.indent.indentLang.impl, + org.eclipse.xtext.testlanguages.indent.indentLang.util, + org.eclipse.xtext.testlanguages.indent.parser.antlr, + org.eclipse.xtext.testlanguages.indent.parser.antlr.internal, + org.eclipse.xtext.testlanguages.indent.serializer, + org.eclipse.xtext.testlanguages.indent.services, + org.eclipse.xtext.testlanguages.lookaheadLang, + org.eclipse.xtext.testlanguages.lookaheadLang.impl, + org.eclipse.xtext.testlanguages.lookaheadLang.util, + org.eclipse.xtext.testlanguages.optionalEmpty, + org.eclipse.xtext.testlanguages.optionalEmpty.impl, + org.eclipse.xtext.testlanguages.optionalEmpty.util, + org.eclipse.xtext.testlanguages.parser.antlr, + org.eclipse.xtext.testlanguages.parser.antlr.internal, + org.eclipse.xtext.testlanguages.partialParserTestLanguage, + org.eclipse.xtext.testlanguages.partialParserTestLanguage.impl, + org.eclipse.xtext.testlanguages.partialParserTestLanguage.util, + org.eclipse.xtext.testlanguages.referenceGrammar, + org.eclipse.xtext.testlanguages.referenceGrammar.impl, + org.eclipse.xtext.testlanguages.referenceGrammar.util, + org.eclipse.xtext.testlanguages.serializer, + org.eclipse.xtext.testlanguages.services, + org.eclipse.xtext.testlanguages.simpleExpressions, + org.eclipse.xtext.testlanguages.simpleExpressions.impl, + org.eclipse.xtext.testlanguages.simpleExpressions.util, + org.eclipse.xtext.testlanguages.testLang, + org.eclipse.xtext.testlanguages.testLang.impl, + org.eclipse.xtext.testlanguages.testLang.util, + org.eclipse.xtext.testlanguages.treeTestLanguage, + org.eclipse.xtext.testlanguages.treeTestLanguage.impl, + org.eclipse.xtext.testlanguages.treeTestLanguage.util, + org.eclipse.xtext.validation, + org.eclipse.xtext.validation.csvalidationtest, + org.eclipse.xtext.validation.csvalidationtest.impl, + org.eclipse.xtext.validation.csvalidationtest.util, + org.eclipse.xtext.validation.parser.antlr, + org.eclipse.xtext.validation.parser.antlr.internal, + org.eclipse.xtext.validation.serializer, + org.eclipse.xtext.validation.services, + org.eclipse.xtext.valueconverter, + org.eclipse.xtext.valueconverter.bug250313, + org.eclipse.xtext.valueconverter.bug250313.impl, + org.eclipse.xtext.valueconverter.bug250313.util, + org.eclipse.xtext.valueconverter.parser.antlr, + org.eclipse.xtext.valueconverter.parser.antlr.internal, + org.eclipse.xtext.valueconverter.qualifiedName, + org.eclipse.xtext.valueconverter.qualifiedName.impl, + org.eclipse.xtext.valueconverter.qualifiedName.util, + org.eclipse.xtext.valueconverter.serializer, + org.eclipse.xtext.valueconverter.services, + org.eclipse.xtext.xtext.ecoreInference, + org.eclipse.xtext.xtext.ecoreInference.multiValueFeatureTestLanguage, + org.eclipse.xtext.xtext.ecoreInference.multiValueFeatureTestLanguage.impl, + org.eclipse.xtext.xtext.ecoreInference.multiValueFeatureTestLanguage.util, + org.eclipse.xtext.xtext.ecoreInference.parser.antlr, + org.eclipse.xtext.xtext.ecoreInference.parser.antlr.internal, + org.eclipse.xtext.xtext.ecoreInference.serializer, + org.eclipse.xtext.xtext.ecoreInference.services, + org.eclipse.xtext.xtext.ecoreInference.unassignedRuleCallTestLanguage, + org.eclipse.xtext.xtext.ecoreInference.unassignedRuleCallTestLanguage.impl, + org.eclipse.xtext.xtext.ecoreInference.unassignedRuleCallTestLanguage.util, + org.eclipse.xtext.xtextTest, + org.eclipse.xtext.xtextTest.impl, + org.eclipse.xtext.xtextTest.util +Require-Bundle: org.antlr.runtime, + org.eclipse.emf.common, + org.eclipse.emf.ecore, + org.eclipse.xtext, + org.eclipse.xtext.testing, + org.eclipse.xtext.util, + org.eclipse.xtext.xbase.lib +Import-Package: org.apache.log4j, + org.hamcrest.core, + org.junit.runner.manipulation;version="4.5.0", + org.junit.runner.notification;version="4.5.0", + org.junit.runner;version="4.5.0", + org.junit.runners.model;version="4.5.0", + org.junit.runners;version="4.5.0", + org.junit;version="4.5.0" diff --git a/org.eclipse.xtext.tests/build.gradle b/org.eclipse.xtext.tests/build.gradle index e02061c8f..252ce7ae6 100644 --- a/org.eclipse.xtext.tests/build.gradle +++ b/org.eclipse.xtext.tests/build.gradle @@ -14,6 +14,7 @@ dependencies { compile "org.eclipse.emf:org.eclipse.emf.ecore.xmi:$versions.emfEcore" // From the 'lib' folder optional name: 'simple' + mwe2Runtime "org.eclipse.xtext:org.eclipse.xtext.common.types:$versions.xtext_bootstrap" mwe2Runtime "org.eclipse.emf:org.eclipse.emf.mwe2.launch:$versions.emfMwe2" } diff --git a/org.eclipse.xtext.tests/emf-gen/org/eclipse/xtext/linking/lazy/lazyLinking/LazyLinkingFactory.java b/org.eclipse.xtext.tests/emf-gen/org/eclipse/xtext/linking/lazy/lazyLinking/LazyLinkingFactory.java new file mode 100644 index 000000000..f9054c16d --- /dev/null +++ b/org.eclipse.xtext.tests/emf-gen/org/eclipse/xtext/linking/lazy/lazyLinking/LazyLinkingFactory.java @@ -0,0 +1,70 @@ +/** + * generated by Xtext + */ +package org.eclipse.xtext.linking.lazy.lazyLinking; + +import org.eclipse.emf.ecore.EFactory; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage + * @generated + */ +public interface LazyLinkingFactory extends EFactory { + /** + * The singleton instance of the factory. + * + * + * @generated + */ + LazyLinkingFactory eINSTANCE = org.eclipse.xtext.linking.lazy.lazyLinking.impl.LazyLinkingFactoryImpl.init(); + + /** + * Returns a new object of class 'Model'. + * + * + * @return a new object of class 'Model'. + * @generated + */ + Model createModel(); + + /** + * Returns a new object of class 'Type'. + * + * + * @return a new object of class 'Type'. + * @generated + */ + Type createType(); + + /** + * Returns a new object of class 'Property'. + * + * + * @return a new object of class 'Property'. + * @generated + */ + Property createProperty(); + + /** + * Returns a new object of class 'Unresolved Proxy Property'. + * + * + * @return a new object of class 'Unresolved Proxy Property'. + * @generated + */ + UnresolvedProxyProperty createUnresolvedProxyProperty(); + + /** + * Returns the package supported by this factory. + * + * + * @return the package supported by this factory. + * @generated + */ + LazyLinkingPackage getLazyLinkingPackage(); + +} //LazyLinkingFactory diff --git a/org.eclipse.xtext.tests/emf-gen/org/eclipse/xtext/linking/lazy/lazyLinking/LazyLinkingPackage.java b/org.eclipse.xtext.tests/emf-gen/org/eclipse/xtext/linking/lazy/lazyLinking/LazyLinkingPackage.java new file mode 100644 index 000000000..71f986542 --- /dev/null +++ b/org.eclipse.xtext.tests/emf-gen/org/eclipse/xtext/linking/lazy/lazyLinking/LazyLinkingPackage.java @@ -0,0 +1,548 @@ +/** + * generated by Xtext + */ +package org.eclipse.xtext.linking.lazy.lazyLinking; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
+ * The following features are supported: + *
+ *+ * If the meaning of the 'Types' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Types' containment reference list. + * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage#getModel_Types() + * @model containment="true" + * @generated + */ + EList+ * The following features are supported: + *
+ *+ * If the meaning of the 'Type' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Type' reference list. + * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage#getProperty_Type() + * @model + * @generated + */ + EList+ * If the meaning of the 'Name' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage#getProperty_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.xtext.linking.lazy.lazyLinking.Property#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // Property diff --git a/org.eclipse.xtext.tests/emf-gen/org/eclipse/xtext/linking/lazy/lazyLinking/Type.java b/org.eclipse.xtext.tests/emf-gen/org/eclipse/xtext/linking/lazy/lazyLinking/Type.java new file mode 100644 index 000000000..5a3f165a5 --- /dev/null +++ b/org.eclipse.xtext.tests/emf-gen/org/eclipse/xtext/linking/lazy/lazyLinking/Type.java @@ -0,0 +1,162 @@ +/** + * generated by Xtext + */ +package org.eclipse.xtext.linking.lazy.lazyLinking; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Type'. + * + * + *+ * The following features are supported: + *
+ *+ * If the meaning of the 'Name' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage#getType_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.xtext.linking.lazy.lazyLinking.Type#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the 'Extends' reference. + * It is bidirectional and its opposite is '{@link org.eclipse.xtext.linking.lazy.lazyLinking.Type#getSubtypes Subtypes}'. + * + *+ * If the meaning of the 'Extends' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Extends' reference. + * @see #setExtends(Type) + * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage#getType_Extends() + * @see org.eclipse.xtext.linking.lazy.lazyLinking.Type#getSubtypes + * @model opposite="subtypes" + * @generated + */ + Type getExtends(); + + /** + * Sets the value of the '{@link org.eclipse.xtext.linking.lazy.lazyLinking.Type#getExtends Extends}' reference. + * + * + * @param value the new value of the 'Extends' reference. + * @see #getExtends() + * @generated + */ + void setExtends(Type value); + + /** + * Returns the value of the 'Parent Id' reference. + * + *+ * If the meaning of the 'Parent Id' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Parent Id' reference. + * @see #setParentId(Property) + * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage#getType_ParentId() + * @model + * @generated + */ + Property getParentId(); + + /** + * Sets the value of the '{@link org.eclipse.xtext.linking.lazy.lazyLinking.Type#getParentId Parent Id}' reference. + * + * + * @param value the new value of the 'Parent Id' reference. + * @see #getParentId() + * @generated + */ + void setParentId(Property value); + + /** + * Returns the value of the 'Properties' containment reference list. + * The list contents are of type {@link org.eclipse.xtext.linking.lazy.lazyLinking.Property}. + * + *+ * If the meaning of the 'Properties' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Properties' containment reference list. + * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage#getType_Properties() + * @model containment="true" + * @generated + */ + EList+ * If the meaning of the 'Unresolved Proxy Property' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Unresolved Proxy Property' containment reference list. + * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage#getType_UnresolvedProxyProperty() + * @model containment="true" + * @generated + */ + EList+ * If the meaning of the 'Subtypes' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Subtypes' reference list. + * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage#getType_Subtypes() + * @see org.eclipse.xtext.linking.lazy.lazyLinking.Type#getExtends + * @model opposite="extends" + * @generated + */ + EList+ * The following features are supported: + *
+ *+ * If the meaning of the 'Type' reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Type' reference list. + * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage#getUnresolvedProxyProperty_Type() + * @model resolveProxies="false" + * @generated + */ + EList+ * If the meaning of the 'Name' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage#getUnresolvedProxyProperty_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.xtext.linking.lazy.lazyLinking.UnresolvedProxyProperty#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // UnresolvedProxyProperty diff --git a/org.eclipse.xtext.tests/emf-gen/org/eclipse/xtext/linking/lazy/lazyLinking/impl/LazyLinkingFactoryImpl.java b/org.eclipse.xtext.tests/emf-gen/org/eclipse/xtext/linking/lazy/lazyLinking/impl/LazyLinkingFactoryImpl.java new file mode 100644 index 000000000..051f541b1 --- /dev/null +++ b/org.eclipse.xtext.tests/emf-gen/org/eclipse/xtext/linking/lazy/lazyLinking/impl/LazyLinkingFactoryImpl.java @@ -0,0 +1,129 @@ +/** + * generated by Xtext + */ +package org.eclipse.xtext.linking.lazy.lazyLinking.impl; + +import org.eclipse.emf.ecore.EClass; +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.xtext.linking.lazy.lazyLinking.*; + +/** + * + * An implementation of the model Factory. + * + * @generated + */ +public class LazyLinkingFactoryImpl extends EFactoryImpl implements LazyLinkingFactory { + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static LazyLinkingFactory init() { + try { + LazyLinkingFactory theLazyLinkingFactory = (LazyLinkingFactory)EPackage.Registry.INSTANCE.getEFactory(LazyLinkingPackage.eNS_URI); + if (theLazyLinkingFactory != null) { + return theLazyLinkingFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new LazyLinkingFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public LazyLinkingFactoryImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case LazyLinkingPackage.MODEL: return createModel(); + case LazyLinkingPackage.TYPE: return createType(); + case LazyLinkingPackage.PROPERTY: return createProperty(); + case LazyLinkingPackage.UNRESOLVED_PROXY_PROPERTY: return createUnresolvedProxyProperty(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + public Model createModel() { + ModelImpl model = new ModelImpl(); + return model; + } + + /** + * + * + * @generated + */ + public Type createType() { + TypeImpl type = new TypeImpl(); + return type; + } + + /** + * + * + * @generated + */ + public Property createProperty() { + PropertyImpl property = new PropertyImpl(); + return property; + } + + /** + * + * + * @generated + */ + public UnresolvedProxyProperty createUnresolvedProxyProperty() { + UnresolvedProxyPropertyImpl unresolvedProxyProperty = new UnresolvedProxyPropertyImpl(); + return unresolvedProxyProperty; + } + + /** + * + * + * @generated + */ + public LazyLinkingPackage getLazyLinkingPackage() { + return (LazyLinkingPackage)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static LazyLinkingPackage getPackage() { + return LazyLinkingPackage.eINSTANCE; + } + +} //LazyLinkingFactoryImpl diff --git a/org.eclipse.xtext.tests/emf-gen/org/eclipse/xtext/linking/lazy/lazyLinking/impl/LazyLinkingPackageImpl.java b/org.eclipse.xtext.tests/emf-gen/org/eclipse/xtext/linking/lazy/lazyLinking/impl/LazyLinkingPackageImpl.java new file mode 100644 index 000000000..3d94767e2 --- /dev/null +++ b/org.eclipse.xtext.tests/emf-gen/org/eclipse/xtext/linking/lazy/lazyLinking/impl/LazyLinkingPackageImpl.java @@ -0,0 +1,359 @@ +/** + * generated by Xtext + */ +package org.eclipse.xtext.linking.lazy.lazyLinking.impl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +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.xtext.linking.lazy.lazyLinking.LazyLinkingFactory; +import org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage; +import org.eclipse.xtext.linking.lazy.lazyLinking.Model; +import org.eclipse.xtext.linking.lazy.lazyLinking.Property; +import org.eclipse.xtext.linking.lazy.lazyLinking.Type; +import org.eclipse.xtext.linking.lazy.lazyLinking.UnresolvedProxyProperty; + +/** + * + * An implementation of the model Package. + * + * @generated + */ +public class LazyLinkingPackageImpl extends EPackageImpl implements LazyLinkingPackage { + /** + * + * + * @generated + */ + private EClass modelEClass = null; + + /** + * + * + * @generated + */ + private EClass typeEClass = null; + + /** + * + * + * @generated + */ + private EClass propertyEClass = null; + + /** + * + * + * @generated + */ + private EClass unresolvedProxyPropertyEClass = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *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. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage#eNS_URI + * @see #init() + * @generated + */ + private LazyLinkingPackageImpl() { + super(eNS_URI, LazyLinkingFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *
This method is used to initialize {@link LazyLinkingPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static LazyLinkingPackage init() { + if (isInited) return (LazyLinkingPackage)EPackage.Registry.INSTANCE.getEPackage(LazyLinkingPackage.eNS_URI); + + // Obtain or create and register package + LazyLinkingPackageImpl theLazyLinkingPackage = (LazyLinkingPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof LazyLinkingPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new LazyLinkingPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + EcorePackage.eINSTANCE.eClass(); + + // Create package meta-data objects + theLazyLinkingPackage.createPackageContents(); + + // Initialize created meta-data + theLazyLinkingPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theLazyLinkingPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(LazyLinkingPackage.eNS_URI, theLazyLinkingPackage); + return theLazyLinkingPackage; + } + + /** + * + * + * @generated + */ + public EClass getModel() { + return modelEClass; + } + + /** + * + * + * @generated + */ + public EReference getModel_Types() { + return (EReference)modelEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getType() { + return typeEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getType_Name() { + return (EAttribute)typeEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getType_Extends() { + return (EReference)typeEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getType_ParentId() { + return (EReference)typeEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EReference getType_Properties() { + return (EReference)typeEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EReference getType_UnresolvedProxyProperty() { + return (EReference)typeEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EReference getType_Subtypes() { + return (EReference)typeEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + public EClass getProperty() { + return propertyEClass; + } + + /** + * + * + * @generated + */ + public EReference getProperty_Type() { + return (EReference)propertyEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getProperty_Name() { + return (EAttribute)propertyEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getUnresolvedProxyProperty() { + return unresolvedProxyPropertyEClass; + } + + /** + * + * + * @generated + */ + public EReference getUnresolvedProxyProperty_Type() { + return (EReference)unresolvedProxyPropertyEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getUnresolvedProxyProperty_Name() { + return (EAttribute)unresolvedProxyPropertyEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public LazyLinkingFactory getLazyLinkingFactory() { + return (LazyLinkingFactory)getEFactoryInstance(); + } + + /** + * + * + * @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. + * + * + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + modelEClass = createEClass(MODEL); + createEReference(modelEClass, MODEL__TYPES); + + typeEClass = createEClass(TYPE); + createEAttribute(typeEClass, TYPE__NAME); + createEReference(typeEClass, TYPE__EXTENDS); + createEReference(typeEClass, TYPE__PARENT_ID); + createEReference(typeEClass, TYPE__PROPERTIES); + createEReference(typeEClass, TYPE__UNRESOLVED_PROXY_PROPERTY); + createEReference(typeEClass, TYPE__SUBTYPES); + + propertyEClass = createEClass(PROPERTY); + createEReference(propertyEClass, PROPERTY__TYPE); + createEAttribute(propertyEClass, PROPERTY__NAME); + + unresolvedProxyPropertyEClass = createEClass(UNRESOLVED_PROXY_PROPERTY); + createEReference(unresolvedProxyPropertyEClass, UNRESOLVED_PROXY_PROPERTY__TYPE); + createEAttribute(unresolvedProxyPropertyEClass, UNRESOLVED_PROXY_PROPERTY__NAME); + } + + /** + * + * + * @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. + * + * + * @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); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + + // Initialize classes and features; add operations and parameters + initEClass(modelEClass, Model.class, "Model", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getModel_Types(), this.getType(), null, "types", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(typeEClass, Type.class, "Type", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getType_Name(), theEcorePackage.getEString(), "name", null, 0, 1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getType_Extends(), this.getType(), this.getType_Subtypes(), "extends", null, 0, 1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getType_ParentId(), this.getProperty(), null, "parentId", null, 0, 1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getType_Properties(), this.getProperty(), null, "properties", null, 0, -1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getType_UnresolvedProxyProperty(), this.getUnresolvedProxyProperty(), null, "unresolvedProxyProperty", null, 0, -1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getType_Subtypes(), this.getType(), this.getType_Extends(), "subtypes", null, 0, -1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(propertyEClass, Property.class, "Property", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getProperty_Type(), this.getType(), null, "type", null, 0, -1, Property.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getProperty_Name(), theEcorePackage.getEString(), "name", null, 0, 1, Property.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(unresolvedProxyPropertyEClass, UnresolvedProxyProperty.class, "UnresolvedProxyProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getUnresolvedProxyProperty_Type(), this.getType(), null, "type", null, 0, -1, UnresolvedProxyProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getUnresolvedProxyProperty_Name(), theEcorePackage.getEString(), "name", null, 0, 1, UnresolvedProxyProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + // Create resource + createResource(eNS_URI); + } + +} //LazyLinkingPackageImpl diff --git a/org.eclipse.xtext.tests/emf-gen/org/eclipse/xtext/linking/lazy/lazyLinking/impl/ModelImpl.java b/org.eclipse.xtext.tests/emf-gen/org/eclipse/xtext/linking/lazy/lazyLinking/impl/ModelImpl.java new file mode 100644 index 000000000..c01920824 --- /dev/null +++ b/org.eclipse.xtext.tests/emf-gen/org/eclipse/xtext/linking/lazy/lazyLinking/impl/ModelImpl.java @@ -0,0 +1,153 @@ +/** + * generated by Xtext + */ +package org.eclipse.xtext.linking.lazy.lazyLinking.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.xtext.linking.lazy.lazyLinking.LazyLinkingPackage; +import org.eclipse.xtext.linking.lazy.lazyLinking.Model; +import org.eclipse.xtext.linking.lazy.lazyLinking.Type; + +/** + * + * An implementation of the model object 'Model'. + * + *
+ * The following features are implemented: + *
+ *+ * The following features are implemented: + *
+ *+ * The following features are implemented: + *
+ *+ * The following features are implemented: + *
+ *createXXX
method for each class of the model.
+ *
+ * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage
+ * @generated
+ */
+public class LazyLinkingAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ *
+ *
+ * @generated
+ */
+ protected static LazyLinkingPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ *
+ *
+ * @generated
+ */
+ public LazyLinkingAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = LazyLinkingPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ *
+ * This implementation returns true
if the object is either the model's package or is an instance object of the model.
+ *
+ * @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 createXXX
methods.
+ *
+ *
+ * @generated
+ */
+ protected LazyLinkingSwitchtarget
.
+ *
+ *
+ * @param target the object to adapt.
+ * @return the adapter for the target
.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target) {
+ return modelSwitch.doSwitch((EObject)target);
+ }
+
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.xtext.linking.lazy.lazyLinking.Model Model}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.xtext.linking.lazy.lazyLinking.Model
+ * @generated
+ */
+ public Adapter createModelAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.xtext.linking.lazy.lazyLinking.Type Type}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.xtext.linking.lazy.lazyLinking.Type
+ * @generated
+ */
+ public Adapter createTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.xtext.linking.lazy.lazyLinking.Property Property}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.xtext.linking.lazy.lazyLinking.Property
+ * @generated
+ */
+ public Adapter createPropertyAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.xtext.linking.lazy.lazyLinking.UnresolvedProxyProperty Unresolved Proxy Property}'.
+ *
+ * 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.
+ *
+ * @return the new adapter.
+ * @see org.eclipse.xtext.linking.lazy.lazyLinking.UnresolvedProxyProperty
+ * @generated
+ */
+ public Adapter createUnresolvedProxyPropertyAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ *
+ * This default implementation returns null.
+ *
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //LazyLinkingAdapterFactory
diff --git a/org.eclipse.xtext.tests/emf-gen/org/eclipse/xtext/linking/lazy/lazyLinking/util/LazyLinkingSwitch.java b/org.eclipse.xtext.tests/emf-gen/org/eclipse/xtext/linking/lazy/lazyLinking/util/LazyLinkingSwitch.java
new file mode 100644
index 000000000..2d2f425eb
--- /dev/null
+++ b/org.eclipse.xtext.tests/emf-gen/org/eclipse/xtext/linking/lazy/lazyLinking/util/LazyLinkingSwitch.java
@@ -0,0 +1,174 @@
+/**
+ * generated by Xtext
+ */
+package org.eclipse.xtext.linking.lazy.lazyLinking.util;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.util.Switch;
+
+import org.eclipse.xtext.linking.lazy.lazyLinking.*;
+
+/**
+ *
+ * The Switch for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the caseXXX
method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ *
+ * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage
+ * @generated
+ */
+public class LazyLinkingSwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ @Override
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case LazyLinkingPackage.MODEL: {
+ Model model = (Model)theEObject;
+ T result = caseModel(model);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case LazyLinkingPackage.TYPE: {
+ Type type = (Type)theEObject;
+ T result = caseType(type);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case LazyLinkingPackage.PROPERTY: {
+ Property property = (Property)theEObject;
+ T result = caseProperty(property);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case LazyLinkingPackage.UNRESOLVED_PROXY_PROPERTY: {
+ UnresolvedProxyProperty unresolvedProxyProperty = (UnresolvedProxyProperty)theEObject;
+ T result = caseUnresolvedProxyProperty(unresolvedProxyProperty);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Model'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Model'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseModel(Model object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Type'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Type'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseType(Type object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Property'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Property'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseProperty(Property object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Unresolved Proxy Property'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Unresolved Proxy Property'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseUnresolvedProxyProperty(UnresolvedProxyProperty object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'EObject'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'EObject'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ @Override
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //LazyLinkingSwitch
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.xtextbin b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.xtextbin
index 9999d2471..401724702 100644
Binary files a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.xtextbin and b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/XtextGrammarTestLanguage.xtextbin differ
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/formatting2/regionaccess/internal/RegionAccessTestLanguage.xtextbin b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/formatting2/regionaccess/internal/RegionAccessTestLanguage.xtextbin
index 96b8cb4de..594a1f804 100644
Binary files a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/formatting2/regionaccess/internal/RegionAccessTestLanguage.xtextbin and b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/formatting2/regionaccess/internal/RegionAccessTestLanguage.xtextbin differ
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/formatting2/regionaccess/internal/serializer/RegionAccessTestLanguageSyntacticSequencer.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/formatting2/regionaccess/internal/serializer/RegionAccessTestLanguageSyntacticSequencer.java
index e4f1a0d90..769dc5101 100644
--- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/formatting2/regionaccess/internal/serializer/RegionAccessTestLanguageSyntacticSequencer.java
+++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/formatting2/regionaccess/internal/serializer/RegionAccessTestLanguageSyntacticSequencer.java
@@ -91,8 +91,8 @@ public class RegionAccessTestLanguageSyntacticSequencer extends AbstractSyntacti
* 'recursion'*
*
* This ambiguous syntax occurs at:
- * (rule start) '6' ('(' ('unassigned' (Datatype | ID))?)+ 'fragment' (ambiguity) 'child' mixed=Mixed
- * (rule start) '6' ('(' ('unassigned' (Datatype | ID))?)+ 'fragment' (ambiguity) fragName=ID
+ * (rule start) '6' ('(' ('unassigned' (ID | Datatype))?)+ 'fragment' (ambiguity) 'child' mixed=Mixed
+ * (rule start) '6' ('(' ('unassigned' (ID | Datatype))?)+ 'fragment' (ambiguity) fragName=ID
* (rule start) ('(' ('unassigned' (ID | Datatype))?)+ 'fragment' (ambiguity) 'child' mixed=Mixed
* (rule start) ('(' ('unassigned' (ID | Datatype))?)+ 'fragment' (ambiguity) fragName=ID
*/
@@ -102,7 +102,7 @@ public class RegionAccessTestLanguageSyntacticSequencer extends AbstractSyntacti
/**
* Ambiguous syntax:
- * ('(' ('unassigned' (Datatype | ID))?)*
+ * ('(' ('unassigned' (ID | Datatype))?)*
*
* This ambiguous syntax occurs at:
* (rule start) '6' (ambiguity) {AssignedAction.child=}
@@ -114,7 +114,7 @@ public class RegionAccessTestLanguageSyntacticSequencer extends AbstractSyntacti
/**
* Ambiguous syntax:
- * ('(' ('unassigned' (Datatype | ID))?)+
+ * ('(' ('unassigned' (ID | Datatype))?)+
*
* This ambiguous syntax occurs at:
* (rule start) '6' (ambiguity) ')' (rule start)
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/generator/ecore/SubTestLanguage.xtextbin b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/generator/ecore/SubTestLanguage.xtextbin
index 386b721a9..8b1781b26 100644
Binary files a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/generator/ecore/SubTestLanguage.xtextbin and b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/generator/ecore/SubTestLanguage.xtextbin differ
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/generator/ecore/services/SubTestLanguageGrammarAccess.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/generator/ecore/services/SubTestLanguageGrammarAccess.java
index 803b98cdb..ac9e2bfc4 100644
--- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/generator/ecore/services/SubTestLanguageGrammarAccess.java
+++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/generator/ecore/services/SubTestLanguageGrammarAccess.java
@@ -63,7 +63,7 @@ public class SubTestLanguageGrammarAccess extends AbstractGrammarElementFinder {
private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
- //AnotherSuperMain:
+ //@ Override AnotherSuperMain:
// "ups" name=ID;
@Override public ParserRule getRule() { return rule; }
@@ -142,7 +142,7 @@ public class SubTestLanguageGrammarAccess extends AbstractGrammarElementFinder {
return getSubMainAccess().getRule();
}
- //AnotherSuperMain:
+ //@ Override AnotherSuperMain:
// "ups" name=ID;
public AnotherSuperMainElements getAnotherSuperMainAccess() {
return pAnotherSuperMain;
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractTestLanguage.xtextbin b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractTestLanguage.xtextbin
index 1ecae9192..7e70f5e2c 100644
Binary files a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractTestLanguage.xtextbin and b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/AbstractTestLanguage.xtextbin differ
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/ConcreteTestLanguage.xtextbin b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/ConcreteTestLanguage.xtextbin
index b9dd4b1b7..9780836ae 100644
Binary files a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/ConcreteTestLanguage.xtextbin and b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/ConcreteTestLanguage.xtextbin differ
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/InheritanceTest2Language.xtextbin b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/InheritanceTest2Language.xtextbin
index ca1696303..0b28b9b05 100644
Binary files a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/InheritanceTest2Language.xtextbin and b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/InheritanceTest2Language.xtextbin differ
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/InheritanceTest3Language.xtextbin b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/InheritanceTest3Language.xtextbin
index 881b989ec..92293dc32 100644
Binary files a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/InheritanceTest3Language.xtextbin and b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/InheritanceTest3Language.xtextbin differ
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/InheritanceTestLanguage.xtextbin b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/InheritanceTestLanguage.xtextbin
index dbd818203..9a3299866 100644
Binary files a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/InheritanceTestLanguage.xtextbin and b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/InheritanceTestLanguage.xtextbin differ
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/services/AbstractTestLanguageGrammarAccess.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/services/AbstractTestLanguageGrammarAccess.java
index 29fb7ff15..4201a3929 100644
--- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/services/AbstractTestLanguageGrammarAccess.java
+++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/services/AbstractTestLanguageGrammarAccess.java
@@ -282,7 +282,7 @@ public class AbstractTestLanguageGrammarAccess extends AbstractGrammarElementFin
return tREAL;
}
- //terminal ID:
+ //@ Override terminal ID:
// '^'? ('a'..'z' | 'A'..'Z' | 'ö' | 'ä' | 'ü' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*;
public TerminalRule getIDRule() {
return tID;
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/services/ConcreteTestLanguageGrammarAccess.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/services/ConcreteTestLanguageGrammarAccess.java
index 2a5308b20..13d25ee69 100644
--- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/services/ConcreteTestLanguageGrammarAccess.java
+++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/services/ConcreteTestLanguageGrammarAccess.java
@@ -92,8 +92,7 @@ public class ConcreteTestLanguageGrammarAccess extends AbstractGrammarElementFin
private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
- //// override OverridableParserRule and call it
- //OverridableParserRule mm::AType:
+ //@ Override OverridableParserRule mm::AType:
// 'overriddenelement' name=ID;
@Override public ParserRule getRule() { return rule; }
@@ -134,8 +133,7 @@ public class ConcreteTestLanguageGrammarAccess extends AbstractGrammarElementFin
private final Assignment cAgeAssignment_3 = (Assignment)cGroup.eContents().get(3);
private final RuleCall cAgeINTTerminalRuleCall_3_0 = (RuleCall)cAgeAssignment_3.eContents().get(0);
- //// override parser rule and change return type
- //OverridableParserRule2 AType2:
+ //@ Override OverridableParserRule2 AType2:
// 'overridden other element' name=ID '-' age=INT;
@Override public ParserRule getRule() { return rule; }
@@ -167,8 +165,7 @@ public class ConcreteTestLanguageGrammarAccess extends AbstractGrammarElementFin
private final RuleCall cSubrule2ParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
private final RuleCall cSubrule3ParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
- //// override and extend ExtendableParserRule and call it
- //ExtendableParserRule mm::AType:
+ //@ Override ExtendableParserRule mm::AType:
// Subrule1 | Subrule2 | Subrule3;
@Override public ParserRule getRule() { return rule; }
@@ -384,8 +381,7 @@ public class ConcreteTestLanguageGrammarAccess extends AbstractGrammarElementFin
return getConcreteParserRuleAccess().getRule();
}
- //// override OverridableParserRule and call it
- //OverridableParserRule mm::AType:
+ //@ Override OverridableParserRule mm::AType:
// 'overriddenelement' name=ID;
public OverridableParserRuleElements getOverridableParserRuleAccess() {
return pOverridableParserRule;
@@ -405,8 +401,7 @@ public class ConcreteTestLanguageGrammarAccess extends AbstractGrammarElementFin
return getCallOverridenParserRuleAccess().getRule();
}
- //// override parser rule and change return type
- //OverridableParserRule2 AType2:
+ //@ Override OverridableParserRule2 AType2:
// 'overridden other element' name=ID '-' age=INT;
public OverridableParserRule2Elements getOverridableParserRule2Access() {
return pOverridableParserRule2;
@@ -416,8 +411,7 @@ public class ConcreteTestLanguageGrammarAccess extends AbstractGrammarElementFin
return getOverridableParserRule2Access().getRule();
}
- //// override and extend ExtendableParserRule and call it
- //ExtendableParserRule mm::AType:
+ //@ Override ExtendableParserRule mm::AType:
// Subrule1 | Subrule2 | Subrule3;
public ExtendableParserRuleElements getExtendableParserRuleAccess() {
return pExtendableParserRule;
@@ -467,7 +461,7 @@ public class ConcreteTestLanguageGrammarAccess extends AbstractGrammarElementFin
return getCallExtendedParserRuleAccess().getRule();
}
- //terminal ID:
+ //@ Override terminal ID:
// super;
public TerminalRule getIDRule() {
return tID;
@@ -509,7 +503,7 @@ public class ConcreteTestLanguageGrammarAccess extends AbstractGrammarElementFin
return gaAbstractTestLanguage.getREALRule();
}
- //terminal ID:
+ //@ Override terminal ID:
// '^'? ('a'..'z' | 'A'..'Z' | 'ö' | 'ä' | 'ü' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*;
public TerminalRule getAbstractTestLanguageIDRule() {
return gaAbstractTestLanguage.getIDRule();
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/services/InheritanceTest2LanguageGrammarAccess.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/services/InheritanceTest2LanguageGrammarAccess.java
index 85352192e..759413837 100644
--- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/services/InheritanceTest2LanguageGrammarAccess.java
+++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/services/InheritanceTest2LanguageGrammarAccess.java
@@ -34,7 +34,7 @@ public class InheritanceTest2LanguageGrammarAccess extends AbstractGrammarElemen
private final RuleCall cIdsFQNParserRuleCall_4_0 = (RuleCall)cIdsAssignment_4.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5);
- //Model:
+ //@ Override Model:
// "model" name=ID "{"
// elements+=Element*
// ids+=FQN
@@ -130,7 +130,7 @@ public class InheritanceTest2LanguageGrammarAccess extends AbstractGrammarElemen
}
- //Model:
+ //@ Override Model:
// "model" name=ID "{"
// elements+=Element*
// ids+=FQN
@@ -153,7 +153,7 @@ public class InheritanceTest2LanguageGrammarAccess extends AbstractGrammarElemen
return getElementAccess().getRule();
}
- //terminal ID:
+ //@ Override terminal ID:
// 'a'..'z'+;
public TerminalRule getIDRule() {
return gaInheritanceTestLanguage.getIDRule();
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/services/InheritanceTest3LanguageGrammarAccess.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/services/InheritanceTest3LanguageGrammarAccess.java
index f5c2f5e67..ec1165bf8 100644
--- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/services/InheritanceTest3LanguageGrammarAccess.java
+++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/services/InheritanceTest3LanguageGrammarAccess.java
@@ -27,7 +27,7 @@ public class InheritanceTest3LanguageGrammarAccess extends AbstractGrammarElemen
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.grammarinheritance.InheritanceTest3Language.Model");
private final RuleCall cModelParserRuleCall = (RuleCall)rule.eContents().get(1);
- //Model:
+ //@ Override Model:
// super::Model;
@Override public ParserRule getRule() { return rule; }
@@ -54,7 +54,7 @@ public class InheritanceTest3LanguageGrammarAccess extends AbstractGrammarElemen
private final Assignment cNameAssignment_3_2 = (Assignment)cGroup_3.eContents().get(2);
private final RuleCall cNameSTRINGTerminalRuleCall_3_2_0 = (RuleCall)cNameAssignment_3_2.eContents().get(0);
- //Element:
+ //@ Override Element:
// super::Element
// | {Element} "element" name=super::ID
// | {Element} "element" name=Terminals::ID
@@ -176,7 +176,7 @@ public class InheritanceTest3LanguageGrammarAccess extends AbstractGrammarElemen
}
- //Model:
+ //@ Override Model:
// super::Model;
public ModelElements getModelAccess() {
return pModel;
@@ -186,7 +186,7 @@ public class InheritanceTest3LanguageGrammarAccess extends AbstractGrammarElemen
return getModelAccess().getRule();
}
- //Element:
+ //@ Override Element:
// super::Element
// | {Element} "element" name=super::ID
// | {Element} "element" name=Terminals::ID
@@ -199,13 +199,13 @@ public class InheritanceTest3LanguageGrammarAccess extends AbstractGrammarElemen
return getElementAccess().getRule();
}
- //terminal ID:
+ //@ Override terminal ID:
// 'id';
public TerminalRule getIDRule() {
return tID;
}
- //Model:
+ //@ Override Model:
// "model" name=super::ID "{"
// elements+=super::Element*
// "}";
@@ -227,7 +227,7 @@ public class InheritanceTest3LanguageGrammarAccess extends AbstractGrammarElemen
return getInheritanceTestLanguageElementAccess().getRule();
}
- //terminal ID:
+ //@ Override terminal ID:
// 'a'..'z'+;
public TerminalRule getInheritanceTestLanguageIDRule() {
return gaInheritanceTestLanguage.getIDRule();
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/services/InheritanceTestLanguageGrammarAccess.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/services/InheritanceTestLanguageGrammarAccess.java
index 7b0ca558b..939d6d39c 100644
--- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/services/InheritanceTestLanguageGrammarAccess.java
+++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/grammarinheritance/services/InheritanceTestLanguageGrammarAccess.java
@@ -32,7 +32,7 @@ public class InheritanceTestLanguageGrammarAccess extends AbstractGrammarElement
private final RuleCall cElementsElementParserRuleCall_3_0 = (RuleCall)cElementsAssignment_3.eContents().get(0);
private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
- //Model:
+ //@ Override Model:
// "model" name=ID "{"
// elements+=Element*
// "}";
@@ -140,7 +140,7 @@ public class InheritanceTestLanguageGrammarAccess extends AbstractGrammarElement
}
- //Model:
+ //@ Override Model:
// "model" name=ID "{"
// elements+=Element*
// "}";
@@ -162,7 +162,7 @@ public class InheritanceTestLanguageGrammarAccess extends AbstractGrammarElement
return getElementAccess().getRule();
}
- //terminal ID:
+ //@ Override terminal ID:
// 'a'..'z'+;
public TerminalRule getIDRule() {
return tID;
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/lexer/parser/antlr/lexer/InternalIgnoreCaseLexerTestLanguageLexer.g b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/lexer/parser/antlr/lexer/InternalIgnoreCaseLexerTestLanguageLexer.g
index b9df51b55..e609aca7c 100644
--- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/lexer/parser/antlr/lexer/InternalIgnoreCaseLexerTestLanguageLexer.g
+++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/lexer/parser/antlr/lexer/InternalIgnoreCaseLexerTestLanguageLexer.g
@@ -15,8 +15,6 @@ Case : ('C'|'c')('A'|'a')('S'|'s')('E'|'e');
Foo : ('F'|'f')('O'|'o')('O'|'o');
-// Rules duplicated to allow inter-rule references
-
RULE_WS : (' '|'\t'|'\r'|'\n')+;
RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?;
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/lexer/parser/antlr/lexer/InternalIgnoreCaseLexerTestLanguageLexer.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/lexer/parser/antlr/lexer/InternalIgnoreCaseLexerTestLanguageLexer.java
index 7d8fbb56d..aa6f2e5a5 100644
--- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/lexer/parser/antlr/lexer/InternalIgnoreCaseLexerTestLanguageLexer.java
+++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/lexer/parser/antlr/lexer/InternalIgnoreCaseLexerTestLanguageLexer.java
@@ -137,10 +137,10 @@ public class InternalIgnoreCaseLexerTestLanguageLexer extends Lexer {
try {
int _type = RULE_WS;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalIgnoreCaseLexerTestLanguageLexer.g:20:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // InternalIgnoreCaseLexerTestLanguageLexer.g:20:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // InternalIgnoreCaseLexerTestLanguageLexer.g:18:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // InternalIgnoreCaseLexerTestLanguageLexer.g:18:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
{
- // InternalIgnoreCaseLexerTestLanguageLexer.g:20:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // InternalIgnoreCaseLexerTestLanguageLexer.g:18:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
int cnt1=0;
loop1:
do {
@@ -194,12 +194,12 @@ public class InternalIgnoreCaseLexerTestLanguageLexer extends Lexer {
try {
int _type = RULE_SL_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // InternalIgnoreCaseLexerTestLanguageLexer.g:22:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
- // InternalIgnoreCaseLexerTestLanguageLexer.g:22:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
+ // InternalIgnoreCaseLexerTestLanguageLexer.g:20:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
+ // InternalIgnoreCaseLexerTestLanguageLexer.g:20:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
- // InternalIgnoreCaseLexerTestLanguageLexer.g:22:24: (~ ( ( '\\n' | '\\r' ) ) )*
+ // InternalIgnoreCaseLexerTestLanguageLexer.g:20:24: (~ ( ( '\\n' | '\\r' ) ) )*
loop2:
do {
int alt2=2;
@@ -212,7 +212,7 @@ public class InternalIgnoreCaseLexerTestLanguageLexer extends Lexer {
switch (alt2) {
case 1 :
- // InternalIgnoreCaseLexerTestLanguageLexer.g:22:24: ~ ( ( '\\n' | '\\r' ) )
+ // InternalIgnoreCaseLexerTestLanguageLexer.g:20: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)<='\uFFFF') ) {
input.consume();
@@ -232,7 +232,7 @@ public class InternalIgnoreCaseLexerTestLanguageLexer extends Lexer {
}
} while (true);
- // InternalIgnoreCaseLexerTestLanguageLexer.g:22:40: ( ( '\\r' )? '\\n' )?
+ // InternalIgnoreCaseLexerTestLanguageLexer.g:20:40: ( ( '\\r' )? '\\n' )?
int alt4=2;
int LA4_0 = input.LA(1);
@@ -241,9 +241,9 @@ public class InternalIgnoreCaseLexerTestLanguageLexer extends Lexer {
}
switch (alt4) {
case 1 :
- // InternalIgnoreCaseLexerTestLanguageLexer.g:22:41: ( '\\r' )? '\\n'
+ // InternalIgnoreCaseLexerTestLanguageLexer.g:20:41: ( '\\r' )? '\\n'
{
- // InternalIgnoreCaseLexerTestLanguageLexer.g:22:41: ( '\\r' )?
+ // InternalIgnoreCaseLexerTestLanguageLexer.g:20:41: ( '\\r' )?
int alt3=2;
int LA3_0 = input.LA(1);
@@ -252,7 +252,7 @@ public class InternalIgnoreCaseLexerTestLanguageLexer extends Lexer {
}
switch (alt3) {
case 1 :
- // InternalIgnoreCaseLexerTestLanguageLexer.g:22:41: '\\r'
+ // InternalIgnoreCaseLexerTestLanguageLexer.g:20:41: '\\r'
{
match('\r');
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/IgnoreCaseImportsTestLanguage.xtextbin b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/IgnoreCaseImportsTestLanguage.xtextbin
index e58daeee8..385057411 100644
Binary files a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/IgnoreCaseImportsTestLanguage.xtextbin and b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/IgnoreCaseImportsTestLanguage.xtextbin differ
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/IgnoreCaseNamespacesTestLanguage.xtextbin b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/IgnoreCaseNamespacesTestLanguage.xtextbin
index 121e3d39c..ccdd32ef4 100644
Binary files a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/IgnoreCaseNamespacesTestLanguage.xtextbin and b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/IgnoreCaseNamespacesTestLanguage.xtextbin differ
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/LazyLinkingTestLanguage.xtextbin b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/LazyLinkingTestLanguage.xtextbin
index 69966939a..922e45f78 100644
Binary files a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/LazyLinkingTestLanguage.xtextbin and b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/LazyLinkingTestLanguage.xtextbin differ
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/LazyLinkingTestLanguageStandaloneSetupGenerated.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/LazyLinkingTestLanguageStandaloneSetupGenerated.java
index 260c463bc..7eb8cd1ef 100644
--- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/LazyLinkingTestLanguageStandaloneSetupGenerated.java
+++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/LazyLinkingTestLanguageStandaloneSetupGenerated.java
@@ -5,11 +5,9 @@ package org.eclipse.xtext.linking.lazy;
import com.google.inject.Guice;
import com.google.inject.Injector;
-import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.xtext.ISetup;
import org.eclipse.xtext.common.TerminalsStandaloneSetup;
-import org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage;
import org.eclipse.xtext.resource.IResourceFactory;
import org.eclipse.xtext.resource.IResourceServiceProvider;
@@ -35,8 +33,5 @@ public class LazyLinkingTestLanguageStandaloneSetupGenerated implements ISetup {
Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("lazylinkingtestlanguage", resourceFactory);
IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("lazylinkingtestlanguage", serviceProvider);
- if (!EPackage.Registry.INSTANCE.containsKey("http://eclipse.org/xtext/lazyLinkingTestLanguage")) {
- EPackage.Registry.INSTANCE.put("http://eclipse.org/xtext/lazyLinkingTestLanguage", LazyLinkingPackage.eINSTANCE);
- }
}
}
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/lazyLinking/LazyLinkingFactory.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/lazyLinking/LazyLinkingFactory.java
deleted file mode 100644
index b754dae41..000000000
--- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/lazyLinking/LazyLinkingFactory.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/**
- * generated by Xtext
- */
-package org.eclipse.xtext.linking.lazy.lazyLinking;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- *
- * The Factory for the model.
- * It provides a create method for each non-abstract class of the model.
- *
- * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage
- * @generated
- */
-public interface LazyLinkingFactory extends EFactory
-{
- /**
- * The singleton instance of the factory.
- *
- *
- * @generated
- */
- LazyLinkingFactory eINSTANCE = org.eclipse.xtext.linking.lazy.lazyLinking.impl.LazyLinkingFactoryImpl.init();
-
- /**
- * Returns a new object of class 'Model'.
- *
- *
- * @return a new object of class 'Model'.
- * @generated
- */
- Model createModel();
-
- /**
- * Returns a new object of class 'Type'.
- *
- *
- * @return a new object of class 'Type'.
- * @generated
- */
- Type createType();
-
- /**
- * Returns a new object of class 'Property'.
- *
- *
- * @return a new object of class 'Property'.
- * @generated
- */
- Property createProperty();
-
- /**
- * Returns a new object of class 'Unresolved Proxy Property'.
- *
- *
- * @return a new object of class 'Unresolved Proxy Property'.
- * @generated
- */
- UnresolvedProxyProperty createUnresolvedProxyProperty();
-
- /**
- * Returns the package supported by this factory.
- *
- *
- * @return the package supported by this factory.
- * @generated
- */
- LazyLinkingPackage getLazyLinkingPackage();
-
-} //LazyLinkingFactory
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/lazyLinking/LazyLinkingPackage.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/lazyLinking/LazyLinkingPackage.java
deleted file mode 100644
index ad992cc4d..000000000
--- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/lazyLinking/LazyLinkingPackage.java
+++ /dev/null
@@ -1,550 +0,0 @@
-/**
- * generated by Xtext
- */
-package org.eclipse.xtext.linking.lazy.lazyLinking;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- *
- * The Package for the model.
- * It contains accessors for the meta objects to represent
- * - * The following features are supported: - *
- *- * If the meaning of the 'Types' containment reference list isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Types' containment reference list. - * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage#getModel_Types() - * @model containment="true" - * @generated - */ - EList- * The following features are supported: - *
- *- * If the meaning of the 'Type' reference list isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Type' reference list. - * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage#getProperty_Type() - * @model - * @generated - */ - EList- * If the meaning of the 'Name' attribute isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage#getProperty_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.xtext.linking.lazy.lazyLinking.Property#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // Property diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/lazyLinking/Type.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/lazyLinking/Type.java deleted file mode 100644 index 107aea6d0..000000000 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/lazyLinking/Type.java +++ /dev/null @@ -1,163 +0,0 @@ -/** - * generated by Xtext - */ -package org.eclipse.xtext.linking.lazy.lazyLinking; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Type'. - * - * - *- * The following features are supported: - *
- *- * If the meaning of the 'Name' attribute isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage#getType_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.xtext.linking.lazy.lazyLinking.Type#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the 'Extends' reference. - * It is bidirectional and its opposite is '{@link org.eclipse.xtext.linking.lazy.lazyLinking.Type#getSubtypes Subtypes}'. - * - *- * If the meaning of the 'Extends' reference isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Extends' reference. - * @see #setExtends(Type) - * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage#getType_Extends() - * @see org.eclipse.xtext.linking.lazy.lazyLinking.Type#getSubtypes - * @model opposite="subtypes" - * @generated - */ - Type getExtends(); - - /** - * Sets the value of the '{@link org.eclipse.xtext.linking.lazy.lazyLinking.Type#getExtends Extends}' reference. - * - * - * @param value the new value of the 'Extends' reference. - * @see #getExtends() - * @generated - */ - void setExtends(Type value); - - /** - * Returns the value of the 'Parent Id' reference. - * - *- * If the meaning of the 'Parent Id' reference isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Parent Id' reference. - * @see #setParentId(Property) - * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage#getType_ParentId() - * @model - * @generated - */ - Property getParentId(); - - /** - * Sets the value of the '{@link org.eclipse.xtext.linking.lazy.lazyLinking.Type#getParentId Parent Id}' reference. - * - * - * @param value the new value of the 'Parent Id' reference. - * @see #getParentId() - * @generated - */ - void setParentId(Property value); - - /** - * Returns the value of the 'Properties' containment reference list. - * The list contents are of type {@link org.eclipse.xtext.linking.lazy.lazyLinking.Property}. - * - *- * If the meaning of the 'Properties' containment reference list isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Properties' containment reference list. - * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage#getType_Properties() - * @model containment="true" - * @generated - */ - EList- * If the meaning of the 'Unresolved Proxy Property' containment reference list isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Unresolved Proxy Property' containment reference list. - * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage#getType_UnresolvedProxyProperty() - * @model containment="true" - * @generated - */ - EList- * If the meaning of the 'Subtypes' reference list isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Subtypes' reference list. - * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage#getType_Subtypes() - * @see org.eclipse.xtext.linking.lazy.lazyLinking.Type#getExtends - * @model opposite="extends" - * @generated - */ - EList- * The following features are supported: - *
- *- * If the meaning of the 'Type' reference list isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Type' reference list. - * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage#getUnresolvedProxyProperty_Type() - * @model resolveProxies="false" - * @generated - */ - EList- * If the meaning of the 'Name' attribute isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage#getUnresolvedProxyProperty_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.xtext.linking.lazy.lazyLinking.UnresolvedProxyProperty#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // UnresolvedProxyProperty diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/lazyLinking/impl/LazyLinkingFactoryImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/lazyLinking/impl/LazyLinkingFactoryImpl.java deleted file mode 100644 index 800991012..000000000 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/lazyLinking/impl/LazyLinkingFactoryImpl.java +++ /dev/null @@ -1,143 +0,0 @@ -/** - * generated by Xtext - */ -package org.eclipse.xtext.linking.lazy.lazyLinking.impl; - -import org.eclipse.emf.ecore.EClass; -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.xtext.linking.lazy.lazyLinking.*; - -/** - * - * An implementation of the model Factory. - * - * @generated - */ -public class LazyLinkingFactoryImpl extends EFactoryImpl implements LazyLinkingFactory -{ - /** - * Creates the default factory implementation. - * - * - * @generated - */ - public static LazyLinkingFactory init() - { - try - { - LazyLinkingFactory theLazyLinkingFactory = (LazyLinkingFactory)EPackage.Registry.INSTANCE.getEFactory(LazyLinkingPackage.eNS_URI); - if (theLazyLinkingFactory != null) - { - return theLazyLinkingFactory; - } - } - catch (Exception exception) - { - EcorePlugin.INSTANCE.log(exception); - } - return new LazyLinkingFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * - * - * @generated - */ - public LazyLinkingFactoryImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - public EObject create(EClass eClass) - { - switch (eClass.getClassifierID()) - { - case LazyLinkingPackage.MODEL: return createModel(); - case LazyLinkingPackage.TYPE: return createType(); - case LazyLinkingPackage.PROPERTY: return createProperty(); - case LazyLinkingPackage.UNRESOLVED_PROXY_PROPERTY: return createUnresolvedProxyProperty(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - public Model createModel() - { - ModelImpl model = new ModelImpl(); - return model; - } - - /** - * - * - * @generated - */ - public Type createType() - { - TypeImpl type = new TypeImpl(); - return type; - } - - /** - * - * - * @generated - */ - public Property createProperty() - { - PropertyImpl property = new PropertyImpl(); - return property; - } - - /** - * - * - * @generated - */ - public UnresolvedProxyProperty createUnresolvedProxyProperty() - { - UnresolvedProxyPropertyImpl unresolvedProxyProperty = new UnresolvedProxyPropertyImpl(); - return unresolvedProxyProperty; - } - - /** - * - * - * @generated - */ - public LazyLinkingPackage getLazyLinkingPackage() - { - return (LazyLinkingPackage)getEPackage(); - } - - /** - * - * - * @deprecated - * @generated - */ - @Deprecated - public static LazyLinkingPackage getPackage() - { - return LazyLinkingPackage.eINSTANCE; - } - -} //LazyLinkingFactoryImpl diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/lazyLinking/impl/LazyLinkingPackageImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/lazyLinking/impl/LazyLinkingPackageImpl.java deleted file mode 100644 index 716651003..000000000 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/lazyLinking/impl/LazyLinkingPackageImpl.java +++ /dev/null @@ -1,380 +0,0 @@ -/** - * generated by Xtext - */ -package org.eclipse.xtext.linking.lazy.lazyLinking.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -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.xtext.linking.lazy.lazyLinking.LazyLinkingFactory; -import org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage; -import org.eclipse.xtext.linking.lazy.lazyLinking.Model; -import org.eclipse.xtext.linking.lazy.lazyLinking.Property; -import org.eclipse.xtext.linking.lazy.lazyLinking.Type; -import org.eclipse.xtext.linking.lazy.lazyLinking.UnresolvedProxyProperty; - -/** - * - * An implementation of the model Package. - * - * @generated - */ -public class LazyLinkingPackageImpl extends EPackageImpl implements LazyLinkingPackage -{ - /** - * - * - * @generated - */ - private EClass modelEClass = null; - - /** - * - * - * @generated - */ - private EClass typeEClass = null; - - /** - * - * - * @generated - */ - private EClass propertyEClass = null; - - /** - * - * - * @generated - */ - private EClass unresolvedProxyPropertyEClass = null; - - /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *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. - * - * - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage#eNS_URI - * @see #init() - * @generated - */ - private LazyLinkingPackageImpl() - { - super(eNS_URI, LazyLinkingFactory.eINSTANCE); - } - - /** - * - * - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. - * - *
This method is used to initialize {@link LazyLinkingPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * - * - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static LazyLinkingPackage init() - { - if (isInited) return (LazyLinkingPackage)EPackage.Registry.INSTANCE.getEPackage(LazyLinkingPackage.eNS_URI); - - // Obtain or create and register package - LazyLinkingPackageImpl theLazyLinkingPackage = (LazyLinkingPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof LazyLinkingPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new LazyLinkingPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - EcorePackage.eINSTANCE.eClass(); - - // Create package meta-data objects - theLazyLinkingPackage.createPackageContents(); - - // Initialize created meta-data - theLazyLinkingPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theLazyLinkingPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(LazyLinkingPackage.eNS_URI, theLazyLinkingPackage); - return theLazyLinkingPackage; - } - - /** - * - * - * @generated - */ - public EClass getModel() - { - return modelEClass; - } - - /** - * - * - * @generated - */ - public EReference getModel_Types() - { - return (EReference)modelEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getType() - { - return typeEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getType_Name() - { - return (EAttribute)typeEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EReference getType_Extends() - { - return (EReference)typeEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EReference getType_ParentId() - { - return (EReference)typeEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - public EReference getType_Properties() - { - return (EReference)typeEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - public EReference getType_UnresolvedProxyProperty() - { - return (EReference)typeEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - public EReference getType_Subtypes() - { - return (EReference)typeEClass.getEStructuralFeatures().get(5); - } - - /** - * - * - * @generated - */ - public EClass getProperty() - { - return propertyEClass; - } - - /** - * - * - * @generated - */ - public EReference getProperty_Type() - { - return (EReference)propertyEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EAttribute getProperty_Name() - { - return (EAttribute)propertyEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EClass getUnresolvedProxyProperty() - { - return unresolvedProxyPropertyEClass; - } - - /** - * - * - * @generated - */ - public EReference getUnresolvedProxyProperty_Type() - { - return (EReference)unresolvedProxyPropertyEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EAttribute getUnresolvedProxyProperty_Name() - { - return (EAttribute)unresolvedProxyPropertyEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public LazyLinkingFactory getLazyLinkingFactory() - { - return (LazyLinkingFactory)getEFactoryInstance(); - } - - /** - * - * - * @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. - * - * - * @generated - */ - public void createPackageContents() - { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - modelEClass = createEClass(MODEL); - createEReference(modelEClass, MODEL__TYPES); - - typeEClass = createEClass(TYPE); - createEAttribute(typeEClass, TYPE__NAME); - createEReference(typeEClass, TYPE__EXTENDS); - createEReference(typeEClass, TYPE__PARENT_ID); - createEReference(typeEClass, TYPE__PROPERTIES); - createEReference(typeEClass, TYPE__UNRESOLVED_PROXY_PROPERTY); - createEReference(typeEClass, TYPE__SUBTYPES); - - propertyEClass = createEClass(PROPERTY); - createEReference(propertyEClass, PROPERTY__TYPE); - createEAttribute(propertyEClass, PROPERTY__NAME); - - unresolvedProxyPropertyEClass = createEClass(UNRESOLVED_PROXY_PROPERTY); - createEReference(unresolvedProxyPropertyEClass, UNRESOLVED_PROXY_PROPERTY__TYPE); - createEAttribute(unresolvedProxyPropertyEClass, UNRESOLVED_PROXY_PROPERTY__NAME); - } - - /** - * - * - * @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. - * - * - * @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); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - - // Initialize classes and features; add operations and parameters - initEClass(modelEClass, Model.class, "Model", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getModel_Types(), this.getType(), null, "types", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(typeEClass, Type.class, "Type", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getType_Name(), theEcorePackage.getEString(), "name", null, 0, 1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getType_Extends(), this.getType(), this.getType_Subtypes(), "extends", null, 0, 1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getType_ParentId(), this.getProperty(), null, "parentId", null, 0, 1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getType_Properties(), this.getProperty(), null, "properties", null, 0, -1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getType_UnresolvedProxyProperty(), this.getUnresolvedProxyProperty(), null, "unresolvedProxyProperty", null, 0, -1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getType_Subtypes(), this.getType(), this.getType_Extends(), "subtypes", null, 0, -1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(propertyEClass, Property.class, "Property", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getProperty_Type(), this.getType(), null, "type", null, 0, -1, Property.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getProperty_Name(), theEcorePackage.getEString(), "name", null, 0, 1, Property.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(unresolvedProxyPropertyEClass, UnresolvedProxyProperty.class, "UnresolvedProxyProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getUnresolvedProxyProperty_Type(), this.getType(), null, "type", null, 0, -1, UnresolvedProxyProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getUnresolvedProxyProperty_Name(), theEcorePackage.getEString(), "name", null, 0, 1, UnresolvedProxyProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - // Create resource - createResource(eNS_URI); - } - -} //LazyLinkingPackageImpl diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/lazyLinking/impl/ModelImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/lazyLinking/impl/ModelImpl.java deleted file mode 100644 index 362fa47e9..000000000 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/lazyLinking/impl/ModelImpl.java +++ /dev/null @@ -1,168 +0,0 @@ -/** - * generated by Xtext - */ -package org.eclipse.xtext.linking.lazy.lazyLinking.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.xtext.linking.lazy.lazyLinking.LazyLinkingPackage; -import org.eclipse.xtext.linking.lazy.lazyLinking.Model; -import org.eclipse.xtext.linking.lazy.lazyLinking.Type; - -/** - * - * An implementation of the model object 'Model'. - * - *
- * The following features are implemented: - *
- *- * The following features are implemented: - *
- *- * The following features are implemented: - *
- *- * The following features are implemented: - *
- *createXXX
method for each class of the model.
- *
- * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage
- * @generated
- */
-public class LazyLinkingAdapterFactory extends AdapterFactoryImpl
-{
- /**
- * The cached model package.
- *
- *
- * @generated
- */
- protected static LazyLinkingPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- *
- *
- * @generated
- */
- public LazyLinkingAdapterFactory()
- {
- if (modelPackage == null)
- {
- modelPackage = LazyLinkingPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- *
- * This implementation returns true
if the object is either the model's package or is an instance object of the model.
- *
- * @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 createXXX
methods.
- *
- *
- * @generated
- */
- protected LazyLinkingSwitchtarget
.
- *
- *
- * @param target the object to adapt.
- * @return the adapter for the target
.
- * @generated
- */
- @Override
- public Adapter createAdapter(Notifier target)
- {
- return modelSwitch.doSwitch((EObject)target);
- }
-
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.xtext.linking.lazy.lazyLinking.Model Model}'.
- *
- * 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.
- *
- * @return the new adapter.
- * @see org.eclipse.xtext.linking.lazy.lazyLinking.Model
- * @generated
- */
- public Adapter createModelAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.xtext.linking.lazy.lazyLinking.Type Type}'.
- *
- * 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.
- *
- * @return the new adapter.
- * @see org.eclipse.xtext.linking.lazy.lazyLinking.Type
- * @generated
- */
- public Adapter createTypeAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.xtext.linking.lazy.lazyLinking.Property Property}'.
- *
- * 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.
- *
- * @return the new adapter.
- * @see org.eclipse.xtext.linking.lazy.lazyLinking.Property
- * @generated
- */
- public Adapter createPropertyAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.xtext.linking.lazy.lazyLinking.UnresolvedProxyProperty Unresolved Proxy Property}'.
- *
- * 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.
- *
- * @return the new adapter.
- * @see org.eclipse.xtext.linking.lazy.lazyLinking.UnresolvedProxyProperty
- * @generated
- */
- public Adapter createUnresolvedProxyPropertyAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- *
- * This default implementation returns null.
- *
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter()
- {
- return null;
- }
-
-} //LazyLinkingAdapterFactory
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/lazyLinking/util/LazyLinkingSwitch.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/lazyLinking/util/LazyLinkingSwitch.java
deleted file mode 100644
index 3a62e0dfc..000000000
--- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/lazy/lazyLinking/util/LazyLinkingSwitch.java
+++ /dev/null
@@ -1,189 +0,0 @@
-/**
- * generated by Xtext
- */
-package org.eclipse.xtext.linking.lazy.lazyLinking.util;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.util.Switch;
-
-import org.eclipse.xtext.linking.lazy.lazyLinking.*;
-
-/**
- *
- * The Switch for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
- * to invoke the caseXXX
method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- *
- * @see org.eclipse.xtext.linking.lazy.lazyLinking.LazyLinkingPackage
- * @generated
- */
-public class LazyLinkingSwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
- *
- *
- * @return the first non-null result returned by a caseXXX
call.
- * @generated
- */
- @Override
- protected T doSwitch(int classifierID, EObject theEObject)
- {
- switch (classifierID)
- {
- case LazyLinkingPackage.MODEL:
- {
- Model model = (Model)theEObject;
- T result = caseModel(model);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case LazyLinkingPackage.TYPE:
- {
- Type type = (Type)theEObject;
- T result = caseType(type);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case LazyLinkingPackage.PROPERTY:
- {
- Property property = (Property)theEObject;
- T result = caseProperty(property);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case LazyLinkingPackage.UNRESOLVED_PROXY_PROPERTY:
- {
- UnresolvedProxyProperty unresolvedProxyProperty = (UnresolvedProxyProperty)theEObject;
- T result = caseUnresolvedProxyProperty(unresolvedProxyProperty);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Model'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Model'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseModel(Model object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Type'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Type'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseType(Type object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Property'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Property'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseProperty(Property object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Unresolved Proxy Property'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Unresolved Proxy Property'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseUnresolvedProxyProperty(UnresolvedProxyProperty object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'EObject'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'EObject'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- @Override
- public T defaultCase(EObject object)
- {
- return null;
- }
-
-} //LazyLinkingSwitch
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/services/IgnoreCaseImportsTestLanguageGrammarAccess.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/services/IgnoreCaseImportsTestLanguageGrammarAccess.java
index 8974a2ca7..55508a9d9 100644
--- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/services/IgnoreCaseImportsTestLanguageGrammarAccess.java
+++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/services/IgnoreCaseImportsTestLanguageGrammarAccess.java
@@ -28,7 +28,7 @@ public class IgnoreCaseImportsTestLanguageGrammarAccess extends AbstractGrammarE
private final Assignment cElementsAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cElementsElementParserRuleCall_1_0 = (RuleCall)cElementsAssignment_1.eContents().get(0);
- //Model:
+ //@ Override Model:
// imports+=Import*
// elements+=Element+;
@Override public ParserRule getRule() { return rule; }
@@ -116,7 +116,7 @@ public class IgnoreCaseImportsTestLanguageGrammarAccess extends AbstractGrammarE
}
- //Model:
+ //@ Override Model:
// imports+=Import*
// elements+=Element+;
public ModelElements getModelAccess() {
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/services/IgnoreCaseNamespacesTestLanguageGrammarAccess.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/services/IgnoreCaseNamespacesTestLanguageGrammarAccess.java
index 64d62cdb1..d3bb921de 100644
--- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/services/IgnoreCaseNamespacesTestLanguageGrammarAccess.java
+++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/linking/services/IgnoreCaseNamespacesTestLanguageGrammarAccess.java
@@ -28,7 +28,7 @@ public class IgnoreCaseNamespacesTestLanguageGrammarAccess extends AbstractGramm
private final Assignment cElementsAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cElementsElementParserRuleCall_1_0 = (RuleCall)cElementsAssignment_1.eContents().get(0);
- //Model:
+ //@ Override Model:
// imports+=Import*
// elements+=Element+;
@Override public ParserRule getRule() { return rule; }
@@ -116,7 +116,7 @@ public class IgnoreCaseNamespacesTestLanguageGrammarAccess extends AbstractGramm
}
- //Model:
+ //@ Override Model:
// imports+=Import*
// elements+=Element+;
public ModelElements getModelAccess() {
diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/parser/antlr/Bug301935TestLanguage.ecore b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/parser/antlr/Bug301935TestLanguage.ecore
index 0a3df5edf..7c8bf0ac1 100644
--- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/parser/antlr/Bug301935TestLanguage.ecore
+++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/parser/antlr/Bug301935TestLanguage.ecore
@@ -3,8 +3,8 @@
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="bug301935Test" nsURI="http://eclipse.org/xtext/Bug301935TestLanguage"
nsPrefix="bug301935Test">