| author | szarnekow | 2009-02-05 08:14:08 (EST) |
|---|---|---|
| committer | sefftinge | 2009-02-05 08:14:08 (EST) |
| commit | 207e7c2bf760f15a33e75847a7c6a9ba14aa773a (patch) (side-by-side diff) | |
| tree | 010d139fb9d4175a54368dd19864d981de7e5b5f | |
| parent | 4825b2d9b7e0192ab7d5f706c4af74225f940c89 (diff) | |
| download | org.eclipse.xtext-207e7c2bf760f15a33e75847a7c6a9ba14aa773a.zip org.eclipse.xtext-207e7c2bf760f15a33e75847a7c6a9ba14aa773a.tar.gz org.eclipse.xtext-207e7c2bf760f15a33e75847a7c6a9ba14aa773a.tar.bz2 | |
Suppress warnings in generated code
35 files changed, 221 insertions, 221 deletions
diff --git a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parsetree/reconstr/ReferenceGrammarParseTreeConstructor.java b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parsetree/reconstr/ReferenceGrammarParseTreeConstructor.java index 87d317b..58c3fa6 100644 --- a/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parsetree/reconstr/ReferenceGrammarParseTreeConstructor.java +++ b/devtools/org.eclipse.xtext.reference/src-gen/org/eclipse/xtext/reference/parsetree/reconstr/ReferenceGrammarParseTreeConstructor.java @@ -203,7 +203,7 @@ protected class Spielplatz_0_0_0_0_1_Assignment_groesse extends AssignmentToken protected Solution createSolution() { if((value = current.getConsumable("groesse",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("groesse"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ReferenceGrammarGrammarAccess.INSTANCE.prSpielplatz().ele000010LexerRuleCallINT(); return new Solution(obj); @@ -227,7 +227,7 @@ protected class Spielplatz_0_0_0_1_Assignment_beschreibung extends AssignmentTok protected Solution createSolution() { if((value = current.getConsumable("beschreibung",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("beschreibung"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ReferenceGrammarGrammarAccess.INSTANCE.prSpielplatz().ele00010LexerRuleCallSTRING(); return new Solution(obj); @@ -736,7 +736,7 @@ protected class Kind_0_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ReferenceGrammarGrammarAccess.INSTANCE.prKind().ele0010LexerRuleCallID(); return new Solution(obj); @@ -760,7 +760,7 @@ protected class Kind_0_1_Assignment_age extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("age",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("age"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ReferenceGrammarGrammarAccess.INSTANCE.prKind().ele010LexerRuleCallINT(); return new Solution(obj); @@ -944,7 +944,7 @@ protected class Erwachsener_0_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ReferenceGrammarGrammarAccess.INSTANCE.prErwachsener().ele0010LexerRuleCallID(); return new Solution(obj); @@ -968,7 +968,7 @@ protected class Erwachsener_0_1_Assignment_age extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("age",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("age"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ReferenceGrammarGrammarAccess.INSTANCE.prErwachsener().ele010LexerRuleCallINT(); return new Solution(obj); @@ -1152,7 +1152,7 @@ protected class Spielzeug_0_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ReferenceGrammarGrammarAccess.INSTANCE.prSpielzeug().ele0010LexerRuleCallID(); return new Solution(obj); @@ -1459,12 +1459,12 @@ protected class Familie_0_0_0_0_0_1_Assignment_name extends AssignmentToken { return new Solution(obj); } - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ReferenceGrammarGrammarAccess.INSTANCE.prFamilie().ele000001001LexerRuleCallSTRING(); return new Solution(obj); } - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ReferenceGrammarGrammarAccess.INSTANCE.prFamilie().ele00000101LexerRuleCallID(); return new Solution(obj); @@ -1756,7 +1756,7 @@ protected class CustomTypeParserRule_1_Assignment_name extends AssignmentToken protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ReferenceGrammarGrammarAccess.INSTANCE.prCustomTypeParserRule().ele10LexerRuleCallID(); return new Solution(obj); diff --git a/examples/org.eclipse.xtext.example.domainmodel/src-gen/org/eclipse/xtext/example/parsetree/reconstr/DomainmodelParseTreeConstructor.java b/examples/org.eclipse.xtext.example.domainmodel/src-gen/org/eclipse/xtext/example/parsetree/reconstr/DomainmodelParseTreeConstructor.java index 04ff413..c90ea3b 100644 --- a/examples/org.eclipse.xtext.example.domainmodel/src-gen/org/eclipse/xtext/example/parsetree/reconstr/DomainmodelParseTreeConstructor.java +++ b/examples/org.eclipse.xtext.example.domainmodel/src-gen/org/eclipse/xtext/example/parsetree/reconstr/DomainmodelParseTreeConstructor.java @@ -199,7 +199,7 @@ protected class Import_1_Assignment_importURI extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("importURI",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("importURI"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = DomainmodelGrammarAccess.INSTANCE.prImport().ele10LexerRuleCallSTRING(); return new Solution(obj); @@ -426,7 +426,7 @@ protected class Package_0_0_0_1_Assignment_name extends AssignmentToken { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = DomainmodelGrammarAccess.INSTANCE.prPackage().ele00010ParserRuleCallQualifiedName(); return new Solution(obj); @@ -627,7 +627,7 @@ protected class DataType_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = DomainmodelGrammarAccess.INSTANCE.prDataType().ele10LexerRuleCallID(); return new Solution(obj); @@ -813,7 +813,7 @@ protected class Entity_0_0_0_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = DomainmodelGrammarAccess.INSTANCE.prEntity().ele000010LexerRuleCallID(); return new Solution(obj); @@ -1205,7 +1205,7 @@ protected class Attribute_0_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = DomainmodelGrammarAccess.INSTANCE.prAttribute().ele0010LexerRuleCallID(); return new Solution(obj); @@ -1408,7 +1408,7 @@ protected class Reference_0_0_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = DomainmodelGrammarAccess.INSTANCE.prReference().ele00010LexerRuleCallID(); return new Solution(obj); @@ -1735,7 +1735,7 @@ protected class Operation_0_0_0_0_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = DomainmodelGrammarAccess.INSTANCE.prOperation().ele0000010LexerRuleCallID(); return new Solution(obj); @@ -2001,7 +2001,7 @@ protected class Parameter_0_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = DomainmodelGrammarAccess.INSTANCE.prParameter().ele00LexerRuleCallID(); return new Solution(obj); diff --git a/examples/org.eclipse.xtext.example.ecoredsl/src-gen/org/eclipse/xtext/example/parsetree/reconstr/EcoreDslParseTreeConstructor.java b/examples/org.eclipse.xtext.example.ecoredsl/src-gen/org/eclipse/xtext/example/parsetree/reconstr/EcoreDslParseTreeConstructor.java index e1dfece..4283473 100644 --- a/examples/org.eclipse.xtext.example.ecoredsl/src-gen/org/eclipse/xtext/example/parsetree/reconstr/EcoreDslParseTreeConstructor.java +++ b/examples/org.eclipse.xtext.example.ecoredsl/src-gen/org/eclipse/xtext/example/parsetree/reconstr/EcoreDslParseTreeConstructor.java @@ -289,7 +289,7 @@ protected class ImportStatementDecl_0_0_1_0_Assignment_alias extends AssignmentT protected Solution createSolution() { if((value = current.getConsumable("alias",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("alias"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EcoreDslGrammarAccess.INSTANCE.prImportStatementDecl().ele00100LexerRuleCallID(); return new Solution(obj); @@ -326,7 +326,7 @@ protected class ImportStatementDecl_0_1_Assignment_importURI extends AssignmentT protected Solution createSolution() { if((value = current.getConsumable("importURI",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("importURI"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EcoreDslGrammarAccess.INSTANCE.prImportStatementDecl().ele010LexerRuleCallSTRING(); return new Solution(obj); @@ -726,7 +726,7 @@ protected class EPackageDecl_0_0_0_0_0_0_0_0_0_1_Assignment_name extends Assignm if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = EcoreDslGrammarAccess.INSTANCE.prEPackageDecl().ele00000000010ParserRuleCallQID(); return new Solution(obj); @@ -777,7 +777,7 @@ protected class EPackageDecl_0_0_0_0_0_0_1_Assignment_nsURI extends AssignmentTo protected Solution createSolution() { if((value = current.getConsumable("nsURI",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("nsURI"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EcoreDslGrammarAccess.INSTANCE.prEPackageDecl().ele00000010LexerRuleCallSTRING(); return new Solution(obj); @@ -828,7 +828,7 @@ protected class EPackageDecl_0_0_0_1_Assignment_nsPrefix extends AssignmentToken if((value = current.getConsumable("nsPrefix",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("nsPrefix"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = EcoreDslGrammarAccess.INSTANCE.prEPackageDecl().ele00010ParserRuleCallQID(); return new Solution(obj); @@ -1158,7 +1158,7 @@ protected class SubEPackageDecl_0_0_0_1_Assignment_name extends AssignmentToken protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EcoreDslGrammarAccess.INSTANCE.prSubEPackageDecl().ele00010LexerRuleCallID(); return new Solution(obj); @@ -1629,7 +1629,7 @@ protected class EDataTypeDecl_0_1_0_0_0_1_Assignment_name extends AssignmentToke protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EcoreDslGrammarAccess.INSTANCE.prEDataTypeDecl().ele0100010LexerRuleCallID(); return new Solution(obj); @@ -1667,7 +1667,7 @@ protected class EDataTypeDecl_0_1_0_1_Assignment_instanceClassName extends Assig if((value = current.getConsumable("instanceClassName",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("instanceClassName"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = EcoreDslGrammarAccess.INSTANCE.prEDataTypeDecl().ele01010ParserRuleCallSTRING_OR_QID(); return new Solution(obj); @@ -1915,7 +1915,7 @@ protected class EAnnotationDecl_0_0_0_0_0_1_Assignment_source extends Assignment protected Solution createSolution() { if((value = current.getConsumable("source",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("source"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EcoreDslGrammarAccess.INSTANCE.prEAnnotationDecl().ele0000010LexerRuleCallSTRING(); return new Solution(obj); @@ -2476,7 +2476,7 @@ protected class EClassDecl_0_0_0_0_0_0_1_Assignment_name extends AssignmentToken protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EcoreDslGrammarAccess.INSTANCE.prEClassDecl().ele00000010LexerRuleCallID(); return new Solution(obj); @@ -2930,7 +2930,7 @@ protected class EClassDecl_0_0_0_1_1_Assignment_instanceClassName extends Assign if((value = current.getConsumable("instanceClassName",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("instanceClassName"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = EcoreDslGrammarAccess.INSTANCE.prEClassDecl().ele000110ParserRuleCallSTRING_OR_QID(); return new Solution(obj); @@ -3868,7 +3868,7 @@ protected class EAttributeDecl_0_0_0_1_0_0_1_Assignment_lowerBound extends Assig protected Solution createSolution() { if((value = current.getConsumable("lowerBound",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("lowerBound"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EcoreDslGrammarAccess.INSTANCE.prEAttributeDecl().ele00010010LexerRuleCallINT(); return new Solution(obj); @@ -3933,7 +3933,7 @@ protected class EAttributeDecl_0_0_0_1_0_1_1_Assignment_upperBound extends Assig if((value = current.getConsumable("upperBound",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("upperBound"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = EcoreDslGrammarAccess.INSTANCE.prEAttributeDecl().ele00010110ParserRuleCallSINT(); return new Solution(obj); @@ -3973,7 +3973,7 @@ protected class EAttributeDecl_0_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EcoreDslGrammarAccess.INSTANCE.prEAttributeDecl().ele0010LexerRuleCallID(); return new Solution(obj); @@ -4037,7 +4037,7 @@ protected class EAttributeDecl_0_1_1_Assignment_defaultValueLiteral extends Assi protected Solution createSolution() { if((value = current.getConsumable("defaultValueLiteral",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("defaultValueLiteral"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EcoreDslGrammarAccess.INSTANCE.prEAttributeDecl().ele0110LexerRuleCallSTRING(); return new Solution(obj); @@ -4855,7 +4855,7 @@ protected class EReferenceDecl_0_0_0_1_0_0_1_Assignment_lowerBound extends Assig protected Solution createSolution() { if((value = current.getConsumable("lowerBound",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("lowerBound"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EcoreDslGrammarAccess.INSTANCE.prEReferenceDecl().ele00010010LexerRuleCallINT(); return new Solution(obj); @@ -4920,7 +4920,7 @@ protected class EReferenceDecl_0_0_0_1_0_1_1_Assignment_upperBound extends Assig if((value = current.getConsumable("upperBound",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("upperBound"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = EcoreDslGrammarAccess.INSTANCE.prEReferenceDecl().ele00010110ParserRuleCallSINT(); return new Solution(obj); @@ -5028,7 +5028,7 @@ protected class EReferenceDecl_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EcoreDslGrammarAccess.INSTANCE.prEReferenceDecl().ele010LexerRuleCallID(); return new Solution(obj); @@ -5259,7 +5259,7 @@ protected class EEnumDecl_0_0_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EcoreDslGrammarAccess.INSTANCE.prEEnumDecl().ele00010LexerRuleCallID(); return new Solution(obj); @@ -5494,7 +5494,7 @@ protected class EEnumLiteralDecl_0_0_0_1_Assignment_name extends AssignmentToken protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EcoreDslGrammarAccess.INSTANCE.prEEnumLiteralDecl().ele00010LexerRuleCallID(); return new Solution(obj); @@ -5558,7 +5558,7 @@ protected class EEnumLiteralDecl_0_0_1_1_Assignment_value extends AssignmentToke protected Solution createSolution() { if((value = current.getConsumable("value",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("value"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EcoreDslGrammarAccess.INSTANCE.prEEnumLiteralDecl().ele00110LexerRuleCallINT(); return new Solution(obj); @@ -5583,7 +5583,7 @@ protected class EEnumLiteralDecl_0_1_Assignment_literal extends AssignmentToken protected Solution createSolution() { if((value = current.getConsumable("literal",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("literal"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EcoreDslGrammarAccess.INSTANCE.prEEnumLiteralDecl().ele010LexerRuleCallSTRING(); return new Solution(obj); @@ -5658,7 +5658,7 @@ protected class ETypeParameterDecl_0_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EcoreDslGrammarAccess.INSTANCE.prETypeParameterDecl().ele00LexerRuleCallID(); return new Solution(obj); @@ -7192,7 +7192,7 @@ protected class EOperationDecl_0_0_0_0_0_0_1_Assignment_name extends AssignmentT protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EcoreDslGrammarAccess.INSTANCE.prEOperationDecl().ele00000010LexerRuleCallID(); return new Solution(obj); @@ -7906,7 +7906,7 @@ protected class EParameterDecl_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EcoreDslGrammarAccess.INSTANCE.prEParameterDecl().ele10LexerRuleCallID(); return new Solution(obj); @@ -8024,7 +8024,7 @@ protected class MapEntry_0_0_Assignment_detailKey extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("detailKey",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("detailKey"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EcoreDslGrammarAccess.INSTANCE.prMapEntry().ele000LexerRuleCallID(); return new Solution(obj); @@ -8060,7 +8060,7 @@ protected class MapEntry_1_Assignment_detailValue extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("detailValue",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("detailValue"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EcoreDslGrammarAccess.INSTANCE.prMapEntry().ele10LexerRuleCallSTRING(); return new Solution(obj); diff --git a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parsetree/reconstr/FowlerDslParseTreeConstructor.java b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parsetree/reconstr/FowlerDslParseTreeConstructor.java index f4092c6..80b5381 100644 --- a/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parsetree/reconstr/FowlerDslParseTreeConstructor.java +++ b/examples/org.eclipse.xtext.example.fowlerdsl/src-gen/org/eclipse/xtext/example/parsetree/reconstr/FowlerDslParseTreeConstructor.java @@ -454,7 +454,7 @@ protected class Event_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = FowlerDslGrammarAccess.INSTANCE.prEvent().ele010LexerRuleCallID(); return new Solution(obj); @@ -478,7 +478,7 @@ protected class Event_1_Assignment_code extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("code",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("code"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = FowlerDslGrammarAccess.INSTANCE.prEvent().ele10LexerRuleCallID(); return new Solution(obj); @@ -540,7 +540,7 @@ protected class Command_0_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = FowlerDslGrammarAccess.INSTANCE.prCommand().ele00LexerRuleCallID(); return new Solution(obj); @@ -563,7 +563,7 @@ protected class Command_1_Assignment_code extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("code",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("code"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = FowlerDslGrammarAccess.INSTANCE.prCommand().ele10LexerRuleCallID(); return new Solution(obj); @@ -721,7 +721,7 @@ protected class State_0_0_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = FowlerDslGrammarAccess.INSTANCE.prState().ele00010LexerRuleCallID(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parsetree/reconstr/ImportUriTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parsetree/reconstr/ImportUriTestLanguageParseTreeConstructor.java index d977f70..dd4503e 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parsetree/reconstr/ImportUriTestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parsetree/reconstr/ImportUriTestLanguageParseTreeConstructor.java @@ -187,7 +187,7 @@ protected class Import_1_Assignment_importURI extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("importURI",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("importURI"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ImportUriTestLanguageGrammarAccess.INSTANCE.prImport().ele10LexerRuleCallSTRING(); return new Solution(obj); @@ -317,7 +317,7 @@ protected class Type_0_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ImportUriTestLanguageGrammarAccess.INSTANCE.prType().ele0010LexerRuleCallID(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parsetree/reconstr/LangATestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parsetree/reconstr/LangATestLanguageParseTreeConstructor.java index b90c077..292ce91 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parsetree/reconstr/LangATestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/crossrefs/parsetree/reconstr/LangATestLanguageParseTreeConstructor.java @@ -187,7 +187,7 @@ protected class Import_1_Assignment_uri extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("uri",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("uri"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = LangATestLanguageGrammarAccess.INSTANCE.prImport().ele10LexerRuleCallSTRING(); return new Solution(obj); @@ -317,7 +317,7 @@ protected class Type_0_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = LangATestLanguageGrammarAccess.INSTANCE.prType().ele0010LexerRuleCallID(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parsetree/reconstr/DummyTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parsetree/reconstr/DummyTestLanguageParseTreeConstructor.java index c938617..1d85730 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parsetree/reconstr/DummyTestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/dummy/parsetree/reconstr/DummyTestLanguageParseTreeConstructor.java @@ -236,7 +236,7 @@ protected class Element_0_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = DummyTestLanguageGrammarAccess.INSTANCE.prElement().ele0010LexerRuleCallID(); return new Solution(obj); @@ -260,7 +260,7 @@ protected class Element_0_1_Assignment_descriptions extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("descriptions",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("descriptions"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = DummyTestLanguageGrammarAccess.INSTANCE.prElement().ele010LexerRuleCallSTRING(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/generator/parsetree/reconstr/LowerCaseNamedTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/generator/parsetree/reconstr/LowerCaseNamedTestLanguageParseTreeConstructor.java index 27f387b..97be463 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/generator/parsetree/reconstr/LowerCaseNamedTestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/generator/parsetree/reconstr/LowerCaseNamedTestLanguageParseTreeConstructor.java @@ -44,7 +44,7 @@ protected class Model_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = LowerCaseNamedTestLanguageGrammarAccess.INSTANCE.prModel().ele0LexerRuleCallID(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parsetree/reconstr/ConcreteTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parsetree/reconstr/ConcreteTestLanguageParseTreeConstructor.java index 7627f4f..437a546 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parsetree/reconstr/ConcreteTestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/grammarinheritance/parsetree/reconstr/ConcreteTestLanguageParseTreeConstructor.java @@ -175,7 +175,7 @@ protected class ConcreteParserRule_0_0_1_Assignment_magicNumber extends Assignme protected Solution createSolution() { if((value = current.getConsumable("magicNumber",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("magicNumber"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ConcreteTestLanguageGrammarAccess.INSTANCE.prConcreteParserRule().ele0010LexerRuleCallREAL(); return new Solution(obj); @@ -294,7 +294,7 @@ protected class InheritedParserRule_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = AbstractTestLanguageGrammarAccess.INSTANCE.prInheritedParserRule().ele10LexerRuleCallID(); return new Solution(obj); @@ -450,7 +450,7 @@ protected class OverridableParserRule_1_Assignment_name extends AssignmentToken protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = AbstractTestLanguageGrammarAccess.INSTANCE.prOverridableParserRule().ele10LexerRuleCallID(); return new Solution(obj); @@ -606,7 +606,7 @@ protected class ExtendableParserRule_1_Assignment_name extends AssignmentToken protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = AbstractTestLanguageGrammarAccess.INSTANCE.prExtendableParserRule().ele10LexerRuleCallID(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parsetree/reconstr/MetamodelRefTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parsetree/reconstr/MetamodelRefTestLanguageParseTreeConstructor.java index 83e216d..26c57e0 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parsetree/reconstr/MetamodelRefTestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parsetree/reconstr/MetamodelRefTestLanguageParseTreeConstructor.java @@ -74,7 +74,7 @@ protected class Foo_0_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = MetamodelRefTestLanguageGrammarAccess.INSTANCE.prFoo().ele00LexerRuleCallID(); return new Solution(obj); @@ -175,7 +175,7 @@ protected class MyRule_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = MetamodelRefTestLanguageGrammarAccess.INSTANCE.prMyRule().ele0LexerRuleCallID(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parsetree/reconstr/MultiGenMMTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parsetree/reconstr/MultiGenMMTestLanguageParseTreeConstructor.java index f8b4598..31a3bc0 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parsetree/reconstr/MultiGenMMTestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/metamodelreferencing/tests/parsetree/reconstr/MultiGenMMTestLanguageParseTreeConstructor.java @@ -73,7 +73,7 @@ protected class Foo_0_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = MultiGenMMTestLanguageGrammarAccess.INSTANCE.prFoo().ele00LexerRuleCallID(); return new Solution(obj); @@ -138,7 +138,7 @@ protected class NameRef_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = MultiGenMMTestLanguageGrammarAccess.INSTANCE.prNameRef().ele0LexerRuleCallSTRING(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parsetree/reconstr/DatatypeRulesTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parsetree/reconstr/DatatypeRulesTestLanguageParseTreeConstructor.java index 2059b0b..6128f54 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parsetree/reconstr/DatatypeRulesTestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/datatyperules/parsetree/reconstr/DatatypeRulesTestLanguageParseTreeConstructor.java @@ -199,7 +199,7 @@ protected class Model_0_0_0_0_Assignment_id extends AssignmentToken { if((value = current.getConsumable("id",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("id"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = DatatypeRulesTestLanguageGrammarAccess.INSTANCE.prModel().ele00000ParserRuleCallNestedModelId(); return new Solution(obj); @@ -264,7 +264,7 @@ protected class Model_0_0_0_1_1_Assignment_value extends AssignmentToken { if((value = current.getConsumable("value",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("value"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = DatatypeRulesTestLanguageGrammarAccess.INSTANCE.prModel().ele000110ParserRuleCallFraction(); return new Solution(obj); @@ -331,7 +331,7 @@ protected class Model_0_0_1_1_Assignment_vector extends AssignmentToken { if((value = current.getConsumable("vector",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("vector"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = DatatypeRulesTestLanguageGrammarAccess.INSTANCE.prModel().ele00110ParserRuleCallVector(); return new Solution(obj); @@ -398,7 +398,7 @@ protected class Model_0_1_1_Assignment_dots extends AssignmentToken { if((value = current.getConsumable("dots",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("dots"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = DatatypeRulesTestLanguageGrammarAccess.INSTANCE.prModel().ele0110ParserRuleCallDots(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/EpatchTestLanguage.ecore b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/EpatchTestLanguage.ecore index dc92726..245e1eb 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/EpatchTestLanguage.ecore +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/EpatchTestLanguage.ecore @@ -48,11 +48,11 @@ <eStructuralFeatures xsi:type="ecore:EReference" name="rightRoot" eType="//CreatedObject" containment="true"/> </eClassifiers> <eClassifiers xsi:type="ecore:EClass" name="NamedObject"> - <eStructuralFeatures xsi:type="ecore:EReference" name="leftMig" eType="//Migration" containment="true"/> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"> <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> </eStructuralFeatures> <eStructuralFeatures xsi:type="ecore:EReference" name="assignments" unique="false" upperBound="-1" eType="//Assignment" containment="true"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="leftMig" eType="//Migration" containment="true"/> </eClassifiers> <eClassifiers xsi:type="ecore:EClass" name="ObjectRef" eSuperTypes="//NamedObject"> <eStructuralFeatures xsi:type="ecore:EReference" name="leftRes" eType="//NamedResource"/> diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/parsetree/reconstr/EpatchTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/parsetree/reconstr/EpatchTestLanguageParseTreeConstructor.java index 59033f9..ca99542 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/parsetree/reconstr/EpatchTestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/epatch/parsetree/reconstr/EpatchTestLanguageParseTreeConstructor.java @@ -248,7 +248,7 @@ protected class EPatch_0_0_0_0_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prEPatch().ele0000010LexerRuleCallID(); return new Solution(obj); @@ -676,7 +676,7 @@ protected class ResourceImport_0_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prResourceImport().ele0010LexerRuleCallID(); return new Solution(obj); @@ -713,7 +713,7 @@ protected class ResourceImport_1_Assignment_uri extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("uri",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("uri"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prResourceImport().ele10LexerRuleCallSTRING(); return new Solution(obj); @@ -843,7 +843,7 @@ protected class EPackageImport_0_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prEPackageImport().ele0010LexerRuleCallID(); return new Solution(obj); @@ -880,7 +880,7 @@ protected class EPackageImport_1_Assignment_nsURI extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("nsURI",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("nsURI"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prEPackageImport().ele10LexerRuleCallSTRING(); return new Solution(obj); @@ -1023,7 +1023,7 @@ protected class JavaImport_0_1_Assignment_path extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("path",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("path"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prJavaImport().ele010LexerRuleCallID(); return new Solution(obj); @@ -1087,7 +1087,7 @@ protected class JavaImport_1_1_Assignment_path extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("path",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("path"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prJavaImport().ele110LexerRuleCallID(); return new Solution(obj); @@ -1231,7 +1231,7 @@ protected class ExtensionImport_0_1_Assignment_path extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("path",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("path"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prExtensionImport().ele010LexerRuleCallID(); return new Solution(obj); @@ -1295,7 +1295,7 @@ protected class ExtensionImport_1_1_Assignment_path extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("path",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("path"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prExtensionImport().ele110LexerRuleCallID(); return new Solution(obj); @@ -1594,7 +1594,7 @@ protected class NamedResource_0_0_0_0_0_0_0_0_1_Assignment_name extends Assignme protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prNamedResource().ele0000000010LexerRuleCallID(); return new Solution(obj); @@ -1705,7 +1705,7 @@ protected class NamedResource_0_0_0_0_0_1_0_1_Assignment_leftUri extends Assignm protected Solution createSolution() { if((value = current.getConsumable("leftUri",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("leftUri"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prNamedResource().ele000001010LexerRuleCallSTRING(); return new Solution(obj); @@ -1849,7 +1849,7 @@ protected class NamedResource_0_0_1_0_1_Assignment_rightUri extends AssignmentTo protected Solution createSolution() { if((value = current.getConsumable("rightUri",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("rightUri"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prNamedResource().ele001010LexerRuleCallSTRING(); return new Solution(obj); @@ -2106,7 +2106,7 @@ protected class ObjectRef_0_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prObjectRef().ele0010LexerRuleCallID(); return new Solution(obj); @@ -2205,7 +2205,7 @@ protected class ObjectRef_0_1_0_1_Assignment_leftFrag extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("leftFrag",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("leftFrag"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prObjectRef().ele01010LexerRuleCallFRAGMENT(); return new Solution(obj); @@ -2408,7 +2408,7 @@ protected class ObjectRef_0_1_1_0_0_0_1_Assignment_leftFrag extends AssignmentTo protected Solution createSolution() { if((value = current.getConsumable("leftFrag",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("leftFrag"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prObjectRef().ele01100010LexerRuleCallFRAGMENT(); return new Solution(obj); @@ -2472,7 +2472,7 @@ protected class ObjectRef_0_1_1_1_Assignment_rightFrag extends AssignmentToken protected Solution createSolution() { if((value = current.getConsumable("rightFrag",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("rightFrag"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prObjectRef().ele01110LexerRuleCallFRAGMENT(); return new Solution(obj); @@ -3165,7 +3165,7 @@ protected class BiSingleAssignment_0_0_0_0_0_Assignment_feature extends Assignme protected Solution createSolution() { if((value = current.getConsumable("feature",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("feature"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prBiSingleAssignment().ele000000LexerRuleCallID(); return new Solution(obj); @@ -3497,7 +3497,7 @@ protected class BiListAssignment_0_0_0_0_0_0_0_Assignment_feature extends Assign protected Solution createSolution() { if((value = current.getConsumable("feature",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("feature"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prBiListAssignment().ele00000000LexerRuleCallID(); return new Solution(obj); @@ -3945,7 +3945,7 @@ protected class MonoSingleAssignment_0_0_0_Assignment_feature extends Assignment protected Solution createSolution() { if((value = current.getConsumable("feature",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("feature"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prMonoSingleAssignment().ele0000LexerRuleCallID(); return new Solution(obj); @@ -4176,7 +4176,7 @@ protected class MonoListAssignment_0_0_0_0_0_Assignment_feature extends Assignme protected Solution createSolution() { if((value = current.getConsumable("feature",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("feature"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prMonoListAssignment().ele000000LexerRuleCallID(); return new Solution(obj); @@ -4457,7 +4457,7 @@ protected class AssignmentValue_0_0_0_Assignment_value extends AssignmentToken protected Solution createSolution() { if((value = current.getConsumable("value",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("value"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prAssignmentValue().ele0000LexerRuleCallSTRING(); return new Solution(obj); @@ -4602,7 +4602,7 @@ protected class AssignmentValue_0_0_1_1_0_1_Assignment_refFeature extends Assign protected Solution createSolution() { if((value = current.getConsumable("refFeature",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("refFeature"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prAssignmentValue().ele0011010LexerRuleCallID(); return new Solution(obj); @@ -4694,7 +4694,7 @@ protected class AssignmentValue_0_0_1_1_1_0_1_Assignment_refIndex extends Assign protected Solution createSolution() { if((value = current.getConsumable("refIndex",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("refIndex"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prAssignmentValue().ele00111010LexerRuleCallINT(); return new Solution(obj); @@ -4820,7 +4820,7 @@ protected class AssignmentValue_1_1_Assignment_impFrag extends AssignmentToken protected Solution createSolution() { if((value = current.getConsumable("impFrag",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("impFrag"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prAssignmentValue().ele110LexerRuleCallFRAGMENT(); return new Solution(obj); @@ -4911,7 +4911,7 @@ protected class ListAssignmentValue_0_0_Assignment_index extends AssignmentToken protected Solution createSolution() { if((value = current.getConsumable("index",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("index"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prListAssignmentValue().ele000LexerRuleCallINT(); return new Solution(obj); @@ -5099,7 +5099,7 @@ protected class ListAssignmentValue_1_0_0_0_0_0_1_Assignment_refIndex extends As protected Solution createSolution() { if((value = current.getConsumable("refIndex",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("refIndex"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prListAssignmentValue().ele10000010LexerRuleCallINT(); return new Solution(obj); @@ -5136,7 +5136,7 @@ protected class ListAssignmentValue_1_0_0_0_1_Assignment_value extends Assignmen protected Solution createSolution() { if((value = current.getConsumable("value",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("value"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prListAssignmentValue().ele100010LexerRuleCallSTRING(); return new Solution(obj); @@ -5282,7 +5282,7 @@ protected class ListAssignmentValue_1_0_0_1_1_0_1_Assignment_refFeature extends protected Solution createSolution() { if((value = current.getConsumable("refFeature",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("refFeature"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prListAssignmentValue().ele10011010LexerRuleCallID(); return new Solution(obj); @@ -5374,7 +5374,7 @@ protected class ListAssignmentValue_1_0_0_1_1_1_0_1_Assignment_refIndex extends protected Solution createSolution() { if((value = current.getConsumable("refIndex",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("refIndex"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prListAssignmentValue().ele100111010LexerRuleCallINT(); return new Solution(obj); @@ -5500,7 +5500,7 @@ protected class ListAssignmentValue_1_1_1_Assignment_impFrag extends AssignmentT protected Solution createSolution() { if((value = current.getConsumable("impFrag",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("impFrag"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prListAssignmentValue().ele1110LexerRuleCallFRAGMENT(); return new Solution(obj); @@ -5645,7 +5645,7 @@ protected class SingleAssignmentValue_0_0_0_1_Assignment_value extends Assignmen protected Solution createSolution() { if((value = current.getConsumable("value",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("value"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prSingleAssignmentValue().ele00010LexerRuleCallSTRING(); return new Solution(obj); @@ -5791,7 +5791,7 @@ protected class SingleAssignmentValue_0_0_1_1_0_1_Assignment_refFeature extends protected Solution createSolution() { if((value = current.getConsumable("refFeature",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("refFeature"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prSingleAssignmentValue().ele0011010LexerRuleCallID(); return new Solution(obj); @@ -5883,7 +5883,7 @@ protected class SingleAssignmentValue_0_0_1_1_1_0_1_Assignment_refIndex extends protected Solution createSolution() { if((value = current.getConsumable("refIndex",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("refIndex"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prSingleAssignmentValue().ele00111010LexerRuleCallINT(); return new Solution(obj); @@ -6009,7 +6009,7 @@ protected class SingleAssignmentValue_1_1_Assignment_impFrag extends AssignmentT protected Solution createSolution() { if((value = current.getConsumable("impFrag",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("impFrag"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prSingleAssignmentValue().ele110LexerRuleCallFRAGMENT(); return new Solution(obj); @@ -6158,7 +6158,7 @@ protected class CreatedObject_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prCreatedObject().ele010LexerRuleCallID(); return new Solution(obj); @@ -6514,7 +6514,7 @@ protected class ObjectNew_1_Assignment_impFrag extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("impFrag",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("impFrag"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prObjectNew().ele10LexerRuleCallFRAGMENT(); return new Solution(obj); @@ -6643,7 +6643,7 @@ protected class ObjectCopy_1_Assignment_fragment extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("fragment",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("fragment"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prObjectCopy().ele10LexerRuleCallFRAGMENT(); return new Solution(obj); @@ -7159,7 +7159,7 @@ protected class JavaExecutable_0_0_1_Assignment_method extends AssignmentToken protected Solution createSolution() { if((value = current.getConsumable("method",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("method"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prJavaExecutable().ele0010LexerRuleCallID(); return new Solution(obj); @@ -7219,7 +7219,7 @@ protected class ExpressionExecutable_Assignment_exprstr extends AssignmentToken protected Solution createSolution() { if((value = current.getConsumable("exprstr",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("exprstr"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = EpatchTestLanguageGrammarAccess.INSTANCE.prExpressionExecutable().ele0LexerRuleCallSTRING(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parsetree/reconstr/HiddenTerminalsTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parsetree/reconstr/HiddenTerminalsTestLanguageParseTreeConstructor.java index def10c4..91490a3 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parsetree/reconstr/HiddenTerminalsTestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parsetree/reconstr/HiddenTerminalsTestLanguageParseTreeConstructor.java @@ -323,7 +323,7 @@ protected class WithoutHiddens_0_0_0_1_Assignment_spaces extends AssignmentToken if((value = current.getConsumable("spaces",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("spaces"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = HiddenTerminalsTestLanguageGrammarAccess.INSTANCE.prWithoutHiddens().ele00010ParserRuleCallWS(); return new Solution(obj); @@ -362,7 +362,7 @@ protected class WithoutHiddens_0_1_Assignment_spaces extends AssignmentToken { if((value = current.getConsumable("spaces",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("spaces"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = HiddenTerminalsTestLanguageGrammarAccess.INSTANCE.prWithoutHiddens().ele010ParserRuleCallWS(); return new Solution(obj); @@ -868,7 +868,7 @@ protected class OverridingHiddensCall_0_1_Assignment_spaces extends AssignmentTo if((value = current.getConsumable("spaces",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("spaces"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = HiddenTerminalsTestLanguageGrammarAccess.INSTANCE.prOverridingHiddensCall().ele010ParserRuleCallWS(); return new Solution(obj); @@ -1310,7 +1310,7 @@ protected class HidingHiddens_0_1_Assignment_space extends AssignmentToken { if((value = current.getConsumable("space",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("space"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = HiddenTerminalsTestLanguageGrammarAccess.INSTANCE.prHidingHiddens().ele010ParserRuleCallWS(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parsetree/reconstr/TerminalRulesTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parsetree/reconstr/TerminalRulesTestLanguageParseTreeConstructor.java index 42574df..0b01782 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parsetree/reconstr/TerminalRulesTestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parsetree/reconstr/TerminalRulesTestLanguageParseTreeConstructor.java @@ -170,7 +170,7 @@ protected class Model_0_0_0_0_0_0_Assignment_idValue extends AssignmentToken { if((value = current.getConsumable("idValue",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("idValue"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = TerminalRulesTestLanguageGrammarAccess.INSTANCE.prModel().ele0000000ParserRuleCallID(); return new Solution(obj); @@ -195,7 +195,7 @@ protected class Model_0_0_0_0_0_1_Assignment_intValue extends AssignmentToken { if((value = current.getConsumable("intValue",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("intValue"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = TerminalRulesTestLanguageGrammarAccess.INSTANCE.prModel().ele0000010ParserRuleCallINT(); return new Solution(obj); @@ -221,7 +221,7 @@ protected class Model_0_0_0_0_1_Assignment_stringValue extends AssignmentToken if((value = current.getConsumable("stringValue",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("stringValue"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = TerminalRulesTestLanguageGrammarAccess.INSTANCE.prModel().ele000010ParserRuleCallSTRING(); return new Solution(obj); @@ -247,7 +247,7 @@ protected class Model_0_0_0_1_Assignment_mlCommentValue extends AssignmentToken if((value = current.getConsumable("mlCommentValue",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("mlCommentValue"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = TerminalRulesTestLanguageGrammarAccess.INSTANCE.prModel().ele00010ParserRuleCallML_COMMENT(); return new Solution(obj); @@ -273,7 +273,7 @@ protected class Model_0_0_1_Assignment_slCommentValue extends AssignmentToken { if((value = current.getConsumable("slCommentValue",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("slCommentValue"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = TerminalRulesTestLanguageGrammarAccess.INSTANCE.prModel().ele0010ParserRuleCallSL_COMMENT(); return new Solution(obj); @@ -299,7 +299,7 @@ protected class Model_0_1_Assignment_wsValue extends AssignmentToken { if((value = current.getConsumable("wsValue",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("wsValue"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = TerminalRulesTestLanguageGrammarAccess.INSTANCE.prModel().ele010ParserRuleCallWS(); return new Solution(obj); @@ -325,7 +325,7 @@ protected class Model_1_Assignment_anyValue extends AssignmentToken { if((value = current.getConsumable("anyValue",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("anyValue"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = TerminalRulesTestLanguageGrammarAccess.INSTANCE.prModel().ele10ParserRuleCallANY_OTHER(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parsetree/reconstr/XtextTerminalsTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parsetree/reconstr/XtextTerminalsTestLanguageParseTreeConstructor.java index 27caec4..5acf354 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parsetree/reconstr/XtextTerminalsTestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parser/terminalrules/parsetree/reconstr/XtextTerminalsTestLanguageParseTreeConstructor.java @@ -271,7 +271,7 @@ protected class Grammar_0_0_0_0_1_Assignment_idElements extends AssignmentToken if((value = current.getConsumable("idElements",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("idElements"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = XtextTerminalsTestLanguageGrammarAccess.INSTANCE.prGrammar().ele000010ParserRuleCallID(); return new Solution(obj); @@ -337,7 +337,7 @@ protected class Grammar_0_0_0_1_1_Assignment_idElements extends AssignmentToken if((value = current.getConsumable("idElements",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("idElements"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = XtextTerminalsTestLanguageGrammarAccess.INSTANCE.prGrammar().ele000110ParserRuleCallID(); return new Solution(obj); @@ -432,7 +432,7 @@ protected class Grammar_0_0_1_0_1_Assignment_superGrammarIdElements extends Assi if((value = current.getConsumable("superGrammarIdElements",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("superGrammarIdElements"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = XtextTerminalsTestLanguageGrammarAccess.INSTANCE.prGrammar().ele001010ParserRuleCallID(); return new Solution(obj); @@ -498,7 +498,7 @@ protected class Grammar_0_0_1_1_1_Assignment_superGrammarIdElements extends Assi if((value = current.getConsumable("superGrammarIdElements",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("superGrammarIdElements"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = XtextTerminalsTestLanguageGrammarAccess.INSTANCE.prGrammar().ele001110ParserRuleCallID(); return new Solution(obj); @@ -872,7 +872,7 @@ protected class GeneratedMetamodel_0_0_1_Assignment_name extends AssignmentToken if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = XtextTerminalsTestLanguageGrammarAccess.INSTANCE.prGeneratedMetamodel().ele0010ParserRuleCallID(); return new Solution(obj); @@ -965,7 +965,7 @@ protected class GeneratedMetamodel_1_1_Assignment_alias extends AssignmentToken if((value = current.getConsumable("alias",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("alias"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = XtextTerminalsTestLanguageGrammarAccess.INSTANCE.prGeneratedMetamodel().ele110ParserRuleCallID(); return new Solution(obj); @@ -1137,7 +1137,7 @@ protected class ReferencedMetamodel_1_1_Assignment_alias extends AssignmentToken if((value = current.getConsumable("alias",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("alias"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = XtextTerminalsTestLanguageGrammarAccess.INSTANCE.prReferencedMetamodel().ele110ParserRuleCallID(); return new Solution(obj); @@ -1360,7 +1360,7 @@ protected class LexerRule_0_0_0_0_1_Assignment_name extends AssignmentToken { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = XtextTerminalsTestLanguageGrammarAccess.INSTANCE.prLexerRule().ele000010ParserRuleCallID(); return new Solution(obj); @@ -1472,7 +1472,7 @@ protected class LexerRule_0_1_Assignment_body extends AssignmentToken { if((value = current.getConsumable("body",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("body"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = XtextTerminalsTestLanguageGrammarAccess.INSTANCE.prLexerRule().ele010ParserRuleCallSTRING(); return new Solution(obj); @@ -1661,7 +1661,7 @@ protected class ParserRule_0_0_0_0_0_Assignment_name extends AssignmentToken { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = XtextTerminalsTestLanguageGrammarAccess.INSTANCE.prParserRule().ele000000ParserRuleCallID(); return new Solution(obj); @@ -2251,7 +2251,7 @@ protected class TerminalRule_0_0_0_0_1_Assignment_name extends AssignmentToken if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = XtextTerminalsTestLanguageGrammarAccess.INSTANCE.prTerminalRule().ele000010ParserRuleCallID(); return new Solution(obj); @@ -3508,7 +3508,7 @@ protected class Assignment_0_0_Assignment_feature extends AssignmentToken { if((value = current.getConsumable("feature",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("feature"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = XtextTerminalsTestLanguageGrammarAccess.INSTANCE.prAssignment().ele000ParserRuleCallID(); return new Solution(obj); @@ -3922,7 +3922,7 @@ protected class Action_0_0_0_1_Assignment_feature extends AssignmentToken { if((value = current.getConsumable("feature",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("feature"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = XtextTerminalsTestLanguageGrammarAccess.INSTANCE.prAction().ele00010ParserRuleCallID(); return new Solution(obj); @@ -5237,7 +5237,7 @@ protected class Keyword_Assignment_value extends AssignmentToken { if((value = current.getConsumable("value",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("value"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for datatype rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for datatype rule type = AssignmentType.PRC; element = XtextTerminalsTestLanguageGrammarAccess.INSTANCE.prKeyword().ele0ParserRuleCallSTRING(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parsetree/reconstr/FormatterTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parsetree/reconstr/FormatterTestLanguageParseTreeConstructor.java index ce0e8f8..073c00a 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parsetree/reconstr/FormatterTestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/formatter/parsetree/reconstr/FormatterTestLanguageParseTreeConstructor.java @@ -212,7 +212,7 @@ protected class Line_0_0_Assignment_type extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("type",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("type"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = FormatterTestLanguageGrammarAccess.INSTANCE.prLine().ele000LexerRuleCallID(); return new Solution(obj); @@ -235,7 +235,7 @@ protected class Line_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = FormatterTestLanguageGrammarAccess.INSTANCE.prLine().ele010LexerRuleCallID(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/XtextGrammarTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/XtextGrammarTestLanguageParseTreeConstructor.java index 682c74d..273400b 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/XtextGrammarTestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/XtextGrammarTestLanguageParseTreeConstructor.java @@ -271,7 +271,7 @@ protected class Grammar_0_0_0_0_1_Assignment_idElements extends AssignmentToken protected Solution createSolution() { if((value = current.getConsumable("idElements",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("idElements"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = XtextGrammarTestLanguageGrammarAccess.INSTANCE.prGrammar().ele000010LexerRuleCallID(); return new Solution(obj); @@ -335,7 +335,7 @@ protected class Grammar_0_0_0_1_1_Assignment_idElements extends AssignmentToken protected Solution createSolution() { if((value = current.getConsumable("idElements",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("idElements"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = XtextGrammarTestLanguageGrammarAccess.INSTANCE.prGrammar().ele000110LexerRuleCallID(); return new Solution(obj); @@ -428,7 +428,7 @@ protected class Grammar_0_0_1_0_1_Assignment_superGrammarIdElements extends Assi protected Solution createSolution() { if((value = current.getConsumable("superGrammarIdElements",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("superGrammarIdElements"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = XtextGrammarTestLanguageGrammarAccess.INSTANCE.prGrammar().ele001010LexerRuleCallID(); return new Solution(obj); @@ -492,7 +492,7 @@ protected class Grammar_0_0_1_1_1_Assignment_superGrammarIdElements extends Assi protected Solution createSolution() { if((value = current.getConsumable("superGrammarIdElements",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("superGrammarIdElements"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = XtextGrammarTestLanguageGrammarAccess.INSTANCE.prGrammar().ele001110LexerRuleCallID(); return new Solution(obj); @@ -864,7 +864,7 @@ protected class GeneratedMetamodel_0_0_1_Assignment_name extends AssignmentToken protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = XtextGrammarTestLanguageGrammarAccess.INSTANCE.prGeneratedMetamodel().ele0010LexerRuleCallID(); return new Solution(obj); @@ -955,7 +955,7 @@ protected class GeneratedMetamodel_1_1_Assignment_alias extends AssignmentToken protected Solution createSolution() { if((value = current.getConsumable("alias",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("alias"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = XtextGrammarTestLanguageGrammarAccess.INSTANCE.prGeneratedMetamodel().ele110LexerRuleCallID(); return new Solution(obj); @@ -1125,7 +1125,7 @@ protected class ReferencedMetamodel_1_1_Assignment_alias extends AssignmentToken protected Solution createSolution() { if((value = current.getConsumable("alias",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("alias"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = XtextGrammarTestLanguageGrammarAccess.INSTANCE.prReferencedMetamodel().ele110LexerRuleCallID(); return new Solution(obj); @@ -1346,7 +1346,7 @@ protected class LexerRule_0_0_0_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = XtextGrammarTestLanguageGrammarAccess.INSTANCE.prLexerRule().ele000010LexerRuleCallID(); return new Solution(obj); @@ -1456,7 +1456,7 @@ protected class LexerRule_0_1_Assignment_body extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("body",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("body"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = XtextGrammarTestLanguageGrammarAccess.INSTANCE.prLexerRule().ele010LexerRuleCallSTRING(); return new Solution(obj); @@ -1643,7 +1643,7 @@ protected class ParserRule_0_0_0_0_0_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = XtextGrammarTestLanguageGrammarAccess.INSTANCE.prParserRule().ele000000LexerRuleCallID(); return new Solution(obj); @@ -2231,7 +2231,7 @@ protected class TerminalRule_0_0_0_0_1_Assignment_name extends AssignmentToken protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = XtextGrammarTestLanguageGrammarAccess.INSTANCE.prTerminalRule().ele000010LexerRuleCallID(); return new Solution(obj); @@ -3486,7 +3486,7 @@ protected class Assignment_0_0_Assignment_feature extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("feature",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("feature"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = XtextGrammarTestLanguageGrammarAccess.INSTANCE.prAssignment().ele000LexerRuleCallID(); return new Solution(obj); @@ -3898,7 +3898,7 @@ protected class Action_0_0_0_1_Assignment_feature extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("feature",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("feature"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = XtextGrammarTestLanguageGrammarAccess.INSTANCE.prAction().ele00010LexerRuleCallID(); return new Solution(obj); @@ -5211,7 +5211,7 @@ protected class Keyword_Assignment_value extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("value",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("value"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = XtextGrammarTestLanguageGrammarAccess.INSTANCE.prKeyword().ele0LexerRuleCallSTRING(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parsetree/reconstr/ComplexReconstrTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parsetree/reconstr/ComplexReconstrTestLanguageParseTreeConstructor.java index 33a585f..e18904e 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parsetree/reconstr/ComplexReconstrTestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parsetree/reconstr/ComplexReconstrTestLanguageParseTreeConstructor.java @@ -515,7 +515,7 @@ protected class Atom_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ComplexReconstrTestLanguageGrammarAccess.INSTANCE.prAtom().ele0LexerRuleCallID(); return new Solution(obj); @@ -855,7 +855,7 @@ protected class TrickyA_0_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ComplexReconstrTestLanguageGrammarAccess.INSTANCE.prTrickyA().ele0010LexerRuleCallID(); return new Solution(obj); @@ -1024,7 +1024,7 @@ protected class TrickyA_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ComplexReconstrTestLanguageGrammarAccess.INSTANCE.prTrickyA().ele10LexerRuleCallSTRING(); return new Solution(obj); @@ -1058,7 +1058,7 @@ protected class TrickyA1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ComplexReconstrTestLanguageGrammarAccess.INSTANCE.prTrickyA1().ele0LexerRuleCallID(); return new Solution(obj); @@ -1187,7 +1187,7 @@ protected class TrickyB_0_1_0_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ComplexReconstrTestLanguageGrammarAccess.INSTANCE.prTrickyB().ele0100LexerRuleCallID(); return new Solution(obj); @@ -1210,7 +1210,7 @@ protected class TrickyB_0_1_1_Assignment_type extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("type",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("type"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ComplexReconstrTestLanguageGrammarAccess.INSTANCE.prTrickyB().ele0110LexerRuleCallINT(); return new Solution(obj); @@ -1235,7 +1235,7 @@ protected class TrickyB_1_Assignment_type extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("type",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("type"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ComplexReconstrTestLanguageGrammarAccess.INSTANCE.prTrickyB().ele10LexerRuleCallINT(); return new Solution(obj); @@ -1393,7 +1393,7 @@ protected class TrickyC_0_0_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ComplexReconstrTestLanguageGrammarAccess.INSTANCE.prTrickyC().ele00010LexerRuleCallID(); return new Solution(obj); @@ -1765,7 +1765,7 @@ protected class TrickyD_0_0_1_0_0_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ComplexReconstrTestLanguageGrammarAccess.INSTANCE.prTrickyD().ele001000LexerRuleCallINT(); return new Solution(obj); @@ -1788,7 +1788,7 @@ protected class TrickyD_0_0_1_0_1_Assignment_foo extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("foo",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("foo"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ComplexReconstrTestLanguageGrammarAccess.INSTANCE.prTrickyD().ele001010LexerRuleCallSTRING(); return new Solution(obj); @@ -1812,7 +1812,7 @@ protected class TrickyD_0_0_1_1_Assignment_type extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("type",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("type"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ComplexReconstrTestLanguageGrammarAccess.INSTANCE.prTrickyD().ele00110LexerRuleCallID(); return new Solution(obj); @@ -1865,7 +1865,7 @@ protected class TrickyD_0_1_0_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ComplexReconstrTestLanguageGrammarAccess.INSTANCE.prTrickyD().ele0100LexerRuleCallINT(); return new Solution(obj); @@ -1888,7 +1888,7 @@ protected class TrickyD_0_1_1_Assignment_type extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("type",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("type"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ComplexReconstrTestLanguageGrammarAccess.INSTANCE.prTrickyD().ele0110LexerRuleCallID(); return new Solution(obj); @@ -1913,7 +1913,7 @@ protected class TrickyD_1_Assignment_type extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("type",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("type"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ComplexReconstrTestLanguageGrammarAccess.INSTANCE.prTrickyD().ele10LexerRuleCallID(); return new Solution(obj); @@ -2099,7 +2099,7 @@ protected class TrickyE_0_0_1_0_0_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ComplexReconstrTestLanguageGrammarAccess.INSTANCE.prTrickyE().ele001000LexerRuleCallINT(); return new Solution(obj); @@ -2122,7 +2122,7 @@ protected class TrickyE_0_0_1_0_1_Assignment_foo extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("foo",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("foo"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ComplexReconstrTestLanguageGrammarAccess.INSTANCE.prTrickyE().ele001010LexerRuleCallSTRING(); return new Solution(obj); @@ -2146,7 +2146,7 @@ protected class TrickyE_0_0_1_1_Assignment_type extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("type",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("type"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ComplexReconstrTestLanguageGrammarAccess.INSTANCE.prTrickyE().ele00110LexerRuleCallID(); return new Solution(obj); @@ -2212,7 +2212,7 @@ protected class TrickyE_1_0_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ComplexReconstrTestLanguageGrammarAccess.INSTANCE.prTrickyE().ele100LexerRuleCallINT(); return new Solution(obj); @@ -2235,7 +2235,7 @@ protected class TrickyE_1_1_Assignment_type extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("type",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("type"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ComplexReconstrTestLanguageGrammarAccess.INSTANCE.prTrickyE().ele110LexerRuleCallID(); return new Solution(obj); @@ -2366,7 +2366,7 @@ protected class TrickyF_0_1_0_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ComplexReconstrTestLanguageGrammarAccess.INSTANCE.prTrickyF().ele0100LexerRuleCallID(); return new Solution(obj); @@ -2389,7 +2389,7 @@ protected class TrickyF_0_1_1_Assignment_type extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("type",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("type"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ComplexReconstrTestLanguageGrammarAccess.INSTANCE.prTrickyF().ele0110LexerRuleCallINT(); return new Solution(obj); @@ -2435,7 +2435,7 @@ protected class TrickyF_1_0_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ComplexReconstrTestLanguageGrammarAccess.INSTANCE.prTrickyF().ele100LexerRuleCallID(); return new Solution(obj); @@ -2458,7 +2458,7 @@ protected class TrickyF_1_1_Assignment_type extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("type",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("type"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ComplexReconstrTestLanguageGrammarAccess.INSTANCE.prTrickyF().ele110LexerRuleCallINT(); return new Solution(obj); @@ -2838,7 +2838,7 @@ protected class TrickyG2_1_Assignment_val extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("val",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("val"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ComplexReconstrTestLanguageGrammarAccess.INSTANCE.prTrickyG2().ele10LexerRuleCallINT(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parsetree/reconstr/SimpleReconstrTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parsetree/reconstr/SimpleReconstrTestLanguageParseTreeConstructor.java index 2cb99e3..fcc1672 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parsetree/reconstr/SimpleReconstrTestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/reconstr/parsetree/reconstr/SimpleReconstrTestLanguageParseTreeConstructor.java @@ -498,7 +498,7 @@ protected class Atom_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prAtom().ele0LexerRuleCallID(); return new Solution(obj); @@ -751,7 +751,7 @@ protected class TwoNumbers_0_0_Assignment_num1 extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("num1",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("num1"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prTwoNumbers().ele000LexerRuleCallINT(); return new Solution(obj); @@ -774,7 +774,7 @@ protected class TwoNumbers_0_1_Assignment_num2 extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("num2",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("num2"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prTwoNumbers().ele010LexerRuleCallINT(); return new Solution(obj); @@ -838,7 +838,7 @@ protected class TwoNumbers_1_1_Assignment_num3 extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("num3",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("num3"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prTwoNumbers().ele110LexerRuleCallINT(); return new Solution(obj); @@ -941,7 +941,7 @@ protected class ManyStrings_0_1_Assignment_str1 extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("str1",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("str1"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prManyStrings().ele010LexerRuleCallSTRING(); return new Solution(obj); @@ -965,7 +965,7 @@ protected class ManyStrings_1_Assignment_str2 extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("str2",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("str2"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prManyStrings().ele10LexerRuleCallSTRING(); return new Solution(obj); @@ -1095,7 +1095,7 @@ protected class Type_0_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prType().ele0010LexerRuleCallID(); return new Solution(obj); @@ -1223,7 +1223,7 @@ protected class Ref2_1_Assignment_ref2 extends AssignmentToken { return new Solution(obj); } - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prRef2().ele1001LexerRuleCallSTRING(); return new Solution(obj); @@ -1325,7 +1325,7 @@ protected class Spare_0_1_Assignment_id extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("id",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("id"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prSpare().ele010LexerRuleCallID(); return new Solution(obj); @@ -1389,7 +1389,7 @@ protected class Spare_1_1_Assignment_id extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("id",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("id"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prSpare().ele110LexerRuleCallID(); return new Solution(obj); @@ -1559,7 +1559,7 @@ protected class Boolean_1_Assignment_value extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("value",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("value"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = SimpleReconstrTestLanguageGrammarAccess.INSTANCE.prBoolean().ele10LexerRuleCallID(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parsetree/reconstr/TransientValuesTestParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parsetree/reconstr/TransientValuesTestParseTreeConstructor.java index 215e7ea..f7351ea 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parsetree/reconstr/TransientValuesTestParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/parsetree/transientvalues/parsetree/reconstr/TransientValuesTestParseTreeConstructor.java @@ -264,7 +264,7 @@ protected class TestRequired_0_1_Assignment_required1 extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("required1",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("required1"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = TransientValuesTestGrammarAccess.INSTANCE.prTestRequired().ele010LexerRuleCallINT(); return new Solution(obj); @@ -288,7 +288,7 @@ protected class TestRequired_1_Assignment_required2 extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("required2",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("required2"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = TransientValuesTestGrammarAccess.INSTANCE.prTestRequired().ele10LexerRuleCallINT(); return new Solution(obj); @@ -390,7 +390,7 @@ protected class TestOptional_0_1_Assignment_opt1 extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("opt1",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("opt1"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = TransientValuesTestGrammarAccess.INSTANCE.prTestOptional().ele010LexerRuleCallINT(); return new Solution(obj); @@ -454,7 +454,7 @@ protected class TestOptional_1_1_Assignment_opt2 extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("opt2",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("opt2"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = TransientValuesTestGrammarAccess.INSTANCE.prTestOptional().ele110LexerRuleCallINT(); return new Solution(obj); @@ -529,7 +529,7 @@ protected class TestList_1_Assignment_item extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("item",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("item"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = TransientValuesTestGrammarAccess.INSTANCE.prTestList().ele10LexerRuleCallINT(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parsetree/reconstr/MultiValueFeatureTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parsetree/reconstr/MultiValueFeatureTestLanguageParseTreeConstructor.java index ac12afc..dab804f 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parsetree/reconstr/MultiValueFeatureTestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/resource/metamodel/parsetree/reconstr/MultiValueFeatureTestLanguageParseTreeConstructor.java @@ -44,7 +44,7 @@ protected class Start_Assignment_featureA extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("featureA",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("featureA"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = MultiValueFeatureTestLanguageGrammarAccess.INSTANCE.prStart().ele0LexerRuleCallID(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/ActionTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/ActionTestLanguageParseTreeConstructor.java index ae8273b..8b68434 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/ActionTestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/ActionTestLanguageParseTreeConstructor.java @@ -272,7 +272,7 @@ protected class Item_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ActionTestLanguageGrammarAccess.INSTANCE.prItem().ele10LexerRuleCallID(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/ContentAssistTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/ContentAssistTestLanguageParseTreeConstructor.java index 57bc1d2..f1c1be9 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/ContentAssistTestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/ContentAssistTestLanguageParseTreeConstructor.java @@ -351,7 +351,7 @@ protected class FirstAbstractRuleChild_0_0_0_0_Assignment_name extends Assignmen protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ContentAssistTestLanguageGrammarAccess.INSTANCE.prFirstAbstractRuleChild().ele00000LexerRuleCallID(); return new Solution(obj); @@ -567,7 +567,7 @@ protected class SecondAbstractRuleChild_0_0_0_0_Assignment_name extends Assignme protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ContentAssistTestLanguageGrammarAccess.INSTANCE.prSecondAbstractRuleChild().ele00000LexerRuleCallID(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/FowlerDslTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/FowlerDslTestLanguageParseTreeConstructor.java index 90079cd..76c2d01 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/FowlerDslTestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/FowlerDslTestLanguageParseTreeConstructor.java @@ -454,7 +454,7 @@ protected class Event_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = FowlerDslTestLanguageGrammarAccess.INSTANCE.prEvent().ele010LexerRuleCallID(); return new Solution(obj); @@ -478,7 +478,7 @@ protected class Event_1_Assignment_code extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("code",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("code"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = FowlerDslTestLanguageGrammarAccess.INSTANCE.prEvent().ele10LexerRuleCallID(); return new Solution(obj); @@ -540,7 +540,7 @@ protected class Command_0_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = FowlerDslTestLanguageGrammarAccess.INSTANCE.prCommand().ele00LexerRuleCallID(); return new Solution(obj); @@ -563,7 +563,7 @@ protected class Command_1_Assignment_code extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("code",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("code"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = FowlerDslTestLanguageGrammarAccess.INSTANCE.prCommand().ele10LexerRuleCallID(); return new Solution(obj); @@ -721,7 +721,7 @@ protected class State_0_0_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = FowlerDslTestLanguageGrammarAccess.INSTANCE.prState().ele00010LexerRuleCallID(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/LexerTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/LexerTestLanguageParseTreeConstructor.java index b3d1e03..4f12176 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/LexerTestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/LexerTestLanguageParseTreeConstructor.java @@ -114,7 +114,7 @@ protected class Element_0_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = LexerTestLanguageGrammarAccess.INSTANCE.prElement().ele00LexerRuleCallID(); return new Solution(obj); @@ -137,7 +137,7 @@ protected class Element_1_Assignment_h extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("h",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("h"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = LexerTestLanguageGrammarAccess.INSTANCE.prElement().ele10LexerRuleCallSTRING(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/OptionalEmptyTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/OptionalEmptyTestLanguageParseTreeConstructor.java index 7d3ee41..68cb95b 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/OptionalEmptyTestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/OptionalEmptyTestLanguageParseTreeConstructor.java @@ -126,7 +126,7 @@ protected class Greeting_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = OptionalEmptyTestLanguageGrammarAccess.INSTANCE.prGreeting().ele10LexerRuleCallID(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/PartialParserTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/PartialParserTestLanguageParseTreeConstructor.java index cb02d01..79f5673 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/PartialParserTestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/PartialParserTestLanguageParseTreeConstructor.java @@ -177,7 +177,7 @@ protected class Container_0_0_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = PartialParserTestLanguageGrammarAccess.INSTANCE.prContainer().ele00010LexerRuleCallID(); return new Solution(obj); @@ -1817,7 +1817,7 @@ protected class Named_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = PartialParserTestLanguageGrammarAccess.INSTANCE.prNamed().ele0LexerRuleCallID(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/ReferenceGrammarTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/ReferenceGrammarTestLanguageParseTreeConstructor.java index 2e25669..886a3bb 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/ReferenceGrammarTestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/ReferenceGrammarTestLanguageParseTreeConstructor.java @@ -202,7 +202,7 @@ protected class Spielplatz_0_0_0_0_1_Assignment_groesse extends AssignmentToken protected Solution createSolution() { if((value = current.getConsumable("groesse",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("groesse"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ReferenceGrammarTestLanguageGrammarAccess.INSTANCE.prSpielplatz().ele000010LexerRuleCallINT(); return new Solution(obj); @@ -226,7 +226,7 @@ protected class Spielplatz_0_0_0_1_Assignment_beschreibung extends AssignmentTok protected Solution createSolution() { if((value = current.getConsumable("beschreibung",!IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("beschreibung"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ReferenceGrammarTestLanguageGrammarAccess.INSTANCE.prSpielplatz().ele00010LexerRuleCallSTRING(); return new Solution(obj); @@ -682,7 +682,7 @@ protected class Kind_0_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ReferenceGrammarTestLanguageGrammarAccess.INSTANCE.prKind().ele0010LexerRuleCallID(); return new Solution(obj); @@ -706,7 +706,7 @@ protected class Kind_0_1_Assignment_age extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("age",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("age"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ReferenceGrammarTestLanguageGrammarAccess.INSTANCE.prKind().ele010LexerRuleCallINT(); return new Solution(obj); @@ -890,7 +890,7 @@ protected class Erwachsener_0_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ReferenceGrammarTestLanguageGrammarAccess.INSTANCE.prErwachsener().ele0010LexerRuleCallID(); return new Solution(obj); @@ -914,7 +914,7 @@ protected class Erwachsener_0_1_Assignment_age extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("age",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("age"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ReferenceGrammarTestLanguageGrammarAccess.INSTANCE.prErwachsener().ele010LexerRuleCallINT(); return new Solution(obj); @@ -1098,7 +1098,7 @@ protected class Spielzeug_0_0_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ReferenceGrammarTestLanguageGrammarAccess.INSTANCE.prSpielzeug().ele0010LexerRuleCallID(); return new Solution(obj); @@ -1529,12 +1529,12 @@ protected class Familie_0_0_0_0_0_1_Assignment_name extends AssignmentToken { return new Solution(obj); } - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ReferenceGrammarTestLanguageGrammarAccess.INSTANCE.prFamilie().ele000001001LexerRuleCallSTRING(); return new Solution(obj); } - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = ReferenceGrammarTestLanguageGrammarAccess.INSTANCE.prFamilie().ele00000101LexerRuleCallID(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/SimpleExpressionsTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/SimpleExpressionsTestLanguageParseTreeConstructor.java index df621a5..91db560 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/SimpleExpressionsTestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/SimpleExpressionsTestLanguageParseTreeConstructor.java @@ -650,7 +650,7 @@ protected class Atom_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = SimpleExpressionsTestLanguageGrammarAccess.INSTANCE.prAtom().ele0LexerRuleCallID(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/TestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/TestLanguageParseTreeConstructor.java index 88a7e48..5ba964f 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/TestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/TestLanguageParseTreeConstructor.java @@ -251,7 +251,7 @@ protected class ChoiceRule_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = TestLanguageGrammarAccess.INSTANCE.prChoiceRule().ele10LexerRuleCallID(); return new Solution(obj); @@ -463,7 +463,7 @@ protected class TerminalRule_Assignment_stringFeature extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("stringFeature",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("stringFeature"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = TestLanguageGrammarAccess.INSTANCE.prTerminalRule().ele0LexerRuleCallSTRING(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/TreeTestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/TreeTestLanguageParseTreeConstructor.java index 3181eb3..92a6654 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/TreeTestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/testlanguages/parsetree/reconstr/TreeTestLanguageParseTreeConstructor.java @@ -254,7 +254,7 @@ protected class Node_0_0_0_0_0_0_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = TreeTestLanguageGrammarAccess.INSTANCE.prNode().ele0000000LexerRuleCallID(); return new Solution(obj); @@ -290,7 +290,7 @@ protected class Node_0_0_0_0_1_Assignment_attrib extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("attrib",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("attrib"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = TreeTestLanguageGrammarAccess.INSTANCE.prNode().ele000010LexerRuleCallSTRING(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parsetree/reconstr/Bug250313ParseTreeConstructor.java b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parsetree/reconstr/Bug250313ParseTreeConstructor.java index 55d92a6..cb273a6 100644 --- a/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parsetree/reconstr/Bug250313ParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.generator.tests/src-gen/org/eclipse/xtext/valueconverter/parsetree/reconstr/Bug250313ParseTreeConstructor.java @@ -91,12 +91,12 @@ protected class Ref2_1_Assignment_ref2 extends AssignmentToken { return new Solution(obj); } - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = Bug250313GrammarAccess.INSTANCE.prRef2().ele1001LexerRuleCallSTRING(); return new Solution(obj); } - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = Bug250313GrammarAccess.INSTANCE.prRef2().ele101LexerRuleCallID(); return new Solution(obj); diff --git a/tests/org.eclipse.xtext.ui.integration.tests/src-gen/org/eclipse/xtext/ui/integration/parsetree/reconstr/TestLanguageParseTreeConstructor.java b/tests/org.eclipse.xtext.ui.integration.tests/src-gen/org/eclipse/xtext/ui/integration/parsetree/reconstr/TestLanguageParseTreeConstructor.java index 41492de..07ff9c1 100644 --- a/tests/org.eclipse.xtext.ui.integration.tests/src-gen/org/eclipse/xtext/ui/integration/parsetree/reconstr/TestLanguageParseTreeConstructor.java +++ b/tests/org.eclipse.xtext.ui.integration.tests/src-gen/org/eclipse/xtext/ui/integration/parsetree/reconstr/TestLanguageParseTreeConstructor.java @@ -126,7 +126,7 @@ protected class Stuff_1_Assignment_name extends AssignmentToken { protected Solution createSolution() { if((value = current.getConsumable("name",IS_REQUIRED)) == null) return null; IInstanceDescription obj = current.cloneAndConsume("name"); - if(true) { // xtext::RuleCall FIXME: check if value is valid for lexer rule + if(Boolean.TRUE.booleanValue()) { // xtext::RuleCall FIXME: check if value is valid for lexer rule type = AssignmentType.LRC; element = TestLanguageGrammarAccess.INSTANCE.prStuff().ele10LexerRuleCallID(); return new Solution(obj); |

