[jboss-svn-commits] JBL Code SVN: r12695 - in labs/jbossrules/trunk: drools-compiler/src/main/java/org/drools/rule/builder and 11 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Jun 19 19:25:35 EDT 2007
Author: tirelli
Date: 2007-06-19 19:25:34 -0400 (Tue, 19 Jun 2007)
New Revision: 12695
Added:
labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/JavaAnalysisResult.java
labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/parser/JavaLocalDeclarationDescr.java
labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/mvel/MVELAnalysisResult.java
labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/rule/builder/dialect/java/JavaAccumulateBuilderTest.java
Modified:
labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/lang/descr/AccumulateDescr.java
labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/Dialect.java
labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/PatternBuilder.java
labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/JavaAccumulateBuilder.java
labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/JavaConsequenceBuilder.java
labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/JavaDialect.java
labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/JavaEvalBuilder.java
labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/JavaExprAnalyzer.java
labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/parser/JavaLexer.java
labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/parser/JavaParser.java
labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/mvel/MVELDialect.java
labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/mvel/MVELEvalBuilder.java
labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/mvel/MVELExprAnalyzer.java
labs/jbossrules/trunk/drools-compiler/src/main/resources/org/drools/rule/builder/dialect/java/javaInvokers.mvel
labs/jbossrules/trunk/drools-compiler/src/main/resources/org/drools/rule/builder/dialect/java/javaRule.mvel
labs/jbossrules/trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g
labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/rule/builder/dialect/java/AccumulateTemplateTest.java
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/base/ClassFieldExtractor.java
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/reteoo/AccumulateNode.java
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/rule/Accumulate.java
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/spi/Accumulator.java
labs/jbossrules/trunk/drools-core/src/test/java/org/drools/reteoo/MockAccumulator.java
Log:
JBRULES-936: implementing incremental accumulation for the accumulate CE
Modified: labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/lang/descr/AccumulateDescr.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/lang/descr/AccumulateDescr.java 2007-06-19 17:44:42 UTC (rev 12694)
+++ labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/lang/descr/AccumulateDescr.java 2007-06-19 23:25:34 UTC (rev 12695)
@@ -34,7 +34,7 @@
private String actionCode;
private String resultCode;
private String[] declarations;
- private String classMethodName;
+ private String className;
AccumulateDescr() {
super();
@@ -52,12 +52,12 @@
return this.sourcePattern;
}
- public String getClassMethodName() {
- return this.classMethodName;
+ public String getClassName() {
+ return this.className;
}
- public void setClassMethodName(final String classMethodName) {
- this.classMethodName = classMethodName;
+ public void setClassName(final String classMethodName) {
+ this.className = classMethodName;
}
public String[] getDeclarations() {
Modified: labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/Dialect.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/Dialect.java 2007-06-19 17:44:42 UTC (rev 12694)
+++ labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/Dialect.java 2007-06-19 23:25:34 UTC (rev 12695)
@@ -20,20 +20,20 @@
TypeResolver getTypeResolver();
- ClassFieldExtractorCache getClassFieldExtractorCache();
-
+ ClassFieldExtractorCache getClassFieldExtractorCache();
+
SalienceBuilder getSalienceBuilder();
-
- PatternBuilder getPatternBuilder();
-
+
+ PatternBuilder getPatternBuilder();
+
QueryBuilder getQueryBuilder();
-
+
ConditionalElementBuilder getEvalBuilder();
AccumulateBuilder getAccumulateBuilder();
PredicateBuilder getPredicateBuilder();
-
+
ReturnValueBuilder getReturnValueBuilder();
ConsequenceBuilder getConsequenceBuilder();
@@ -41,26 +41,26 @@
RuleClassBuilder getRuleClassBuilder();
FromBuilder getFromBuilder();
-
+
Object getBuilder(Class clazz);
- List[] getExpressionIdentifiers(final RuleBuildContext context,
- final BaseDescr descr,
- final Object content);
-
- List[] getBlockIdentifiers(final RuleBuildContext context,
- final BaseDescr descr,
- final String text);
+ AnalysisResult analyzeExpression(final RuleBuildContext context,
+ final BaseDescr descr,
+ final Object content);
+ AnalysisResult analyzeBlock(final RuleBuildContext context,
+ final BaseDescr descr,
+ final String text);
+
void compileAll();
void addRule(final RuleBuildContext context);
void addFunction(final FunctionDescr functionDescr,
TypeResolver typeResolver);
-
+
public void addImport(String importEntry);
-
+
public void addStaticImport(String importEntry);
List getResults();
@@ -68,4 +68,39 @@
void init(Package pkg);
void init(RuleDescr ruleDescr);
+
+ /**
+ * An interface with the results from the expression/block analysis
+ *
+ * @author etirelli
+ */
+ public static interface AnalysisResult {
+
+ /**
+ * Returns the list<String> of all used identifiers
+ * @return
+ */
+ public List getIdentifiers();
+
+ /**
+ * Returns the array of lists<String> of bound identifiers
+ * @return
+ */
+ public List[] getBoundIdentifiers();
+
+ /**
+ * Returns the list<String> of not bounded identifiers
+ * @return
+ */
+ public List getNotBoundedIdentifiers();
+
+ /**
+ * Returns the list<String> of declared local variables
+ *
+ * @return
+ */
+ public List getLocalVariables();
+
+ }
+
}
Modified: labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/PatternBuilder.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/PatternBuilder.java 2007-06-19 17:44:42 UTC (rev 12694)
+++ labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/PatternBuilder.java 2007-06-19 23:25:34 UTC (rev 12695)
@@ -206,22 +206,21 @@
final FieldConstraintDescr fieldConstraintDescr,
final AbstractCompositeConstraint container) {
String fieldName = fieldConstraintDescr.getFieldName();
-
- if( fieldName.indexOf( '[' ) > -1 ) {
+
+ if ( fieldName.indexOf( '[' ) > -1 ) {
rewriteToEval( context,
pattern,
fieldConstraintDescr,
container );
-
+
// after building the predicate, we are done, so return
return;
}
-
- if( fieldName.indexOf( '.' ) > -1 ) {
+
+ if ( fieldName.indexOf( '.' ) > -1 ) {
// we have a composite field name
String[] identifiers = fieldName.split( "\\." );
- if( identifiers.length == 2 && pattern.getDeclaration() != null &&
- identifiers[0].equals( pattern.getDeclaration().getIdentifier() )) {
+ if ( identifiers.length == 2 && pattern.getDeclaration() != null && identifiers[0].equals( pattern.getDeclaration().getIdentifier() ) ) {
// we have a self reference, so, it is fine to do direct access
fieldName = identifiers[1];
} else {
@@ -229,7 +228,7 @@
pattern,
fieldConstraintDescr,
container );
-
+
// after building the predicate, we are done, so return
return;
}
@@ -290,17 +289,17 @@
Dialect dialect = context.getDialect();
// switch to MVEL dialect
context.setDialect( context.getDialect( "mvel" ) );
-
+
PredicateDescr predicateDescr = new PredicateDescr();
DrlDumper dumper = new DrlDumper();
dumper.visitFieldConstraintDescr( fieldConstraintDescr );
predicateDescr.setContent( dumper.getTemplate() );
-
- this.build( context,
- pattern,
- predicateDescr,
+
+ this.build( context,
+ pattern,
+ predicateDescr,
container );
-
+
// fall back to original dialect
context.setDialect( dialect );
}
@@ -380,18 +379,20 @@
final PredicateDescr predicateDescr,
final AbstractCompositeConstraint container) {
- // this will return an array with 3 lists
- // where first list is from rule local variables
- // second list is from global variables
- // and third is for unbound variables
- final List[] usedIdentifiers = context.getDialect().getExpressionIdentifiers( context,
- predicateDescr,
- predicateDescr.getContent() );
- if( usedIdentifiers == null ) {
+ final Dialect.AnalysisResult analysis = context.getDialect().analyzeExpression( context,
+ predicateDescr,
+ predicateDescr.getContent() );
+
+ if ( analysis == null ) {
// something bad happened
return;
}
-
+
+ // this will return an array with 2 lists
+ // where first list is from rule local variables
+ // second list is from global variables
+ final List[] usedIdentifiers = analysis.getBoundIdentifiers();
+
final List tupleDeclarations = new ArrayList();
final List factDeclarations = new ArrayList();
for ( int i = 0, size = usedIdentifiers[0].size(); i < size; i++ ) {
@@ -402,10 +403,9 @@
tupleDeclarations.add( decl );
}
}
- final int NOT_BOUND_INDEX = usedIdentifiers.length - 1;
this.createImplicitBindings( context,
pattern,
- usedIdentifiers[NOT_BOUND_INDEX],
+ analysis.getNotBoundedIdentifiers(),
factDeclarations );
final Declaration[] previousDeclarations = (Declaration[]) tupleDeclarations.toArray( new Declaration[tupleDeclarations.size()] );
@@ -607,7 +607,7 @@
final Declaration decl = context.getDeclarationResolver().getDeclaration( parts[0] );
// if a declaration exists, then it is a variable direct property access, not an enum
if ( decl != null ) {
- if( decl.isPatternDeclaration() ) {
+ if ( decl.isPatternDeclaration() ) {
final Declaration implicit = this.createDeclarationObject( context,
parts[1],
decl.getPattern() );
@@ -627,7 +627,7 @@
context.getErrors().add( new RuleError( context.getRule(),
qiRestrictionDescr,
"",
- "Not possible to directly access the property '"+parts[1]+"' of declaration '"+parts[0]+"' since it is not a pattern" ) );
+ "Not possible to directly access the property '" + parts[1] + "' of declaration '" + parts[0] + "' since it is not a pattern" ) );
return null;
}
}
@@ -652,8 +652,8 @@
e,
"Unable to create a Field value of type '" + extractor.getValueType() + "' and value '" + qiRestrictionDescr.getText() + "'" ) );
}
-
- if( field == null ) {
+
+ if ( field == null ) {
return null;
}
@@ -675,9 +675,10 @@
final FieldExtractor extractor,
final FieldConstraintDescr fieldConstraintDescr,
final ReturnValueRestrictionDescr returnValueRestrictionDescr) {
- final List[] usedIdentifiers = context.getDialect().getExpressionIdentifiers( context,
- returnValueRestrictionDescr,
- returnValueRestrictionDescr.getContent() );
+ Dialect.AnalysisResult analysis = context.getDialect().analyzeExpression( context,
+ returnValueRestrictionDescr,
+ returnValueRestrictionDescr.getContent() );
+ final List[] usedIdentifiers = analysis.getBoundIdentifiers();
final List tupleDeclarations = new ArrayList();
final List factDeclarations = new ArrayList();
@@ -690,10 +691,9 @@
}
}
- final int NOT_BOUND_INDEX = usedIdentifiers.length - 1;
createImplicitBindings( context,
pattern,
- usedIdentifiers[NOT_BOUND_INDEX],
+ analysis.getNotBoundedIdentifiers(),
factDeclarations );
final Evaluator evaluator = getEvaluator( context,
Modified: labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/JavaAccumulateBuilder.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/JavaAccumulateBuilder.java 2007-06-19 17:44:42 UTC (rev 12694)
+++ labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/JavaAccumulateBuilder.java 2007-06-19 23:25:34 UTC (rev 12695)
@@ -17,8 +17,11 @@
package org.drools.rule.builder.dialect.java;
import java.util.ArrayList;
+import java.util.Comparator;
+import java.util.Iterator;
import java.util.List;
import java.util.Map;
+import java.util.TreeSet;
import org.drools.base.ClassObjectType;
import org.drools.lang.descr.AccumulateDescr;
@@ -30,12 +33,15 @@
import org.drools.rule.Pattern;
import org.drools.rule.builder.AccumulateBuilder;
import org.drools.rule.builder.ConditionalElementBuilder;
+import org.drools.rule.builder.Dialect;
import org.drools.rule.builder.PatternBuilder;
import org.drools.rule.builder.RuleBuildContext;
+import org.drools.rule.builder.dialect.java.parser.JavaLocalDeclarationDescr;
/**
+ * A builder for the java dialect accumulate version
+ *
* @author etirelli
- *
*/
public class JavaAccumulateBuilder extends AbstractJavaBuilder
implements
@@ -44,9 +50,11 @@
public ConditionalElement build(final RuleBuildContext context,
final BaseDescr descr) {
- return build(context, descr, null);
+ return build( context,
+ descr,
+ null );
}
-
+
public ConditionalElement build(final RuleBuildContext context,
final BaseDescr descr,
final Pattern prefixPattern) {
@@ -65,26 +73,26 @@
final Pattern resultPattern = patternBuilder.build( context,
accumDescr.getResultPattern() );
- final String className = "accumulate" + context.getNextId();
- accumDescr.setClassMethodName( className );
+ final String className = "Accumulate" + context.getNextId();
+ accumDescr.setClassName( className );
- final List[] usedIdentifiers1 = context.getDialect().getBlockIdentifiers( context,
- accumDescr,
- accumDescr.getInitCode() );
- final List[] usedIdentifiers2 = context.getDialect().getBlockIdentifiers( context,
- accumDescr,
- accumDescr.getActionCode() );
- final List[] usedIdentifiers3 = context.getDialect().getExpressionIdentifiers( context,
- accumDescr,
- accumDescr.getResultCode() );
+ final JavaAnalysisResult analysis1 = (JavaAnalysisResult) context.getDialect().analyzeBlock( context,
+ accumDescr,
+ accumDescr.getInitCode() );
+ final Dialect.AnalysisResult analysis2 = context.getDialect().analyzeBlock( context,
+ accumDescr,
+ accumDescr.getActionCode() );
+ final Dialect.AnalysisResult analysis3 = context.getDialect().analyzeExpression( context,
+ accumDescr,
+ accumDescr.getResultCode() );
- final List requiredDeclarations = new ArrayList( usedIdentifiers1[0] );
- requiredDeclarations.addAll( usedIdentifiers2[0] );
- requiredDeclarations.addAll( usedIdentifiers3[0] );
+ final List requiredDeclarations = new ArrayList( analysis1.getBoundIdentifiers()[0] );
+ requiredDeclarations.addAll( analysis2.getBoundIdentifiers()[0] );
+ requiredDeclarations.addAll( analysis3.getBoundIdentifiers()[0] );
- final List requiredGlobals = new ArrayList( usedIdentifiers1[1] );
- requiredGlobals.addAll( usedIdentifiers2[1] );
- requiredGlobals.addAll( usedIdentifiers3[1] );
+ final List requiredGlobals = new ArrayList( analysis1.getBoundIdentifiers()[1] );
+ requiredGlobals.addAll( analysis2.getBoundIdentifiers()[1] );
+ requiredGlobals.addAll( analysis3.getBoundIdentifiers()[1] );
final Declaration[] declarations = new Declaration[requiredDeclarations.size()];
for ( int i = 0, size = requiredDeclarations.size(); i < size; i++ ) {
@@ -95,18 +103,36 @@
final String[] globals = (String[]) requiredGlobals.toArray( new String[requiredGlobals.size()] );
final Map map = createVariableContext( className,
- null,
- context,
- declarations,
- null,
- globals );
+ null,
+ context,
+ declarations,
+ null,
+ globals );
+ map.put( "className",
+ accumDescr.getClassName() );
map.put( "innerDeclarations",
sourceDeclArr );
- final String initCode = accumDescr.getInitCode();
+ final String initCode = this.fixInitCode( analysis1,
+ accumDescr.getInitCode() );
final String actionCode = accumDescr.getActionCode();
final String resultCode = accumDescr.getResultCode();
+
+ String[] attributesTypes = new String[analysis1.getLocalVariablesMap().size()];
+ String[] attributes = new String[analysis1.getLocalVariablesMap().size()];
+ int index = 0;
+ for ( Iterator it = analysis1.getLocalVariablesMap().entrySet().iterator(); it.hasNext(); ) {
+ Map.Entry entry = (Map.Entry) it.next();
+ attributes[index] = (String) entry.getKey();
+ attributesTypes[index] = ((JavaLocalDeclarationDescr) entry.getValue()).getType();
+ }
+
+ map.put( "attributes",
+ attributes );
+ map.put( "attributesTypes",
+ attributesTypes );
+
map.put( "initCode",
initCode );
map.put( "actionCode",
@@ -133,7 +159,7 @@
declarations,
sourceDeclArr );
- generatTemplates( "accumulateMethod",
+ generatTemplates( "accumulateInnerClass",
"accumulateInvoker",
context,
className,
@@ -144,4 +170,44 @@
return accumulate;
}
+ protected String fixInitCode(JavaAnalysisResult analysis,
+ final String originalCode) {
+ TreeSet locals = new TreeSet( new Comparator() {
+ public int compare(Object o1,
+ Object o2) {
+ JavaLocalDeclarationDescr d1 = (JavaLocalDeclarationDescr) o1;
+ JavaLocalDeclarationDescr d2 = (JavaLocalDeclarationDescr) o2;
+ return d1.getStart() - d2.getStart();
+ }
+ } );
+
+ for ( Iterator it = analysis.getLocalVariablesMap().values().iterator(); it.hasNext(); ) {
+ locals.add( it.next() );
+ }
+
+ StringBuffer initCode = new StringBuffer();
+ int lastAdded = 0;
+ for ( Iterator it = locals.iterator(); it.hasNext(); ) {
+ JavaLocalDeclarationDescr d = (JavaLocalDeclarationDescr) it.next();
+ // adding chunk
+ initCode.append( originalCode.substring( lastAdded,
+ d.getStart() ) );
+ lastAdded = d.getEnd();
+ // adding variable initializations
+ for ( Iterator vars = d.getIdentifiers().iterator(); vars.hasNext(); ) {
+ JavaLocalDeclarationDescr.IdentifierDescr id = (JavaLocalDeclarationDescr.IdentifierDescr) vars.next();
+ initCode.append( originalCode.substring( id.getStart(),
+ id.getEnd() ) );
+ initCode.append( ";" );
+ lastAdded = id.getEnd();
+ while ( lastAdded < originalCode.length() && (Character.isWhitespace( originalCode.charAt( lastAdded ) ) || originalCode.charAt( lastAdded ) == ';') ) {
+ lastAdded++;
+ }
+ }
+ }
+ initCode.append( originalCode.substring( lastAdded ) );
+
+ // TODO Auto-generated method stub
+ return initCode.toString();
+ }
}
Added: labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/JavaAnalysisResult.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/JavaAnalysisResult.java (rev 0)
+++ labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/JavaAnalysisResult.java 2007-06-19 23:25:34 UTC (rev 12695)
@@ -0,0 +1,71 @@
+/*
+ * Copyright 2006 JBoss Inc
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Created on Jun 18, 2007
+ */
+package org.drools.rule.builder.dialect.java;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+import java.util.Map;
+
+import org.drools.rule.builder.Dialect.AnalysisResult;
+import org.drools.rule.builder.dialect.java.parser.JavaLocalDeclarationDescr;
+
+/**
+ * An analysis result implementation for the java dialect
+ *
+ * @author etirelli
+ */
+public class JavaAnalysisResult implements AnalysisResult {
+ private static final List[] EMPTY_ARRAY_OF_LISTS = new List[0];
+
+ private List[] boundIdentifiers = EMPTY_ARRAY_OF_LISTS;
+ private List identifiers = Collections.EMPTY_LIST;
+ private Map localVariables = Collections.EMPTY_MAP;
+ private List notBoundedIdentifiers = Collections.EMPTY_LIST;
+
+ public List[] getBoundIdentifiers() {
+ return boundIdentifiers;
+ }
+ public void setBoundIdentifiers(List[] boundIdentifiers) {
+ this.boundIdentifiers = boundIdentifiers;
+ }
+ public List getIdentifiers() {
+ return identifiers;
+ }
+ public void setIdentifiers(List identifiers) {
+ this.identifiers = identifiers;
+ }
+ public List getLocalVariables() {
+ return new ArrayList( localVariables.keySet() );
+ }
+ public Map getLocalVariablesMap() {
+ return this.localVariables;
+ }
+ public void setLocalVariables(Map localVariables) {
+ this.localVariables = localVariables;
+ }
+ public void addLocalVariable( String identifier, JavaLocalDeclarationDescr descr ) {
+ this.localVariables.put( identifier, descr );
+ }
+ public List getNotBoundedIdentifiers() {
+ return notBoundedIdentifiers;
+ }
+ public void setNotBoundedIdentifiers(List notBoundedIdentifiers) {
+ this.notBoundedIdentifiers = notBoundedIdentifiers;
+ }
+}
Modified: labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/JavaConsequenceBuilder.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/JavaConsequenceBuilder.java 2007-06-19 17:44:42 UTC (rev 12694)
+++ labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/JavaConsequenceBuilder.java 2007-06-19 23:25:34 UTC (rev 12695)
@@ -24,6 +24,7 @@
import org.drools.lang.descr.RuleDescr;
import org.drools.rule.Declaration;
import org.drools.rule.builder.ConsequenceBuilder;
+import org.drools.rule.builder.Dialect;
import org.drools.rule.builder.RuleBuildContext;
import org.drools.spi.PatternExtractor;
@@ -46,11 +47,12 @@
final String className = "consequence";
final RuleDescr ruleDescr = context.getRuleDescr();
-
- final List[] usedIdentifiers = context.getDialect().getBlockIdentifiers( context,
- ruleDescr,
- (String) ruleDescr.getConsequence() );
+ Dialect.AnalysisResult analysis = context.getDialect().analyzeBlock( context,
+ ruleDescr,
+ (String) ruleDescr.getConsequence() );
+ final List[] usedIdentifiers = analysis.getBoundIdentifiers();
+
final Declaration[] declarations = new Declaration[usedIdentifiers[0].size()];
for ( int i = 0, size = usedIdentifiers[0].size(); i < size; i++ ) {
@@ -58,11 +60,11 @@
}
final Map map = createVariableContext( className,
- null,
- context,
- declarations,
- null,
- (String[]) usedIdentifiers[1].toArray( new String[usedIdentifiers[1].size()] ) );
+ null,
+ context,
+ declarations,
+ null,
+ (String[]) usedIdentifiers[1].toArray( new String[usedIdentifiers[1].size()] ) );
map.put( "text",
((JavaDialect) context.getDialect()).getKnowledgeHelperFixer().fix( (String) ruleDescr.getConsequence() ) );
Modified: labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/JavaDialect.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/JavaDialect.java 2007-06-19 17:44:42 UTC (rev 12694)
+++ labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/JavaDialect.java 2007-06-19 23:25:34 UTC (rev 12695)
@@ -58,6 +58,7 @@
import org.drools.rule.builder.RuleBuildContext;
import org.drools.rule.builder.RuleClassBuilder;
import org.drools.rule.builder.SalienceBuilder;
+import org.drools.rule.builder.dialect.java.parser.JavaLocalDeclarationDescr;
import org.drools.rule.builder.dialect.mvel.MVELFromBuilder;
import org.drools.rule.builder.dialect.mvel.MVELSalienceBuilder;
import org.eclipse.jdt.internal.compiler.impl.CompilerOptions;
@@ -68,17 +69,17 @@
private final static String EXPRESSION_DIALECT_NAME = "MVEL";
// builders
- private final PatternBuilder pattern = new PatternBuilder();
- private final QueryBuilder query = new QueryBuilder();
- private final SalienceBuilder salience = new MVELSalienceBuilder();
- private final JavaAccumulateBuilder accumulate = new JavaAccumulateBuilder();
- private final JavaEvalBuilder eval = new JavaEvalBuilder();
- private final JavaPredicateBuilder predicate = new JavaPredicateBuilder();
- private final JavaReturnValueBuilder returnValue = new JavaReturnValueBuilder();
- private final JavaConsequenceBuilder consequence = new JavaConsequenceBuilder();
- private final JavaRuleClassBuilder rule = new JavaRuleClassBuilder();
- private final MVELFromBuilder from = new MVELFromBuilder();
- private final JavaFunctionBuilder function = new JavaFunctionBuilder();
+ private final PatternBuilder pattern = new PatternBuilder();
+ private final QueryBuilder query = new QueryBuilder();
+ private final SalienceBuilder salience = new MVELSalienceBuilder();
+ private final JavaAccumulateBuilder accumulate = new JavaAccumulateBuilder();
+ private final JavaEvalBuilder eval = new JavaEvalBuilder();
+ private final JavaPredicateBuilder predicate = new JavaPredicateBuilder();
+ private final JavaReturnValueBuilder returnValue = new JavaReturnValueBuilder();
+ private final JavaConsequenceBuilder consequence = new JavaConsequenceBuilder();
+ private final JavaRuleClassBuilder rule = new JavaRuleClassBuilder();
+ private final MVELFromBuilder from = new MVELFromBuilder();
+ private final JavaFunctionBuilder function = new JavaFunctionBuilder();
//
private final KnowledgeHelperFixer knowledgeHelperFixer;
@@ -109,7 +110,7 @@
this.configuration = builder.getPackageBuilderConfiguration();
this.typeResolver = builder.getTypeResolver();
this.classFieldExtractorCache = builder.getClassFieldExtractorCache();
-
+
this.knowledgeHelperFixer = new KnowledgeHelperFixer();
this.typeFixer = new DeclarationTypeFixer();
this.analyzer = new JavaExprAnalyzer();
@@ -119,7 +120,7 @@
}
initBuilder();
-
+
loadCompiler();
}
@@ -127,7 +128,7 @@
// statically adding all builders to the map
// but in the future we can move that to a configuration
// if we want to
- this.builders = new HashMap();
+ this.builders = new HashMap();
this.builders.put( CollectDescr.class,
new CollectBuilder() );
@@ -151,7 +152,7 @@
this.builders.put( PatternDescr.class,
getPatternBuilder() );
-
+
this.builders.put( QueryDescr.class,
getQueryBuilder() );
@@ -200,41 +201,41 @@
public void setRuleClass(final String ruleClass) {
this.ruleClass = ruleClass;
}
-
+
public String getExpressionDialectName() {
return EXPRESSION_DIALECT_NAME;
}
- public List[] getExpressionIdentifiers(final RuleBuildContext context,
- final BaseDescr descr,
- final Object content) {
- List[] usedIdentifiers = null;
+ public AnalysisResult analyzeExpression(final RuleBuildContext context,
+ final BaseDescr descr,
+ final Object content) {
+ JavaAnalysisResult result = null;
try {
- usedIdentifiers = this.analyzer.analyzeExpression( (String) content,
- new Set[]{context.getDeclarationResolver().getDeclarations().keySet(), context.getPkg().getGlobals().keySet()} );
+ result = this.analyzer.analyzeExpression( (String) content,
+ new Set[]{context.getDeclarationResolver().getDeclarations().keySet(), context.getPkg().getGlobals().keySet()} );
} catch ( final Exception e ) {
context.getErrors().add( new RuleError( context.getRule(),
descr,
null,
"Unable to determine the used declarations" ) );
}
- return usedIdentifiers;
+ return result;
}
- public List[] getBlockIdentifiers(final RuleBuildContext context,
- final BaseDescr descr,
- final String text) {
- List[] usedIdentifiers = null;
+ public AnalysisResult analyzeBlock(final RuleBuildContext context,
+ final BaseDescr descr,
+ final String text) {
+ JavaAnalysisResult result = null;
try {
- usedIdentifiers = this.analyzer.analyzeBlock( text,
- new Set[]{context.getDeclarationResolver().getDeclarations().keySet(), context.getPkg().getGlobals().keySet()} );
+ result = this.analyzer.analyzeBlock( text,
+ new Set[]{context.getDeclarationResolver().getDeclarations().keySet(), context.getPkg().getGlobals().keySet()} );
} catch ( final Exception e ) {
context.getErrors().add( new RuleError( context.getRule(),
descr,
null,
"Unable to determine the used declarations" ) );
}
- return usedIdentifiers;
+ return result;
}
/**
@@ -275,14 +276,14 @@
public PatternBuilder getPatternBuilder() {
return this.pattern;
}
-
+
public QueryBuilder getQueryBuilder() {
return this.query;
}
-
+
public SalienceBuilder getSalienceBuilder() {
return this.salience;
- }
+ }
public AccumulateBuilder getAccumulateBuilder() {
return this.accumulate;
@@ -430,10 +431,10 @@
this.pkg.addFunction( functionDescr.getName() );
final String functionSrc = getFunctionBuilder().build( this.pkg,
- functionDescr,
- typeResolver,
- this.lineMappings,
- this.results );
+ functionDescr,
+ typeResolver,
+ this.lineMappings,
+ this.results );
addClassCompileTask( functionClassName,
functionDescr,
@@ -503,14 +504,14 @@
}
}
}
-
+
public void addImport(String importEntry) {
// we don't need to do anything here
}
-
+
public void addStaticImport(String staticImportEntry) {
// we don't need to do anything here
- }
+ }
public List getResults() {
return this.results;
Modified: labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/JavaEvalBuilder.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/JavaEvalBuilder.java 2007-06-19 17:44:42 UTC (rev 12694)
+++ labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/JavaEvalBuilder.java 2007-06-19 23:25:34 UTC (rev 12695)
@@ -26,6 +26,7 @@
import org.drools.rule.EvalCondition;
import org.drools.rule.Pattern;
import org.drools.rule.builder.ConditionalElementBuilder;
+import org.drools.rule.builder.Dialect;
import org.drools.rule.builder.RuleBuildContext;
/**
@@ -38,9 +39,11 @@
public ConditionalElement build(final RuleBuildContext context,
final BaseDescr descr) {
- return build(context, descr, null);
+ return build( context,
+ descr,
+ null );
}
-
+
/**
* Builds and returns an Eval Conditional Element
*
@@ -50,7 +53,7 @@
* @param descr The Eval Descriptor to build the eval conditional element from
*
* @return the Eval Conditional Element
- */
+ */
public ConditionalElement build(final RuleBuildContext context,
final BaseDescr descr,
final Pattern prefixPattern) {
@@ -61,9 +64,10 @@
evalDescr.setClassMethodName( className );
- final List[] usedIdentifiers = context.getDialect().getExpressionIdentifiers( context,
- evalDescr,
- evalDescr.getContent() );
+ Dialect.AnalysisResult analysis = context.getDialect().analyzeExpression( context,
+ evalDescr,
+ evalDescr.getContent() );
+ final List[] usedIdentifiers = analysis.getBoundIdentifiers();
final Declaration[] declarations = new Declaration[usedIdentifiers[0].size()];
for ( int i = 0, size = usedIdentifiers[0].size(); i < size; i++ ) {
@@ -73,11 +77,11 @@
final EvalCondition eval = new EvalCondition( declarations );
final Map map = createVariableContext( className,
- (String) evalDescr.getContent(),
- context,
- declarations,
- null,
- (String[]) usedIdentifiers[1].toArray( new String[usedIdentifiers[1].size()] ) );
+ (String) evalDescr.getContent(),
+ context,
+ declarations,
+ null,
+ (String[]) usedIdentifiers[1].toArray( new String[usedIdentifiers[1].size()] ) );
generatTemplates( "evalMethod",
"evalInvoker",
Modified: labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/JavaExprAnalyzer.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/JavaExprAnalyzer.java 2007-06-19 17:44:42 UTC (rev 12694)
+++ labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/JavaExprAnalyzer.java 2007-06-19 23:25:34 UTC (rev 12695)
@@ -17,6 +17,7 @@
*/
import java.util.ArrayList;
+import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
@@ -28,6 +29,7 @@
import org.antlr.runtime.RecognitionException;
import org.antlr.runtime.TokenStream;
import org.drools.rule.builder.dialect.java.parser.JavaLexer;
+import org.drools.rule.builder.dialect.java.parser.JavaLocalDeclarationDescr;
import org.drools.rule.builder.dialect.java.parser.JavaParser;
/**
@@ -63,21 +65,23 @@
* @throws RecognitionException
* If an error occurs in the parser.
*/
- public List[] analyzeExpression(final String expr,
- final Set[] availableIdentifiers) throws RecognitionException {
+ public JavaAnalysisResult analyzeExpression(final String expr,
+ final Set[] availableIdentifiers) throws RecognitionException {
final CharStream charStream = new ANTLRStringStream( expr );
final JavaLexer lexer = new JavaLexer( charStream );
final TokenStream tokenStream = new CommonTokenStream( lexer );
final JavaParser parser = new JavaParser( tokenStream );
parser.conditionalOrExpression();
-
- return analyze( parser.getIdentifiers(),
+
+ JavaAnalysisResult result = new JavaAnalysisResult();
+ result.setIdentifiers( parser.getIdentifiers() );
+ return analyze( result,
availableIdentifiers );
}
- public List[] analyzeBlock(final String expr,
- final Set[] availableIdentifiers) throws RecognitionException {
+ public JavaAnalysisResult analyzeBlock(final String expr,
+ final Set[] availableIdentifiers) throws RecognitionException {
final CharStream charStream = new ANTLRStringStream( "{" + expr + "}" );
final JavaLexer lexer = new JavaLexer( charStream );
final TokenStream tokenStream = new CommonTokenStream( lexer );
@@ -85,7 +89,18 @@
parser.block();
- return analyze( parser.getIdentifiers(),
+ JavaAnalysisResult result = new JavaAnalysisResult();
+ result.setIdentifiers( parser.getIdentifiers() );
+ result.setLocalVariables( new HashMap() );
+ for( Iterator it = parser.getLocalDeclarations().iterator(); it.hasNext(); ) {
+ JavaLocalDeclarationDescr descr = (JavaLocalDeclarationDescr) it.next();
+ for( Iterator identIt = descr.getIdentifiers().iterator(); identIt.hasNext(); ) {
+ JavaLocalDeclarationDescr.IdentifierDescr ident = (JavaLocalDeclarationDescr.IdentifierDescr) identIt.next();
+ result.addLocalVariable( ident.getIdentifier(), descr );
+ }
+ }
+
+ return analyze( result,
availableIdentifiers );
}
@@ -102,11 +117,12 @@
* @throws RecognitionException
* If an error occurs in the parser.
*/
- private List[] analyze(final List identifiers,
- final Set[] availableIdentifiers) throws RecognitionException {
+ private JavaAnalysisResult analyze(final JavaAnalysisResult result,
+ final Set[] availableIdentifiers) throws RecognitionException {
+ final List identifiers = result.getIdentifiers();
final Set notBound = new HashSet( identifiers );
- final List[] used = new List[availableIdentifiers.length + 1];
- for ( int i = 0, length = used.length; i < length - 1; i++ ) {
+ final List[] used = new List[availableIdentifiers.length];
+ for ( int i = 0, length = used.length; i < length; i++ ) {
used[i] = new ArrayList();
}
@@ -120,8 +136,9 @@
}
}
}
- used[used.length - 1] = new ArrayList( notBound );
+ result.setBoundIdentifiers( used );
+ result.setNotBoundedIdentifiers( new ArrayList( notBound ) );
- return used;
+ return result;
}
}
\ No newline at end of file
Modified: labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/parser/JavaLexer.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/parser/JavaLexer.java 2007-06-19 17:44:42 UTC (rev 12694)
+++ labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/parser/JavaLexer.java 2007-06-19 23:25:34 UTC (rev 12695)
@@ -1,4 +1,4 @@
-// $ANTLR 3.0 /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g 2007-06-14 12:26:45
+// $ANTLR 3.0 /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g 2007-06-19 10:28:05
package org.drools.rule.builder.dialect.java.parser;
@@ -1820,8 +1820,8 @@
public final void mHexLiteral() throws RecognitionException {
try {
int _type = HexLiteral;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:877:14: ( '0' ( 'x' | 'X' ) ( HexDigit )+ ( IntegerTypeSuffix )? )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:877:14: '0' ( 'x' | 'X' ) ( HexDigit )+ ( IntegerTypeSuffix )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:915:14: ( '0' ( 'x' | 'X' ) ( HexDigit )+ ( IntegerTypeSuffix )? )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:915:14: '0' ( 'x' | 'X' ) ( HexDigit )+ ( IntegerTypeSuffix )?
{
match('0');
if ( input.LA(1)=='X'||input.LA(1)=='x' ) {
@@ -1834,7 +1834,7 @@
recover(mse); throw mse;
}
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:877:28: ( HexDigit )+
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:915:28: ( HexDigit )+
int cnt1=0;
loop1:
do {
@@ -1848,7 +1848,7 @@
switch (alt1) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:877:28: HexDigit
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:915:28: HexDigit
{
mHexDigit();
@@ -1864,7 +1864,7 @@
cnt1++;
} while (true);
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:877:38: ( IntegerTypeSuffix )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:915:38: ( IntegerTypeSuffix )?
int alt2=2;
int LA2_0 = input.LA(1);
@@ -1873,7 +1873,7 @@
}
switch (alt2) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:877:38: IntegerTypeSuffix
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:915:38: IntegerTypeSuffix
{
mIntegerTypeSuffix();
@@ -1896,10 +1896,10 @@
public final void mDecimalLiteral() throws RecognitionException {
try {
int _type = DecimalLiteral;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:879:18: ( ( '0' | '1' .. '9' ( '0' .. '9' )* ) ( IntegerTypeSuffix )? )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:879:18: ( '0' | '1' .. '9' ( '0' .. '9' )* ) ( IntegerTypeSuffix )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:917:18: ( ( '0' | '1' .. '9' ( '0' .. '9' )* ) ( IntegerTypeSuffix )? )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:917:18: ( '0' | '1' .. '9' ( '0' .. '9' )* ) ( IntegerTypeSuffix )?
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:879:18: ( '0' | '1' .. '9' ( '0' .. '9' )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:917:18: ( '0' | '1' .. '9' ( '0' .. '9' )* )
int alt4=2;
int LA4_0 = input.LA(1);
@@ -1911,23 +1911,23 @@
}
else {
NoViableAltException nvae =
- new NoViableAltException("879:18: ( '0' | '1' .. '9' ( '0' .. '9' )* )", 4, 0, input);
+ new NoViableAltException("917:18: ( '0' | '1' .. '9' ( '0' .. '9' )* )", 4, 0, input);
throw nvae;
}
switch (alt4) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:879:19: '0'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:917:19: '0'
{
match('0');
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:879:25: '1' .. '9' ( '0' .. '9' )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:917:25: '1' .. '9' ( '0' .. '9' )*
{
matchRange('1','9');
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:879:34: ( '0' .. '9' )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:917:34: ( '0' .. '9' )*
loop3:
do {
int alt3=2;
@@ -1940,7 +1940,7 @@
switch (alt3) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:879:34: '0' .. '9'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:917:34: '0' .. '9'
{
matchRange('0','9');
@@ -1958,7 +1958,7 @@
}
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:879:45: ( IntegerTypeSuffix )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:917:45: ( IntegerTypeSuffix )?
int alt5=2;
int LA5_0 = input.LA(1);
@@ -1967,7 +1967,7 @@
}
switch (alt5) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:879:45: IntegerTypeSuffix
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:917:45: IntegerTypeSuffix
{
mIntegerTypeSuffix();
@@ -1990,11 +1990,11 @@
public final void mOctalLiteral() throws RecognitionException {
try {
int _type = OctalLiteral;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:881:16: ( '0' ( '0' .. '7' )+ ( IntegerTypeSuffix )? )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:881:16: '0' ( '0' .. '7' )+ ( IntegerTypeSuffix )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:919:16: ( '0' ( '0' .. '7' )+ ( IntegerTypeSuffix )? )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:919:16: '0' ( '0' .. '7' )+ ( IntegerTypeSuffix )?
{
match('0');
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:881:20: ( '0' .. '7' )+
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:919:20: ( '0' .. '7' )+
int cnt6=0;
loop6:
do {
@@ -2008,7 +2008,7 @@
switch (alt6) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:881:21: '0' .. '7'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:919:21: '0' .. '7'
{
matchRange('0','7');
@@ -2024,7 +2024,7 @@
cnt6++;
} while (true);
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:881:32: ( IntegerTypeSuffix )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:919:32: ( IntegerTypeSuffix )?
int alt7=2;
int LA7_0 = input.LA(1);
@@ -2033,7 +2033,7 @@
}
switch (alt7) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:881:32: IntegerTypeSuffix
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:919:32: IntegerTypeSuffix
{
mIntegerTypeSuffix();
@@ -2055,8 +2055,8 @@
// $ANTLR start HexDigit
public final void mHexDigit() throws RecognitionException {
try {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:884:12: ( ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:884:12: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:922:12: ( ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:922:12: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )
{
if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='F')||(input.LA(1)>='a' && input.LA(1)<='f') ) {
input.consume();
@@ -2080,8 +2080,8 @@
// $ANTLR start IntegerTypeSuffix
public final void mIntegerTypeSuffix() throws RecognitionException {
try {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:887:21: ( ( 'l' | 'L' ) )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:887:21: ( 'l' | 'L' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:925:21: ( ( 'l' | 'L' ) )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:925:21: ( 'l' | 'L' )
{
if ( input.LA(1)=='L'||input.LA(1)=='l' ) {
input.consume();
@@ -2106,14 +2106,14 @@
public final void mFloatingPointLiteral() throws RecognitionException {
try {
int _type = FloatingPointLiteral;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:890:9: ( ( '0' .. '9' )+ '.' ( '0' .. '9' )* ( Exponent )? ( FloatTypeSuffix )? | '.' ( '0' .. '9' )+ ( Exponent )? ( FloatTypeSuffix )? | ( '0' .. '9' )+ Exponent ( FloatTypeSuffix )? | ( '0' .. '9' )+ ( Exponent )? FloatTypeSuffix )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:928:9: ( ( '0' .. '9' )+ '.' ( '0' .. '9' )* ( Exponent )? ( FloatTypeSuffix )? | '.' ( '0' .. '9' )+ ( Exponent )? ( FloatTypeSuffix )? | ( '0' .. '9' )+ Exponent ( FloatTypeSuffix )? | ( '0' .. '9' )+ ( Exponent )? FloatTypeSuffix )
int alt19=4;
alt19 = dfa19.predict(input);
switch (alt19) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:890:9: ( '0' .. '9' )+ '.' ( '0' .. '9' )* ( Exponent )? ( FloatTypeSuffix )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:928:9: ( '0' .. '9' )+ '.' ( '0' .. '9' )* ( Exponent )? ( FloatTypeSuffix )?
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:890:9: ( '0' .. '9' )+
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:928:9: ( '0' .. '9' )+
int cnt8=0;
loop8:
do {
@@ -2127,7 +2127,7 @@
switch (alt8) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:890:10: '0' .. '9'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:928:10: '0' .. '9'
{
matchRange('0','9');
@@ -2144,7 +2144,7 @@
} while (true);
match('.');
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:890:25: ( '0' .. '9' )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:928:25: ( '0' .. '9' )*
loop9:
do {
int alt9=2;
@@ -2157,7 +2157,7 @@
switch (alt9) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:890:26: '0' .. '9'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:928:26: '0' .. '9'
{
matchRange('0','9');
@@ -2169,7 +2169,7 @@
}
} while (true);
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:890:37: ( Exponent )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:928:37: ( Exponent )?
int alt10=2;
int LA10_0 = input.LA(1);
@@ -2178,7 +2178,7 @@
}
switch (alt10) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:890:37: Exponent
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:928:37: Exponent
{
mExponent();
@@ -2187,7 +2187,7 @@
}
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:890:47: ( FloatTypeSuffix )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:928:47: ( FloatTypeSuffix )?
int alt11=2;
int LA11_0 = input.LA(1);
@@ -2196,7 +2196,7 @@
}
switch (alt11) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:890:47: FloatTypeSuffix
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:928:47: FloatTypeSuffix
{
mFloatTypeSuffix();
@@ -2209,10 +2209,10 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:891:9: '.' ( '0' .. '9' )+ ( Exponent )? ( FloatTypeSuffix )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:929:9: '.' ( '0' .. '9' )+ ( Exponent )? ( FloatTypeSuffix )?
{
match('.');
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:891:13: ( '0' .. '9' )+
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:929:13: ( '0' .. '9' )+
int cnt12=0;
loop12:
do {
@@ -2226,7 +2226,7 @@
switch (alt12) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:891:14: '0' .. '9'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:929:14: '0' .. '9'
{
matchRange('0','9');
@@ -2242,7 +2242,7 @@
cnt12++;
} while (true);
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:891:25: ( Exponent )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:929:25: ( Exponent )?
int alt13=2;
int LA13_0 = input.LA(1);
@@ -2251,7 +2251,7 @@
}
switch (alt13) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:891:25: Exponent
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:929:25: Exponent
{
mExponent();
@@ -2260,7 +2260,7 @@
}
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:891:35: ( FloatTypeSuffix )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:929:35: ( FloatTypeSuffix )?
int alt14=2;
int LA14_0 = input.LA(1);
@@ -2269,7 +2269,7 @@
}
switch (alt14) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:891:35: FloatTypeSuffix
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:929:35: FloatTypeSuffix
{
mFloatTypeSuffix();
@@ -2282,9 +2282,9 @@
}
break;
case 3 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:892:9: ( '0' .. '9' )+ Exponent ( FloatTypeSuffix )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:930:9: ( '0' .. '9' )+ Exponent ( FloatTypeSuffix )?
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:892:9: ( '0' .. '9' )+
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:930:9: ( '0' .. '9' )+
int cnt15=0;
loop15:
do {
@@ -2298,7 +2298,7 @@
switch (alt15) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:892:10: '0' .. '9'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:930:10: '0' .. '9'
{
matchRange('0','9');
@@ -2315,7 +2315,7 @@
} while (true);
mExponent();
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:892:30: ( FloatTypeSuffix )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:930:30: ( FloatTypeSuffix )?
int alt16=2;
int LA16_0 = input.LA(1);
@@ -2324,7 +2324,7 @@
}
switch (alt16) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:892:30: FloatTypeSuffix
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:930:30: FloatTypeSuffix
{
mFloatTypeSuffix();
@@ -2337,9 +2337,9 @@
}
break;
case 4 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:893:9: ( '0' .. '9' )+ ( Exponent )? FloatTypeSuffix
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:931:9: ( '0' .. '9' )+ ( Exponent )? FloatTypeSuffix
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:893:9: ( '0' .. '9' )+
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:931:9: ( '0' .. '9' )+
int cnt17=0;
loop17:
do {
@@ -2353,7 +2353,7 @@
switch (alt17) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:893:10: '0' .. '9'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:931:10: '0' .. '9'
{
matchRange('0','9');
@@ -2369,7 +2369,7 @@
cnt17++;
} while (true);
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:893:21: ( Exponent )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:931:21: ( Exponent )?
int alt18=2;
int LA18_0 = input.LA(1);
@@ -2378,7 +2378,7 @@
}
switch (alt18) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:893:21: Exponent
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:931:21: Exponent
{
mExponent();
@@ -2403,8 +2403,8 @@
// $ANTLR start Exponent
public final void mExponent() throws RecognitionException {
try {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:897:12: ( ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:897:12: ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:935:12: ( ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:935:12: ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+
{
if ( input.LA(1)=='E'||input.LA(1)=='e' ) {
input.consume();
@@ -2416,7 +2416,7 @@
recover(mse); throw mse;
}
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:897:22: ( '+' | '-' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:935:22: ( '+' | '-' )?
int alt20=2;
int LA20_0 = input.LA(1);
@@ -2443,7 +2443,7 @@
}
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:897:33: ( '0' .. '9' )+
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:935:33: ( '0' .. '9' )+
int cnt21=0;
loop21:
do {
@@ -2457,7 +2457,7 @@
switch (alt21) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:897:34: '0' .. '9'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:935:34: '0' .. '9'
{
matchRange('0','9');
@@ -2485,8 +2485,8 @@
// $ANTLR start FloatTypeSuffix
public final void mFloatTypeSuffix() throws RecognitionException {
try {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:900:19: ( ( 'f' | 'F' | 'd' | 'D' ) )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:900:19: ( 'f' | 'F' | 'd' | 'D' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:938:19: ( ( 'f' | 'F' | 'd' | 'D' ) )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:938:19: ( 'f' | 'F' | 'd' | 'D' )
{
if ( input.LA(1)=='D'||input.LA(1)=='F'||input.LA(1)=='d'||input.LA(1)=='f' ) {
input.consume();
@@ -2511,11 +2511,11 @@
public final void mCharacterLiteral() throws RecognitionException {
try {
int _type = CharacterLiteral;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:903:9: ( '\\'' ( EscapeSequence | ~ ( '\\'' | '\\\\' ) ) '\\'' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:903:9: '\\'' ( EscapeSequence | ~ ( '\\'' | '\\\\' ) ) '\\''
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:941:9: ( '\\'' ( EscapeSequence | ~ ( '\\'' | '\\\\' ) ) '\\'' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:941:9: '\\'' ( EscapeSequence | ~ ( '\\'' | '\\\\' ) ) '\\''
{
match('\'');
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:903:14: ( EscapeSequence | ~ ( '\\'' | '\\\\' ) )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:941:14: ( EscapeSequence | ~ ( '\\'' | '\\\\' ) )
int alt22=2;
int LA22_0 = input.LA(1);
@@ -2527,20 +2527,20 @@
}
else {
NoViableAltException nvae =
- new NoViableAltException("903:14: ( EscapeSequence | ~ ( '\\'' | '\\\\' ) )", 22, 0, input);
+ new NoViableAltException("941:14: ( EscapeSequence | ~ ( '\\'' | '\\\\' ) )", 22, 0, input);
throw nvae;
}
switch (alt22) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:903:16: EscapeSequence
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:941:16: EscapeSequence
{
mEscapeSequence();
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:903:33: ~ ( '\\'' | '\\\\' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:941:33: ~ ( '\\'' | '\\\\' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
input.consume();
@@ -2573,11 +2573,11 @@
public final void mStringLiteral() throws RecognitionException {
try {
int _type = StringLiteral;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:907:8: ( '\"' ( EscapeSequence | ~ ( '\\\\' | '\"' ) )* '\"' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:907:8: '\"' ( EscapeSequence | ~ ( '\\\\' | '\"' ) )* '\"'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:945:8: ( '\"' ( EscapeSequence | ~ ( '\\\\' | '\"' ) )* '\"' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:945:8: '\"' ( EscapeSequence | ~ ( '\\\\' | '\"' ) )* '\"'
{
match('\"');
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:907:12: ( EscapeSequence | ~ ( '\\\\' | '\"' ) )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:945:12: ( EscapeSequence | ~ ( '\\\\' | '\"' ) )*
loop23:
do {
int alt23=3;
@@ -2593,14 +2593,14 @@
switch (alt23) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:907:14: EscapeSequence
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:945:14: EscapeSequence
{
mEscapeSequence();
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:907:31: ~ ( '\\\\' | '\"' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:945:31: ~ ( '\\\\' | '\"' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) {
input.consume();
@@ -2635,7 +2635,7 @@
// $ANTLR start EscapeSequence
public final void mEscapeSequence() throws RecognitionException {
try {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:912:9: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | UnicodeEscape | OctalEscape )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:950:9: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | UnicodeEscape | OctalEscape )
int alt24=3;
int LA24_0 = input.LA(1);
@@ -2672,7 +2672,7 @@
break;
default:
NoViableAltException nvae =
- new NoViableAltException("910:1: fragment EscapeSequence : ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | UnicodeEscape | OctalEscape );", 24, 1, input);
+ new NoViableAltException("948:1: fragment EscapeSequence : ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | UnicodeEscape | OctalEscape );", 24, 1, input);
throw nvae;
}
@@ -2680,13 +2680,13 @@
}
else {
NoViableAltException nvae =
- new NoViableAltException("910:1: fragment EscapeSequence : ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | UnicodeEscape | OctalEscape );", 24, 0, input);
+ new NoViableAltException("948:1: fragment EscapeSequence : ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | UnicodeEscape | OctalEscape );", 24, 0, input);
throw nvae;
}
switch (alt24) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:912:9: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:950:9: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
{
match('\\');
if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
@@ -2703,14 +2703,14 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:913:9: UnicodeEscape
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:951:9: UnicodeEscape
{
mUnicodeEscape();
}
break;
case 3 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:914:9: OctalEscape
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:952:9: OctalEscape
{
mOctalEscape();
@@ -2727,7 +2727,7 @@
// $ANTLR start OctalEscape
public final void mOctalEscape() throws RecognitionException {
try {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:919:9: ( '\\\\' ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:957:9: ( '\\\\' ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) )
int alt25=3;
int LA25_0 = input.LA(1);
@@ -2760,38 +2760,38 @@
}
else {
NoViableAltException nvae =
- new NoViableAltException("917:1: fragment OctalEscape : ( '\\\\' ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) );", 25, 1, input);
+ new NoViableAltException("955:1: fragment OctalEscape : ( '\\\\' ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) );", 25, 1, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("917:1: fragment OctalEscape : ( '\\\\' ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) );", 25, 0, input);
+ new NoViableAltException("955:1: fragment OctalEscape : ( '\\\\' ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) );", 25, 0, input);
throw nvae;
}
switch (alt25) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:919:9: '\\\\' ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:957:9: '\\\\' ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' )
{
match('\\');
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:919:14: ( '0' .. '3' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:919:15: '0' .. '3'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:957:14: ( '0' .. '3' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:957:15: '0' .. '3'
{
matchRange('0','3');
}
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:919:25: ( '0' .. '7' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:919:26: '0' .. '7'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:957:25: ( '0' .. '7' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:957:26: '0' .. '7'
{
matchRange('0','7');
}
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:919:36: ( '0' .. '7' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:919:37: '0' .. '7'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:957:36: ( '0' .. '7' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:957:37: '0' .. '7'
{
matchRange('0','7');
@@ -2801,18 +2801,18 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:920:9: '\\\\' ( '0' .. '7' ) ( '0' .. '7' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:958:9: '\\\\' ( '0' .. '7' ) ( '0' .. '7' )
{
match('\\');
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:920:14: ( '0' .. '7' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:920:15: '0' .. '7'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:958:14: ( '0' .. '7' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:958:15: '0' .. '7'
{
matchRange('0','7');
}
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:920:25: ( '0' .. '7' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:920:26: '0' .. '7'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:958:25: ( '0' .. '7' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:958:26: '0' .. '7'
{
matchRange('0','7');
@@ -2822,11 +2822,11 @@
}
break;
case 3 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:921:9: '\\\\' ( '0' .. '7' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:959:9: '\\\\' ( '0' .. '7' )
{
match('\\');
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:921:14: ( '0' .. '7' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:921:15: '0' .. '7'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:959:14: ( '0' .. '7' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:959:15: '0' .. '7'
{
matchRange('0','7');
@@ -2846,8 +2846,8 @@
// $ANTLR start UnicodeEscape
public final void mUnicodeEscape() throws RecognitionException {
try {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:926:9: ( '\\\\' 'u' HexDigit HexDigit HexDigit HexDigit )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:926:9: '\\\\' 'u' HexDigit HexDigit HexDigit HexDigit
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:964:9: ( '\\\\' 'u' HexDigit HexDigit HexDigit HexDigit )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:964:9: '\\\\' 'u' HexDigit HexDigit HexDigit HexDigit
{
match('\\');
match('u');
@@ -2868,8 +2868,8 @@
public final void mENUM() throws RecognitionException {
try {
int _type = ENUM;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:929:7: ( 'enum' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:929:7: 'enum'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:967:7: ( 'enum' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:967:7: 'enum'
{
match("enum");
@@ -2888,11 +2888,11 @@
public final void mIdentifier() throws RecognitionException {
try {
int _type = Identifier;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:933:9: ( Letter ( Letter | JavaIDDigit )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:933:9: Letter ( Letter | JavaIDDigit )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:971:9: ( Letter ( Letter | JavaIDDigit )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:971:9: Letter ( Letter | JavaIDDigit )*
{
mLetter();
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:933:16: ( Letter | JavaIDDigit )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:971:16: ( Letter | JavaIDDigit )*
loop26:
do {
int alt26=2;
@@ -2939,7 +2939,7 @@
// $ANTLR start Letter
public final void mLetter() throws RecognitionException {
try {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:941:8: ( '\\u0024' | '\\u0041' .. '\\u005a' | '\\u005f' | '\\u0061' .. '\\u007a' | '\\u00c0' .. '\\u00d6' | '\\u00d8' .. '\\u00f6' | '\\u00f8' .. '\\u00ff' | '\\u0100' .. '\\u1fff' | '\\u3040' .. '\\u318f' | '\\u3300' .. '\\u337f' | '\\u3400' .. '\\u3d2d' | '\\u4e00' .. '\\u9fff' | '\\uf900' .. '\\ufaff' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:979:8: ( '\\u0024' | '\\u0041' .. '\\u005a' | '\\u005f' | '\\u0061' .. '\\u007a' | '\\u00c0' .. '\\u00d6' | '\\u00d8' .. '\\u00f6' | '\\u00f8' .. '\\u00ff' | '\\u0100' .. '\\u1fff' | '\\u3040' .. '\\u318f' | '\\u3300' .. '\\u337f' | '\\u3400' .. '\\u3d2d' | '\\u4e00' .. '\\u9fff' | '\\uf900' .. '\\ufaff' )
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:
{
if ( input.LA(1)=='$'||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z')||(input.LA(1)>='\u00C0' && input.LA(1)<='\u00D6')||(input.LA(1)>='\u00D8' && input.LA(1)<='\u00F6')||(input.LA(1)>='\u00F8' && input.LA(1)<='\u1FFF')||(input.LA(1)>='\u3040' && input.LA(1)<='\u318F')||(input.LA(1)>='\u3300' && input.LA(1)<='\u337F')||(input.LA(1)>='\u3400' && input.LA(1)<='\u3D2D')||(input.LA(1)>='\u4E00' && input.LA(1)<='\u9FFF')||(input.LA(1)>='\uF900' && input.LA(1)<='\uFAFF') ) {
@@ -2964,7 +2964,7 @@
// $ANTLR start JavaIDDigit
public final void mJavaIDDigit() throws RecognitionException {
try {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:958:8: ( '\\u0030' .. '\\u0039' | '\\u0660' .. '\\u0669' | '\\u06f0' .. '\\u06f9' | '\\u0966' .. '\\u096f' | '\\u09e6' .. '\\u09ef' | '\\u0a66' .. '\\u0a6f' | '\\u0ae6' .. '\\u0aef' | '\\u0b66' .. '\\u0b6f' | '\\u0be7' .. '\\u0bef' | '\\u0c66' .. '\\u0c6f' | '\\u0ce6' .. '\\u0cef' | '\\u0d66' .. '\\u0d6f' | '\\u0e50' .. '\\u0e59' | '\\u0ed0' .. '\\u0ed9' | '\\u1040' .. '\\u1049' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:996:8: ( '\\u0030' .. '\\u0039' | '\\u0660' .. '\\u0669' | '\\u06f0' .. '\\u06f9' | '\\u0966' .. '\\u096f' | '\\u09e6' .. '\\u09ef' | '\\u0a66' .. '\\u0a6f' | '\\u0ae6' .. '\\u0aef' | '\\u0b66' .. '\\u0b6f' | '\\u0be7' .. '\\u0bef' | '\\u0c66' .. '\\u0c6f' | '\\u0ce6' .. '\\u0cef' | '\\u0d66' .. '\\u0d6f' | '\\u0e50' .. '\\u0e59' | '\\u0ed0' .. '\\u0ed9' | '\\u1040' .. '\\u1049' )
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:
{
if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='\u0660' && input.LA(1)<='\u0669')||(input.LA(1)>='\u06F0' && input.LA(1)<='\u06F9')||(input.LA(1)>='\u0966' && input.LA(1)<='\u096F')||(input.LA(1)>='\u09E6' && input.LA(1)<='\u09EF')||(input.LA(1)>='\u0A66' && input.LA(1)<='\u0A6F')||(input.LA(1)>='\u0AE6' && input.LA(1)<='\u0AEF')||(input.LA(1)>='\u0B66' && input.LA(1)<='\u0B6F')||(input.LA(1)>='\u0BE7' && input.LA(1)<='\u0BEF')||(input.LA(1)>='\u0C66' && input.LA(1)<='\u0C6F')||(input.LA(1)>='\u0CE6' && input.LA(1)<='\u0CEF')||(input.LA(1)>='\u0D66' && input.LA(1)<='\u0D6F')||(input.LA(1)>='\u0E50' && input.LA(1)<='\u0E59')||(input.LA(1)>='\u0ED0' && input.LA(1)<='\u0ED9')||(input.LA(1)>='\u1040' && input.LA(1)<='\u1049') ) {
@@ -2990,8 +2990,8 @@
public final void mWS() throws RecognitionException {
try {
int _type = WS;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:975:8: ( ( ' ' | '\\r' | '\\t' | '\\u000C' | '\\n' ) )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:975:8: ( ' ' | '\\r' | '\\t' | '\\u000C' | '\\n' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1013:8: ( ( ' ' | '\\r' | '\\t' | '\\u000C' | '\\n' ) )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1013:8: ( ' ' | '\\r' | '\\t' | '\\u000C' | '\\n' )
{
if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||(input.LA(1)>='\f' && input.LA(1)<='\r')||input.LA(1)==' ' ) {
input.consume();
@@ -3018,12 +3018,12 @@
public final void mCOMMENT() throws RecognitionException {
try {
int _type = COMMENT;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:979:9: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:979:9: '/*' ( options {greedy=false; } : . )* '*/'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1017:9: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1017:9: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:979:14: ( options {greedy=false; } : . )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1017:14: ( options {greedy=false; } : . )*
loop27:
do {
int alt27=2;
@@ -3048,7 +3048,7 @@
switch (alt27) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:979:42: .
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1017:42: .
{
matchAny();
@@ -3077,12 +3077,12 @@
public final void mLINE_COMMENT() throws RecognitionException {
try {
int _type = LINE_COMMENT;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:983:7: ( '//' (~ ( '\\n' | '\\r' ) )* ( '\\r' )? '\\n' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:983:7: '//' (~ ( '\\n' | '\\r' ) )* ( '\\r' )? '\\n'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1021:7: ( '//' (~ ( '\\n' | '\\r' ) )* ( '\\r' )? '\\n' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1021:7: '//' (~ ( '\\n' | '\\r' ) )* ( '\\r' )? '\\n'
{
match("//");
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:983:12: (~ ( '\\n' | '\\r' ) )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1021:12: (~ ( '\\n' | '\\r' ) )*
loop28:
do {
int alt28=2;
@@ -3095,7 +3095,7 @@
switch (alt28) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:983:12: ~ ( '\\n' | '\\r' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1021:12: ~ ( '\\n' | '\\r' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFE') ) {
input.consume();
@@ -3116,7 +3116,7 @@
}
} while (true);
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:983:26: ( '\\r' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1021:26: ( '\\r' )?
int alt29=2;
int LA29_0 = input.LA(1);
@@ -3125,7 +3125,7 @@
}
switch (alt29) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:983:26: '\\r'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1021:26: '\\r'
{
match('\r');
@@ -3921,7 +3921,7 @@
this.transition = DFA19_transition;
}
public String getDescription() {
- return "889:1: FloatingPointLiteral : ( ( '0' .. '9' )+ '.' ( '0' .. '9' )* ( Exponent )? ( FloatTypeSuffix )? | '.' ( '0' .. '9' )+ ( Exponent )? ( FloatTypeSuffix )? | ( '0' .. '9' )+ Exponent ( FloatTypeSuffix )? | ( '0' .. '9' )+ ( Exponent )? FloatTypeSuffix );";
+ return "927:1: FloatingPointLiteral : ( ( '0' .. '9' )+ '.' ( '0' .. '9' )* ( Exponent )? ( FloatTypeSuffix )? | '.' ( '0' .. '9' )+ ( Exponent )? ( FloatTypeSuffix )? | ( '0' .. '9' )+ Exponent ( FloatTypeSuffix )? | ( '0' .. '9' )+ ( Exponent )? FloatTypeSuffix );";
}
}
static final String DFA30_eotS =
Added: labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/parser/JavaLocalDeclarationDescr.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/parser/JavaLocalDeclarationDescr.java (rev 0)
+++ labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/parser/JavaLocalDeclarationDescr.java 2007-06-19 23:25:34 UTC (rev 12695)
@@ -0,0 +1,137 @@
+/*
+ * Copyright 2006 JBoss Inc
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Created on Jun 18, 2007
+ */
+package org.drools.rule.builder.dialect.java.parser;
+
+import java.util.LinkedList;
+import java.util.List;
+
+/**
+ * A descriptor class for a local variable declaration in a java code block
+ *
+ * @author etirelli
+ */
+public class JavaLocalDeclarationDescr {
+ private int start;
+ private int end;
+ private String type;
+ private List modifiers;
+ private List identifiers;
+
+ public JavaLocalDeclarationDescr() {
+ this( -1, -1, "" );
+ }
+
+ public JavaLocalDeclarationDescr( int start, int end, String type ) {
+ this.start = start;
+ this.end = end;
+ this.type = type;
+ this.modifiers = new LinkedList();
+ this.identifiers = new LinkedList();
+ }
+
+ public int getEnd() {
+ return end;
+ }
+
+ public void setEnd(int finalOffset) {
+ this.end = finalOffset;
+ }
+
+ public List getIdentifiers() {
+ return identifiers;
+ }
+
+ public void setIdentifiers(List identifiers) {
+ this.identifiers = identifiers;
+ }
+
+ public void addIdentifier(IdentifierDescr identifier) {
+ this.identifiers.add( identifier );
+ }
+ public void addIdentifier(String identifier, int start, int end) {
+ this.identifiers.add( new IdentifierDescr( identifier, start, end ) );
+ }
+
+ public List getModifiers() {
+ return modifiers;
+ }
+
+ public void setModifiers(List modifiers) {
+ this.modifiers = modifiers;
+ }
+
+ public void addModifier(String modifier) {
+ this.modifiers.add( modifier );
+ }
+
+ public int getStart() {
+ return start;
+ }
+
+ public void setStart(int startingOffset) {
+ this.start = startingOffset;
+ }
+
+ public void updateStart( int start ) {
+ if( this.start == -1 ) {
+ this.setStart( start );
+ }
+ }
+
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public static class IdentifierDescr {
+ private String identifier;
+ private int start;
+ private int end;
+
+ public IdentifierDescr() {
+ this( "", -1, -1 );
+ }
+ public IdentifierDescr( String identifier, int start, int end ) {
+ this.identifier = identifier;
+ this.start = start;
+ this.end = end;
+ }
+ public int getEnd() {
+ return end;
+ }
+ public void setEnd(int end) {
+ this.end = end;
+ }
+ public String getIdentifier() {
+ return identifier;
+ }
+ public void setIdentifier(String identifier) {
+ this.identifier = identifier;
+ }
+ public int getStart() {
+ return start;
+ }
+ public void setStart(int start) {
+ this.start = start;
+ }
+ }
+
+}
Modified: labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/parser/JavaParser.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/parser/JavaParser.java 2007-06-19 17:44:42 UTC (rev 12694)
+++ labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/parser/JavaParser.java 2007-06-19 23:25:34 UTC (rev 12695)
@@ -1,4 +1,4 @@
-// $ANTLR 3.0 /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g 2007-06-14 12:26:44
+// $ANTLR 3.0 /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g 2007-06-19 10:28:04
package org.drools.rule.builder.dialect.java.parser;
import java.util.Iterator;
@@ -124,6 +124,8 @@
private List identifiers = new ArrayList();
public List getIdentifiers() { return identifiers; }
+ private List localDeclarations = new ArrayList();
+ public List getLocalDeclarations() { return localDeclarations; }
public static final CommonToken IGNORE_TOKEN = new CommonToken(null,0,99,0,0);
private List errors = new ArrayList();
@@ -183,7 +185,7 @@
else if ( e instanceof MismatchedTreeNodeException ) {
MismatchedTreeNodeException mtne = (MismatchedTreeNodeException)e;
message.append("mismatched tree node: "+
- mtne.token.getText()+
+ mtne.node+
"; expecting type "+
tokenNames[mtne.expecting]);
}
@@ -228,15 +230,15 @@
// $ANTLR start compilationUnit
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:201:1: compilationUnit : ( annotations )? ( packageDeclaration )? ( importDeclaration )* ( typeDeclaration )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:203:1: compilationUnit : ( annotations )? ( packageDeclaration )? ( importDeclaration )* ( typeDeclaration )* ;
public final void compilationUnit() throws RecognitionException {
int compilationUnit_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 1) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:202:4: ( ( annotations )? ( packageDeclaration )? ( importDeclaration )* ( typeDeclaration )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:202:4: ( annotations )? ( packageDeclaration )? ( importDeclaration )* ( typeDeclaration )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:204:4: ( ( annotations )? ( packageDeclaration )? ( importDeclaration )* ( typeDeclaration )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:204:4: ( annotations )? ( packageDeclaration )? ( importDeclaration )* ( typeDeclaration )*
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:202:4: ( annotations )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:204:4: ( annotations )?
int alt1=2;
int LA1_0 = input.LA(1);
@@ -265,7 +267,7 @@
}
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:203:3: ( packageDeclaration )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:205:3: ( packageDeclaration )?
int alt2=2;
int LA2_0 = input.LA(1);
@@ -286,7 +288,7 @@
}
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:204:9: ( importDeclaration )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:206:9: ( importDeclaration )*
loop3:
do {
int alt3=2;
@@ -314,7 +316,7 @@
}
} while (true);
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:205:9: ( typeDeclaration )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:207:9: ( typeDeclaration )*
loop4:
do {
int alt4=2;
@@ -359,13 +361,13 @@
// $ANTLR start packageDeclaration
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:208:1: packageDeclaration : 'package' qualifiedName ';' ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:210:1: packageDeclaration : 'package' qualifiedName ';' ;
public final void packageDeclaration() throws RecognitionException {
int packageDeclaration_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 2) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:209:4: ( 'package' qualifiedName ';' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:209:4: 'package' qualifiedName ';'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:211:4: ( 'package' qualifiedName ';' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:211:4: 'package' qualifiedName ';'
{
match(input,24,FOLLOW_24_in_packageDeclaration109); if (failed) return ;
pushFollow(FOLLOW_qualifiedName_in_packageDeclaration111);
@@ -390,16 +392,16 @@
// $ANTLR start importDeclaration
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:212:1: importDeclaration : 'import' ( 'static' )? Identifier ( '.' Identifier )* ( '.' '*' )? ';' ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:214:1: importDeclaration : 'import' ( 'static' )? Identifier ( '.' Identifier )* ( '.' '*' )? ';' ;
public final void importDeclaration() throws RecognitionException {
int importDeclaration_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 3) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:213:4: ( 'import' ( 'static' )? Identifier ( '.' Identifier )* ( '.' '*' )? ';' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:213:4: 'import' ( 'static' )? Identifier ( '.' Identifier )* ( '.' '*' )? ';'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:215:4: ( 'import' ( 'static' )? Identifier ( '.' Identifier )* ( '.' '*' )? ';' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:215:4: 'import' ( 'static' )? Identifier ( '.' Identifier )* ( '.' '*' )? ';'
{
match(input,26,FOLLOW_26_in_importDeclaration125); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:213:13: ( 'static' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:215:13: ( 'static' )?
int alt5=2;
int LA5_0 = input.LA(1);
@@ -418,7 +420,7 @@
}
match(input,Identifier,FOLLOW_Identifier_in_importDeclaration130); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:213:34: ( '.' Identifier )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:215:34: ( '.' Identifier )*
loop6:
do {
int alt6=2;
@@ -437,7 +439,7 @@
switch (alt6) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:213:35: '.' Identifier
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:215:35: '.' Identifier
{
match(input,28,FOLLOW_28_in_importDeclaration133); if (failed) return ;
match(input,Identifier,FOLLOW_Identifier_in_importDeclaration135); if (failed) return ;
@@ -450,7 +452,7 @@
}
} while (true);
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:213:52: ( '.' '*' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:215:52: ( '.' '*' )?
int alt7=2;
int LA7_0 = input.LA(1);
@@ -459,7 +461,7 @@
}
switch (alt7) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:213:53: '.' '*'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:215:53: '.' '*'
{
match(input,28,FOLLOW_28_in_importDeclaration140); if (failed) return ;
match(input,29,FOLLOW_29_in_importDeclaration142); if (failed) return ;
@@ -487,12 +489,12 @@
// $ANTLR start typeDeclaration
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:216:1: typeDeclaration : ( classOrInterfaceDeclaration | ';' );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:218:1: typeDeclaration : ( classOrInterfaceDeclaration | ';' );
public final void typeDeclaration() throws RecognitionException {
int typeDeclaration_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 4) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:217:4: ( classOrInterfaceDeclaration | ';' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:219:4: ( classOrInterfaceDeclaration | ';' )
int alt8=2;
int LA8_0 = input.LA(1);
@@ -505,13 +507,13 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("216:1: typeDeclaration : ( classOrInterfaceDeclaration | ';' );", 8, 0, input);
+ new NoViableAltException("218:1: typeDeclaration : ( classOrInterfaceDeclaration | ';' );", 8, 0, input);
throw nvae;
}
switch (alt8) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:217:4: classOrInterfaceDeclaration
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:219:4: classOrInterfaceDeclaration
{
pushFollow(FOLLOW_classOrInterfaceDeclaration_in_typeDeclaration158);
classOrInterfaceDeclaration();
@@ -521,7 +523,7 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:218:9: ';'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:220:9: ';'
{
match(input,25,FOLLOW_25_in_typeDeclaration168); if (failed) return ;
@@ -543,15 +545,15 @@
// $ANTLR start classOrInterfaceDeclaration
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:221:1: classOrInterfaceDeclaration : ( modifier )* ( classDeclaration | interfaceDeclaration ) ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:223:1: classOrInterfaceDeclaration : ( modifier )* ( classDeclaration | interfaceDeclaration ) ;
public final void classOrInterfaceDeclaration() throws RecognitionException {
int classOrInterfaceDeclaration_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 5) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:222:4: ( ( modifier )* ( classDeclaration | interfaceDeclaration ) )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:222:4: ( modifier )* ( classDeclaration | interfaceDeclaration )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:224:4: ( ( modifier )* ( classDeclaration | interfaceDeclaration ) )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:224:4: ( modifier )* ( classDeclaration | interfaceDeclaration )
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:222:4: ( modifier )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:224:4: ( modifier )*
loop9:
do {
int alt9=2;
@@ -588,7 +590,7 @@
}
} while (true);
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:222:14: ( classDeclaration | interfaceDeclaration )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:224:14: ( classDeclaration | interfaceDeclaration )
int alt10=2;
int LA10_0 = input.LA(1);
@@ -601,13 +603,13 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("222:14: ( classDeclaration | interfaceDeclaration )", 10, 0, input);
+ new NoViableAltException("224:14: ( classDeclaration | interfaceDeclaration )", 10, 0, input);
throw nvae;
}
switch (alt10) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:222:15: classDeclaration
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:224:15: classDeclaration
{
pushFollow(FOLLOW_classDeclaration_in_classOrInterfaceDeclaration184);
classDeclaration();
@@ -617,7 +619,7 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:222:34: interfaceDeclaration
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:224:34: interfaceDeclaration
{
pushFollow(FOLLOW_interfaceDeclaration_in_classOrInterfaceDeclaration188);
interfaceDeclaration();
@@ -646,12 +648,12 @@
// $ANTLR start classDeclaration
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:225:1: classDeclaration : ( normalClassDeclaration | enumDeclaration );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:227:1: classDeclaration : ( normalClassDeclaration | enumDeclaration );
public final void classDeclaration() throws RecognitionException {
int classDeclaration_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 6) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:226:4: ( normalClassDeclaration | enumDeclaration )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:228:4: ( normalClassDeclaration | enumDeclaration )
int alt11=2;
int LA11_0 = input.LA(1);
@@ -664,13 +666,13 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("225:1: classDeclaration : ( normalClassDeclaration | enumDeclaration );", 11, 0, input);
+ new NoViableAltException("227:1: classDeclaration : ( normalClassDeclaration | enumDeclaration );", 11, 0, input);
throw nvae;
}
switch (alt11) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:226:4: normalClassDeclaration
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:228:4: normalClassDeclaration
{
pushFollow(FOLLOW_normalClassDeclaration_in_classDeclaration201);
normalClassDeclaration();
@@ -680,7 +682,7 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:227:9: enumDeclaration
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:229:9: enumDeclaration
{
pushFollow(FOLLOW_enumDeclaration_in_classDeclaration211);
enumDeclaration();
@@ -705,17 +707,17 @@
// $ANTLR start normalClassDeclaration
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:230:1: normalClassDeclaration : 'class' Identifier ( typeParameters )? ( 'extends' type )? ( 'implements' typeList )? classBody ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:232:1: normalClassDeclaration : 'class' Identifier ( typeParameters )? ( 'extends' type )? ( 'implements' typeList )? classBody ;
public final void normalClassDeclaration() throws RecognitionException {
int normalClassDeclaration_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 7) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:231:4: ( 'class' Identifier ( typeParameters )? ( 'extends' type )? ( 'implements' typeList )? classBody )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:231:4: 'class' Identifier ( typeParameters )? ( 'extends' type )? ( 'implements' typeList )? classBody
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:233:4: ( 'class' Identifier ( typeParameters )? ( 'extends' type )? ( 'implements' typeList )? classBody )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:233:4: 'class' Identifier ( typeParameters )? ( 'extends' type )? ( 'implements' typeList )? classBody
{
match(input,30,FOLLOW_30_in_normalClassDeclaration223); if (failed) return ;
match(input,Identifier,FOLLOW_Identifier_in_normalClassDeclaration225); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:231:23: ( typeParameters )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:233:23: ( typeParameters )?
int alt12=2;
int LA12_0 = input.LA(1);
@@ -724,7 +726,7 @@
}
switch (alt12) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:231:24: typeParameters
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:233:24: typeParameters
{
pushFollow(FOLLOW_typeParameters_in_normalClassDeclaration228);
typeParameters();
@@ -736,7 +738,7 @@
}
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:232:9: ( 'extends' type )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:234:9: ( 'extends' type )?
int alt13=2;
int LA13_0 = input.LA(1);
@@ -745,7 +747,7 @@
}
switch (alt13) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:232:10: 'extends' type
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:234:10: 'extends' type
{
match(input,31,FOLLOW_31_in_normalClassDeclaration241); if (failed) return ;
pushFollow(FOLLOW_type_in_normalClassDeclaration243);
@@ -758,7 +760,7 @@
}
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:233:9: ( 'implements' typeList )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:235:9: ( 'implements' typeList )?
int alt14=2;
int LA14_0 = input.LA(1);
@@ -767,7 +769,7 @@
}
switch (alt14) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:233:10: 'implements' typeList
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:235:10: 'implements' typeList
{
match(input,32,FOLLOW_32_in_normalClassDeclaration256); if (failed) return ;
pushFollow(FOLLOW_typeList_in_normalClassDeclaration258);
@@ -801,20 +803,20 @@
// $ANTLR start typeParameters
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:237:1: typeParameters : '<' typeParameter ( ',' typeParameter )* '>' ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:239:1: typeParameters : '<' typeParameter ( ',' typeParameter )* '>' ;
public final void typeParameters() throws RecognitionException {
int typeParameters_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 8) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:238:4: ( '<' typeParameter ( ',' typeParameter )* '>' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:238:4: '<' typeParameter ( ',' typeParameter )* '>'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:240:4: ( '<' typeParameter ( ',' typeParameter )* '>' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:240:4: '<' typeParameter ( ',' typeParameter )* '>'
{
match(input,33,FOLLOW_33_in_typeParameters282); if (failed) return ;
pushFollow(FOLLOW_typeParameter_in_typeParameters284);
typeParameter();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:238:22: ( ',' typeParameter )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:240:22: ( ',' typeParameter )*
loop15:
do {
int alt15=2;
@@ -827,7 +829,7 @@
switch (alt15) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:238:23: ',' typeParameter
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:240:23: ',' typeParameter
{
match(input,34,FOLLOW_34_in_typeParameters287); if (failed) return ;
pushFollow(FOLLOW_typeParameter_in_typeParameters289);
@@ -861,16 +863,16 @@
// $ANTLR start typeParameter
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:241:1: typeParameter : Identifier ( 'extends' bound )? ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:243:1: typeParameter : Identifier ( 'extends' bound )? ;
public final void typeParameter() throws RecognitionException {
int typeParameter_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 9) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:242:4: ( Identifier ( 'extends' bound )? )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:242:4: Identifier ( 'extends' bound )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:244:4: ( Identifier ( 'extends' bound )? )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:244:4: Identifier ( 'extends' bound )?
{
match(input,Identifier,FOLLOW_Identifier_in_typeParameter304); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:242:15: ( 'extends' bound )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:244:15: ( 'extends' bound )?
int alt16=2;
int LA16_0 = input.LA(1);
@@ -879,7 +881,7 @@
}
switch (alt16) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:242:16: 'extends' bound
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:244:16: 'extends' bound
{
match(input,31,FOLLOW_31_in_typeParameter307); if (failed) return ;
pushFollow(FOLLOW_bound_in_typeParameter309);
@@ -909,19 +911,19 @@
// $ANTLR start bound
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:245:1: bound : type ( '&' type )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:247:1: bound : type ( '&' type )* ;
public final void bound() throws RecognitionException {
int bound_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 10) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:246:4: ( type ( '&' type )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:246:4: type ( '&' type )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:248:4: ( type ( '&' type )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:248:4: type ( '&' type )*
{
pushFollow(FOLLOW_type_in_bound324);
type();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:246:9: ( '&' type )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:248:9: ( '&' type )*
loop17:
do {
int alt17=2;
@@ -934,7 +936,7 @@
switch (alt17) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:246:10: '&' type
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:248:10: '&' type
{
match(input,36,FOLLOW_36_in_bound327); if (failed) return ;
pushFollow(FOLLOW_type_in_bound329);
@@ -967,17 +969,17 @@
// $ANTLR start enumDeclaration
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:249:1: enumDeclaration : ENUM Identifier ( 'implements' typeList )? enumBody ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:251:1: enumDeclaration : ENUM Identifier ( 'implements' typeList )? enumBody ;
public final void enumDeclaration() throws RecognitionException {
int enumDeclaration_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 11) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:250:4: ( ENUM Identifier ( 'implements' typeList )? enumBody )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:250:4: ENUM Identifier ( 'implements' typeList )? enumBody
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:252:4: ( ENUM Identifier ( 'implements' typeList )? enumBody )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:252:4: ENUM Identifier ( 'implements' typeList )? enumBody
{
match(input,ENUM,FOLLOW_ENUM_in_enumDeclaration342); if (failed) return ;
match(input,Identifier,FOLLOW_Identifier_in_enumDeclaration344); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:250:20: ( 'implements' typeList )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:252:20: ( 'implements' typeList )?
int alt18=2;
int LA18_0 = input.LA(1);
@@ -986,7 +988,7 @@
}
switch (alt18) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:250:21: 'implements' typeList
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:252:21: 'implements' typeList
{
match(input,32,FOLLOW_32_in_enumDeclaration347); if (failed) return ;
pushFollow(FOLLOW_typeList_in_enumDeclaration349);
@@ -1020,16 +1022,16 @@
// $ANTLR start enumBody
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:253:1: enumBody : '{' ( enumConstants )? ( ',' )? ( enumBodyDeclarations )? '}' ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:255:1: enumBody : '{' ( enumConstants )? ( ',' )? ( enumBodyDeclarations )? '}' ;
public final void enumBody() throws RecognitionException {
int enumBody_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 12) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:254:4: ( '{' ( enumConstants )? ( ',' )? ( enumBodyDeclarations )? '}' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:254:4: '{' ( enumConstants )? ( ',' )? ( enumBodyDeclarations )? '}'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:256:4: ( '{' ( enumConstants )? ( ',' )? ( enumBodyDeclarations )? '}' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:256:4: '{' ( enumConstants )? ( ',' )? ( enumBodyDeclarations )? '}'
{
match(input,37,FOLLOW_37_in_enumBody365); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:254:8: ( enumConstants )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:256:8: ( enumConstants )?
int alt19=2;
int LA19_0 = input.LA(1);
@@ -1050,7 +1052,7 @@
}
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:254:23: ( ',' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:256:23: ( ',' )?
int alt20=2;
int LA20_0 = input.LA(1);
@@ -1068,7 +1070,7 @@
}
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:254:28: ( enumBodyDeclarations )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:256:28: ( enumBodyDeclarations )?
int alt21=2;
int LA21_0 = input.LA(1);
@@ -1107,19 +1109,19 @@
// $ANTLR start enumConstants
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:257:1: enumConstants : enumConstant ( ',' enumConstant )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:259:1: enumConstants : enumConstant ( ',' enumConstant )* ;
public final void enumConstants() throws RecognitionException {
int enumConstants_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 13) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:258:4: ( enumConstant ( ',' enumConstant )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:258:4: enumConstant ( ',' enumConstant )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:260:4: ( enumConstant ( ',' enumConstant )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:260:4: enumConstant ( ',' enumConstant )*
{
pushFollow(FOLLOW_enumConstant_in_enumConstants387);
enumConstant();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:258:17: ( ',' enumConstant )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:260:17: ( ',' enumConstant )*
loop22:
do {
int alt22=2;
@@ -1138,7 +1140,7 @@
switch (alt22) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:258:18: ',' enumConstant
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:260:18: ',' enumConstant
{
match(input,34,FOLLOW_34_in_enumConstants390); if (failed) return ;
pushFollow(FOLLOW_enumConstant_in_enumConstants392);
@@ -1171,15 +1173,15 @@
// $ANTLR start enumConstant
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:261:1: enumConstant : ( annotations )? Identifier ( arguments )? ( classBody )? ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:263:1: enumConstant : ( annotations )? Identifier ( arguments )? ( classBody )? ;
public final void enumConstant() throws RecognitionException {
int enumConstant_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 14) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:262:4: ( ( annotations )? Identifier ( arguments )? ( classBody )? )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:262:4: ( annotations )? Identifier ( arguments )? ( classBody )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:264:4: ( ( annotations )? Identifier ( arguments )? ( classBody )? )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:264:4: ( annotations )? Identifier ( arguments )? ( classBody )?
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:262:4: ( annotations )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:264:4: ( annotations )?
int alt23=2;
int LA23_0 = input.LA(1);
@@ -1201,7 +1203,7 @@
}
match(input,Identifier,FOLLOW_Identifier_in_enumConstant409); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:262:28: ( arguments )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:264:28: ( arguments )?
int alt24=2;
int LA24_0 = input.LA(1);
@@ -1210,7 +1212,7 @@
}
switch (alt24) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:262:29: arguments
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:264:29: arguments
{
pushFollow(FOLLOW_arguments_in_enumConstant412);
arguments();
@@ -1222,7 +1224,7 @@
}
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:262:41: ( classBody )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:264:41: ( classBody )?
int alt25=2;
int LA25_0 = input.LA(1);
@@ -1231,7 +1233,7 @@
}
switch (alt25) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:262:42: classBody
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:264:42: classBody
{
pushFollow(FOLLOW_classBody_in_enumConstant417);
classBody();
@@ -1260,16 +1262,16 @@
// $ANTLR start enumBodyDeclarations
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:265:1: enumBodyDeclarations : ';' ( classBodyDeclaration )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:267:1: enumBodyDeclarations : ';' ( classBodyDeclaration )* ;
public final void enumBodyDeclarations() throws RecognitionException {
int enumBodyDeclarations_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 15) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:266:4: ( ';' ( classBodyDeclaration )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:266:4: ';' ( classBodyDeclaration )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:268:4: ( ';' ( classBodyDeclaration )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:268:4: ';' ( classBodyDeclaration )*
{
match(input,25,FOLLOW_25_in_enumBodyDeclarations431); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:266:8: ( classBodyDeclaration )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:268:8: ( classBodyDeclaration )*
loop26:
do {
int alt26=2;
@@ -1282,7 +1284,7 @@
switch (alt26) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:266:9: classBodyDeclaration
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:268:9: classBodyDeclaration
{
pushFollow(FOLLOW_classBodyDeclaration_in_enumBodyDeclarations434);
classBodyDeclaration();
@@ -1314,12 +1316,12 @@
// $ANTLR start interfaceDeclaration
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:269:1: interfaceDeclaration : ( normalInterfaceDeclaration | annotationTypeDeclaration );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:271:1: interfaceDeclaration : ( normalInterfaceDeclaration | annotationTypeDeclaration );
public final void interfaceDeclaration() throws RecognitionException {
int interfaceDeclaration_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 16) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:270:4: ( normalInterfaceDeclaration | annotationTypeDeclaration )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:272:4: ( normalInterfaceDeclaration | annotationTypeDeclaration )
int alt27=2;
int LA27_0 = input.LA(1);
@@ -1332,13 +1334,13 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("269:1: interfaceDeclaration : ( normalInterfaceDeclaration | annotationTypeDeclaration );", 27, 0, input);
+ new NoViableAltException("271:1: interfaceDeclaration : ( normalInterfaceDeclaration | annotationTypeDeclaration );", 27, 0, input);
throw nvae;
}
switch (alt27) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:270:4: normalInterfaceDeclaration
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:272:4: normalInterfaceDeclaration
{
pushFollow(FOLLOW_normalInterfaceDeclaration_in_interfaceDeclaration448);
normalInterfaceDeclaration();
@@ -1348,7 +1350,7 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:271:5: annotationTypeDeclaration
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:273:5: annotationTypeDeclaration
{
pushFollow(FOLLOW_annotationTypeDeclaration_in_interfaceDeclaration454);
annotationTypeDeclaration();
@@ -1373,17 +1375,17 @@
// $ANTLR start normalInterfaceDeclaration
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:274:1: normalInterfaceDeclaration : 'interface' Identifier ( typeParameters )? ( 'extends' typeList )? interfaceBody ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:276:1: normalInterfaceDeclaration : 'interface' Identifier ( typeParameters )? ( 'extends' typeList )? interfaceBody ;
public final void normalInterfaceDeclaration() throws RecognitionException {
int normalInterfaceDeclaration_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 17) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:275:4: ( 'interface' Identifier ( typeParameters )? ( 'extends' typeList )? interfaceBody )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:275:4: 'interface' Identifier ( typeParameters )? ( 'extends' typeList )? interfaceBody
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:277:4: ( 'interface' Identifier ( typeParameters )? ( 'extends' typeList )? interfaceBody )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:277:4: 'interface' Identifier ( typeParameters )? ( 'extends' typeList )? interfaceBody
{
match(input,39,FOLLOW_39_in_normalInterfaceDeclaration466); if (failed) return ;
match(input,Identifier,FOLLOW_Identifier_in_normalInterfaceDeclaration468); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:275:27: ( typeParameters )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:277:27: ( typeParameters )?
int alt28=2;
int LA28_0 = input.LA(1);
@@ -1404,7 +1406,7 @@
}
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:275:43: ( 'extends' typeList )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:277:43: ( 'extends' typeList )?
int alt29=2;
int LA29_0 = input.LA(1);
@@ -1413,7 +1415,7 @@
}
switch (alt29) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:275:44: 'extends' typeList
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:277:44: 'extends' typeList
{
match(input,31,FOLLOW_31_in_normalInterfaceDeclaration474); if (failed) return ;
pushFollow(FOLLOW_typeList_in_normalInterfaceDeclaration476);
@@ -1447,19 +1449,19 @@
// $ANTLR start typeList
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:278:1: typeList : type ( ',' type )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:280:1: typeList : type ( ',' type )* ;
public final void typeList() throws RecognitionException {
int typeList_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 18) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:279:4: ( type ( ',' type )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:279:4: type ( ',' type )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:281:4: ( type ( ',' type )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:281:4: type ( ',' type )*
{
pushFollow(FOLLOW_type_in_typeList492);
type();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:279:9: ( ',' type )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:281:9: ( ',' type )*
loop30:
do {
int alt30=2;
@@ -1472,7 +1474,7 @@
switch (alt30) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:279:10: ',' type
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:281:10: ',' type
{
match(input,34,FOLLOW_34_in_typeList495); if (failed) return ;
pushFollow(FOLLOW_type_in_typeList497);
@@ -1505,16 +1507,16 @@
// $ANTLR start classBody
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:282:1: classBody : '{' ( classBodyDeclaration )* '}' ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:284:1: classBody : '{' ( classBodyDeclaration )* '}' ;
public final void classBody() throws RecognitionException {
int classBody_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 19) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:283:4: ( '{' ( classBodyDeclaration )* '}' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:283:4: '{' ( classBodyDeclaration )* '}'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:285:4: ( '{' ( classBodyDeclaration )* '}' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:285:4: '{' ( classBodyDeclaration )* '}'
{
match(input,37,FOLLOW_37_in_classBody511); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:283:8: ( classBodyDeclaration )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:285:8: ( classBodyDeclaration )*
loop31:
do {
int alt31=2;
@@ -1560,16 +1562,16 @@
// $ANTLR start interfaceBody
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:286:1: interfaceBody : '{' ( interfaceBodyDeclaration )* '}' ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:288:1: interfaceBody : '{' ( interfaceBodyDeclaration )* '}' ;
public final void interfaceBody() throws RecognitionException {
int interfaceBody_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 20) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:287:4: ( '{' ( interfaceBodyDeclaration )* '}' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:287:4: '{' ( interfaceBodyDeclaration )* '}'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:289:4: ( '{' ( interfaceBodyDeclaration )* '}' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:289:4: '{' ( interfaceBodyDeclaration )* '}'
{
match(input,37,FOLLOW_37_in_interfaceBody528); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:287:8: ( interfaceBodyDeclaration )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:289:8: ( interfaceBodyDeclaration )*
loop32:
do {
int alt32=2;
@@ -1615,12 +1617,12 @@
// $ANTLR start classBodyDeclaration
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:290:1: classBodyDeclaration : ( ';' | ( 'static' )? block | ( modifier )* memberDecl );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:292:1: classBodyDeclaration : ( ';' | ( 'static' )? block | ( modifier )* memberDecl );
public final void classBodyDeclaration() throws RecognitionException {
int classBodyDeclaration_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 21) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:291:4: ( ';' | ( 'static' )? block | ( modifier )* memberDecl )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:293:4: ( ';' | ( 'static' )? block | ( modifier )* memberDecl )
int alt35=3;
switch ( input.LA(1) ) {
case 25:
@@ -1641,7 +1643,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("290:1: classBodyDeclaration : ( ';' | ( 'static' )? block | ( modifier )* memberDecl );", 35, 2, input);
+ new NoViableAltException("292:1: classBodyDeclaration : ( ';' | ( 'static' )? block | ( modifier )* memberDecl );", 35, 2, input);
throw nvae;
}
@@ -1684,23 +1686,23 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("290:1: classBodyDeclaration : ( ';' | ( 'static' )? block | ( modifier )* memberDecl );", 35, 0, input);
+ new NoViableAltException("292:1: classBodyDeclaration : ( ';' | ( 'static' )? block | ( modifier )* memberDecl );", 35, 0, input);
throw nvae;
}
switch (alt35) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:291:4: ';'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:293:4: ';'
{
match(input,25,FOLLOW_25_in_classBodyDeclaration544); if (failed) return ;
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:292:4: ( 'static' )? block
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:294:4: ( 'static' )? block
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:292:4: ( 'static' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:294:4: ( 'static' )?
int alt33=2;
int LA33_0 = input.LA(1);
@@ -1726,9 +1728,9 @@
}
break;
case 3 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:293:4: ( modifier )* memberDecl
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:295:4: ( modifier )* memberDecl
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:293:4: ( modifier )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:295:4: ( modifier )*
loop34:
do {
int alt34=2;
@@ -1788,12 +1790,12 @@
// $ANTLR start memberDecl
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:296:1: memberDecl : ( genericMethodOrConstructorDecl | methodDeclaration | fieldDeclaration | 'void' Identifier voidMethodDeclaratorRest | Identifier constructorDeclaratorRest | interfaceDeclaration | classDeclaration );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:298:1: memberDecl : ( genericMethodOrConstructorDecl | methodDeclaration | fieldDeclaration | 'void' Identifier voidMethodDeclaratorRest | Identifier constructorDeclaratorRest | interfaceDeclaration | classDeclaration );
public final void memberDecl() throws RecognitionException {
int memberDecl_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 22) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:297:4: ( genericMethodOrConstructorDecl | methodDeclaration | fieldDeclaration | 'void' Identifier voidMethodDeclaratorRest | Identifier constructorDeclaratorRest | interfaceDeclaration | classDeclaration )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:299:4: ( genericMethodOrConstructorDecl | methodDeclaration | fieldDeclaration | 'void' Identifier voidMethodDeclaratorRest | Identifier constructorDeclaratorRest | interfaceDeclaration | classDeclaration )
int alt36=7;
switch ( input.LA(1) ) {
case 33:
@@ -1822,7 +1824,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("296:1: memberDecl : ( genericMethodOrConstructorDecl | methodDeclaration | fieldDeclaration | 'void' Identifier voidMethodDeclaratorRest | Identifier constructorDeclaratorRest | interfaceDeclaration | classDeclaration );", 36, 10, input);
+ new NoViableAltException("298:1: memberDecl : ( genericMethodOrConstructorDecl | methodDeclaration | fieldDeclaration | 'void' Identifier voidMethodDeclaratorRest | Identifier constructorDeclaratorRest | interfaceDeclaration | classDeclaration );", 36, 10, input);
throw nvae;
}
@@ -1841,7 +1843,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("296:1: memberDecl : ( genericMethodOrConstructorDecl | methodDeclaration | fieldDeclaration | 'void' Identifier voidMethodDeclaratorRest | Identifier constructorDeclaratorRest | interfaceDeclaration | classDeclaration );", 36, 11, input);
+ new NoViableAltException("298:1: memberDecl : ( genericMethodOrConstructorDecl | methodDeclaration | fieldDeclaration | 'void' Identifier voidMethodDeclaratorRest | Identifier constructorDeclaratorRest | interfaceDeclaration | classDeclaration );", 36, 11, input);
throw nvae;
}
@@ -1860,7 +1862,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("296:1: memberDecl : ( genericMethodOrConstructorDecl | methodDeclaration | fieldDeclaration | 'void' Identifier voidMethodDeclaratorRest | Identifier constructorDeclaratorRest | interfaceDeclaration | classDeclaration );", 36, 12, input);
+ new NoViableAltException("298:1: memberDecl : ( genericMethodOrConstructorDecl | methodDeclaration | fieldDeclaration | 'void' Identifier voidMethodDeclaratorRest | Identifier constructorDeclaratorRest | interfaceDeclaration | classDeclaration );", 36, 12, input);
throw nvae;
}
@@ -1879,7 +1881,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("296:1: memberDecl : ( genericMethodOrConstructorDecl | methodDeclaration | fieldDeclaration | 'void' Identifier voidMethodDeclaratorRest | Identifier constructorDeclaratorRest | interfaceDeclaration | classDeclaration );", 36, 13, input);
+ new NoViableAltException("298:1: memberDecl : ( genericMethodOrConstructorDecl | methodDeclaration | fieldDeclaration | 'void' Identifier voidMethodDeclaratorRest | Identifier constructorDeclaratorRest | interfaceDeclaration | classDeclaration );", 36, 13, input);
throw nvae;
}
@@ -1888,7 +1890,7 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("296:1: memberDecl : ( genericMethodOrConstructorDecl | methodDeclaration | fieldDeclaration | 'void' Identifier voidMethodDeclaratorRest | Identifier constructorDeclaratorRest | interfaceDeclaration | classDeclaration );", 36, 2, input);
+ new NoViableAltException("298:1: memberDecl : ( genericMethodOrConstructorDecl | methodDeclaration | fieldDeclaration | 'void' Identifier voidMethodDeclaratorRest | Identifier constructorDeclaratorRest | interfaceDeclaration | classDeclaration );", 36, 2, input);
throw nvae;
}
@@ -1918,7 +1920,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("296:1: memberDecl : ( genericMethodOrConstructorDecl | methodDeclaration | fieldDeclaration | 'void' Identifier voidMethodDeclaratorRest | Identifier constructorDeclaratorRest | interfaceDeclaration | classDeclaration );", 36, 14, input);
+ new NoViableAltException("298:1: memberDecl : ( genericMethodOrConstructorDecl | methodDeclaration | fieldDeclaration | 'void' Identifier voidMethodDeclaratorRest | Identifier constructorDeclaratorRest | interfaceDeclaration | classDeclaration );", 36, 14, input);
throw nvae;
}
@@ -1935,7 +1937,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("296:1: memberDecl : ( genericMethodOrConstructorDecl | methodDeclaration | fieldDeclaration | 'void' Identifier voidMethodDeclaratorRest | Identifier constructorDeclaratorRest | interfaceDeclaration | classDeclaration );", 36, 15, input);
+ new NoViableAltException("298:1: memberDecl : ( genericMethodOrConstructorDecl | methodDeclaration | fieldDeclaration | 'void' Identifier voidMethodDeclaratorRest | Identifier constructorDeclaratorRest | interfaceDeclaration | classDeclaration );", 36, 15, input);
throw nvae;
}
@@ -1943,7 +1945,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("296:1: memberDecl : ( genericMethodOrConstructorDecl | methodDeclaration | fieldDeclaration | 'void' Identifier voidMethodDeclaratorRest | Identifier constructorDeclaratorRest | interfaceDeclaration | classDeclaration );", 36, 3, input);
+ new NoViableAltException("298:1: memberDecl : ( genericMethodOrConstructorDecl | methodDeclaration | fieldDeclaration | 'void' Identifier voidMethodDeclaratorRest | Identifier constructorDeclaratorRest | interfaceDeclaration | classDeclaration );", 36, 3, input);
throw nvae;
}
@@ -1969,14 +1971,14 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("296:1: memberDecl : ( genericMethodOrConstructorDecl | methodDeclaration | fieldDeclaration | 'void' Identifier voidMethodDeclaratorRest | Identifier constructorDeclaratorRest | interfaceDeclaration | classDeclaration );", 36, 0, input);
+ new NoViableAltException("298:1: memberDecl : ( genericMethodOrConstructorDecl | methodDeclaration | fieldDeclaration | 'void' Identifier voidMethodDeclaratorRest | Identifier constructorDeclaratorRest | interfaceDeclaration | classDeclaration );", 36, 0, input);
throw nvae;
}
switch (alt36) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:297:4: genericMethodOrConstructorDecl
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:299:4: genericMethodOrConstructorDecl
{
pushFollow(FOLLOW_genericMethodOrConstructorDecl_in_memberDecl572);
genericMethodOrConstructorDecl();
@@ -1986,7 +1988,7 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:298:4: methodDeclaration
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:300:4: methodDeclaration
{
pushFollow(FOLLOW_methodDeclaration_in_memberDecl577);
methodDeclaration();
@@ -1996,7 +1998,7 @@
}
break;
case 3 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:299:4: fieldDeclaration
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:301:4: fieldDeclaration
{
pushFollow(FOLLOW_fieldDeclaration_in_memberDecl582);
fieldDeclaration();
@@ -2006,7 +2008,7 @@
}
break;
case 4 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:300:4: 'void' Identifier voidMethodDeclaratorRest
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:302:4: 'void' Identifier voidMethodDeclaratorRest
{
match(input,40,FOLLOW_40_in_memberDecl587); if (failed) return ;
match(input,Identifier,FOLLOW_Identifier_in_memberDecl589); if (failed) return ;
@@ -2018,7 +2020,7 @@
}
break;
case 5 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:301:4: Identifier constructorDeclaratorRest
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:303:4: Identifier constructorDeclaratorRest
{
match(input,Identifier,FOLLOW_Identifier_in_memberDecl596); if (failed) return ;
pushFollow(FOLLOW_constructorDeclaratorRest_in_memberDecl598);
@@ -2029,7 +2031,7 @@
}
break;
case 6 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:302:4: interfaceDeclaration
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:304:4: interfaceDeclaration
{
pushFollow(FOLLOW_interfaceDeclaration_in_memberDecl603);
interfaceDeclaration();
@@ -2039,7 +2041,7 @@
}
break;
case 7 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:303:4: classDeclaration
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:305:4: classDeclaration
{
pushFollow(FOLLOW_classDeclaration_in_memberDecl608);
classDeclaration();
@@ -2064,13 +2066,13 @@
// $ANTLR start genericMethodOrConstructorDecl
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:306:1: genericMethodOrConstructorDecl : typeParameters genericMethodOrConstructorRest ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:308:1: genericMethodOrConstructorDecl : typeParameters genericMethodOrConstructorRest ;
public final void genericMethodOrConstructorDecl() throws RecognitionException {
int genericMethodOrConstructorDecl_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 23) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:307:4: ( typeParameters genericMethodOrConstructorRest )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:307:4: typeParameters genericMethodOrConstructorRest
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:309:4: ( typeParameters genericMethodOrConstructorRest )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:309:4: typeParameters genericMethodOrConstructorRest
{
pushFollow(FOLLOW_typeParameters_in_genericMethodOrConstructorDecl620);
typeParameters();
@@ -2097,12 +2099,12 @@
// $ANTLR start genericMethodOrConstructorRest
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:310:1: genericMethodOrConstructorRest : ( ( type | 'void' ) Identifier methodDeclaratorRest | Identifier constructorDeclaratorRest );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:312:1: genericMethodOrConstructorRest : ( ( type | 'void' ) Identifier methodDeclaratorRest | Identifier constructorDeclaratorRest );
public final void genericMethodOrConstructorRest() throws RecognitionException {
int genericMethodOrConstructorRest_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 24) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:311:4: ( ( type | 'void' ) Identifier methodDeclaratorRest | Identifier constructorDeclaratorRest )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:313:4: ( ( type | 'void' ) Identifier methodDeclaratorRest | Identifier constructorDeclaratorRest )
int alt38=2;
int LA38_0 = input.LA(1);
@@ -2118,7 +2120,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("310:1: genericMethodOrConstructorRest : ( ( type | 'void' ) Identifier methodDeclaratorRest | Identifier constructorDeclaratorRest );", 38, 1, input);
+ new NoViableAltException("312:1: genericMethodOrConstructorRest : ( ( type | 'void' ) Identifier methodDeclaratorRest | Identifier constructorDeclaratorRest );", 38, 1, input);
throw nvae;
}
@@ -2129,15 +2131,15 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("310:1: genericMethodOrConstructorRest : ( ( type | 'void' ) Identifier methodDeclaratorRest | Identifier constructorDeclaratorRest );", 38, 0, input);
+ new NoViableAltException("312:1: genericMethodOrConstructorRest : ( ( type | 'void' ) Identifier methodDeclaratorRest | Identifier constructorDeclaratorRest );", 38, 0, input);
throw nvae;
}
switch (alt38) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:311:4: ( type | 'void' ) Identifier methodDeclaratorRest
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:313:4: ( type | 'void' ) Identifier methodDeclaratorRest
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:311:4: ( type | 'void' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:313:4: ( type | 'void' )
int alt37=2;
int LA37_0 = input.LA(1);
@@ -2150,13 +2152,13 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("311:4: ( type | 'void' )", 37, 0, input);
+ new NoViableAltException("313:4: ( type | 'void' )", 37, 0, input);
throw nvae;
}
switch (alt37) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:311:5: type
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:313:5: type
{
pushFollow(FOLLOW_type_in_genericMethodOrConstructorRest635);
type();
@@ -2166,7 +2168,7 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:311:12: 'void'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:313:12: 'void'
{
match(input,40,FOLLOW_40_in_genericMethodOrConstructorRest639); if (failed) return ;
@@ -2184,7 +2186,7 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:312:4: Identifier constructorDeclaratorRest
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:314:4: Identifier constructorDeclaratorRest
{
match(input,Identifier,FOLLOW_Identifier_in_genericMethodOrConstructorRest649); if (failed) return ;
pushFollow(FOLLOW_constructorDeclaratorRest_in_genericMethodOrConstructorRest651);
@@ -2210,13 +2212,13 @@
// $ANTLR start methodDeclaration
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:315:1: methodDeclaration : type Identifier methodDeclaratorRest ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:317:1: methodDeclaration : type Identifier methodDeclaratorRest ;
public final void methodDeclaration() throws RecognitionException {
int methodDeclaration_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 25) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:316:4: ( type Identifier methodDeclaratorRest )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:316:4: type Identifier methodDeclaratorRest
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:318:4: ( type Identifier methodDeclaratorRest )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:318:4: type Identifier methodDeclaratorRest
{
pushFollow(FOLLOW_type_in_methodDeclaration662);
type();
@@ -2244,13 +2246,13 @@
// $ANTLR start fieldDeclaration
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:319:1: fieldDeclaration : type variableDeclarators ';' ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:321:1: fieldDeclaration : type variableDeclarators ';' ;
public final void fieldDeclaration() throws RecognitionException {
int fieldDeclaration_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 26) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:320:4: ( type variableDeclarators ';' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:320:4: type variableDeclarators ';'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:322:4: ( type variableDeclarators ';' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:322:4: type variableDeclarators ';'
{
pushFollow(FOLLOW_type_in_fieldDeclaration677);
type();
@@ -2278,12 +2280,12 @@
// $ANTLR start interfaceBodyDeclaration
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:323:1: interfaceBodyDeclaration : ( ( modifier )* interfaceMemberDecl | ';' );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:325:1: interfaceBodyDeclaration : ( ( modifier )* interfaceMemberDecl | ';' );
public final void interfaceBodyDeclaration() throws RecognitionException {
int interfaceBodyDeclaration_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 27) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:324:4: ( ( modifier )* interfaceMemberDecl | ';' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:326:4: ( ( modifier )* interfaceMemberDecl | ';' )
int alt40=2;
int LA40_0 = input.LA(1);
@@ -2296,15 +2298,15 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("323:1: interfaceBodyDeclaration : ( ( modifier )* interfaceMemberDecl | ';' );", 40, 0, input);
+ new NoViableAltException("325:1: interfaceBodyDeclaration : ( ( modifier )* interfaceMemberDecl | ';' );", 40, 0, input);
throw nvae;
}
switch (alt40) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:324:4: ( modifier )* interfaceMemberDecl
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:326:4: ( modifier )* interfaceMemberDecl
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:324:4: ( modifier )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:326:4: ( modifier )*
loop39:
do {
int alt39=2;
@@ -2349,7 +2351,7 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:325:6: ';'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:327:6: ';'
{
match(input,25,FOLLOW_25_in_interfaceBodyDeclaration704); if (failed) return ;
@@ -2371,12 +2373,12 @@
// $ANTLR start interfaceMemberDecl
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:328:1: interfaceMemberDecl : ( interfaceMethodOrFieldDecl | interfaceGenericMethodDecl | 'void' Identifier voidInterfaceMethodDeclaratorRest | interfaceDeclaration | classDeclaration );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:330:1: interfaceMemberDecl : ( interfaceMethodOrFieldDecl | interfaceGenericMethodDecl | 'void' Identifier voidInterfaceMethodDeclaratorRest | interfaceDeclaration | classDeclaration );
public final void interfaceMemberDecl() throws RecognitionException {
int interfaceMemberDecl_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 28) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:329:4: ( interfaceMethodOrFieldDecl | interfaceGenericMethodDecl | 'void' Identifier voidInterfaceMethodDeclaratorRest | interfaceDeclaration | classDeclaration )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:331:4: ( interfaceMethodOrFieldDecl | interfaceGenericMethodDecl | 'void' Identifier voidInterfaceMethodDeclaratorRest | interfaceDeclaration | classDeclaration )
int alt41=5;
switch ( input.LA(1) ) {
case Identifier:
@@ -2417,14 +2419,14 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("328:1: interfaceMemberDecl : ( interfaceMethodOrFieldDecl | interfaceGenericMethodDecl | 'void' Identifier voidInterfaceMethodDeclaratorRest | interfaceDeclaration | classDeclaration );", 41, 0, input);
+ new NoViableAltException("330:1: interfaceMemberDecl : ( interfaceMethodOrFieldDecl | interfaceGenericMethodDecl | 'void' Identifier voidInterfaceMethodDeclaratorRest | interfaceDeclaration | classDeclaration );", 41, 0, input);
throw nvae;
}
switch (alt41) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:329:4: interfaceMethodOrFieldDecl
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:331:4: interfaceMethodOrFieldDecl
{
pushFollow(FOLLOW_interfaceMethodOrFieldDecl_in_interfaceMemberDecl715);
interfaceMethodOrFieldDecl();
@@ -2434,7 +2436,7 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:330:6: interfaceGenericMethodDecl
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:332:6: interfaceGenericMethodDecl
{
pushFollow(FOLLOW_interfaceGenericMethodDecl_in_interfaceMemberDecl722);
interfaceGenericMethodDecl();
@@ -2444,7 +2446,7 @@
}
break;
case 3 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:331:9: 'void' Identifier voidInterfaceMethodDeclaratorRest
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:333:9: 'void' Identifier voidInterfaceMethodDeclaratorRest
{
match(input,40,FOLLOW_40_in_interfaceMemberDecl732); if (failed) return ;
match(input,Identifier,FOLLOW_Identifier_in_interfaceMemberDecl734); if (failed) return ;
@@ -2456,7 +2458,7 @@
}
break;
case 4 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:332:9: interfaceDeclaration
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:334:9: interfaceDeclaration
{
pushFollow(FOLLOW_interfaceDeclaration_in_interfaceMemberDecl746);
interfaceDeclaration();
@@ -2466,7 +2468,7 @@
}
break;
case 5 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:333:9: classDeclaration
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:335:9: classDeclaration
{
pushFollow(FOLLOW_classDeclaration_in_interfaceMemberDecl756);
classDeclaration();
@@ -2491,13 +2493,13 @@
// $ANTLR start interfaceMethodOrFieldDecl
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:336:1: interfaceMethodOrFieldDecl : type Identifier interfaceMethodOrFieldRest ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:338:1: interfaceMethodOrFieldDecl : type Identifier interfaceMethodOrFieldRest ;
public final void interfaceMethodOrFieldDecl() throws RecognitionException {
int interfaceMethodOrFieldDecl_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 29) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:337:4: ( type Identifier interfaceMethodOrFieldRest )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:337:4: type Identifier interfaceMethodOrFieldRest
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:339:4: ( type Identifier interfaceMethodOrFieldRest )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:339:4: type Identifier interfaceMethodOrFieldRest
{
pushFollow(FOLLOW_type_in_interfaceMethodOrFieldDecl768);
type();
@@ -2525,12 +2527,12 @@
// $ANTLR start interfaceMethodOrFieldRest
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:340:1: interfaceMethodOrFieldRest : ( constantDeclaratorsRest ';' | interfaceMethodDeclaratorRest );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:342:1: interfaceMethodOrFieldRest : ( constantDeclaratorsRest ';' | interfaceMethodDeclaratorRest );
public final void interfaceMethodOrFieldRest() throws RecognitionException {
int interfaceMethodOrFieldRest_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 30) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:341:4: ( constantDeclaratorsRest ';' | interfaceMethodDeclaratorRest )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:343:4: ( constantDeclaratorsRest ';' | interfaceMethodDeclaratorRest )
int alt42=2;
int LA42_0 = input.LA(1);
@@ -2543,13 +2545,13 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("340:1: interfaceMethodOrFieldRest : ( constantDeclaratorsRest ';' | interfaceMethodDeclaratorRest );", 42, 0, input);
+ new NoViableAltException("342:1: interfaceMethodOrFieldRest : ( constantDeclaratorsRest ';' | interfaceMethodDeclaratorRest );", 42, 0, input);
throw nvae;
}
switch (alt42) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:341:4: constantDeclaratorsRest ';'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:343:4: constantDeclaratorsRest ';'
{
pushFollow(FOLLOW_constantDeclaratorsRest_in_interfaceMethodOrFieldRest784);
constantDeclaratorsRest();
@@ -2560,7 +2562,7 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:342:4: interfaceMethodDeclaratorRest
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:344:4: interfaceMethodDeclaratorRest
{
pushFollow(FOLLOW_interfaceMethodDeclaratorRest_in_interfaceMethodOrFieldRest791);
interfaceMethodDeclaratorRest();
@@ -2585,19 +2587,19 @@
// $ANTLR start methodDeclaratorRest
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:345:1: methodDeclaratorRest : formalParameters ( '[' ']' )* ( 'throws' qualifiedNameList )? ( methodBody | ';' ) ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:347:1: methodDeclaratorRest : formalParameters ( '[' ']' )* ( 'throws' qualifiedNameList )? ( methodBody | ';' ) ;
public final void methodDeclaratorRest() throws RecognitionException {
int methodDeclaratorRest_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 31) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:346:4: ( formalParameters ( '[' ']' )* ( 'throws' qualifiedNameList )? ( methodBody | ';' ) )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:346:4: formalParameters ( '[' ']' )* ( 'throws' qualifiedNameList )? ( methodBody | ';' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:348:4: ( formalParameters ( '[' ']' )* ( 'throws' qualifiedNameList )? ( methodBody | ';' ) )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:348:4: formalParameters ( '[' ']' )* ( 'throws' qualifiedNameList )? ( methodBody | ';' )
{
pushFollow(FOLLOW_formalParameters_in_methodDeclaratorRest803);
formalParameters();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:346:21: ( '[' ']' )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:348:21: ( '[' ']' )*
loop43:
do {
int alt43=2;
@@ -2610,7 +2612,7 @@
switch (alt43) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:346:22: '[' ']'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:348:22: '[' ']'
{
match(input,41,FOLLOW_41_in_methodDeclaratorRest806); if (failed) return ;
match(input,42,FOLLOW_42_in_methodDeclaratorRest808); if (failed) return ;
@@ -2623,7 +2625,7 @@
}
} while (true);
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:347:9: ( 'throws' qualifiedNameList )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:349:9: ( 'throws' qualifiedNameList )?
int alt44=2;
int LA44_0 = input.LA(1);
@@ -2632,7 +2634,7 @@
}
switch (alt44) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:347:10: 'throws' qualifiedNameList
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:349:10: 'throws' qualifiedNameList
{
match(input,43,FOLLOW_43_in_methodDeclaratorRest821); if (failed) return ;
pushFollow(FOLLOW_qualifiedNameList_in_methodDeclaratorRest823);
@@ -2645,7 +2647,7 @@
}
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:348:9: ( methodBody | ';' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:350:9: ( methodBody | ';' )
int alt45=2;
int LA45_0 = input.LA(1);
@@ -2658,13 +2660,13 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("348:9: ( methodBody | ';' )", 45, 0, input);
+ new NoViableAltException("350:9: ( methodBody | ';' )", 45, 0, input);
throw nvae;
}
switch (alt45) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:348:13: methodBody
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:350:13: methodBody
{
pushFollow(FOLLOW_methodBody_in_methodDeclaratorRest839);
methodBody();
@@ -2674,7 +2676,7 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:349:13: ';'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:351:13: ';'
{
match(input,25,FOLLOW_25_in_methodDeclaratorRest853); if (failed) return ;
@@ -2700,19 +2702,19 @@
// $ANTLR start voidMethodDeclaratorRest
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:353:1: voidMethodDeclaratorRest : formalParameters ( 'throws' qualifiedNameList )? ( methodBody | ';' ) ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:355:1: voidMethodDeclaratorRest : formalParameters ( 'throws' qualifiedNameList )? ( methodBody | ';' ) ;
public final void voidMethodDeclaratorRest() throws RecognitionException {
int voidMethodDeclaratorRest_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 32) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:354:4: ( formalParameters ( 'throws' qualifiedNameList )? ( methodBody | ';' ) )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:354:4: formalParameters ( 'throws' qualifiedNameList )? ( methodBody | ';' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:356:4: ( formalParameters ( 'throws' qualifiedNameList )? ( methodBody | ';' ) )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:356:4: formalParameters ( 'throws' qualifiedNameList )? ( methodBody | ';' )
{
pushFollow(FOLLOW_formalParameters_in_voidMethodDeclaratorRest875);
formalParameters();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:354:21: ( 'throws' qualifiedNameList )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:356:21: ( 'throws' qualifiedNameList )?
int alt46=2;
int LA46_0 = input.LA(1);
@@ -2721,7 +2723,7 @@
}
switch (alt46) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:354:22: 'throws' qualifiedNameList
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:356:22: 'throws' qualifiedNameList
{
match(input,43,FOLLOW_43_in_voidMethodDeclaratorRest878); if (failed) return ;
pushFollow(FOLLOW_qualifiedNameList_in_voidMethodDeclaratorRest880);
@@ -2734,7 +2736,7 @@
}
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:355:9: ( methodBody | ';' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:357:9: ( methodBody | ';' )
int alt47=2;
int LA47_0 = input.LA(1);
@@ -2747,13 +2749,13 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("355:9: ( methodBody | ';' )", 47, 0, input);
+ new NoViableAltException("357:9: ( methodBody | ';' )", 47, 0, input);
throw nvae;
}
switch (alt47) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:355:13: methodBody
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:357:13: methodBody
{
pushFollow(FOLLOW_methodBody_in_voidMethodDeclaratorRest896);
methodBody();
@@ -2763,7 +2765,7 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:356:13: ';'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:358:13: ';'
{
match(input,25,FOLLOW_25_in_voidMethodDeclaratorRest910); if (failed) return ;
@@ -2789,19 +2791,19 @@
// $ANTLR start interfaceMethodDeclaratorRest
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:360:1: interfaceMethodDeclaratorRest : formalParameters ( '[' ']' )* ( 'throws' qualifiedNameList )? ';' ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:362:1: interfaceMethodDeclaratorRest : formalParameters ( '[' ']' )* ( 'throws' qualifiedNameList )? ';' ;
public final void interfaceMethodDeclaratorRest() throws RecognitionException {
int interfaceMethodDeclaratorRest_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 33) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:361:4: ( formalParameters ( '[' ']' )* ( 'throws' qualifiedNameList )? ';' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:361:4: formalParameters ( '[' ']' )* ( 'throws' qualifiedNameList )? ';'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:363:4: ( formalParameters ( '[' ']' )* ( 'throws' qualifiedNameList )? ';' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:363:4: formalParameters ( '[' ']' )* ( 'throws' qualifiedNameList )? ';'
{
pushFollow(FOLLOW_formalParameters_in_interfaceMethodDeclaratorRest932);
formalParameters();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:361:21: ( '[' ']' )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:363:21: ( '[' ']' )*
loop48:
do {
int alt48=2;
@@ -2814,7 +2816,7 @@
switch (alt48) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:361:22: '[' ']'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:363:22: '[' ']'
{
match(input,41,FOLLOW_41_in_interfaceMethodDeclaratorRest935); if (failed) return ;
match(input,42,FOLLOW_42_in_interfaceMethodDeclaratorRest937); if (failed) return ;
@@ -2827,7 +2829,7 @@
}
} while (true);
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:361:32: ( 'throws' qualifiedNameList )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:363:32: ( 'throws' qualifiedNameList )?
int alt49=2;
int LA49_0 = input.LA(1);
@@ -2836,7 +2838,7 @@
}
switch (alt49) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:361:33: 'throws' qualifiedNameList
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:363:33: 'throws' qualifiedNameList
{
match(input,43,FOLLOW_43_in_interfaceMethodDeclaratorRest942); if (failed) return ;
pushFollow(FOLLOW_qualifiedNameList_in_interfaceMethodDeclaratorRest944);
@@ -2867,19 +2869,19 @@
// $ANTLR start interfaceGenericMethodDecl
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:364:1: interfaceGenericMethodDecl : typeParameters ( type | 'void' ) Identifier interfaceMethodDeclaratorRest ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:366:1: interfaceGenericMethodDecl : typeParameters ( type | 'void' ) Identifier interfaceMethodDeclaratorRest ;
public final void interfaceGenericMethodDecl() throws RecognitionException {
int interfaceGenericMethodDecl_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 34) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:365:4: ( typeParameters ( type | 'void' ) Identifier interfaceMethodDeclaratorRest )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:365:4: typeParameters ( type | 'void' ) Identifier interfaceMethodDeclaratorRest
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:367:4: ( typeParameters ( type | 'void' ) Identifier interfaceMethodDeclaratorRest )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:367:4: typeParameters ( type | 'void' ) Identifier interfaceMethodDeclaratorRest
{
pushFollow(FOLLOW_typeParameters_in_interfaceGenericMethodDecl960);
typeParameters();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:365:19: ( type | 'void' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:367:19: ( type | 'void' )
int alt50=2;
int LA50_0 = input.LA(1);
@@ -2892,13 +2894,13 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("365:19: ( type | 'void' )", 50, 0, input);
+ new NoViableAltException("367:19: ( type | 'void' )", 50, 0, input);
throw nvae;
}
switch (alt50) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:365:20: type
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:367:20: type
{
pushFollow(FOLLOW_type_in_interfaceGenericMethodDecl963);
type();
@@ -2908,7 +2910,7 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:365:27: 'void'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:367:27: 'void'
{
match(input,40,FOLLOW_40_in_interfaceGenericMethodDecl967); if (failed) return ;
@@ -2939,19 +2941,19 @@
// $ANTLR start voidInterfaceMethodDeclaratorRest
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:369:1: voidInterfaceMethodDeclaratorRest : formalParameters ( 'throws' qualifiedNameList )? ';' ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:371:1: voidInterfaceMethodDeclaratorRest : formalParameters ( 'throws' qualifiedNameList )? ';' ;
public final void voidInterfaceMethodDeclaratorRest() throws RecognitionException {
int voidInterfaceMethodDeclaratorRest_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 35) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:370:4: ( formalParameters ( 'throws' qualifiedNameList )? ';' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:370:4: formalParameters ( 'throws' qualifiedNameList )? ';'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:372:4: ( formalParameters ( 'throws' qualifiedNameList )? ';' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:372:4: formalParameters ( 'throws' qualifiedNameList )? ';'
{
pushFollow(FOLLOW_formalParameters_in_voidInterfaceMethodDeclaratorRest992);
formalParameters();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:370:21: ( 'throws' qualifiedNameList )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:372:21: ( 'throws' qualifiedNameList )?
int alt51=2;
int LA51_0 = input.LA(1);
@@ -2960,7 +2962,7 @@
}
switch (alt51) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:370:22: 'throws' qualifiedNameList
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:372:22: 'throws' qualifiedNameList
{
match(input,43,FOLLOW_43_in_voidInterfaceMethodDeclaratorRest995); if (failed) return ;
pushFollow(FOLLOW_qualifiedNameList_in_voidInterfaceMethodDeclaratorRest997);
@@ -2991,19 +2993,19 @@
// $ANTLR start constructorDeclaratorRest
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:373:1: constructorDeclaratorRest : formalParameters ( 'throws' qualifiedNameList )? methodBody ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:375:1: constructorDeclaratorRest : formalParameters ( 'throws' qualifiedNameList )? methodBody ;
public final void constructorDeclaratorRest() throws RecognitionException {
int constructorDeclaratorRest_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 36) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:374:4: ( formalParameters ( 'throws' qualifiedNameList )? methodBody )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:374:4: formalParameters ( 'throws' qualifiedNameList )? methodBody
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:376:4: ( formalParameters ( 'throws' qualifiedNameList )? methodBody )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:376:4: formalParameters ( 'throws' qualifiedNameList )? methodBody
{
pushFollow(FOLLOW_formalParameters_in_constructorDeclaratorRest1013);
formalParameters();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:374:21: ( 'throws' qualifiedNameList )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:376:21: ( 'throws' qualifiedNameList )?
int alt52=2;
int LA52_0 = input.LA(1);
@@ -3012,7 +3014,7 @@
}
switch (alt52) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:374:22: 'throws' qualifiedNameList
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:376:22: 'throws' qualifiedNameList
{
match(input,43,FOLLOW_43_in_constructorDeclaratorRest1016); if (failed) return ;
pushFollow(FOLLOW_qualifiedNameList_in_constructorDeclaratorRest1018);
@@ -3046,13 +3048,13 @@
// $ANTLR start constantDeclarator
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:377:1: constantDeclarator : Identifier constantDeclaratorRest ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:379:1: constantDeclarator : Identifier constantDeclaratorRest ;
public final void constantDeclarator() throws RecognitionException {
int constantDeclarator_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 37) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:378:4: ( Identifier constantDeclaratorRest )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:378:4: Identifier constantDeclaratorRest
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:380:4: ( Identifier constantDeclaratorRest )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:380:4: Identifier constantDeclaratorRest
{
match(input,Identifier,FOLLOW_Identifier_in_constantDeclarator1033); if (failed) return ;
pushFollow(FOLLOW_constantDeclaratorRest_in_constantDeclarator1035);
@@ -3076,19 +3078,19 @@
// $ANTLR start variableDeclarators
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:381:1: variableDeclarators : variableDeclarator ( ',' variableDeclarator )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:383:1: variableDeclarators : variableDeclarator ( ',' variableDeclarator )* ;
public final void variableDeclarators() throws RecognitionException {
int variableDeclarators_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 38) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:382:4: ( variableDeclarator ( ',' variableDeclarator )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:382:4: variableDeclarator ( ',' variableDeclarator )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:384:4: ( variableDeclarator ( ',' variableDeclarator )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:384:4: variableDeclarator ( ',' variableDeclarator )*
{
pushFollow(FOLLOW_variableDeclarator_in_variableDeclarators1047);
variableDeclarator();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:382:23: ( ',' variableDeclarator )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:384:23: ( ',' variableDeclarator )*
loop53:
do {
int alt53=2;
@@ -3101,7 +3103,7 @@
switch (alt53) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:382:24: ',' variableDeclarator
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:384:24: ',' variableDeclarator
{
match(input,34,FOLLOW_34_in_variableDeclarators1050); if (failed) return ;
pushFollow(FOLLOW_variableDeclarator_in_variableDeclarators1052);
@@ -3132,24 +3134,50 @@
}
// $ANTLR end variableDeclarators
+ protected static class variableDeclarator_scope {
+ JavaLocalDeclarationDescr.IdentifierDescr ident;
+ }
+ protected Stack variableDeclarator_stack = new Stack();
+
// $ANTLR start variableDeclarator
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:385:1: variableDeclarator : Identifier variableDeclaratorRest ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:387:1: variableDeclarator : Identifier variableDeclaratorRest ;
public final void variableDeclarator() throws RecognitionException {
+ variableDeclarator_stack.push(new variableDeclarator_scope());
int variableDeclarator_StartIndex = input.index();
+ Token Identifier1=null;
+ variableDeclaratorRest_return variableDeclaratorRest2 = null;
+
+
+
+ ((variableDeclarator_scope)variableDeclarator_stack.peek()).ident = new JavaLocalDeclarationDescr.IdentifierDescr();
+
try {
if ( backtracking>0 && alreadyParsedRule(input, 39) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:386:4: ( Identifier variableDeclaratorRest )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:386:4: Identifier variableDeclaratorRest
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:397:4: ( Identifier variableDeclaratorRest )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:397:4: Identifier variableDeclaratorRest
{
- match(input,Identifier,FOLLOW_Identifier_in_variableDeclarator1065); if (failed) return ;
- pushFollow(FOLLOW_variableDeclaratorRest_in_variableDeclarator1067);
- variableDeclaratorRest();
+ Identifier1=(Token)input.LT(1);
+ match(input,Identifier,FOLLOW_Identifier_in_variableDeclarator1082); if (failed) return ;
+ pushFollow(FOLLOW_variableDeclaratorRest_in_variableDeclarator1084);
+ variableDeclaratorRest2=variableDeclaratorRest();
_fsp--;
if (failed) return ;
+ if ( backtracking==0 ) {
+
+ ((variableDeclarator_scope)variableDeclarator_stack.peek()).ident.setIdentifier( Identifier1.getText() );
+ ((variableDeclarator_scope)variableDeclarator_stack.peek()).ident.setStart( ((CommonToken)Identifier1).getStartIndex() - 1 );
+ ((variableDeclarator_scope)variableDeclarator_stack.peek()).ident.setEnd( ((CommonToken)((Token)variableDeclaratorRest2.stop)).getStopIndex() );
+
+ }
}
+ if ( backtracking==0 ) {
+
+ ((localVariableDeclaration_scope)localVariableDeclaration_stack.peek()).descr.addIdentifier( ((variableDeclarator_scope)variableDeclarator_stack.peek()).ident );
+
+ }
}
catch (RecognitionException re) {
reportError(re);
@@ -3157,19 +3185,24 @@
}
finally {
if ( backtracking>0 ) { memoize(input, 39, variableDeclarator_StartIndex); }
+ variableDeclarator_stack.pop();
}
return ;
}
// $ANTLR end variableDeclarator
+ public static class variableDeclaratorRest_return extends ParserRuleReturnScope {
+ };
// $ANTLR start variableDeclaratorRest
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:389:1: variableDeclaratorRest : ( ( '[' ']' )+ ( '=' variableInitializer )? | '=' variableInitializer | );
- public final void variableDeclaratorRest() throws RecognitionException {
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:405:1: variableDeclaratorRest : ( ( '[' ']' )+ ( '=' variableInitializer )? | '=' variableInitializer | );
+ public final variableDeclaratorRest_return variableDeclaratorRest() throws RecognitionException {
+ variableDeclaratorRest_return retval = new variableDeclaratorRest_return();
+ retval.start = input.LT(1);
int variableDeclaratorRest_StartIndex = input.index();
try {
- if ( backtracking>0 && alreadyParsedRule(input, 40) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:390:4: ( ( '[' ']' )+ ( '=' variableInitializer )? | '=' variableInitializer | )
+ if ( backtracking>0 && alreadyParsedRule(input, 40) ) { return retval; }
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:406:4: ( ( '[' ']' )+ ( '=' variableInitializer )? | '=' variableInitializer | )
int alt56=3;
switch ( input.LA(1) ) {
case 41:
@@ -3190,18 +3223,18 @@
}
break;
default:
- if (backtracking>0) {failed=true; return ;}
+ if (backtracking>0) {failed=true; return retval;}
NoViableAltException nvae =
- new NoViableAltException("389:1: variableDeclaratorRest : ( ( '[' ']' )+ ( '=' variableInitializer )? | '=' variableInitializer | );", 56, 0, input);
+ new NoViableAltException("405:1: variableDeclaratorRest : ( ( '[' ']' )+ ( '=' variableInitializer )? | '=' variableInitializer | );", 56, 0, input);
throw nvae;
}
switch (alt56) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:390:4: ( '[' ']' )+ ( '=' variableInitializer )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:406:4: ( '[' ']' )+ ( '=' variableInitializer )?
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:390:4: ( '[' ']' )+
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:406:4: ( '[' ']' )+
int cnt54=0;
loop54:
do {
@@ -3215,17 +3248,17 @@
switch (alt54) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:390:5: '[' ']'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:406:5: '[' ']'
{
- match(input,41,FOLLOW_41_in_variableDeclaratorRest1080); if (failed) return ;
- match(input,42,FOLLOW_42_in_variableDeclaratorRest1082); if (failed) return ;
+ match(input,41,FOLLOW_41_in_variableDeclaratorRest1102); if (failed) return retval;
+ match(input,42,FOLLOW_42_in_variableDeclaratorRest1104); if (failed) return retval;
}
break;
default :
if ( cnt54 >= 1 ) break loop54;
- if (backtracking>0) {failed=true; return ;}
+ if (backtracking>0) {failed=true; return retval;}
EarlyExitException eee =
new EarlyExitException(54, input);
throw eee;
@@ -3233,7 +3266,7 @@
cnt54++;
} while (true);
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:390:15: ( '=' variableInitializer )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:406:15: ( '=' variableInitializer )?
int alt55=2;
int LA55_0 = input.LA(1);
@@ -3242,13 +3275,13 @@
}
switch (alt55) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:390:16: '=' variableInitializer
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:406:16: '=' variableInitializer
{
- match(input,44,FOLLOW_44_in_variableDeclaratorRest1087); if (failed) return ;
- pushFollow(FOLLOW_variableInitializer_in_variableDeclaratorRest1089);
+ match(input,44,FOLLOW_44_in_variableDeclaratorRest1109); if (failed) return retval;
+ pushFollow(FOLLOW_variableInitializer_in_variableDeclaratorRest1111);
variableInitializer();
_fsp--;
- if (failed) return ;
+ if (failed) return retval;
}
break;
@@ -3259,23 +3292,25 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:391:4: '=' variableInitializer
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:407:4: '=' variableInitializer
{
- match(input,44,FOLLOW_44_in_variableDeclaratorRest1096); if (failed) return ;
- pushFollow(FOLLOW_variableInitializer_in_variableDeclaratorRest1098);
+ match(input,44,FOLLOW_44_in_variableDeclaratorRest1118); if (failed) return retval;
+ pushFollow(FOLLOW_variableInitializer_in_variableDeclaratorRest1120);
variableInitializer();
_fsp--;
- if (failed) return ;
+ if (failed) return retval;
}
break;
case 3 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:393:2:
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:409:2:
{
}
break;
}
+ retval.stop = input.LT(-1);
+
}
catch (RecognitionException re) {
reportError(re);
@@ -3284,25 +3319,25 @@
finally {
if ( backtracking>0 ) { memoize(input, 40, variableDeclaratorRest_StartIndex); }
}
- return ;
+ return retval;
}
// $ANTLR end variableDeclaratorRest
// $ANTLR start constantDeclaratorsRest
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:395:1: constantDeclaratorsRest : constantDeclaratorRest ( ',' constantDeclarator )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:411:1: constantDeclaratorsRest : constantDeclaratorRest ( ',' constantDeclarator )* ;
public final void constantDeclaratorsRest() throws RecognitionException {
int constantDeclaratorsRest_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 41) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:396:9: ( constantDeclaratorRest ( ',' constantDeclarator )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:396:9: constantDeclaratorRest ( ',' constantDeclarator )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:412:9: ( constantDeclaratorRest ( ',' constantDeclarator )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:412:9: constantDeclaratorRest ( ',' constantDeclarator )*
{
- pushFollow(FOLLOW_constantDeclaratorRest_in_constantDeclaratorsRest1118);
+ pushFollow(FOLLOW_constantDeclaratorRest_in_constantDeclaratorsRest1140);
constantDeclaratorRest();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:396:32: ( ',' constantDeclarator )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:412:32: ( ',' constantDeclarator )*
loop57:
do {
int alt57=2;
@@ -3315,10 +3350,10 @@
switch (alt57) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:396:33: ',' constantDeclarator
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:412:33: ',' constantDeclarator
{
- match(input,34,FOLLOW_34_in_constantDeclaratorsRest1121); if (failed) return ;
- pushFollow(FOLLOW_constantDeclarator_in_constantDeclaratorsRest1123);
+ match(input,34,FOLLOW_34_in_constantDeclaratorsRest1143); if (failed) return ;
+ pushFollow(FOLLOW_constantDeclarator_in_constantDeclaratorsRest1145);
constantDeclarator();
_fsp--;
if (failed) return ;
@@ -3348,15 +3383,15 @@
// $ANTLR start constantDeclaratorRest
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:399:1: constantDeclaratorRest : ( '[' ']' )* '=' variableInitializer ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:415:1: constantDeclaratorRest : ( '[' ']' )* '=' variableInitializer ;
public final void constantDeclaratorRest() throws RecognitionException {
int constantDeclaratorRest_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 42) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:400:4: ( ( '[' ']' )* '=' variableInitializer )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:400:4: ( '[' ']' )* '=' variableInitializer
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:416:4: ( ( '[' ']' )* '=' variableInitializer )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:416:4: ( '[' ']' )* '=' variableInitializer
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:400:4: ( '[' ']' )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:416:4: ( '[' ']' )*
loop58:
do {
int alt58=2;
@@ -3369,10 +3404,10 @@
switch (alt58) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:400:5: '[' ']'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:416:5: '[' ']'
{
- match(input,41,FOLLOW_41_in_constantDeclaratorRest1140); if (failed) return ;
- match(input,42,FOLLOW_42_in_constantDeclaratorRest1142); if (failed) return ;
+ match(input,41,FOLLOW_41_in_constantDeclaratorRest1162); if (failed) return ;
+ match(input,42,FOLLOW_42_in_constantDeclaratorRest1164); if (failed) return ;
}
break;
@@ -3382,8 +3417,8 @@
}
} while (true);
- match(input,44,FOLLOW_44_in_constantDeclaratorRest1146); if (failed) return ;
- pushFollow(FOLLOW_variableInitializer_in_constantDeclaratorRest1148);
+ match(input,44,FOLLOW_44_in_constantDeclaratorRest1168); if (failed) return ;
+ pushFollow(FOLLOW_variableInitializer_in_constantDeclaratorRest1170);
variableInitializer();
_fsp--;
if (failed) return ;
@@ -3404,16 +3439,16 @@
// $ANTLR start variableDeclaratorId
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:403:1: variableDeclaratorId : Identifier ( '[' ']' )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:419:1: variableDeclaratorId : Identifier ( '[' ']' )* ;
public final void variableDeclaratorId() throws RecognitionException {
int variableDeclaratorId_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 43) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:404:4: ( Identifier ( '[' ']' )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:404:4: Identifier ( '[' ']' )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:420:4: ( Identifier ( '[' ']' )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:420:4: Identifier ( '[' ']' )*
{
- match(input,Identifier,FOLLOW_Identifier_in_variableDeclaratorId1160); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:404:15: ( '[' ']' )*
+ match(input,Identifier,FOLLOW_Identifier_in_variableDeclaratorId1182); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:420:15: ( '[' ']' )*
loop59:
do {
int alt59=2;
@@ -3426,10 +3461,10 @@
switch (alt59) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:404:16: '[' ']'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:420:16: '[' ']'
{
- match(input,41,FOLLOW_41_in_variableDeclaratorId1163); if (failed) return ;
- match(input,42,FOLLOW_42_in_variableDeclaratorId1165); if (failed) return ;
+ match(input,41,FOLLOW_41_in_variableDeclaratorId1185); if (failed) return ;
+ match(input,42,FOLLOW_42_in_variableDeclaratorId1187); if (failed) return ;
}
break;
@@ -3456,12 +3491,12 @@
// $ANTLR start variableInitializer
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:407:1: variableInitializer : ( arrayInitializer | expression );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:423:1: variableInitializer : ( arrayInitializer | expression );
public final void variableInitializer() throws RecognitionException {
int variableInitializer_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 44) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:408:4: ( arrayInitializer | expression )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:424:4: ( arrayInitializer | expression )
int alt60=2;
int LA60_0 = input.LA(1);
@@ -3474,15 +3509,15 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("407:1: variableInitializer : ( arrayInitializer | expression );", 60, 0, input);
+ new NoViableAltException("423:1: variableInitializer : ( arrayInitializer | expression );", 60, 0, input);
throw nvae;
}
switch (alt60) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:408:4: arrayInitializer
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:424:4: arrayInitializer
{
- pushFollow(FOLLOW_arrayInitializer_in_variableInitializer1178);
+ pushFollow(FOLLOW_arrayInitializer_in_variableInitializer1200);
arrayInitializer();
_fsp--;
if (failed) return ;
@@ -3490,9 +3525,9 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:409:9: expression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:425:9: expression
{
- pushFollow(FOLLOW_expression_in_variableInitializer1188);
+ pushFollow(FOLLOW_expression_in_variableInitializer1210);
expression();
_fsp--;
if (failed) return ;
@@ -3515,16 +3550,16 @@
// $ANTLR start arrayInitializer
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:412:1: arrayInitializer : '{' ( variableInitializer ( ',' variableInitializer )* ( ',' )? )? '}' ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:428:1: arrayInitializer : '{' ( variableInitializer ( ',' variableInitializer )* ( ',' )? )? '}' ;
public final void arrayInitializer() throws RecognitionException {
int arrayInitializer_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 45) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:413:4: ( '{' ( variableInitializer ( ',' variableInitializer )* ( ',' )? )? '}' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:413:4: '{' ( variableInitializer ( ',' variableInitializer )* ( ',' )? )? '}'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:429:4: ( '{' ( variableInitializer ( ',' variableInitializer )* ( ',' )? )? '}' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:429:4: '{' ( variableInitializer ( ',' variableInitializer )* ( ',' )? )? '}'
{
- match(input,37,FOLLOW_37_in_arrayInitializer1200); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:413:8: ( variableInitializer ( ',' variableInitializer )* ( ',' )? )?
+ match(input,37,FOLLOW_37_in_arrayInitializer1222); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:429:8: ( variableInitializer ( ',' variableInitializer )* ( ',' )? )?
int alt63=2;
int LA63_0 = input.LA(1);
@@ -3533,13 +3568,13 @@
}
switch (alt63) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:413:9: variableInitializer ( ',' variableInitializer )* ( ',' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:429:9: variableInitializer ( ',' variableInitializer )* ( ',' )?
{
- pushFollow(FOLLOW_variableInitializer_in_arrayInitializer1203);
+ pushFollow(FOLLOW_variableInitializer_in_arrayInitializer1225);
variableInitializer();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:413:29: ( ',' variableInitializer )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:429:29: ( ',' variableInitializer )*
loop61:
do {
int alt61=2;
@@ -3558,10 +3593,10 @@
switch (alt61) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:413:30: ',' variableInitializer
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:429:30: ',' variableInitializer
{
- match(input,34,FOLLOW_34_in_arrayInitializer1206); if (failed) return ;
- pushFollow(FOLLOW_variableInitializer_in_arrayInitializer1208);
+ match(input,34,FOLLOW_34_in_arrayInitializer1228); if (failed) return ;
+ pushFollow(FOLLOW_variableInitializer_in_arrayInitializer1230);
variableInitializer();
_fsp--;
if (failed) return ;
@@ -3574,7 +3609,7 @@
}
} while (true);
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:413:56: ( ',' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:429:56: ( ',' )?
int alt62=2;
int LA62_0 = input.LA(1);
@@ -3583,9 +3618,9 @@
}
switch (alt62) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:413:57: ','
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:429:57: ','
{
- match(input,34,FOLLOW_34_in_arrayInitializer1213); if (failed) return ;
+ match(input,34,FOLLOW_34_in_arrayInitializer1235); if (failed) return ;
}
break;
@@ -3598,7 +3633,7 @@
}
- match(input,38,FOLLOW_38_in_arrayInitializer1220); if (failed) return ;
+ match(input,38,FOLLOW_38_in_arrayInitializer1242); if (failed) return ;
}
@@ -3616,12 +3651,12 @@
// $ANTLR start modifier
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:416:1: modifier : ( annotation | 'public' | 'protected' | 'private' | 'static' | 'abstract' | 'final' | 'native' | 'synchronized' | 'transient' | 'volatile' | 'strictfp' );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:432:1: modifier : ( annotation | 'public' | 'protected' | 'private' | 'static' | 'abstract' | 'final' | 'native' | 'synchronized' | 'transient' | 'volatile' | 'strictfp' );
public final void modifier() throws RecognitionException {
int modifier_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 46) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:417:9: ( annotation | 'public' | 'protected' | 'private' | 'static' | 'abstract' | 'final' | 'native' | 'synchronized' | 'transient' | 'volatile' | 'strictfp' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:433:9: ( annotation | 'public' | 'protected' | 'private' | 'static' | 'abstract' | 'final' | 'native' | 'synchronized' | 'transient' | 'volatile' | 'strictfp' )
int alt64=12;
switch ( input.LA(1) ) {
case 71:
@@ -3687,16 +3722,16 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("416:1: modifier : ( annotation | 'public' | 'protected' | 'private' | 'static' | 'abstract' | 'final' | 'native' | 'synchronized' | 'transient' | 'volatile' | 'strictfp' );", 64, 0, input);
+ new NoViableAltException("432:1: modifier : ( annotation | 'public' | 'protected' | 'private' | 'static' | 'abstract' | 'final' | 'native' | 'synchronized' | 'transient' | 'volatile' | 'strictfp' );", 64, 0, input);
throw nvae;
}
switch (alt64) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:417:9: annotation
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:433:9: annotation
{
- pushFollow(FOLLOW_annotation_in_modifier1236);
+ pushFollow(FOLLOW_annotation_in_modifier1258);
annotation();
_fsp--;
if (failed) return ;
@@ -3704,79 +3739,79 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:418:9: 'public'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:434:9: 'public'
{
- match(input,45,FOLLOW_45_in_modifier1246); if (failed) return ;
+ match(input,45,FOLLOW_45_in_modifier1268); if (failed) return ;
}
break;
case 3 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:419:9: 'protected'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:435:9: 'protected'
{
- match(input,46,FOLLOW_46_in_modifier1256); if (failed) return ;
+ match(input,46,FOLLOW_46_in_modifier1278); if (failed) return ;
}
break;
case 4 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:420:9: 'private'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:436:9: 'private'
{
- match(input,47,FOLLOW_47_in_modifier1266); if (failed) return ;
+ match(input,47,FOLLOW_47_in_modifier1288); if (failed) return ;
}
break;
case 5 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:421:9: 'static'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:437:9: 'static'
{
- match(input,27,FOLLOW_27_in_modifier1276); if (failed) return ;
+ match(input,27,FOLLOW_27_in_modifier1298); if (failed) return ;
}
break;
case 6 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:422:9: 'abstract'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:438:9: 'abstract'
{
- match(input,48,FOLLOW_48_in_modifier1286); if (failed) return ;
+ match(input,48,FOLLOW_48_in_modifier1308); if (failed) return ;
}
break;
case 7 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:423:9: 'final'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:439:9: 'final'
{
- match(input,49,FOLLOW_49_in_modifier1296); if (failed) return ;
+ match(input,49,FOLLOW_49_in_modifier1318); if (failed) return ;
}
break;
case 8 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:424:9: 'native'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:440:9: 'native'
{
- match(input,50,FOLLOW_50_in_modifier1306); if (failed) return ;
+ match(input,50,FOLLOW_50_in_modifier1328); if (failed) return ;
}
break;
case 9 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:425:9: 'synchronized'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:441:9: 'synchronized'
{
- match(input,51,FOLLOW_51_in_modifier1316); if (failed) return ;
+ match(input,51,FOLLOW_51_in_modifier1338); if (failed) return ;
}
break;
case 10 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:426:9: 'transient'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:442:9: 'transient'
{
- match(input,52,FOLLOW_52_in_modifier1326); if (failed) return ;
+ match(input,52,FOLLOW_52_in_modifier1348); if (failed) return ;
}
break;
case 11 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:427:9: 'volatile'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:443:9: 'volatile'
{
- match(input,53,FOLLOW_53_in_modifier1336); if (failed) return ;
+ match(input,53,FOLLOW_53_in_modifier1358); if (failed) return ;
}
break;
case 12 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:428:9: 'strictfp'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:444:9: 'strictfp'
{
- match(input,54,FOLLOW_54_in_modifier1346); if (failed) return ;
+ match(input,54,FOLLOW_54_in_modifier1368); if (failed) return ;
}
break;
@@ -3796,16 +3831,16 @@
// $ANTLR start packageOrTypeName
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:431:1: packageOrTypeName : Identifier ( '.' Identifier )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:447:1: packageOrTypeName : Identifier ( '.' Identifier )* ;
public final void packageOrTypeName() throws RecognitionException {
int packageOrTypeName_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 47) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:432:4: ( Identifier ( '.' Identifier )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:432:4: Identifier ( '.' Identifier )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:448:4: ( Identifier ( '.' Identifier )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:448:4: Identifier ( '.' Identifier )*
{
- match(input,Identifier,FOLLOW_Identifier_in_packageOrTypeName1360); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:432:15: ( '.' Identifier )*
+ match(input,Identifier,FOLLOW_Identifier_in_packageOrTypeName1382); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:448:15: ( '.' Identifier )*
loop65:
do {
int alt65=2;
@@ -3830,10 +3865,10 @@
switch (alt65) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:432:16: '.' Identifier
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:448:16: '.' Identifier
{
- match(input,28,FOLLOW_28_in_packageOrTypeName1363); if (failed) return ;
- match(input,Identifier,FOLLOW_Identifier_in_packageOrTypeName1365); if (failed) return ;
+ match(input,28,FOLLOW_28_in_packageOrTypeName1385); if (failed) return ;
+ match(input,Identifier,FOLLOW_Identifier_in_packageOrTypeName1387); if (failed) return ;
}
break;
@@ -3860,15 +3895,15 @@
// $ANTLR start enumConstantName
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:435:1: enumConstantName : Identifier ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:451:1: enumConstantName : Identifier ;
public final void enumConstantName() throws RecognitionException {
int enumConstantName_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 48) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:436:9: ( Identifier )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:436:9: Identifier
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:452:9: ( Identifier )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:452:9: Identifier
{
- match(input,Identifier,FOLLOW_Identifier_in_enumConstantName1383); if (failed) return ;
+ match(input,Identifier,FOLLOW_Identifier_in_enumConstantName1405); if (failed) return ;
}
@@ -3886,12 +3921,12 @@
// $ANTLR start typeName
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:439:1: typeName : ( Identifier | packageOrTypeName '.' Identifier );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:455:1: typeName : ( Identifier | packageOrTypeName '.' Identifier );
public final void typeName() throws RecognitionException {
int typeName_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 49) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:440:6: ( Identifier | packageOrTypeName '.' Identifier )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:456:6: ( Identifier | packageOrTypeName '.' Identifier )
int alt66=2;
int LA66_0 = input.LA(1);
@@ -3907,7 +3942,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("439:1: typeName : ( Identifier | packageOrTypeName '.' Identifier );", 66, 1, input);
+ new NoViableAltException("455:1: typeName : ( Identifier | packageOrTypeName '.' Identifier );", 66, 1, input);
throw nvae;
}
@@ -3915,27 +3950,27 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("439:1: typeName : ( Identifier | packageOrTypeName '.' Identifier );", 66, 0, input);
+ new NoViableAltException("455:1: typeName : ( Identifier | packageOrTypeName '.' Identifier );", 66, 0, input);
throw nvae;
}
switch (alt66) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:440:6: Identifier
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:456:6: Identifier
{
- match(input,Identifier,FOLLOW_Identifier_in_typeName1399); if (failed) return ;
+ match(input,Identifier,FOLLOW_Identifier_in_typeName1421); if (failed) return ;
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:441:9: packageOrTypeName '.' Identifier
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:457:9: packageOrTypeName '.' Identifier
{
- pushFollow(FOLLOW_packageOrTypeName_in_typeName1409);
+ pushFollow(FOLLOW_packageOrTypeName_in_typeName1431);
packageOrTypeName();
_fsp--;
if (failed) return ;
- match(input,28,FOLLOW_28_in_typeName1411); if (failed) return ;
- match(input,Identifier,FOLLOW_Identifier_in_typeName1413); if (failed) return ;
+ match(input,28,FOLLOW_28_in_typeName1433); if (failed) return ;
+ match(input,Identifier,FOLLOW_Identifier_in_typeName1435); if (failed) return ;
}
break;
@@ -3953,14 +3988,18 @@
}
// $ANTLR end typeName
+ public static class type_return extends ParserRuleReturnScope {
+ };
// $ANTLR start type
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:444:1: type : ( Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )* ( '[' ']' )* | primitiveType ( '[' ']' )* );
- public final void type() throws RecognitionException {
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:460:1: type : ( Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )* ( '[' ']' )* | primitiveType ( '[' ']' )* );
+ public final type_return type() throws RecognitionException {
+ type_return retval = new type_return();
+ retval.start = input.LT(1);
int type_StartIndex = input.index();
try {
- if ( backtracking>0 && alreadyParsedRule(input, 50) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:445:4: ( Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )* ( '[' ']' )* | primitiveType ( '[' ']' )* )
+ if ( backtracking>0 && alreadyParsedRule(input, 50) ) { return retval; }
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:461:4: ( Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )* ( '[' ']' )* | primitiveType ( '[' ']' )* )
int alt72=2;
int LA72_0 = input.LA(1);
@@ -3971,18 +4010,18 @@
alt72=2;
}
else {
- if (backtracking>0) {failed=true; return ;}
+ if (backtracking>0) {failed=true; return retval;}
NoViableAltException nvae =
- new NoViableAltException("444:1: type : ( Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )* ( '[' ']' )* | primitiveType ( '[' ']' )* );", 72, 0, input);
+ new NoViableAltException("460:1: type : ( Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )* ( '[' ']' )* | primitiveType ( '[' ']' )* );", 72, 0, input);
throw nvae;
}
switch (alt72) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:445:4: Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )* ( '[' ']' )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:461:4: Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )* ( '[' ']' )*
{
- match(input,Identifier,FOLLOW_Identifier_in_type1424); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:445:15: ( typeArguments )?
+ match(input,Identifier,FOLLOW_Identifier_in_type1446); if (failed) return retval;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:461:15: ( typeArguments )?
int alt67=2;
int LA67_0 = input.LA(1);
@@ -3995,19 +4034,19 @@
}
switch (alt67) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:445:16: typeArguments
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:461:16: typeArguments
{
- pushFollow(FOLLOW_typeArguments_in_type1427);
+ pushFollow(FOLLOW_typeArguments_in_type1449);
typeArguments();
_fsp--;
- if (failed) return ;
+ if (failed) return retval;
}
break;
}
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:445:32: ( '.' Identifier ( typeArguments )? )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:461:32: ( '.' Identifier ( typeArguments )? )*
loop69:
do {
int alt69=2;
@@ -4020,11 +4059,11 @@
switch (alt69) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:445:33: '.' Identifier ( typeArguments )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:461:33: '.' Identifier ( typeArguments )?
{
- match(input,28,FOLLOW_28_in_type1432); if (failed) return ;
- match(input,Identifier,FOLLOW_Identifier_in_type1434); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:445:48: ( typeArguments )?
+ match(input,28,FOLLOW_28_in_type1454); if (failed) return retval;
+ match(input,Identifier,FOLLOW_Identifier_in_type1456); if (failed) return retval;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:461:48: ( typeArguments )?
int alt68=2;
int LA68_0 = input.LA(1);
@@ -4037,12 +4076,12 @@
}
switch (alt68) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:445:49: typeArguments
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:461:49: typeArguments
{
- pushFollow(FOLLOW_typeArguments_in_type1437);
+ pushFollow(FOLLOW_typeArguments_in_type1459);
typeArguments();
_fsp--;
- if (failed) return ;
+ if (failed) return retval;
}
break;
@@ -4058,7 +4097,7 @@
}
} while (true);
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:445:68: ( '[' ']' )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:461:68: ( '[' ']' )*
loop70:
do {
int alt70=2;
@@ -4071,10 +4110,10 @@
switch (alt70) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:445:69: '[' ']'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:461:69: '[' ']'
{
- match(input,41,FOLLOW_41_in_type1445); if (failed) return ;
- match(input,42,FOLLOW_42_in_type1447); if (failed) return ;
+ match(input,41,FOLLOW_41_in_type1467); if (failed) return retval;
+ match(input,42,FOLLOW_42_in_type1469); if (failed) return retval;
}
break;
@@ -4088,13 +4127,13 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:446:4: primitiveType ( '[' ']' )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:462:4: primitiveType ( '[' ']' )*
{
- pushFollow(FOLLOW_primitiveType_in_type1454);
+ pushFollow(FOLLOW_primitiveType_in_type1476);
primitiveType();
_fsp--;
- if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:446:18: ( '[' ']' )*
+ if (failed) return retval;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:462:18: ( '[' ']' )*
loop71:
do {
int alt71=2;
@@ -4107,10 +4146,10 @@
switch (alt71) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:446:19: '[' ']'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:462:19: '[' ']'
{
- match(input,41,FOLLOW_41_in_type1457); if (failed) return ;
- match(input,42,FOLLOW_42_in_type1459); if (failed) return ;
+ match(input,41,FOLLOW_41_in_type1479); if (failed) return retval;
+ match(input,42,FOLLOW_42_in_type1481); if (failed) return retval;
}
break;
@@ -4125,6 +4164,8 @@
break;
}
+ retval.stop = input.LT(-1);
+
}
catch (RecognitionException re) {
reportError(re);
@@ -4133,18 +4174,18 @@
finally {
if ( backtracking>0 ) { memoize(input, 50, type_StartIndex); }
}
- return ;
+ return retval;
}
// $ANTLR end type
// $ANTLR start primitiveType
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:449:1: primitiveType : ( 'boolean' | 'char' | 'byte' | 'short' | 'int' | 'long' | 'float' | 'double' );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:465:1: primitiveType : ( 'boolean' | 'char' | 'byte' | 'short' | 'int' | 'long' | 'float' | 'double' );
public final void primitiveType() throws RecognitionException {
int primitiveType_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 51) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:450:9: ( 'boolean' | 'char' | 'byte' | 'short' | 'int' | 'long' | 'float' | 'double' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:466:9: ( 'boolean' | 'char' | 'byte' | 'short' | 'int' | 'long' | 'float' | 'double' )
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:
{
if ( (input.LA(1)>=55 && input.LA(1)<=62) ) {
@@ -4173,14 +4214,18 @@
}
// $ANTLR end primitiveType
+ public static class variableModifier_return extends ParserRuleReturnScope {
+ };
// $ANTLR start variableModifier
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:460:1: variableModifier : ( 'final' | annotation );
- public final void variableModifier() throws RecognitionException {
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:476:1: variableModifier : ( 'final' | annotation );
+ public final variableModifier_return variableModifier() throws RecognitionException {
+ variableModifier_return retval = new variableModifier_return();
+ retval.start = input.LT(1);
int variableModifier_StartIndex = input.index();
try {
- if ( backtracking>0 && alreadyParsedRule(input, 52) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:461:4: ( 'final' | annotation )
+ if ( backtracking>0 && alreadyParsedRule(input, 52) ) { return retval; }
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:477:4: ( 'final' | annotation )
int alt73=2;
int LA73_0 = input.LA(1);
@@ -4191,32 +4236,34 @@
alt73=2;
}
else {
- if (backtracking>0) {failed=true; return ;}
+ if (backtracking>0) {failed=true; return retval;}
NoViableAltException nvae =
- new NoViableAltException("460:1: variableModifier : ( 'final' | annotation );", 73, 0, input);
+ new NoViableAltException("476:1: variableModifier : ( 'final' | annotation );", 73, 0, input);
throw nvae;
}
switch (alt73) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:461:4: 'final'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:477:4: 'final'
{
- match(input,49,FOLLOW_49_in_variableModifier1547); if (failed) return ;
+ match(input,49,FOLLOW_49_in_variableModifier1569); if (failed) return retval;
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:462:9: annotation
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:478:9: annotation
{
- pushFollow(FOLLOW_annotation_in_variableModifier1557);
+ pushFollow(FOLLOW_annotation_in_variableModifier1579);
annotation();
_fsp--;
- if (failed) return ;
+ if (failed) return retval;
}
break;
}
+ retval.stop = input.LT(-1);
+
}
catch (RecognitionException re) {
reportError(re);
@@ -4225,26 +4272,26 @@
finally {
if ( backtracking>0 ) { memoize(input, 52, variableModifier_StartIndex); }
}
- return ;
+ return retval;
}
// $ANTLR end variableModifier
// $ANTLR start typeArguments
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:465:1: typeArguments : '<' typeArgument ( ',' typeArgument )* '>' ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:481:1: typeArguments : '<' typeArgument ( ',' typeArgument )* '>' ;
public final void typeArguments() throws RecognitionException {
int typeArguments_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 53) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:466:4: ( '<' typeArgument ( ',' typeArgument )* '>' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:466:4: '<' typeArgument ( ',' typeArgument )* '>'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:482:4: ( '<' typeArgument ( ',' typeArgument )* '>' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:482:4: '<' typeArgument ( ',' typeArgument )* '>'
{
- match(input,33,FOLLOW_33_in_typeArguments1568); if (failed) return ;
- pushFollow(FOLLOW_typeArgument_in_typeArguments1570);
+ match(input,33,FOLLOW_33_in_typeArguments1590); if (failed) return ;
+ pushFollow(FOLLOW_typeArgument_in_typeArguments1592);
typeArgument();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:466:21: ( ',' typeArgument )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:482:21: ( ',' typeArgument )*
loop74:
do {
int alt74=2;
@@ -4257,10 +4304,10 @@
switch (alt74) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:466:22: ',' typeArgument
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:482:22: ',' typeArgument
{
- match(input,34,FOLLOW_34_in_typeArguments1573); if (failed) return ;
- pushFollow(FOLLOW_typeArgument_in_typeArguments1575);
+ match(input,34,FOLLOW_34_in_typeArguments1595); if (failed) return ;
+ pushFollow(FOLLOW_typeArgument_in_typeArguments1597);
typeArgument();
_fsp--;
if (failed) return ;
@@ -4273,7 +4320,7 @@
}
} while (true);
- match(input,35,FOLLOW_35_in_typeArguments1579); if (failed) return ;
+ match(input,35,FOLLOW_35_in_typeArguments1601); if (failed) return ;
}
@@ -4291,12 +4338,12 @@
// $ANTLR start typeArgument
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:469:1: typeArgument : ( type | '?' ( ( 'extends' | 'super' ) type )? );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:485:1: typeArgument : ( type | '?' ( ( 'extends' | 'super' ) type )? );
public final void typeArgument() throws RecognitionException {
int typeArgument_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 54) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:470:4: ( type | '?' ( ( 'extends' | 'super' ) type )? )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:486:4: ( type | '?' ( ( 'extends' | 'super' ) type )? )
int alt76=2;
int LA76_0 = input.LA(1);
@@ -4309,15 +4356,15 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("469:1: typeArgument : ( type | '?' ( ( 'extends' | 'super' ) type )? );", 76, 0, input);
+ new NoViableAltException("485:1: typeArgument : ( type | '?' ( ( 'extends' | 'super' ) type )? );", 76, 0, input);
throw nvae;
}
switch (alt76) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:470:4: type
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:486:4: type
{
- pushFollow(FOLLOW_type_in_typeArgument1591);
+ pushFollow(FOLLOW_type_in_typeArgument1613);
type();
_fsp--;
if (failed) return ;
@@ -4325,10 +4372,10 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:471:4: '?' ( ( 'extends' | 'super' ) type )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:487:4: '?' ( ( 'extends' | 'super' ) type )?
{
- match(input,63,FOLLOW_63_in_typeArgument1596); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:471:8: ( ( 'extends' | 'super' ) type )?
+ match(input,63,FOLLOW_63_in_typeArgument1618); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:487:8: ( ( 'extends' | 'super' ) type )?
int alt75=2;
int LA75_0 = input.LA(1);
@@ -4337,7 +4384,7 @@
}
switch (alt75) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:471:9: ( 'extends' | 'super' ) type
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:487:9: ( 'extends' | 'super' ) type
{
if ( input.LA(1)==31||input.LA(1)==64 ) {
input.consume();
@@ -4347,10 +4394,10 @@
if (backtracking>0) {failed=true; return ;}
MismatchedSetException mse =
new MismatchedSetException(null,input);
- recoverFromMismatchedSet(input,mse,FOLLOW_set_in_typeArgument1599); throw mse;
+ recoverFromMismatchedSet(input,mse,FOLLOW_set_in_typeArgument1621); throw mse;
}
- pushFollow(FOLLOW_type_in_typeArgument1607);
+ pushFollow(FOLLOW_type_in_typeArgument1629);
type();
_fsp--;
if (failed) return ;
@@ -4379,19 +4426,19 @@
// $ANTLR start qualifiedNameList
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:474:1: qualifiedNameList : qualifiedName ( ',' qualifiedName )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:490:1: qualifiedNameList : qualifiedName ( ',' qualifiedName )* ;
public final void qualifiedNameList() throws RecognitionException {
int qualifiedNameList_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 55) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:475:4: ( qualifiedName ( ',' qualifiedName )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:475:4: qualifiedName ( ',' qualifiedName )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:491:4: ( qualifiedName ( ',' qualifiedName )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:491:4: qualifiedName ( ',' qualifiedName )*
{
- pushFollow(FOLLOW_qualifiedName_in_qualifiedNameList1621);
+ pushFollow(FOLLOW_qualifiedName_in_qualifiedNameList1643);
qualifiedName();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:475:18: ( ',' qualifiedName )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:491:18: ( ',' qualifiedName )*
loop77:
do {
int alt77=2;
@@ -4404,10 +4451,10 @@
switch (alt77) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:475:19: ',' qualifiedName
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:491:19: ',' qualifiedName
{
- match(input,34,FOLLOW_34_in_qualifiedNameList1624); if (failed) return ;
- pushFollow(FOLLOW_qualifiedName_in_qualifiedNameList1626);
+ match(input,34,FOLLOW_34_in_qualifiedNameList1646); if (failed) return ;
+ pushFollow(FOLLOW_qualifiedName_in_qualifiedNameList1648);
qualifiedName();
_fsp--;
if (failed) return ;
@@ -4437,16 +4484,16 @@
// $ANTLR start formalParameters
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:478:1: formalParameters : '(' ( formalParameterDecls )? ')' ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:494:1: formalParameters : '(' ( formalParameterDecls )? ')' ;
public final void formalParameters() throws RecognitionException {
int formalParameters_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 56) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:479:4: ( '(' ( formalParameterDecls )? ')' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:479:4: '(' ( formalParameterDecls )? ')'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:495:4: ( '(' ( formalParameterDecls )? ')' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:495:4: '(' ( formalParameterDecls )? ')'
{
- match(input,65,FOLLOW_65_in_formalParameters1640); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:479:8: ( formalParameterDecls )?
+ match(input,65,FOLLOW_65_in_formalParameters1662); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:495:8: ( formalParameterDecls )?
int alt78=2;
int LA78_0 = input.LA(1);
@@ -4457,7 +4504,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: formalParameterDecls
{
- pushFollow(FOLLOW_formalParameterDecls_in_formalParameters1642);
+ pushFollow(FOLLOW_formalParameterDecls_in_formalParameters1664);
formalParameterDecls();
_fsp--;
if (failed) return ;
@@ -4467,7 +4514,7 @@
}
- match(input,66,FOLLOW_66_in_formalParameters1645); if (failed) return ;
+ match(input,66,FOLLOW_66_in_formalParameters1667); if (failed) return ;
}
@@ -4485,15 +4532,15 @@
// $ANTLR start formalParameterDecls
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:482:1: formalParameterDecls : ( variableModifier )* type ( formalParameterDeclsRest )? ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:498:1: formalParameterDecls : ( variableModifier )* type ( formalParameterDeclsRest )? ;
public final void formalParameterDecls() throws RecognitionException {
int formalParameterDecls_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 57) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:483:4: ( ( variableModifier )* type ( formalParameterDeclsRest )? )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:483:4: ( variableModifier )* type ( formalParameterDeclsRest )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:499:4: ( ( variableModifier )* type ( formalParameterDeclsRest )? )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:499:4: ( variableModifier )* type ( formalParameterDeclsRest )?
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:483:4: ( variableModifier )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:499:4: ( variableModifier )*
loop79:
do {
int alt79=2;
@@ -4508,7 +4555,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: variableModifier
{
- pushFollow(FOLLOW_variableModifier_in_formalParameterDecls1657);
+ pushFollow(FOLLOW_variableModifier_in_formalParameterDecls1679);
variableModifier();
_fsp--;
if (failed) return ;
@@ -4521,11 +4568,11 @@
}
} while (true);
- pushFollow(FOLLOW_type_in_formalParameterDecls1660);
+ pushFollow(FOLLOW_type_in_formalParameterDecls1682);
type();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:483:27: ( formalParameterDeclsRest )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:499:27: ( formalParameterDeclsRest )?
int alt80=2;
int LA80_0 = input.LA(1);
@@ -4536,7 +4583,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: formalParameterDeclsRest
{
- pushFollow(FOLLOW_formalParameterDeclsRest_in_formalParameterDecls1662);
+ pushFollow(FOLLOW_formalParameterDeclsRest_in_formalParameterDecls1684);
formalParameterDeclsRest();
_fsp--;
if (failed) return ;
@@ -4563,12 +4610,12 @@
// $ANTLR start formalParameterDeclsRest
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:486:1: formalParameterDeclsRest : ( variableDeclaratorId ( ',' formalParameterDecls )? | '...' variableDeclaratorId );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:502:1: formalParameterDeclsRest : ( variableDeclaratorId ( ',' formalParameterDecls )? | '...' variableDeclaratorId );
public final void formalParameterDeclsRest() throws RecognitionException {
int formalParameterDeclsRest_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 58) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:487:4: ( variableDeclaratorId ( ',' formalParameterDecls )? | '...' variableDeclaratorId )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:503:4: ( variableDeclaratorId ( ',' formalParameterDecls )? | '...' variableDeclaratorId )
int alt82=2;
int LA82_0 = input.LA(1);
@@ -4581,19 +4628,19 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("486:1: formalParameterDeclsRest : ( variableDeclaratorId ( ',' formalParameterDecls )? | '...' variableDeclaratorId );", 82, 0, input);
+ new NoViableAltException("502:1: formalParameterDeclsRest : ( variableDeclaratorId ( ',' formalParameterDecls )? | '...' variableDeclaratorId );", 82, 0, input);
throw nvae;
}
switch (alt82) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:487:4: variableDeclaratorId ( ',' formalParameterDecls )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:503:4: variableDeclaratorId ( ',' formalParameterDecls )?
{
- pushFollow(FOLLOW_variableDeclaratorId_in_formalParameterDeclsRest1675);
+ pushFollow(FOLLOW_variableDeclaratorId_in_formalParameterDeclsRest1697);
variableDeclaratorId();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:487:25: ( ',' formalParameterDecls )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:503:25: ( ',' formalParameterDecls )?
int alt81=2;
int LA81_0 = input.LA(1);
@@ -4602,10 +4649,10 @@
}
switch (alt81) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:487:26: ',' formalParameterDecls
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:503:26: ',' formalParameterDecls
{
- match(input,34,FOLLOW_34_in_formalParameterDeclsRest1678); if (failed) return ;
- pushFollow(FOLLOW_formalParameterDecls_in_formalParameterDeclsRest1680);
+ match(input,34,FOLLOW_34_in_formalParameterDeclsRest1700); if (failed) return ;
+ pushFollow(FOLLOW_formalParameterDecls_in_formalParameterDeclsRest1702);
formalParameterDecls();
_fsp--;
if (failed) return ;
@@ -4619,10 +4666,10 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:488:6: '...' variableDeclaratorId
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:504:6: '...' variableDeclaratorId
{
- match(input,67,FOLLOW_67_in_formalParameterDeclsRest1689); if (failed) return ;
- pushFollow(FOLLOW_variableDeclaratorId_in_formalParameterDeclsRest1691);
+ match(input,67,FOLLOW_67_in_formalParameterDeclsRest1711); if (failed) return ;
+ pushFollow(FOLLOW_variableDeclaratorId_in_formalParameterDeclsRest1713);
variableDeclaratorId();
_fsp--;
if (failed) return ;
@@ -4645,15 +4692,15 @@
// $ANTLR start methodBody
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:491:1: methodBody : block ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:507:1: methodBody : block ;
public final void methodBody() throws RecognitionException {
int methodBody_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 59) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:492:4: ( block )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:492:4: block
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:508:4: ( block )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:508:4: block
{
- pushFollow(FOLLOW_block_in_methodBody1703);
+ pushFollow(FOLLOW_block_in_methodBody1725);
block();
_fsp--;
if (failed) return ;
@@ -4674,16 +4721,16 @@
// $ANTLR start qualifiedName
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:495:1: qualifiedName : Identifier ( '.' Identifier )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:511:1: qualifiedName : Identifier ( '.' Identifier )* ;
public final void qualifiedName() throws RecognitionException {
int qualifiedName_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 60) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:496:4: ( Identifier ( '.' Identifier )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:496:4: Identifier ( '.' Identifier )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:512:4: ( Identifier ( '.' Identifier )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:512:4: Identifier ( '.' Identifier )*
{
- match(input,Identifier,FOLLOW_Identifier_in_qualifiedName1714); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:496:15: ( '.' Identifier )*
+ match(input,Identifier,FOLLOW_Identifier_in_qualifiedName1736); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:512:15: ( '.' Identifier )*
loop83:
do {
int alt83=2;
@@ -4696,10 +4743,10 @@
switch (alt83) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:496:16: '.' Identifier
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:512:16: '.' Identifier
{
- match(input,28,FOLLOW_28_in_qualifiedName1717); if (failed) return ;
- match(input,Identifier,FOLLOW_Identifier_in_qualifiedName1719); if (failed) return ;
+ match(input,28,FOLLOW_28_in_qualifiedName1739); if (failed) return ;
+ match(input,Identifier,FOLLOW_Identifier_in_qualifiedName1741); if (failed) return ;
}
break;
@@ -4726,12 +4773,12 @@
// $ANTLR start literal
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:499:1: literal : ( integerLiteral | FloatingPointLiteral | CharacterLiteral | StringLiteral | booleanLiteral | 'null' );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:515:1: literal : ( integerLiteral | FloatingPointLiteral | CharacterLiteral | StringLiteral | booleanLiteral | 'null' );
public final void literal() throws RecognitionException {
int literal_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 61) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:500:6: ( integerLiteral | FloatingPointLiteral | CharacterLiteral | StringLiteral | booleanLiteral | 'null' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:516:6: ( integerLiteral | FloatingPointLiteral | CharacterLiteral | StringLiteral | booleanLiteral | 'null' )
int alt84=6;
switch ( input.LA(1) ) {
case HexLiteral:
@@ -4770,16 +4817,16 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("499:1: literal : ( integerLiteral | FloatingPointLiteral | CharacterLiteral | StringLiteral | booleanLiteral | 'null' );", 84, 0, input);
+ new NoViableAltException("515:1: literal : ( integerLiteral | FloatingPointLiteral | CharacterLiteral | StringLiteral | booleanLiteral | 'null' );", 84, 0, input);
throw nvae;
}
switch (alt84) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:500:6: integerLiteral
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:516:6: integerLiteral
{
- pushFollow(FOLLOW_integerLiteral_in_literal1736);
+ pushFollow(FOLLOW_integerLiteral_in_literal1758);
integerLiteral();
_fsp--;
if (failed) return ;
@@ -4787,30 +4834,30 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:501:9: FloatingPointLiteral
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:517:9: FloatingPointLiteral
{
- match(input,FloatingPointLiteral,FOLLOW_FloatingPointLiteral_in_literal1746); if (failed) return ;
+ match(input,FloatingPointLiteral,FOLLOW_FloatingPointLiteral_in_literal1768); if (failed) return ;
}
break;
case 3 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:502:9: CharacterLiteral
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:518:9: CharacterLiteral
{
- match(input,CharacterLiteral,FOLLOW_CharacterLiteral_in_literal1756); if (failed) return ;
+ match(input,CharacterLiteral,FOLLOW_CharacterLiteral_in_literal1778); if (failed) return ;
}
break;
case 4 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:503:9: StringLiteral
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:519:9: StringLiteral
{
- match(input,StringLiteral,FOLLOW_StringLiteral_in_literal1766); if (failed) return ;
+ match(input,StringLiteral,FOLLOW_StringLiteral_in_literal1788); if (failed) return ;
}
break;
case 5 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:504:9: booleanLiteral
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:520:9: booleanLiteral
{
- pushFollow(FOLLOW_booleanLiteral_in_literal1776);
+ pushFollow(FOLLOW_booleanLiteral_in_literal1798);
booleanLiteral();
_fsp--;
if (failed) return ;
@@ -4818,9 +4865,9 @@
}
break;
case 6 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:505:9: 'null'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:521:9: 'null'
{
- match(input,68,FOLLOW_68_in_literal1786); if (failed) return ;
+ match(input,68,FOLLOW_68_in_literal1808); if (failed) return ;
}
break;
@@ -4840,12 +4887,12 @@
// $ANTLR start integerLiteral
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:508:1: integerLiteral : ( HexLiteral | OctalLiteral | DecimalLiteral );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:524:1: integerLiteral : ( HexLiteral | OctalLiteral | DecimalLiteral );
public final void integerLiteral() throws RecognitionException {
int integerLiteral_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 62) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:509:9: ( HexLiteral | OctalLiteral | DecimalLiteral )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:525:9: ( HexLiteral | OctalLiteral | DecimalLiteral )
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:
{
if ( (input.LA(1)>=HexLiteral && input.LA(1)<=DecimalLiteral) ) {
@@ -4876,12 +4923,12 @@
// $ANTLR start booleanLiteral
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:514:1: booleanLiteral : ( 'true' | 'false' );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:530:1: booleanLiteral : ( 'true' | 'false' );
public final void booleanLiteral() throws RecognitionException {
int booleanLiteral_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 63) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:515:9: ( 'true' | 'false' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:531:9: ( 'true' | 'false' )
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:
{
if ( (input.LA(1)>=69 && input.LA(1)<=70) ) {
@@ -4912,15 +4959,15 @@
// $ANTLR start annotations
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:521:1: annotations : ( annotation )+ ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:537:1: annotations : ( annotation )+ ;
public final void annotations() throws RecognitionException {
int annotations_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 64) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:522:4: ( ( annotation )+ )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:522:4: ( annotation )+
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:538:4: ( ( annotation )+ )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:538:4: ( annotation )+
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:522:4: ( annotation )+
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:538:4: ( annotation )+
int cnt85=0;
loop85:
do {
@@ -4948,7 +4995,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: annotation
{
- pushFollow(FOLLOW_annotation_in_annotations1867);
+ pushFollow(FOLLOW_annotation_in_annotations1889);
annotation();
_fsp--;
if (failed) return ;
@@ -4983,20 +5030,20 @@
// $ANTLR start annotation
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:525:1: annotation : '@' annotationName ( '(' ( elementValuePairs )? ')' )? ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:541:1: annotation : '@' annotationName ( '(' ( elementValuePairs )? ')' )? ;
public final void annotation() throws RecognitionException {
int annotation_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 65) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:526:4: ( '@' annotationName ( '(' ( elementValuePairs )? ')' )? )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:526:4: '@' annotationName ( '(' ( elementValuePairs )? ')' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:542:4: ( '@' annotationName ( '(' ( elementValuePairs )? ')' )? )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:542:4: '@' annotationName ( '(' ( elementValuePairs )? ')' )?
{
- match(input,71,FOLLOW_71_in_annotation1879); if (failed) return ;
- pushFollow(FOLLOW_annotationName_in_annotation1881);
+ match(input,71,FOLLOW_71_in_annotation1901); if (failed) return ;
+ pushFollow(FOLLOW_annotationName_in_annotation1903);
annotationName();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:526:23: ( '(' ( elementValuePairs )? ')' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:542:23: ( '(' ( elementValuePairs )? ')' )?
int alt87=2;
int LA87_0 = input.LA(1);
@@ -5005,10 +5052,10 @@
}
switch (alt87) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:526:24: '(' ( elementValuePairs )? ')'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:542:24: '(' ( elementValuePairs )? ')'
{
- match(input,65,FOLLOW_65_in_annotation1884); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:526:28: ( elementValuePairs )?
+ match(input,65,FOLLOW_65_in_annotation1906); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:542:28: ( elementValuePairs )?
int alt86=2;
int LA86_0 = input.LA(1);
@@ -5019,7 +5066,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: elementValuePairs
{
- pushFollow(FOLLOW_elementValuePairs_in_annotation1886);
+ pushFollow(FOLLOW_elementValuePairs_in_annotation1908);
elementValuePairs();
_fsp--;
if (failed) return ;
@@ -5029,7 +5076,7 @@
}
- match(input,66,FOLLOW_66_in_annotation1889); if (failed) return ;
+ match(input,66,FOLLOW_66_in_annotation1911); if (failed) return ;
}
break;
@@ -5053,16 +5100,16 @@
// $ANTLR start annotationName
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:529:1: annotationName : Identifier ( '.' Identifier )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:545:1: annotationName : Identifier ( '.' Identifier )* ;
public final void annotationName() throws RecognitionException {
int annotationName_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 66) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:530:4: ( Identifier ( '.' Identifier )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:530:4: Identifier ( '.' Identifier )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:546:4: ( Identifier ( '.' Identifier )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:546:4: Identifier ( '.' Identifier )*
{
- match(input,Identifier,FOLLOW_Identifier_in_annotationName1903); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:530:15: ( '.' Identifier )*
+ match(input,Identifier,FOLLOW_Identifier_in_annotationName1925); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:546:15: ( '.' Identifier )*
loop88:
do {
int alt88=2;
@@ -5075,10 +5122,10 @@
switch (alt88) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:530:16: '.' Identifier
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:546:16: '.' Identifier
{
- match(input,28,FOLLOW_28_in_annotationName1906); if (failed) return ;
- match(input,Identifier,FOLLOW_Identifier_in_annotationName1908); if (failed) return ;
+ match(input,28,FOLLOW_28_in_annotationName1928); if (failed) return ;
+ match(input,Identifier,FOLLOW_Identifier_in_annotationName1930); if (failed) return ;
}
break;
@@ -5105,19 +5152,19 @@
// $ANTLR start elementValuePairs
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:533:1: elementValuePairs : elementValuePair ( ',' elementValuePair )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:549:1: elementValuePairs : elementValuePair ( ',' elementValuePair )* ;
public final void elementValuePairs() throws RecognitionException {
int elementValuePairs_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 67) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:534:4: ( elementValuePair ( ',' elementValuePair )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:534:4: elementValuePair ( ',' elementValuePair )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:550:4: ( elementValuePair ( ',' elementValuePair )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:550:4: elementValuePair ( ',' elementValuePair )*
{
- pushFollow(FOLLOW_elementValuePair_in_elementValuePairs1922);
+ pushFollow(FOLLOW_elementValuePair_in_elementValuePairs1944);
elementValuePair();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:534:21: ( ',' elementValuePair )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:550:21: ( ',' elementValuePair )*
loop89:
do {
int alt89=2;
@@ -5130,10 +5177,10 @@
switch (alt89) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:534:22: ',' elementValuePair
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:550:22: ',' elementValuePair
{
- match(input,34,FOLLOW_34_in_elementValuePairs1925); if (failed) return ;
- pushFollow(FOLLOW_elementValuePair_in_elementValuePairs1927);
+ match(input,34,FOLLOW_34_in_elementValuePairs1947); if (failed) return ;
+ pushFollow(FOLLOW_elementValuePair_in_elementValuePairs1949);
elementValuePair();
_fsp--;
if (failed) return ;
@@ -5163,15 +5210,15 @@
// $ANTLR start elementValuePair
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:537:1: elementValuePair : ( Identifier '=' )? elementValue ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:553:1: elementValuePair : ( Identifier '=' )? elementValue ;
public final void elementValuePair() throws RecognitionException {
int elementValuePair_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 68) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:538:4: ( ( Identifier '=' )? elementValue )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:538:4: ( Identifier '=' )? elementValue
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:554:4: ( ( Identifier '=' )? elementValue )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:554:4: ( Identifier '=' )? elementValue
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:538:4: ( Identifier '=' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:554:4: ( Identifier '=' )?
int alt90=2;
int LA90_0 = input.LA(1);
@@ -5184,17 +5231,17 @@
}
switch (alt90) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:538:5: Identifier '='
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:554:5: Identifier '='
{
- match(input,Identifier,FOLLOW_Identifier_in_elementValuePair1942); if (failed) return ;
- match(input,44,FOLLOW_44_in_elementValuePair1944); if (failed) return ;
+ match(input,Identifier,FOLLOW_Identifier_in_elementValuePair1964); if (failed) return ;
+ match(input,44,FOLLOW_44_in_elementValuePair1966); if (failed) return ;
}
break;
}
- pushFollow(FOLLOW_elementValue_in_elementValuePair1948);
+ pushFollow(FOLLOW_elementValue_in_elementValuePair1970);
elementValue();
_fsp--;
if (failed) return ;
@@ -5215,12 +5262,12 @@
// $ANTLR start elementValue
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:541:1: elementValue : ( conditionalExpression | annotation | elementValueArrayInitializer );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:557:1: elementValue : ( conditionalExpression | annotation | elementValueArrayInitializer );
public final void elementValue() throws RecognitionException {
int elementValue_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 69) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:542:4: ( conditionalExpression | annotation | elementValueArrayInitializer )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:558:4: ( conditionalExpression | annotation | elementValueArrayInitializer )
int alt91=3;
switch ( input.LA(1) ) {
case Identifier:
@@ -5270,16 +5317,16 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("541:1: elementValue : ( conditionalExpression | annotation | elementValueArrayInitializer );", 91, 0, input);
+ new NoViableAltException("557:1: elementValue : ( conditionalExpression | annotation | elementValueArrayInitializer );", 91, 0, input);
throw nvae;
}
switch (alt91) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:542:4: conditionalExpression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:558:4: conditionalExpression
{
- pushFollow(FOLLOW_conditionalExpression_in_elementValue1960);
+ pushFollow(FOLLOW_conditionalExpression_in_elementValue1982);
conditionalExpression();
_fsp--;
if (failed) return ;
@@ -5287,9 +5334,9 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:543:6: annotation
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:559:6: annotation
{
- pushFollow(FOLLOW_annotation_in_elementValue1967);
+ pushFollow(FOLLOW_annotation_in_elementValue1989);
annotation();
_fsp--;
if (failed) return ;
@@ -5297,9 +5344,9 @@
}
break;
case 3 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:544:6: elementValueArrayInitializer
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:560:6: elementValueArrayInitializer
{
- pushFollow(FOLLOW_elementValueArrayInitializer_in_elementValue1974);
+ pushFollow(FOLLOW_elementValueArrayInitializer_in_elementValue1996);
elementValueArrayInitializer();
_fsp--;
if (failed) return ;
@@ -5322,16 +5369,16 @@
// $ANTLR start elementValueArrayInitializer
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:547:1: elementValueArrayInitializer : '{' ( elementValue ( ',' elementValue )* )? '}' ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:563:1: elementValueArrayInitializer : '{' ( elementValue ( ',' elementValue )* )? '}' ;
public final void elementValueArrayInitializer() throws RecognitionException {
int elementValueArrayInitializer_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 70) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:548:4: ( '{' ( elementValue ( ',' elementValue )* )? '}' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:548:4: '{' ( elementValue ( ',' elementValue )* )? '}'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:564:4: ( '{' ( elementValue ( ',' elementValue )* )? '}' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:564:4: '{' ( elementValue ( ',' elementValue )* )? '}'
{
- match(input,37,FOLLOW_37_in_elementValueArrayInitializer1986); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:548:8: ( elementValue ( ',' elementValue )* )?
+ match(input,37,FOLLOW_37_in_elementValueArrayInitializer2008); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:564:8: ( elementValue ( ',' elementValue )* )?
int alt93=2;
int LA93_0 = input.LA(1);
@@ -5340,13 +5387,13 @@
}
switch (alt93) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:548:9: elementValue ( ',' elementValue )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:564:9: elementValue ( ',' elementValue )*
{
- pushFollow(FOLLOW_elementValue_in_elementValueArrayInitializer1989);
+ pushFollow(FOLLOW_elementValue_in_elementValueArrayInitializer2011);
elementValue();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:548:22: ( ',' elementValue )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:564:22: ( ',' elementValue )*
loop92:
do {
int alt92=2;
@@ -5359,10 +5406,10 @@
switch (alt92) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:548:23: ',' elementValue
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:564:23: ',' elementValue
{
- match(input,34,FOLLOW_34_in_elementValueArrayInitializer1992); if (failed) return ;
- pushFollow(FOLLOW_elementValue_in_elementValueArrayInitializer1994);
+ match(input,34,FOLLOW_34_in_elementValueArrayInitializer2014); if (failed) return ;
+ pushFollow(FOLLOW_elementValue_in_elementValueArrayInitializer2016);
elementValue();
_fsp--;
if (failed) return ;
@@ -5381,7 +5428,7 @@
}
- match(input,38,FOLLOW_38_in_elementValueArrayInitializer2001); if (failed) return ;
+ match(input,38,FOLLOW_38_in_elementValueArrayInitializer2023); if (failed) return ;
}
@@ -5399,18 +5446,18 @@
// $ANTLR start annotationTypeDeclaration
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:551:1: annotationTypeDeclaration : '@' 'interface' Identifier annotationTypeBody ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:567:1: annotationTypeDeclaration : '@' 'interface' Identifier annotationTypeBody ;
public final void annotationTypeDeclaration() throws RecognitionException {
int annotationTypeDeclaration_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 71) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:552:4: ( '@' 'interface' Identifier annotationTypeBody )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:552:4: '@' 'interface' Identifier annotationTypeBody
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:568:4: ( '@' 'interface' Identifier annotationTypeBody )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:568:4: '@' 'interface' Identifier annotationTypeBody
{
- match(input,71,FOLLOW_71_in_annotationTypeDeclaration2013); if (failed) return ;
- match(input,39,FOLLOW_39_in_annotationTypeDeclaration2015); if (failed) return ;
- match(input,Identifier,FOLLOW_Identifier_in_annotationTypeDeclaration2017); if (failed) return ;
- pushFollow(FOLLOW_annotationTypeBody_in_annotationTypeDeclaration2019);
+ match(input,71,FOLLOW_71_in_annotationTypeDeclaration2035); if (failed) return ;
+ match(input,39,FOLLOW_39_in_annotationTypeDeclaration2037); if (failed) return ;
+ match(input,Identifier,FOLLOW_Identifier_in_annotationTypeDeclaration2039); if (failed) return ;
+ pushFollow(FOLLOW_annotationTypeBody_in_annotationTypeDeclaration2041);
annotationTypeBody();
_fsp--;
if (failed) return ;
@@ -5431,16 +5478,16 @@
// $ANTLR start annotationTypeBody
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:555:1: annotationTypeBody : '{' ( annotationTypeElementDeclarations )? '}' ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:571:1: annotationTypeBody : '{' ( annotationTypeElementDeclarations )? '}' ;
public final void annotationTypeBody() throws RecognitionException {
int annotationTypeBody_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 72) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:556:4: ( '{' ( annotationTypeElementDeclarations )? '}' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:556:4: '{' ( annotationTypeElementDeclarations )? '}'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:572:4: ( '{' ( annotationTypeElementDeclarations )? '}' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:572:4: '{' ( annotationTypeElementDeclarations )? '}'
{
- match(input,37,FOLLOW_37_in_annotationTypeBody2031); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:556:8: ( annotationTypeElementDeclarations )?
+ match(input,37,FOLLOW_37_in_annotationTypeBody2053); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:572:8: ( annotationTypeElementDeclarations )?
int alt94=2;
int LA94_0 = input.LA(1);
@@ -5449,9 +5496,9 @@
}
switch (alt94) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:556:9: annotationTypeElementDeclarations
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:572:9: annotationTypeElementDeclarations
{
- pushFollow(FOLLOW_annotationTypeElementDeclarations_in_annotationTypeBody2034);
+ pushFollow(FOLLOW_annotationTypeElementDeclarations_in_annotationTypeBody2056);
annotationTypeElementDeclarations();
_fsp--;
if (failed) return ;
@@ -5461,7 +5508,7 @@
}
- match(input,38,FOLLOW_38_in_annotationTypeBody2038); if (failed) return ;
+ match(input,38,FOLLOW_38_in_annotationTypeBody2060); if (failed) return ;
}
@@ -5479,25 +5526,25 @@
// $ANTLR start annotationTypeElementDeclarations
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:559:1: annotationTypeElementDeclarations : ( annotationTypeElementDeclaration ) ( annotationTypeElementDeclaration )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:575:1: annotationTypeElementDeclarations : ( annotationTypeElementDeclaration ) ( annotationTypeElementDeclaration )* ;
public final void annotationTypeElementDeclarations() throws RecognitionException {
int annotationTypeElementDeclarations_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 73) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:560:4: ( ( annotationTypeElementDeclaration ) ( annotationTypeElementDeclaration )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:560:4: ( annotationTypeElementDeclaration ) ( annotationTypeElementDeclaration )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:576:4: ( ( annotationTypeElementDeclaration ) ( annotationTypeElementDeclaration )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:576:4: ( annotationTypeElementDeclaration ) ( annotationTypeElementDeclaration )*
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:560:4: ( annotationTypeElementDeclaration )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:560:5: annotationTypeElementDeclaration
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:576:4: ( annotationTypeElementDeclaration )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:576:5: annotationTypeElementDeclaration
{
- pushFollow(FOLLOW_annotationTypeElementDeclaration_in_annotationTypeElementDeclarations2051);
+ pushFollow(FOLLOW_annotationTypeElementDeclaration_in_annotationTypeElementDeclarations2073);
annotationTypeElementDeclaration();
_fsp--;
if (failed) return ;
}
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:560:39: ( annotationTypeElementDeclaration )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:576:39: ( annotationTypeElementDeclaration )*
loop95:
do {
int alt95=2;
@@ -5510,9 +5557,9 @@
switch (alt95) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:560:40: annotationTypeElementDeclaration
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:576:40: annotationTypeElementDeclaration
{
- pushFollow(FOLLOW_annotationTypeElementDeclaration_in_annotationTypeElementDeclarations2055);
+ pushFollow(FOLLOW_annotationTypeElementDeclaration_in_annotationTypeElementDeclarations2077);
annotationTypeElementDeclaration();
_fsp--;
if (failed) return ;
@@ -5542,15 +5589,15 @@
// $ANTLR start annotationTypeElementDeclaration
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:563:1: annotationTypeElementDeclaration : ( modifier )* annotationTypeElementRest ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:579:1: annotationTypeElementDeclaration : ( modifier )* annotationTypeElementRest ;
public final void annotationTypeElementDeclaration() throws RecognitionException {
int annotationTypeElementDeclaration_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 74) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:564:4: ( ( modifier )* annotationTypeElementRest )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:564:4: ( modifier )* annotationTypeElementRest
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:580:4: ( ( modifier )* annotationTypeElementRest )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:580:4: ( modifier )* annotationTypeElementRest
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:564:4: ( modifier )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:580:4: ( modifier )*
loop96:
do {
int alt96=2;
@@ -5572,9 +5619,9 @@
switch (alt96) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:564:5: modifier
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:580:5: modifier
{
- pushFollow(FOLLOW_modifier_in_annotationTypeElementDeclaration2070);
+ pushFollow(FOLLOW_modifier_in_annotationTypeElementDeclaration2092);
modifier();
_fsp--;
if (failed) return ;
@@ -5587,7 +5634,7 @@
}
} while (true);
- pushFollow(FOLLOW_annotationTypeElementRest_in_annotationTypeElementDeclaration2074);
+ pushFollow(FOLLOW_annotationTypeElementRest_in_annotationTypeElementDeclaration2096);
annotationTypeElementRest();
_fsp--;
if (failed) return ;
@@ -5608,12 +5655,12 @@
// $ANTLR start annotationTypeElementRest
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:567:1: annotationTypeElementRest : ( type annotationMethodOrConstantRest ';' | classDeclaration ( ';' )? | interfaceDeclaration ( ';' )? | enumDeclaration ( ';' )? | annotationTypeDeclaration ( ';' )? );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:583:1: annotationTypeElementRest : ( type annotationMethodOrConstantRest ';' | classDeclaration ( ';' )? | interfaceDeclaration ( ';' )? | enumDeclaration ( ';' )? | annotationTypeDeclaration ( ';' )? );
public final void annotationTypeElementRest() throws RecognitionException {
int annotationTypeElementRest_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 75) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:568:4: ( type annotationMethodOrConstantRest ';' | classDeclaration ( ';' )? | interfaceDeclaration ( ';' )? | enumDeclaration ( ';' )? | annotationTypeDeclaration ( ';' )? )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:584:4: ( type annotationMethodOrConstantRest ';' | classDeclaration ( ';' )? | interfaceDeclaration ( ';' )? | enumDeclaration ( ';' )? | annotationTypeDeclaration ( ';' )? )
int alt101=5;
switch ( input.LA(1) ) {
case Identifier:
@@ -5650,7 +5697,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("567:1: annotationTypeElementRest : ( type annotationMethodOrConstantRest ';' | classDeclaration ( ';' )? | interfaceDeclaration ( ';' )? | enumDeclaration ( ';' )? | annotationTypeDeclaration ( ';' )? );", 101, 7, input);
+ new NoViableAltException("583:1: annotationTypeElementRest : ( type annotationMethodOrConstantRest ';' | classDeclaration ( ';' )? | interfaceDeclaration ( ';' )? | enumDeclaration ( ';' )? | annotationTypeDeclaration ( ';' )? );", 101, 7, input);
throw nvae;
}
@@ -5658,7 +5705,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("567:1: annotationTypeElementRest : ( type annotationMethodOrConstantRest ';' | classDeclaration ( ';' )? | interfaceDeclaration ( ';' )? | enumDeclaration ( ';' )? | annotationTypeDeclaration ( ';' )? );", 101, 4, input);
+ new NoViableAltException("583:1: annotationTypeElementRest : ( type annotationMethodOrConstantRest ';' | classDeclaration ( ';' )? | interfaceDeclaration ( ';' )? | enumDeclaration ( ';' )? | annotationTypeDeclaration ( ';' )? );", 101, 4, input);
throw nvae;
}
@@ -5685,7 +5732,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("567:1: annotationTypeElementRest : ( type annotationMethodOrConstantRest ';' | classDeclaration ( ';' )? | interfaceDeclaration ( ';' )? | enumDeclaration ( ';' )? | annotationTypeDeclaration ( ';' )? );", 101, 8, input);
+ new NoViableAltException("583:1: annotationTypeElementRest : ( type annotationMethodOrConstantRest ';' | classDeclaration ( ';' )? | interfaceDeclaration ( ';' )? | enumDeclaration ( ';' )? | annotationTypeDeclaration ( ';' )? );", 101, 8, input);
throw nvae;
}
@@ -5693,7 +5740,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("567:1: annotationTypeElementRest : ( type annotationMethodOrConstantRest ';' | classDeclaration ( ';' )? | interfaceDeclaration ( ';' )? | enumDeclaration ( ';' )? | annotationTypeDeclaration ( ';' )? );", 101, 6, input);
+ new NoViableAltException("583:1: annotationTypeElementRest : ( type annotationMethodOrConstantRest ';' | classDeclaration ( ';' )? | interfaceDeclaration ( ';' )? | enumDeclaration ( ';' )? | annotationTypeDeclaration ( ';' )? );", 101, 6, input);
throw nvae;
}
@@ -5702,35 +5749,35 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("567:1: annotationTypeElementRest : ( type annotationMethodOrConstantRest ';' | classDeclaration ( ';' )? | interfaceDeclaration ( ';' )? | enumDeclaration ( ';' )? | annotationTypeDeclaration ( ';' )? );", 101, 0, input);
+ new NoViableAltException("583:1: annotationTypeElementRest : ( type annotationMethodOrConstantRest ';' | classDeclaration ( ';' )? | interfaceDeclaration ( ';' )? | enumDeclaration ( ';' )? | annotationTypeDeclaration ( ';' )? );", 101, 0, input);
throw nvae;
}
switch (alt101) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:568:4: type annotationMethodOrConstantRest ';'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:584:4: type annotationMethodOrConstantRest ';'
{
- pushFollow(FOLLOW_type_in_annotationTypeElementRest2086);
+ pushFollow(FOLLOW_type_in_annotationTypeElementRest2108);
type();
_fsp--;
if (failed) return ;
- pushFollow(FOLLOW_annotationMethodOrConstantRest_in_annotationTypeElementRest2088);
+ pushFollow(FOLLOW_annotationMethodOrConstantRest_in_annotationTypeElementRest2110);
annotationMethodOrConstantRest();
_fsp--;
if (failed) return ;
- match(input,25,FOLLOW_25_in_annotationTypeElementRest2090); if (failed) return ;
+ match(input,25,FOLLOW_25_in_annotationTypeElementRest2112); if (failed) return ;
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:569:6: classDeclaration ( ';' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:585:6: classDeclaration ( ';' )?
{
- pushFollow(FOLLOW_classDeclaration_in_annotationTypeElementRest2097);
+ pushFollow(FOLLOW_classDeclaration_in_annotationTypeElementRest2119);
classDeclaration();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:569:23: ( ';' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:585:23: ( ';' )?
int alt97=2;
int LA97_0 = input.LA(1);
@@ -5741,7 +5788,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: ';'
{
- match(input,25,FOLLOW_25_in_annotationTypeElementRest2099); if (failed) return ;
+ match(input,25,FOLLOW_25_in_annotationTypeElementRest2121); if (failed) return ;
}
break;
@@ -5752,13 +5799,13 @@
}
break;
case 3 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:570:6: interfaceDeclaration ( ';' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:586:6: interfaceDeclaration ( ';' )?
{
- pushFollow(FOLLOW_interfaceDeclaration_in_annotationTypeElementRest2107);
+ pushFollow(FOLLOW_interfaceDeclaration_in_annotationTypeElementRest2129);
interfaceDeclaration();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:570:27: ( ';' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:586:27: ( ';' )?
int alt98=2;
int LA98_0 = input.LA(1);
@@ -5769,7 +5816,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: ';'
{
- match(input,25,FOLLOW_25_in_annotationTypeElementRest2109); if (failed) return ;
+ match(input,25,FOLLOW_25_in_annotationTypeElementRest2131); if (failed) return ;
}
break;
@@ -5780,13 +5827,13 @@
}
break;
case 4 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:571:6: enumDeclaration ( ';' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:587:6: enumDeclaration ( ';' )?
{
- pushFollow(FOLLOW_enumDeclaration_in_annotationTypeElementRest2117);
+ pushFollow(FOLLOW_enumDeclaration_in_annotationTypeElementRest2139);
enumDeclaration();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:571:22: ( ';' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:587:22: ( ';' )?
int alt99=2;
int LA99_0 = input.LA(1);
@@ -5797,7 +5844,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: ';'
{
- match(input,25,FOLLOW_25_in_annotationTypeElementRest2119); if (failed) return ;
+ match(input,25,FOLLOW_25_in_annotationTypeElementRest2141); if (failed) return ;
}
break;
@@ -5808,13 +5855,13 @@
}
break;
case 5 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:572:6: annotationTypeDeclaration ( ';' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:588:6: annotationTypeDeclaration ( ';' )?
{
- pushFollow(FOLLOW_annotationTypeDeclaration_in_annotationTypeElementRest2127);
+ pushFollow(FOLLOW_annotationTypeDeclaration_in_annotationTypeElementRest2149);
annotationTypeDeclaration();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:572:32: ( ';' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:588:32: ( ';' )?
int alt100=2;
int LA100_0 = input.LA(1);
@@ -5825,7 +5872,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: ';'
{
- match(input,25,FOLLOW_25_in_annotationTypeElementRest2129); if (failed) return ;
+ match(input,25,FOLLOW_25_in_annotationTypeElementRest2151); if (failed) return ;
}
break;
@@ -5851,12 +5898,12 @@
// $ANTLR start annotationMethodOrConstantRest
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:575:1: annotationMethodOrConstantRest : ( annotationMethodRest | annotationConstantRest );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:591:1: annotationMethodOrConstantRest : ( annotationMethodRest | annotationConstantRest );
public final void annotationMethodOrConstantRest() throws RecognitionException {
int annotationMethodOrConstantRest_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 76) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:576:4: ( annotationMethodRest | annotationConstantRest )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:592:4: ( annotationMethodRest | annotationConstantRest )
int alt102=2;
int LA102_0 = input.LA(1);
@@ -5872,7 +5919,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("575:1: annotationMethodOrConstantRest : ( annotationMethodRest | annotationConstantRest );", 102, 1, input);
+ new NoViableAltException("591:1: annotationMethodOrConstantRest : ( annotationMethodRest | annotationConstantRest );", 102, 1, input);
throw nvae;
}
@@ -5880,15 +5927,15 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("575:1: annotationMethodOrConstantRest : ( annotationMethodRest | annotationConstantRest );", 102, 0, input);
+ new NoViableAltException("591:1: annotationMethodOrConstantRest : ( annotationMethodRest | annotationConstantRest );", 102, 0, input);
throw nvae;
}
switch (alt102) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:576:4: annotationMethodRest
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:592:4: annotationMethodRest
{
- pushFollow(FOLLOW_annotationMethodRest_in_annotationMethodOrConstantRest2142);
+ pushFollow(FOLLOW_annotationMethodRest_in_annotationMethodOrConstantRest2164);
annotationMethodRest();
_fsp--;
if (failed) return ;
@@ -5896,9 +5943,9 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:577:6: annotationConstantRest
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:593:6: annotationConstantRest
{
- pushFollow(FOLLOW_annotationConstantRest_in_annotationMethodOrConstantRest2149);
+ pushFollow(FOLLOW_annotationConstantRest_in_annotationMethodOrConstantRest2171);
annotationConstantRest();
_fsp--;
if (failed) return ;
@@ -5921,18 +5968,18 @@
// $ANTLR start annotationMethodRest
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:580:1: annotationMethodRest : Identifier '(' ')' ( defaultValue )? ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:596:1: annotationMethodRest : Identifier '(' ')' ( defaultValue )? ;
public final void annotationMethodRest() throws RecognitionException {
int annotationMethodRest_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 77) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:581:5: ( Identifier '(' ')' ( defaultValue )? )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:581:5: Identifier '(' ')' ( defaultValue )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:597:5: ( Identifier '(' ')' ( defaultValue )? )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:597:5: Identifier '(' ')' ( defaultValue )?
{
- match(input,Identifier,FOLLOW_Identifier_in_annotationMethodRest2162); if (failed) return ;
- match(input,65,FOLLOW_65_in_annotationMethodRest2164); if (failed) return ;
- match(input,66,FOLLOW_66_in_annotationMethodRest2166); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:581:24: ( defaultValue )?
+ match(input,Identifier,FOLLOW_Identifier_in_annotationMethodRest2184); if (failed) return ;
+ match(input,65,FOLLOW_65_in_annotationMethodRest2186); if (failed) return ;
+ match(input,66,FOLLOW_66_in_annotationMethodRest2188); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:597:24: ( defaultValue )?
int alt103=2;
int LA103_0 = input.LA(1);
@@ -5941,9 +5988,9 @@
}
switch (alt103) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:581:25: defaultValue
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:597:25: defaultValue
{
- pushFollow(FOLLOW_defaultValue_in_annotationMethodRest2169);
+ pushFollow(FOLLOW_defaultValue_in_annotationMethodRest2191);
defaultValue();
_fsp--;
if (failed) return ;
@@ -5970,15 +6017,15 @@
// $ANTLR start annotationConstantRest
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:584:1: annotationConstantRest : variableDeclarators ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:600:1: annotationConstantRest : variableDeclarators ;
public final void annotationConstantRest() throws RecognitionException {
int annotationConstantRest_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 78) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:585:5: ( variableDeclarators )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:585:5: variableDeclarators
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:601:5: ( variableDeclarators )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:601:5: variableDeclarators
{
- pushFollow(FOLLOW_variableDeclarators_in_annotationConstantRest2186);
+ pushFollow(FOLLOW_variableDeclarators_in_annotationConstantRest2208);
variableDeclarators();
_fsp--;
if (failed) return ;
@@ -5999,16 +6046,16 @@
// $ANTLR start defaultValue
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:588:1: defaultValue : 'default' elementValue ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:604:1: defaultValue : 'default' elementValue ;
public final void defaultValue() throws RecognitionException {
int defaultValue_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 79) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:589:5: ( 'default' elementValue )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:589:5: 'default' elementValue
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:605:5: ( 'default' elementValue )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:605:5: 'default' elementValue
{
- match(input,72,FOLLOW_72_in_defaultValue2201); if (failed) return ;
- pushFollow(FOLLOW_elementValue_in_defaultValue2203);
+ match(input,72,FOLLOW_72_in_defaultValue2223); if (failed) return ;
+ pushFollow(FOLLOW_elementValue_in_defaultValue2225);
elementValue();
_fsp--;
if (failed) return ;
@@ -6029,16 +6076,16 @@
// $ANTLR start block
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:594:1: block : '{' ( blockStatement )* '}' ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:610:1: block : '{' ( blockStatement )* '}' ;
public final void block() throws RecognitionException {
int block_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 80) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:595:4: ( '{' ( blockStatement )* '}' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:595:4: '{' ( blockStatement )* '}'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:611:4: ( '{' ( blockStatement )* '}' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:611:4: '{' ( blockStatement )* '}'
{
- match(input,37,FOLLOW_37_in_block2217); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:595:8: ( blockStatement )*
+ match(input,37,FOLLOW_37_in_block2239); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:611:8: ( blockStatement )*
loop104:
do {
int alt104=2;
@@ -6053,7 +6100,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: blockStatement
{
- pushFollow(FOLLOW_blockStatement_in_block2219);
+ pushFollow(FOLLOW_blockStatement_in_block2241);
blockStatement();
_fsp--;
if (failed) return ;
@@ -6066,7 +6113,7 @@
}
} while (true);
- match(input,38,FOLLOW_38_in_block2222); if (failed) return ;
+ match(input,38,FOLLOW_38_in_block2244); if (failed) return ;
}
@@ -6084,12 +6131,12 @@
// $ANTLR start blockStatement
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:598:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:614:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );
public final void blockStatement() throws RecognitionException {
int blockStatement_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 81) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:599:4: ( localVariableDeclaration | classOrInterfaceDeclaration | statement )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:615:4: ( localVariableDeclaration | classOrInterfaceDeclaration | statement )
int alt105=3;
switch ( input.LA(1) ) {
case 49:
@@ -6125,7 +6172,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("598:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );", 105, 52, input);
+ new NoViableAltException("614:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );", 105, 52, input);
throw nvae;
}
@@ -6144,7 +6191,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("598:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );", 105, 58, input);
+ new NoViableAltException("614:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );", 105, 58, input);
throw nvae;
}
@@ -6166,7 +6213,7 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("598:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );", 105, 1, input);
+ new NoViableAltException("614:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );", 105, 1, input);
throw nvae;
}
@@ -6192,7 +6239,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("598:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );", 105, 67, input);
+ new NoViableAltException("614:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );", 105, 67, input);
throw nvae;
}
@@ -6200,7 +6247,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("598:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );", 105, 2, input);
+ new NoViableAltException("614:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );", 105, 2, input);
throw nvae;
}
@@ -6255,7 +6302,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("598:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );", 105, 69, input);
+ new NoViableAltException("614:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );", 105, 69, input);
throw nvae;
}
@@ -6274,7 +6321,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("598:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );", 105, 70, input);
+ new NoViableAltException("614:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );", 105, 70, input);
throw nvae;
}
@@ -6293,7 +6340,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("598:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );", 105, 75, input);
+ new NoViableAltException("614:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );", 105, 75, input);
throw nvae;
}
@@ -6307,7 +6354,7 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("598:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );", 105, 3, input);
+ new NoViableAltException("614:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );", 105, 3, input);
throw nvae;
}
@@ -6337,7 +6384,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("598:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );", 105, 96, input);
+ new NoViableAltException("614:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );", 105, 96, input);
throw nvae;
}
@@ -6356,7 +6403,7 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("598:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );", 105, 4, input);
+ new NoViableAltException("614:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );", 105, 4, input);
throw nvae;
}
@@ -6392,7 +6439,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("598:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );", 105, 11, input);
+ new NoViableAltException("614:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );", 105, 11, input);
throw nvae;
}
@@ -6439,16 +6486,16 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("598:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );", 105, 0, input);
+ new NoViableAltException("614:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );", 105, 0, input);
throw nvae;
}
switch (alt105) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:599:4: localVariableDeclaration
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:615:4: localVariableDeclaration
{
- pushFollow(FOLLOW_localVariableDeclaration_in_blockStatement2234);
+ pushFollow(FOLLOW_localVariableDeclaration_in_blockStatement2256);
localVariableDeclaration();
_fsp--;
if (failed) return ;
@@ -6456,9 +6503,9 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:600:4: classOrInterfaceDeclaration
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:616:4: classOrInterfaceDeclaration
{
- pushFollow(FOLLOW_classOrInterfaceDeclaration_in_blockStatement2239);
+ pushFollow(FOLLOW_classOrInterfaceDeclaration_in_blockStatement2261);
classOrInterfaceDeclaration();
_fsp--;
if (failed) return ;
@@ -6466,9 +6513,9 @@
}
break;
case 3 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:601:8: statement
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:617:8: statement
{
- pushFollow(FOLLOW_statement_in_blockStatement2248);
+ pushFollow(FOLLOW_statement_in_blockStatement2270);
statement();
_fsp--;
if (failed) return ;
@@ -6489,17 +6536,31 @@
}
// $ANTLR end blockStatement
+ protected static class localVariableDeclaration_scope {
+ JavaLocalDeclarationDescr descr;
+ }
+ protected Stack localVariableDeclaration_stack = new Stack();
+
// $ANTLR start localVariableDeclaration
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:604:1: localVariableDeclaration : ( variableModifier )* type variableDeclarators ';' ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:620:1: localVariableDeclaration : ( variableModifier )* type variableDeclarators ';' ;
public final void localVariableDeclaration() throws RecognitionException {
+ localVariableDeclaration_stack.push(new localVariableDeclaration_scope());
int localVariableDeclaration_StartIndex = input.index();
+ variableModifier_return variableModifier3 = null;
+
+ type_return type4 = null;
+
+
+
+ ((localVariableDeclaration_scope)localVariableDeclaration_stack.peek()).descr = new JavaLocalDeclarationDescr();
+
try {
if ( backtracking>0 && alreadyParsedRule(input, 82) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:605:4: ( ( variableModifier )* type variableDeclarators ';' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:605:4: ( variableModifier )* type variableDeclarators ';'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:631:2: ( ( variableModifier )* type variableDeclarators ';' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:631:2: ( variableModifier )* type variableDeclarators ';'
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:605:4: ( variableModifier )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:631:2: ( variableModifier )*
loop106:
do {
int alt106=2;
@@ -6512,12 +6573,18 @@
switch (alt106) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: variableModifier
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:631:4: variableModifier
{
- pushFollow(FOLLOW_variableModifier_in_localVariableDeclaration2260);
- variableModifier();
+ pushFollow(FOLLOW_variableModifier_in_localVariableDeclaration2318);
+ variableModifier3=variableModifier();
_fsp--;
if (failed) return ;
+ if ( backtracking==0 ) {
+
+ ((localVariableDeclaration_scope)localVariableDeclaration_stack.peek()).descr.updateStart( ((CommonToken)((Token)variableModifier3.start)).getStartIndex() - 1 );
+ ((localVariableDeclaration_scope)localVariableDeclaration_stack.peek()).descr.addModifier( input.toString(variableModifier3.start,variableModifier3.stop) );
+
+ }
}
break;
@@ -6527,18 +6594,30 @@
}
} while (true);
- pushFollow(FOLLOW_type_in_localVariableDeclaration2263);
- type();
+ pushFollow(FOLLOW_type_in_localVariableDeclaration2335);
+ type4=type();
_fsp--;
if (failed) return ;
- pushFollow(FOLLOW_variableDeclarators_in_localVariableDeclaration2265);
+ if ( backtracking==0 ) {
+
+ ((localVariableDeclaration_scope)localVariableDeclaration_stack.peek()).descr.updateStart( ((CommonToken)((Token)type4.start)).getStartIndex() - 1 );
+ ((localVariableDeclaration_scope)localVariableDeclaration_stack.peek()).descr.setType( input.toString(type4.start,type4.stop) );
+ ((localVariableDeclaration_scope)localVariableDeclaration_stack.peek()).descr.setEnd( ((CommonToken)((Token)type4.stop)).getStopIndex() );
+
+ }
+ pushFollow(FOLLOW_variableDeclarators_in_localVariableDeclaration2346);
variableDeclarators();
_fsp--;
if (failed) return ;
- match(input,25,FOLLOW_25_in_localVariableDeclaration2267); if (failed) return ;
+ match(input,25,FOLLOW_25_in_localVariableDeclaration2348); if (failed) return ;
}
+ if ( backtracking==0 ) {
+
+ localDeclarations.add( ((localVariableDeclaration_scope)localVariableDeclaration_stack.peek()).descr );
+
+ }
}
catch (RecognitionException re) {
reportError(re);
@@ -6546,6 +6625,7 @@
}
finally {
if ( backtracking>0 ) { memoize(input, 82, localVariableDeclaration_StartIndex); }
+ localVariableDeclaration_stack.pop();
}
return ;
}
@@ -6553,12 +6633,12 @@
// $ANTLR start statement
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:608:1: statement : ( block | 'assert' expression ( ':' expression )? ';' | 'if' parExpression statement ( options {k=1; } : 'else' statement )? | 'for' '(' forControl ')' statement | 'while' parExpression statement | 'do' statement 'while' parExpression ';' | 'try' block ( catches 'finally' block | catches | 'finally' block ) | 'switch' parExpression '{' switchBlockStatementGroups '}' | 'synchronized' parExpression block | 'return' ( expression )? ';' | 'throw' expression ';' | 'break' ( Identifier )? ';' | 'continue' ( Identifier )? ';' | ';' | statementExpression ';' | Identifier ':' statement );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:646:1: statement : ( block | 'assert' expression ( ':' expression )? ';' | 'if' parExpression statement ( options {k=1; } : 'else' statement )? | 'for' '(' forControl ')' statement | 'while' parExpression statement | 'do' statement 'while' parExpression ';' | 'try' block ( catches 'finally' block | catches | 'finally' block ) | 'switch' parExpression '{' switchBlockStatementGroups '}' | 'synchronized' parExpression block | 'return' ( expression )? ';' | 'throw' expression ';' | 'break' ( Identifier )? ';' | 'continue' ( Identifier )? ';' | ';' | statementExpression ';' | Identifier ':' statement );
public final void statement() throws RecognitionException {
int statement_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 83) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:609:4: ( block | 'assert' expression ( ':' expression )? ';' | 'if' parExpression statement ( options {k=1; } : 'else' statement )? | 'for' '(' forControl ')' statement | 'while' parExpression statement | 'do' statement 'while' parExpression ';' | 'try' block ( catches 'finally' block | catches | 'finally' block ) | 'switch' parExpression '{' switchBlockStatementGroups '}' | 'synchronized' parExpression block | 'return' ( expression )? ';' | 'throw' expression ';' | 'break' ( Identifier )? ';' | 'continue' ( Identifier )? ';' | ';' | statementExpression ';' | Identifier ':' statement )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:647:4: ( block | 'assert' expression ( ':' expression )? ';' | 'if' parExpression statement ( options {k=1; } : 'else' statement )? | 'for' '(' forControl ')' statement | 'while' parExpression statement | 'do' statement 'while' parExpression ';' | 'try' block ( catches 'finally' block | catches | 'finally' block ) | 'switch' parExpression '{' switchBlockStatementGroups '}' | 'synchronized' parExpression block | 'return' ( expression )? ';' | 'throw' expression ';' | 'break' ( Identifier )? ';' | 'continue' ( Identifier )? ';' | ';' | statementExpression ';' | Identifier ':' statement )
int alt113=16;
switch ( input.LA(1) ) {
case 37:
@@ -6677,7 +6757,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("608:1: statement : ( block | 'assert' expression ( ':' expression )? ';' | 'if' parExpression statement ( options {k=1; } : 'else' statement )? | 'for' '(' forControl ')' statement | 'while' parExpression statement | 'do' statement 'while' parExpression ';' | 'try' block ( catches 'finally' block | catches | 'finally' block ) | 'switch' parExpression '{' switchBlockStatementGroups '}' | 'synchronized' parExpression block | 'return' ( expression )? ';' | 'throw' expression ';' | 'break' ( Identifier )? ';' | 'continue' ( Identifier )? ';' | ';' | statementExpression ';' | Identifier ':' statement );", 113, 32, input);
+ new NoViableAltException("646:1: statement : ( block | 'assert' expression ( ':' expression )? ';' | 'if' parExpression statement ( options {k=1; } : 'else' statement )? | 'for' '(' forControl ')' statement | 'while' parExpression statement | 'do' statement 'while' parExpression ';' | 'try' block ( catches 'finally' block | catches | 'finally' block ) | 'switch' parExpression '{' switchBlockStatementGroups '}' | 'synchronized' parExpression block | 'return' ( expression )? ';' | 'throw' expression ';' | 'break' ( Identifier )? ';' | 'continue' ( Identifier )? ';' | ';' | statementExpression ';' | Identifier ':' statement );", 113, 32, input);
throw nvae;
}
@@ -6686,16 +6766,16 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("608:1: statement : ( block | 'assert' expression ( ':' expression )? ';' | 'if' parExpression statement ( options {k=1; } : 'else' statement )? | 'for' '(' forControl ')' statement | 'while' parExpression statement | 'do' statement 'while' parExpression ';' | 'try' block ( catches 'finally' block | catches | 'finally' block ) | 'switch' parExpression '{' switchBlockStatementGroups '}' | 'synchronized' parExpression block | 'return' ( expression )? ';' | 'throw' expression ';' | 'break' ( Identifier )? ';' | 'continue' ( Identifier )? ';' | ';' | statementExpression ';' | Identifier ':' statement );", 113, 0, input);
+ new NoViableAltException("646:1: statement : ( block | 'assert' expression ( ':' expression )? ';' | 'if' parExpression statement ( options {k=1; } : 'else' statement )? | 'for' '(' forControl ')' statement | 'while' parExpression statement | 'do' statement 'while' parExpression ';' | 'try' block ( catches 'finally' block | catches | 'finally' block ) | 'switch' parExpression '{' switchBlockStatementGroups '}' | 'synchronized' parExpression block | 'return' ( expression )? ';' | 'throw' expression ';' | 'break' ( Identifier )? ';' | 'continue' ( Identifier )? ';' | ';' | statementExpression ';' | Identifier ':' statement );", 113, 0, input);
throw nvae;
}
switch (alt113) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:609:4: block
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:647:4: block
{
- pushFollow(FOLLOW_block_in_statement2279);
+ pushFollow(FOLLOW_block_in_statement2360);
block();
_fsp--;
if (failed) return ;
@@ -6703,14 +6783,14 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:610:7: 'assert' expression ( ':' expression )? ';'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:648:7: 'assert' expression ( ':' expression )? ';'
{
- match(input,73,FOLLOW_73_in_statement2287); if (failed) return ;
- pushFollow(FOLLOW_expression_in_statement2289);
+ match(input,73,FOLLOW_73_in_statement2368); if (failed) return ;
+ pushFollow(FOLLOW_expression_in_statement2370);
expression();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:610:27: ( ':' expression )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:648:27: ( ':' expression )?
int alt107=2;
int LA107_0 = input.LA(1);
@@ -6719,10 +6799,10 @@
}
switch (alt107) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:610:28: ':' expression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:648:28: ':' expression
{
- match(input,74,FOLLOW_74_in_statement2292); if (failed) return ;
- pushFollow(FOLLOW_expression_in_statement2294);
+ match(input,74,FOLLOW_74_in_statement2373); if (failed) return ;
+ pushFollow(FOLLOW_expression_in_statement2375);
expression();
_fsp--;
if (failed) return ;
@@ -6732,23 +6812,23 @@
}
- match(input,25,FOLLOW_25_in_statement2298); if (failed) return ;
+ match(input,25,FOLLOW_25_in_statement2379); if (failed) return ;
}
break;
case 3 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:611:7: 'if' parExpression statement ( options {k=1; } : 'else' statement )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:649:7: 'if' parExpression statement ( options {k=1; } : 'else' statement )?
{
- match(input,75,FOLLOW_75_in_statement2306); if (failed) return ;
- pushFollow(FOLLOW_parExpression_in_statement2308);
+ match(input,75,FOLLOW_75_in_statement2387); if (failed) return ;
+ pushFollow(FOLLOW_parExpression_in_statement2389);
parExpression();
_fsp--;
if (failed) return ;
- pushFollow(FOLLOW_statement_in_statement2310);
+ pushFollow(FOLLOW_statement_in_statement2391);
statement();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:611:36: ( options {k=1; } : 'else' statement )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:649:36: ( options {k=1; } : 'else' statement )?
int alt108=2;
int LA108_0 = input.LA(1);
@@ -6761,10 +6841,10 @@
}
switch (alt108) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:611:52: 'else' statement
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:649:52: 'else' statement
{
- match(input,76,FOLLOW_76_in_statement2320); if (failed) return ;
- pushFollow(FOLLOW_statement_in_statement2322);
+ match(input,76,FOLLOW_76_in_statement2401); if (failed) return ;
+ pushFollow(FOLLOW_statement_in_statement2403);
statement();
_fsp--;
if (failed) return ;
@@ -6778,16 +6858,16 @@
}
break;
case 4 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:612:7: 'for' '(' forControl ')' statement
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:650:7: 'for' '(' forControl ')' statement
{
- match(input,77,FOLLOW_77_in_statement2332); if (failed) return ;
- match(input,65,FOLLOW_65_in_statement2334); if (failed) return ;
- pushFollow(FOLLOW_forControl_in_statement2336);
+ match(input,77,FOLLOW_77_in_statement2413); if (failed) return ;
+ match(input,65,FOLLOW_65_in_statement2415); if (failed) return ;
+ pushFollow(FOLLOW_forControl_in_statement2417);
forControl();
_fsp--;
if (failed) return ;
- match(input,66,FOLLOW_66_in_statement2338); if (failed) return ;
- pushFollow(FOLLOW_statement_in_statement2340);
+ match(input,66,FOLLOW_66_in_statement2419); if (failed) return ;
+ pushFollow(FOLLOW_statement_in_statement2421);
statement();
_fsp--;
if (failed) return ;
@@ -6795,14 +6875,14 @@
}
break;
case 5 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:613:7: 'while' parExpression statement
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:651:7: 'while' parExpression statement
{
- match(input,78,FOLLOW_78_in_statement2348); if (failed) return ;
- pushFollow(FOLLOW_parExpression_in_statement2350);
+ match(input,78,FOLLOW_78_in_statement2429); if (failed) return ;
+ pushFollow(FOLLOW_parExpression_in_statement2431);
parExpression();
_fsp--;
if (failed) return ;
- pushFollow(FOLLOW_statement_in_statement2352);
+ pushFollow(FOLLOW_statement_in_statement2433);
statement();
_fsp--;
if (failed) return ;
@@ -6810,31 +6890,31 @@
}
break;
case 6 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:614:7: 'do' statement 'while' parExpression ';'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:652:7: 'do' statement 'while' parExpression ';'
{
- match(input,79,FOLLOW_79_in_statement2360); if (failed) return ;
- pushFollow(FOLLOW_statement_in_statement2362);
+ match(input,79,FOLLOW_79_in_statement2441); if (failed) return ;
+ pushFollow(FOLLOW_statement_in_statement2443);
statement();
_fsp--;
if (failed) return ;
- match(input,78,FOLLOW_78_in_statement2364); if (failed) return ;
- pushFollow(FOLLOW_parExpression_in_statement2366);
+ match(input,78,FOLLOW_78_in_statement2445); if (failed) return ;
+ pushFollow(FOLLOW_parExpression_in_statement2447);
parExpression();
_fsp--;
if (failed) return ;
- match(input,25,FOLLOW_25_in_statement2368); if (failed) return ;
+ match(input,25,FOLLOW_25_in_statement2449); if (failed) return ;
}
break;
case 7 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:615:7: 'try' block ( catches 'finally' block | catches | 'finally' block )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:653:7: 'try' block ( catches 'finally' block | catches | 'finally' block )
{
- match(input,80,FOLLOW_80_in_statement2376); if (failed) return ;
- pushFollow(FOLLOW_block_in_statement2378);
+ match(input,80,FOLLOW_80_in_statement2457); if (failed) return ;
+ pushFollow(FOLLOW_block_in_statement2459);
block();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:616:7: ( catches 'finally' block | catches | 'finally' block )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:654:7: ( catches 'finally' block | catches | 'finally' block )
int alt109=3;
int LA109_0 = input.LA(1);
@@ -6853,7 +6933,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("616:7: ( catches 'finally' block | catches | 'finally' block )", 109, 3, input);
+ new NoViableAltException("654:7: ( catches 'finally' block | catches | 'finally' block )", 109, 3, input);
throw nvae;
}
@@ -6861,7 +6941,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("616:7: ( catches 'finally' block | catches | 'finally' block )", 109, 1, input);
+ new NoViableAltException("654:7: ( catches 'finally' block | catches | 'finally' block )", 109, 1, input);
throw nvae;
}
@@ -6872,20 +6952,20 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("616:7: ( catches 'finally' block | catches | 'finally' block )", 109, 0, input);
+ new NoViableAltException("654:7: ( catches 'finally' block | catches | 'finally' block )", 109, 0, input);
throw nvae;
}
switch (alt109) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:616:9: catches 'finally' block
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:654:9: catches 'finally' block
{
- pushFollow(FOLLOW_catches_in_statement2388);
+ pushFollow(FOLLOW_catches_in_statement2469);
catches();
_fsp--;
if (failed) return ;
- match(input,81,FOLLOW_81_in_statement2390); if (failed) return ;
- pushFollow(FOLLOW_block_in_statement2392);
+ match(input,81,FOLLOW_81_in_statement2471); if (failed) return ;
+ pushFollow(FOLLOW_block_in_statement2473);
block();
_fsp--;
if (failed) return ;
@@ -6893,9 +6973,9 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:617:9: catches
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:655:9: catches
{
- pushFollow(FOLLOW_catches_in_statement2402);
+ pushFollow(FOLLOW_catches_in_statement2483);
catches();
_fsp--;
if (failed) return ;
@@ -6903,10 +6983,10 @@
}
break;
case 3 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:618:9: 'finally' block
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:656:9: 'finally' block
{
- match(input,81,FOLLOW_81_in_statement2412); if (failed) return ;
- pushFollow(FOLLOW_block_in_statement2414);
+ match(input,81,FOLLOW_81_in_statement2493); if (failed) return ;
+ pushFollow(FOLLOW_block_in_statement2495);
block();
_fsp--;
if (failed) return ;
@@ -6920,31 +7000,31 @@
}
break;
case 8 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:620:7: 'switch' parExpression '{' switchBlockStatementGroups '}'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:658:7: 'switch' parExpression '{' switchBlockStatementGroups '}'
{
- match(input,82,FOLLOW_82_in_statement2430); if (failed) return ;
- pushFollow(FOLLOW_parExpression_in_statement2432);
+ match(input,82,FOLLOW_82_in_statement2511); if (failed) return ;
+ pushFollow(FOLLOW_parExpression_in_statement2513);
parExpression();
_fsp--;
if (failed) return ;
- match(input,37,FOLLOW_37_in_statement2434); if (failed) return ;
- pushFollow(FOLLOW_switchBlockStatementGroups_in_statement2436);
+ match(input,37,FOLLOW_37_in_statement2515); if (failed) return ;
+ pushFollow(FOLLOW_switchBlockStatementGroups_in_statement2517);
switchBlockStatementGroups();
_fsp--;
if (failed) return ;
- match(input,38,FOLLOW_38_in_statement2438); if (failed) return ;
+ match(input,38,FOLLOW_38_in_statement2519); if (failed) return ;
}
break;
case 9 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:621:7: 'synchronized' parExpression block
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:659:7: 'synchronized' parExpression block
{
- match(input,51,FOLLOW_51_in_statement2446); if (failed) return ;
- pushFollow(FOLLOW_parExpression_in_statement2448);
+ match(input,51,FOLLOW_51_in_statement2527); if (failed) return ;
+ pushFollow(FOLLOW_parExpression_in_statement2529);
parExpression();
_fsp--;
if (failed) return ;
- pushFollow(FOLLOW_block_in_statement2450);
+ pushFollow(FOLLOW_block_in_statement2531);
block();
_fsp--;
if (failed) return ;
@@ -6952,10 +7032,10 @@
}
break;
case 10 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:622:7: 'return' ( expression )? ';'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:660:7: 'return' ( expression )? ';'
{
- match(input,83,FOLLOW_83_in_statement2458); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:622:16: ( expression )?
+ match(input,83,FOLLOW_83_in_statement2539); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:660:16: ( expression )?
int alt110=2;
int LA110_0 = input.LA(1);
@@ -6966,7 +7046,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: expression
{
- pushFollow(FOLLOW_expression_in_statement2460);
+ pushFollow(FOLLOW_expression_in_statement2541);
expression();
_fsp--;
if (failed) return ;
@@ -6976,27 +7056,27 @@
}
- match(input,25,FOLLOW_25_in_statement2463); if (failed) return ;
+ match(input,25,FOLLOW_25_in_statement2544); if (failed) return ;
}
break;
case 11 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:623:7: 'throw' expression ';'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:661:7: 'throw' expression ';'
{
- match(input,84,FOLLOW_84_in_statement2471); if (failed) return ;
- pushFollow(FOLLOW_expression_in_statement2473);
+ match(input,84,FOLLOW_84_in_statement2552); if (failed) return ;
+ pushFollow(FOLLOW_expression_in_statement2554);
expression();
_fsp--;
if (failed) return ;
- match(input,25,FOLLOW_25_in_statement2475); if (failed) return ;
+ match(input,25,FOLLOW_25_in_statement2556); if (failed) return ;
}
break;
case 12 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:624:7: 'break' ( Identifier )? ';'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:662:7: 'break' ( Identifier )? ';'
{
- match(input,85,FOLLOW_85_in_statement2483); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:624:15: ( Identifier )?
+ match(input,85,FOLLOW_85_in_statement2564); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:662:15: ( Identifier )?
int alt111=2;
int LA111_0 = input.LA(1);
@@ -7007,22 +7087,22 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: Identifier
{
- match(input,Identifier,FOLLOW_Identifier_in_statement2485); if (failed) return ;
+ match(input,Identifier,FOLLOW_Identifier_in_statement2566); if (failed) return ;
}
break;
}
- match(input,25,FOLLOW_25_in_statement2488); if (failed) return ;
+ match(input,25,FOLLOW_25_in_statement2569); if (failed) return ;
}
break;
case 13 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:625:7: 'continue' ( Identifier )? ';'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:663:7: 'continue' ( Identifier )? ';'
{
- match(input,86,FOLLOW_86_in_statement2496); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:625:18: ( Identifier )?
+ match(input,86,FOLLOW_86_in_statement2577); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:663:18: ( Identifier )?
int alt112=2;
int LA112_0 = input.LA(1);
@@ -7033,41 +7113,41 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: Identifier
{
- match(input,Identifier,FOLLOW_Identifier_in_statement2498); if (failed) return ;
+ match(input,Identifier,FOLLOW_Identifier_in_statement2579); if (failed) return ;
}
break;
}
- match(input,25,FOLLOW_25_in_statement2501); if (failed) return ;
+ match(input,25,FOLLOW_25_in_statement2582); if (failed) return ;
}
break;
case 14 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:626:7: ';'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:664:7: ';'
{
- match(input,25,FOLLOW_25_in_statement2509); if (failed) return ;
+ match(input,25,FOLLOW_25_in_statement2590); if (failed) return ;
}
break;
case 15 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:627:7: statementExpression ';'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:665:7: statementExpression ';'
{
- pushFollow(FOLLOW_statementExpression_in_statement2517);
+ pushFollow(FOLLOW_statementExpression_in_statement2598);
statementExpression();
_fsp--;
if (failed) return ;
- match(input,25,FOLLOW_25_in_statement2519); if (failed) return ;
+ match(input,25,FOLLOW_25_in_statement2600); if (failed) return ;
}
break;
case 16 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:628:7: Identifier ':' statement
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:666:7: Identifier ':' statement
{
- match(input,Identifier,FOLLOW_Identifier_in_statement2527); if (failed) return ;
- match(input,74,FOLLOW_74_in_statement2529); if (failed) return ;
- pushFollow(FOLLOW_statement_in_statement2531);
+ match(input,Identifier,FOLLOW_Identifier_in_statement2608); if (failed) return ;
+ match(input,74,FOLLOW_74_in_statement2610); if (failed) return ;
+ pushFollow(FOLLOW_statement_in_statement2612);
statement();
_fsp--;
if (failed) return ;
@@ -7090,19 +7170,19 @@
// $ANTLR start catches
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:631:1: catches : catchClause ( catchClause )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:669:1: catches : catchClause ( catchClause )* ;
public final void catches() throws RecognitionException {
int catches_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 84) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:632:4: ( catchClause ( catchClause )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:632:4: catchClause ( catchClause )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:670:4: ( catchClause ( catchClause )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:670:4: catchClause ( catchClause )*
{
- pushFollow(FOLLOW_catchClause_in_catches2543);
+ pushFollow(FOLLOW_catchClause_in_catches2624);
catchClause();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:632:16: ( catchClause )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:670:16: ( catchClause )*
loop114:
do {
int alt114=2;
@@ -7115,9 +7195,9 @@
switch (alt114) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:632:17: catchClause
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:670:17: catchClause
{
- pushFollow(FOLLOW_catchClause_in_catches2546);
+ pushFollow(FOLLOW_catchClause_in_catches2627);
catchClause();
_fsp--;
if (failed) return ;
@@ -7147,22 +7227,22 @@
// $ANTLR start catchClause
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:635:1: catchClause : 'catch' '(' formalParameter ')' block ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:673:1: catchClause : 'catch' '(' formalParameter ')' block ;
public final void catchClause() throws RecognitionException {
int catchClause_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 85) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:636:4: ( 'catch' '(' formalParameter ')' block )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:636:4: 'catch' '(' formalParameter ')' block
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:674:4: ( 'catch' '(' formalParameter ')' block )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:674:4: 'catch' '(' formalParameter ')' block
{
- match(input,87,FOLLOW_87_in_catchClause2560); if (failed) return ;
- match(input,65,FOLLOW_65_in_catchClause2562); if (failed) return ;
- pushFollow(FOLLOW_formalParameter_in_catchClause2564);
+ match(input,87,FOLLOW_87_in_catchClause2641); if (failed) return ;
+ match(input,65,FOLLOW_65_in_catchClause2643); if (failed) return ;
+ pushFollow(FOLLOW_formalParameter_in_catchClause2645);
formalParameter();
_fsp--;
if (failed) return ;
- match(input,66,FOLLOW_66_in_catchClause2566); if (failed) return ;
- pushFollow(FOLLOW_block_in_catchClause2568);
+ match(input,66,FOLLOW_66_in_catchClause2647); if (failed) return ;
+ pushFollow(FOLLOW_block_in_catchClause2649);
block();
_fsp--;
if (failed) return ;
@@ -7183,15 +7263,15 @@
// $ANTLR start formalParameter
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:639:1: formalParameter : ( variableModifier )* type variableDeclaratorId ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:677:1: formalParameter : ( variableModifier )* type variableDeclaratorId ;
public final void formalParameter() throws RecognitionException {
int formalParameter_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 86) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:640:4: ( ( variableModifier )* type variableDeclaratorId )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:640:4: ( variableModifier )* type variableDeclaratorId
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:678:4: ( ( variableModifier )* type variableDeclaratorId )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:678:4: ( variableModifier )* type variableDeclaratorId
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:640:4: ( variableModifier )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:678:4: ( variableModifier )*
loop115:
do {
int alt115=2;
@@ -7206,7 +7286,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: variableModifier
{
- pushFollow(FOLLOW_variableModifier_in_formalParameter2579);
+ pushFollow(FOLLOW_variableModifier_in_formalParameter2660);
variableModifier();
_fsp--;
if (failed) return ;
@@ -7219,11 +7299,11 @@
}
} while (true);
- pushFollow(FOLLOW_type_in_formalParameter2582);
+ pushFollow(FOLLOW_type_in_formalParameter2663);
type();
_fsp--;
if (failed) return ;
- pushFollow(FOLLOW_variableDeclaratorId_in_formalParameter2584);
+ pushFollow(FOLLOW_variableDeclaratorId_in_formalParameter2665);
variableDeclaratorId();
_fsp--;
if (failed) return ;
@@ -7244,15 +7324,15 @@
// $ANTLR start switchBlockStatementGroups
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:643:1: switchBlockStatementGroups : ( switchBlockStatementGroup )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:681:1: switchBlockStatementGroups : ( switchBlockStatementGroup )* ;
public final void switchBlockStatementGroups() throws RecognitionException {
int switchBlockStatementGroups_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 87) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:644:4: ( ( switchBlockStatementGroup )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:644:4: ( switchBlockStatementGroup )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:682:4: ( ( switchBlockStatementGroup )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:682:4: ( switchBlockStatementGroup )*
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:644:4: ( switchBlockStatementGroup )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:682:4: ( switchBlockStatementGroup )*
loop116:
do {
int alt116=2;
@@ -7265,9 +7345,9 @@
switch (alt116) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:644:5: switchBlockStatementGroup
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:682:5: switchBlockStatementGroup
{
- pushFollow(FOLLOW_switchBlockStatementGroup_in_switchBlockStatementGroups2598);
+ pushFollow(FOLLOW_switchBlockStatementGroup_in_switchBlockStatementGroups2679);
switchBlockStatementGroup();
_fsp--;
if (failed) return ;
@@ -7297,19 +7377,19 @@
// $ANTLR start switchBlockStatementGroup
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:647:1: switchBlockStatementGroup : switchLabel ( blockStatement )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:685:1: switchBlockStatementGroup : switchLabel ( blockStatement )* ;
public final void switchBlockStatementGroup() throws RecognitionException {
int switchBlockStatementGroup_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 88) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:648:4: ( switchLabel ( blockStatement )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:648:4: switchLabel ( blockStatement )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:686:4: ( switchLabel ( blockStatement )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:686:4: switchLabel ( blockStatement )*
{
- pushFollow(FOLLOW_switchLabel_in_switchBlockStatementGroup2612);
+ pushFollow(FOLLOW_switchLabel_in_switchBlockStatementGroup2693);
switchLabel();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:648:16: ( blockStatement )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:686:16: ( blockStatement )*
loop117:
do {
int alt117=2;
@@ -7324,7 +7404,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: blockStatement
{
- pushFollow(FOLLOW_blockStatement_in_switchBlockStatementGroup2614);
+ pushFollow(FOLLOW_blockStatement_in_switchBlockStatementGroup2695);
blockStatement();
_fsp--;
if (failed) return ;
@@ -7354,12 +7434,12 @@
// $ANTLR start switchLabel
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:651:1: switchLabel : ( 'case' constantExpression ':' | 'case' enumConstantName ':' | 'default' ':' );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:689:1: switchLabel : ( 'case' constantExpression ':' | 'case' enumConstantName ':' | 'default' ':' );
public final void switchLabel() throws RecognitionException {
int switchLabel_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 89) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:652:4: ( 'case' constantExpression ':' | 'case' enumConstantName ':' | 'default' ':' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:690:4: ( 'case' constantExpression ':' | 'case' enumConstantName ':' | 'default' ':' )
int alt118=3;
int LA118_0 = input.LA(1);
@@ -7378,7 +7458,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("651:1: switchLabel : ( 'case' constantExpression ':' | 'case' enumConstantName ':' | 'default' ':' );", 118, 3, input);
+ new NoViableAltException("689:1: switchLabel : ( 'case' constantExpression ':' | 'case' enumConstantName ':' | 'default' ':' );", 118, 3, input);
throw nvae;
}
@@ -7389,7 +7469,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("651:1: switchLabel : ( 'case' constantExpression ':' | 'case' enumConstantName ':' | 'default' ':' );", 118, 1, input);
+ new NoViableAltException("689:1: switchLabel : ( 'case' constantExpression ':' | 'case' enumConstantName ':' | 'default' ':' );", 118, 1, input);
throw nvae;
}
@@ -7400,40 +7480,40 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("651:1: switchLabel : ( 'case' constantExpression ':' | 'case' enumConstantName ':' | 'default' ':' );", 118, 0, input);
+ new NoViableAltException("689:1: switchLabel : ( 'case' constantExpression ':' | 'case' enumConstantName ':' | 'default' ':' );", 118, 0, input);
throw nvae;
}
switch (alt118) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:652:4: 'case' constantExpression ':'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:690:4: 'case' constantExpression ':'
{
- match(input,88,FOLLOW_88_in_switchLabel2627); if (failed) return ;
- pushFollow(FOLLOW_constantExpression_in_switchLabel2629);
+ match(input,88,FOLLOW_88_in_switchLabel2708); if (failed) return ;
+ pushFollow(FOLLOW_constantExpression_in_switchLabel2710);
constantExpression();
_fsp--;
if (failed) return ;
- match(input,74,FOLLOW_74_in_switchLabel2631); if (failed) return ;
+ match(input,74,FOLLOW_74_in_switchLabel2712); if (failed) return ;
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:653:6: 'case' enumConstantName ':'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:691:6: 'case' enumConstantName ':'
{
- match(input,88,FOLLOW_88_in_switchLabel2638); if (failed) return ;
- pushFollow(FOLLOW_enumConstantName_in_switchLabel2640);
+ match(input,88,FOLLOW_88_in_switchLabel2719); if (failed) return ;
+ pushFollow(FOLLOW_enumConstantName_in_switchLabel2721);
enumConstantName();
_fsp--;
if (failed) return ;
- match(input,74,FOLLOW_74_in_switchLabel2642); if (failed) return ;
+ match(input,74,FOLLOW_74_in_switchLabel2723); if (failed) return ;
}
break;
case 3 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:654:6: 'default' ':'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:692:6: 'default' ':'
{
- match(input,72,FOLLOW_72_in_switchLabel2649); if (failed) return ;
- match(input,74,FOLLOW_74_in_switchLabel2651); if (failed) return ;
+ match(input,72,FOLLOW_72_in_switchLabel2730); if (failed) return ;
+ match(input,74,FOLLOW_74_in_switchLabel2732); if (failed) return ;
}
break;
@@ -7453,15 +7533,15 @@
// $ANTLR start moreStatementExpressions
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:657:1: moreStatementExpressions : ( ',' statementExpression )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:695:1: moreStatementExpressions : ( ',' statementExpression )* ;
public final void moreStatementExpressions() throws RecognitionException {
int moreStatementExpressions_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 90) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:658:4: ( ( ',' statementExpression )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:658:4: ( ',' statementExpression )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:696:4: ( ( ',' statementExpression )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:696:4: ( ',' statementExpression )*
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:658:4: ( ',' statementExpression )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:696:4: ( ',' statementExpression )*
loop119:
do {
int alt119=2;
@@ -7474,10 +7554,10 @@
switch (alt119) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:658:5: ',' statementExpression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:696:5: ',' statementExpression
{
- match(input,34,FOLLOW_34_in_moreStatementExpressions2664); if (failed) return ;
- pushFollow(FOLLOW_statementExpression_in_moreStatementExpressions2666);
+ match(input,34,FOLLOW_34_in_moreStatementExpressions2745); if (failed) return ;
+ pushFollow(FOLLOW_statementExpression_in_moreStatementExpressions2747);
statementExpression();
_fsp--;
if (failed) return ;
@@ -7507,12 +7587,12 @@
// $ANTLR start forControl
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );
public final void forControl() throws RecognitionException {
int forControl_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 91) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:663:4: ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:701:4: ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? )
int alt123=2;
switch ( input.LA(1) ) {
case 49:
@@ -7534,7 +7614,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 60, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 60, input);
throw nvae;
}
@@ -7553,7 +7633,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 61, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 61, input);
throw nvae;
}
@@ -7572,7 +7652,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 62, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 62, input);
throw nvae;
}
@@ -7591,7 +7671,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 63, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 63, input);
throw nvae;
}
@@ -7600,7 +7680,7 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 24, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 24, input);
throw nvae;
}
@@ -7630,7 +7710,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 64, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 64, input);
throw nvae;
}
@@ -7647,7 +7727,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 65, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 65, input);
throw nvae;
}
@@ -7655,7 +7735,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 25, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 25, input);
throw nvae;
}
@@ -7677,7 +7757,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 66, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 66, input);
throw nvae;
}
@@ -7703,7 +7783,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 67, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 67, input);
throw nvae;
}
@@ -7722,7 +7802,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 68, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 68, input);
throw nvae;
}
@@ -7741,7 +7821,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 69, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 69, input);
throw nvae;
}
@@ -7750,7 +7830,7 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 26, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 26, input);
throw nvae;
}
@@ -7773,7 +7853,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 70, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 70, input);
throw nvae;
}
@@ -7781,7 +7861,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 27, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 27, input);
throw nvae;
}
@@ -7790,7 +7870,7 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 1, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 1, input);
throw nvae;
}
@@ -7816,7 +7896,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 71, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 71, input);
throw nvae;
}
@@ -7835,7 +7915,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 72, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 72, input);
throw nvae;
}
@@ -7854,7 +7934,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 73, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 73, input);
throw nvae;
}
@@ -7880,7 +7960,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 74, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 74, input);
throw nvae;
}
@@ -7899,7 +7979,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 75, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 75, input);
throw nvae;
}
@@ -7918,7 +7998,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 76, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 76, input);
throw nvae;
}
@@ -7927,7 +8007,7 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 28, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 28, input);
throw nvae;
}
@@ -7936,7 +8016,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 2, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 2, input);
throw nvae;
}
@@ -7987,7 +8067,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 95, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 95, input);
throw nvae;
}
@@ -8013,7 +8093,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 96, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 96, input);
throw nvae;
}
@@ -8032,7 +8112,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 98, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 98, input);
throw nvae;
}
@@ -8041,7 +8121,7 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 29, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 29, input);
throw nvae;
}
@@ -8067,7 +8147,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 100, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 100, input);
throw nvae;
}
@@ -8075,7 +8155,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 30, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 30, input);
throw nvae;
}
@@ -8097,7 +8177,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 105, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 105, input);
throw nvae;
}
@@ -8108,7 +8188,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 31, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 31, input);
throw nvae;
}
@@ -8127,7 +8207,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 32, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 32, input);
throw nvae;
}
@@ -8169,7 +8249,7 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 3, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 3, input);
throw nvae;
}
@@ -8202,7 +8282,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 131, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 131, input);
throw nvae;
}
@@ -8210,7 +8290,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 57, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 57, input);
throw nvae;
}
@@ -8229,7 +8309,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 58, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 58, input);
throw nvae;
}
@@ -8243,7 +8323,7 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 4, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 4, input);
throw nvae;
}
@@ -8279,16 +8359,16 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("661:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 0, input);
+ new NoViableAltException("699:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );", 123, 0, input);
throw nvae;
}
switch (alt123) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:663:4: forVarControl
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:701:4: forVarControl
{
- pushFollow(FOLLOW_forVarControl_in_forControl2687);
+ pushFollow(FOLLOW_forVarControl_in_forControl2768);
forVarControl();
_fsp--;
if (failed) return ;
@@ -8296,9 +8376,9 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:664:4: ( forInit )? ';' ( expression )? ';' ( forUpdate )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:702:4: ( forInit )? ';' ( expression )? ';' ( forUpdate )?
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:664:4: ( forInit )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:702:4: ( forInit )?
int alt120=2;
int LA120_0 = input.LA(1);
@@ -8309,7 +8389,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: forInit
{
- pushFollow(FOLLOW_forInit_in_forControl2692);
+ pushFollow(FOLLOW_forInit_in_forControl2773);
forInit();
_fsp--;
if (failed) return ;
@@ -8319,8 +8399,8 @@
}
- match(input,25,FOLLOW_25_in_forControl2695); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:664:17: ( expression )?
+ match(input,25,FOLLOW_25_in_forControl2776); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:702:17: ( expression )?
int alt121=2;
int LA121_0 = input.LA(1);
@@ -8331,7 +8411,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: expression
{
- pushFollow(FOLLOW_expression_in_forControl2697);
+ pushFollow(FOLLOW_expression_in_forControl2778);
expression();
_fsp--;
if (failed) return ;
@@ -8341,8 +8421,8 @@
}
- match(input,25,FOLLOW_25_in_forControl2700); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:664:33: ( forUpdate )?
+ match(input,25,FOLLOW_25_in_forControl2781); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:702:33: ( forUpdate )?
int alt122=2;
int LA122_0 = input.LA(1);
@@ -8353,7 +8433,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: forUpdate
{
- pushFollow(FOLLOW_forUpdate_in_forControl2702);
+ pushFollow(FOLLOW_forUpdate_in_forControl2783);
forUpdate();
_fsp--;
if (failed) return ;
@@ -8382,12 +8462,12 @@
// $ANTLR start forInit
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:667:1: forInit : ( ( variableModifier )* type variableDeclarators | expressionList );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:705:1: forInit : ( ( variableModifier )* type variableDeclarators | expressionList );
public final void forInit() throws RecognitionException {
int forInit_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 92) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:668:4: ( ( variableModifier )* type variableDeclarators | expressionList )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:706:4: ( ( variableModifier )* type variableDeclarators | expressionList )
int alt125=2;
switch ( input.LA(1) ) {
case 49:
@@ -8412,7 +8492,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("667:1: forInit : ( ( variableModifier )* type variableDeclarators | expressionList );", 125, 23, input);
+ new NoViableAltException("705:1: forInit : ( ( variableModifier )* type variableDeclarators | expressionList );", 125, 23, input);
throw nvae;
}
@@ -8431,7 +8511,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("667:1: forInit : ( ( variableModifier )* type variableDeclarators | expressionList );", 125, 24, input);
+ new NoViableAltException("705:1: forInit : ( ( variableModifier )* type variableDeclarators | expressionList );", 125, 24, input);
throw nvae;
}
@@ -8484,7 +8564,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("667:1: forInit : ( ( variableModifier )* type variableDeclarators | expressionList );", 125, 29, input);
+ new NoViableAltException("705:1: forInit : ( ( variableModifier )* type variableDeclarators | expressionList );", 125, 29, input);
throw nvae;
}
@@ -8498,7 +8578,7 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("667:1: forInit : ( ( variableModifier )* type variableDeclarators | expressionList );", 125, 3, input);
+ new NoViableAltException("705:1: forInit : ( ( variableModifier )* type variableDeclarators | expressionList );", 125, 3, input);
throw nvae;
}
@@ -8528,7 +8608,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("667:1: forInit : ( ( variableModifier )* type variableDeclarators | expressionList );", 125, 52, input);
+ new NoViableAltException("705:1: forInit : ( ( variableModifier )* type variableDeclarators | expressionList );", 125, 52, input);
throw nvae;
}
@@ -8547,7 +8627,7 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("667:1: forInit : ( ( variableModifier )* type variableDeclarators | expressionList );", 125, 4, input);
+ new NoViableAltException("705:1: forInit : ( ( variableModifier )* type variableDeclarators | expressionList );", 125, 4, input);
throw nvae;
}
@@ -8582,16 +8662,16 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("667:1: forInit : ( ( variableModifier )* type variableDeclarators | expressionList );", 125, 0, input);
+ new NoViableAltException("705:1: forInit : ( ( variableModifier )* type variableDeclarators | expressionList );", 125, 0, input);
throw nvae;
}
switch (alt125) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:668:4: ( variableModifier )* type variableDeclarators
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:706:4: ( variableModifier )* type variableDeclarators
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:668:4: ( variableModifier )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:706:4: ( variableModifier )*
loop124:
do {
int alt124=2;
@@ -8606,7 +8686,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: variableModifier
{
- pushFollow(FOLLOW_variableModifier_in_forInit2714);
+ pushFollow(FOLLOW_variableModifier_in_forInit2795);
variableModifier();
_fsp--;
if (failed) return ;
@@ -8619,11 +8699,11 @@
}
} while (true);
- pushFollow(FOLLOW_type_in_forInit2717);
+ pushFollow(FOLLOW_type_in_forInit2798);
type();
_fsp--;
if (failed) return ;
- pushFollow(FOLLOW_variableDeclarators_in_forInit2719);
+ pushFollow(FOLLOW_variableDeclarators_in_forInit2800);
variableDeclarators();
_fsp--;
if (failed) return ;
@@ -8631,9 +8711,9 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:669:4: expressionList
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:707:4: expressionList
{
- pushFollow(FOLLOW_expressionList_in_forInit2724);
+ pushFollow(FOLLOW_expressionList_in_forInit2805);
expressionList();
_fsp--;
if (failed) return ;
@@ -8656,15 +8736,15 @@
// $ANTLR start forVarControl
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:672:1: forVarControl : ( variableModifier )* type Identifier ':' expression ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:710:1: forVarControl : ( variableModifier )* type Identifier ':' expression ;
public final void forVarControl() throws RecognitionException {
int forVarControl_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 93) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:673:4: ( ( variableModifier )* type Identifier ':' expression )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:673:4: ( variableModifier )* type Identifier ':' expression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:711:4: ( ( variableModifier )* type Identifier ':' expression )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:711:4: ( variableModifier )* type Identifier ':' expression
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:673:4: ( variableModifier )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:711:4: ( variableModifier )*
loop126:
do {
int alt126=2;
@@ -8679,7 +8759,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: variableModifier
{
- pushFollow(FOLLOW_variableModifier_in_forVarControl2736);
+ pushFollow(FOLLOW_variableModifier_in_forVarControl2817);
variableModifier();
_fsp--;
if (failed) return ;
@@ -8692,13 +8772,13 @@
}
} while (true);
- pushFollow(FOLLOW_type_in_forVarControl2739);
+ pushFollow(FOLLOW_type_in_forVarControl2820);
type();
_fsp--;
if (failed) return ;
- match(input,Identifier,FOLLOW_Identifier_in_forVarControl2741); if (failed) return ;
- match(input,74,FOLLOW_74_in_forVarControl2743); if (failed) return ;
- pushFollow(FOLLOW_expression_in_forVarControl2745);
+ match(input,Identifier,FOLLOW_Identifier_in_forVarControl2822); if (failed) return ;
+ match(input,74,FOLLOW_74_in_forVarControl2824); if (failed) return ;
+ pushFollow(FOLLOW_expression_in_forVarControl2826);
expression();
_fsp--;
if (failed) return ;
@@ -8719,15 +8799,15 @@
// $ANTLR start forUpdate
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:676:1: forUpdate : expressionList ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:714:1: forUpdate : expressionList ;
public final void forUpdate() throws RecognitionException {
int forUpdate_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 94) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:677:4: ( expressionList )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:677:4: expressionList
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:715:4: ( expressionList )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:715:4: expressionList
{
- pushFollow(FOLLOW_expressionList_in_forUpdate2756);
+ pushFollow(FOLLOW_expressionList_in_forUpdate2837);
expressionList();
_fsp--;
if (failed) return ;
@@ -8748,20 +8828,20 @@
// $ANTLR start parExpression
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:682:1: parExpression : '(' expression ')' ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:720:1: parExpression : '(' expression ')' ;
public final void parExpression() throws RecognitionException {
int parExpression_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 95) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:683:4: ( '(' expression ')' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:683:4: '(' expression ')'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:721:4: ( '(' expression ')' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:721:4: '(' expression ')'
{
- match(input,65,FOLLOW_65_in_parExpression2769); if (failed) return ;
- pushFollow(FOLLOW_expression_in_parExpression2771);
+ match(input,65,FOLLOW_65_in_parExpression2850); if (failed) return ;
+ pushFollow(FOLLOW_expression_in_parExpression2852);
expression();
_fsp--;
if (failed) return ;
- match(input,66,FOLLOW_66_in_parExpression2773); if (failed) return ;
+ match(input,66,FOLLOW_66_in_parExpression2854); if (failed) return ;
}
@@ -8779,19 +8859,19 @@
// $ANTLR start expressionList
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:686:1: expressionList : expression ( ',' expression )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:724:1: expressionList : expression ( ',' expression )* ;
public final void expressionList() throws RecognitionException {
int expressionList_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 96) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:687:9: ( expression ( ',' expression )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:687:9: expression ( ',' expression )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:725:9: ( expression ( ',' expression )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:725:9: expression ( ',' expression )*
{
- pushFollow(FOLLOW_expression_in_expressionList2790);
+ pushFollow(FOLLOW_expression_in_expressionList2871);
expression();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:687:20: ( ',' expression )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:725:20: ( ',' expression )*
loop127:
do {
int alt127=2;
@@ -8804,10 +8884,10 @@
switch (alt127) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:687:21: ',' expression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:725:21: ',' expression
{
- match(input,34,FOLLOW_34_in_expressionList2793); if (failed) return ;
- pushFollow(FOLLOW_expression_in_expressionList2795);
+ match(input,34,FOLLOW_34_in_expressionList2874); if (failed) return ;
+ pushFollow(FOLLOW_expression_in_expressionList2876);
expression();
_fsp--;
if (failed) return ;
@@ -8837,15 +8917,15 @@
// $ANTLR start statementExpression
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:690:1: statementExpression : expression ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:728:1: statementExpression : expression ;
public final void statementExpression() throws RecognitionException {
int statementExpression_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 97) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:691:4: ( expression )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:691:4: expression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:729:4: ( expression )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:729:4: expression
{
- pushFollow(FOLLOW_expression_in_statementExpression2811);
+ pushFollow(FOLLOW_expression_in_statementExpression2892);
expression();
_fsp--;
if (failed) return ;
@@ -8866,15 +8946,15 @@
// $ANTLR start constantExpression
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:694:1: constantExpression : expression ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:732:1: constantExpression : expression ;
public final void constantExpression() throws RecognitionException {
int constantExpression_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 98) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:695:4: ( expression )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:695:4: expression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:733:4: ( expression )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:733:4: expression
{
- pushFollow(FOLLOW_expression_in_constantExpression2823);
+ pushFollow(FOLLOW_expression_in_constantExpression2904);
expression();
_fsp--;
if (failed) return ;
@@ -8895,19 +8975,19 @@
// $ANTLR start expression
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:698:1: expression : conditionalExpression ( assignmentOperator expression )? ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:736:1: expression : conditionalExpression ( assignmentOperator expression )? ;
public final void expression() throws RecognitionException {
int expression_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 99) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:699:4: ( conditionalExpression ( assignmentOperator expression )? )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:699:4: conditionalExpression ( assignmentOperator expression )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:737:4: ( conditionalExpression ( assignmentOperator expression )? )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:737:4: conditionalExpression ( assignmentOperator expression )?
{
- pushFollow(FOLLOW_conditionalExpression_in_expression2835);
+ pushFollow(FOLLOW_conditionalExpression_in_expression2916);
conditionalExpression();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:699:26: ( assignmentOperator expression )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:737:26: ( assignmentOperator expression )?
int alt128=2;
switch ( input.LA(1) ) {
case 44:
@@ -9013,13 +9093,13 @@
switch (alt128) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:699:27: assignmentOperator expression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:737:27: assignmentOperator expression
{
- pushFollow(FOLLOW_assignmentOperator_in_expression2838);
+ pushFollow(FOLLOW_assignmentOperator_in_expression2919);
assignmentOperator();
_fsp--;
if (failed) return ;
- pushFollow(FOLLOW_expression_in_expression2840);
+ pushFollow(FOLLOW_expression_in_expression2921);
expression();
_fsp--;
if (failed) return ;
@@ -9046,12 +9126,12 @@
// $ANTLR start assignmentOperator
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:702:1: assignmentOperator : ( '=' | '+=' | '-=' | '*=' | '/=' | '&=' | '|=' | '^=' | '%=' | '<' '<' '=' | '>' '>' '=' | '>' '>' '>' '=' );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:740:1: assignmentOperator : ( '=' | '+=' | '-=' | '*=' | '/=' | '&=' | '|=' | '^=' | '%=' | '<' '<' '=' | '>' '>' '=' | '>' '>' '>' '=' );
public final void assignmentOperator() throws RecognitionException {
int assignmentOperator_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 100) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:703:4: ( '=' | '+=' | '-=' | '*=' | '/=' | '&=' | '|=' | '^=' | '%=' | '<' '<' '=' | '>' '>' '=' | '>' '>' '>' '=' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:741:4: ( '=' | '+=' | '-=' | '*=' | '/=' | '&=' | '|=' | '^=' | '%=' | '<' '<' '=' | '>' '>' '=' | '>' '>' '>' '=' )
int alt129=12;
switch ( input.LA(1) ) {
case 44:
@@ -9120,7 +9200,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("702:1: assignmentOperator : ( '=' | '+=' | '-=' | '*=' | '/=' | '&=' | '|=' | '^=' | '%=' | '<' '<' '=' | '>' '>' '=' | '>' '>' '>' '=' );", 129, 12, input);
+ new NoViableAltException("740:1: assignmentOperator : ( '=' | '+=' | '-=' | '*=' | '/=' | '&=' | '|=' | '^=' | '%=' | '<' '<' '=' | '>' '>' '=' | '>' '>' '>' '=' );", 129, 12, input);
throw nvae;
}
@@ -9128,7 +9208,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("702:1: assignmentOperator : ( '=' | '+=' | '-=' | '*=' | '/=' | '&=' | '|=' | '^=' | '%=' | '<' '<' '=' | '>' '>' '=' | '>' '>' '>' '=' );", 129, 11, input);
+ new NoViableAltException("740:1: assignmentOperator : ( '=' | '+=' | '-=' | '*=' | '/=' | '&=' | '|=' | '^=' | '%=' | '<' '<' '=' | '>' '>' '=' | '>' '>' '>' '=' );", 129, 11, input);
throw nvae;
}
@@ -9137,100 +9217,100 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("702:1: assignmentOperator : ( '=' | '+=' | '-=' | '*=' | '/=' | '&=' | '|=' | '^=' | '%=' | '<' '<' '=' | '>' '>' '=' | '>' '>' '>' '=' );", 129, 0, input);
+ new NoViableAltException("740:1: assignmentOperator : ( '=' | '+=' | '-=' | '*=' | '/=' | '&=' | '|=' | '^=' | '%=' | '<' '<' '=' | '>' '>' '=' | '>' '>' '>' '=' );", 129, 0, input);
throw nvae;
}
switch (alt129) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:703:4: '='
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:741:4: '='
{
- match(input,44,FOLLOW_44_in_assignmentOperator2854); if (failed) return ;
+ match(input,44,FOLLOW_44_in_assignmentOperator2935); if (failed) return ;
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:704:9: '+='
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:742:9: '+='
{
- match(input,89,FOLLOW_89_in_assignmentOperator2864); if (failed) return ;
+ match(input,89,FOLLOW_89_in_assignmentOperator2945); if (failed) return ;
}
break;
case 3 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:705:9: '-='
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:743:9: '-='
{
- match(input,90,FOLLOW_90_in_assignmentOperator2874); if (failed) return ;
+ match(input,90,FOLLOW_90_in_assignmentOperator2955); if (failed) return ;
}
break;
case 4 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:706:9: '*='
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:744:9: '*='
{
- match(input,91,FOLLOW_91_in_assignmentOperator2884); if (failed) return ;
+ match(input,91,FOLLOW_91_in_assignmentOperator2965); if (failed) return ;
}
break;
case 5 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:707:9: '/='
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:745:9: '/='
{
- match(input,92,FOLLOW_92_in_assignmentOperator2894); if (failed) return ;
+ match(input,92,FOLLOW_92_in_assignmentOperator2975); if (failed) return ;
}
break;
case 6 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:708:9: '&='
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:746:9: '&='
{
- match(input,93,FOLLOW_93_in_assignmentOperator2904); if (failed) return ;
+ match(input,93,FOLLOW_93_in_assignmentOperator2985); if (failed) return ;
}
break;
case 7 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:709:9: '|='
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:747:9: '|='
{
- match(input,94,FOLLOW_94_in_assignmentOperator2914); if (failed) return ;
+ match(input,94,FOLLOW_94_in_assignmentOperator2995); if (failed) return ;
}
break;
case 8 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:710:9: '^='
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:748:9: '^='
{
- match(input,95,FOLLOW_95_in_assignmentOperator2924); if (failed) return ;
+ match(input,95,FOLLOW_95_in_assignmentOperator3005); if (failed) return ;
}
break;
case 9 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:711:9: '%='
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:749:9: '%='
{
- match(input,96,FOLLOW_96_in_assignmentOperator2934); if (failed) return ;
+ match(input,96,FOLLOW_96_in_assignmentOperator3015); if (failed) return ;
}
break;
case 10 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:712:9: '<' '<' '='
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:750:9: '<' '<' '='
{
- match(input,33,FOLLOW_33_in_assignmentOperator2944); if (failed) return ;
- match(input,33,FOLLOW_33_in_assignmentOperator2946); if (failed) return ;
- match(input,44,FOLLOW_44_in_assignmentOperator2948); if (failed) return ;
+ match(input,33,FOLLOW_33_in_assignmentOperator3025); if (failed) return ;
+ match(input,33,FOLLOW_33_in_assignmentOperator3027); if (failed) return ;
+ match(input,44,FOLLOW_44_in_assignmentOperator3029); if (failed) return ;
}
break;
case 11 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:713:9: '>' '>' '='
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:751:9: '>' '>' '='
{
- match(input,35,FOLLOW_35_in_assignmentOperator2958); if (failed) return ;
- match(input,35,FOLLOW_35_in_assignmentOperator2960); if (failed) return ;
- match(input,44,FOLLOW_44_in_assignmentOperator2962); if (failed) return ;
+ match(input,35,FOLLOW_35_in_assignmentOperator3039); if (failed) return ;
+ match(input,35,FOLLOW_35_in_assignmentOperator3041); if (failed) return ;
+ match(input,44,FOLLOW_44_in_assignmentOperator3043); if (failed) return ;
}
break;
case 12 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:714:9: '>' '>' '>' '='
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:752:9: '>' '>' '>' '='
{
- match(input,35,FOLLOW_35_in_assignmentOperator2972); if (failed) return ;
- match(input,35,FOLLOW_35_in_assignmentOperator2974); if (failed) return ;
- match(input,35,FOLLOW_35_in_assignmentOperator2976); if (failed) return ;
- match(input,44,FOLLOW_44_in_assignmentOperator2978); if (failed) return ;
+ match(input,35,FOLLOW_35_in_assignmentOperator3053); if (failed) return ;
+ match(input,35,FOLLOW_35_in_assignmentOperator3055); if (failed) return ;
+ match(input,35,FOLLOW_35_in_assignmentOperator3057); if (failed) return ;
+ match(input,44,FOLLOW_44_in_assignmentOperator3059); if (failed) return ;
}
break;
@@ -9250,19 +9330,19 @@
// $ANTLR start conditionalExpression
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:717:1: conditionalExpression : conditionalOrExpression ( '?' expression ':' expression )? ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:755:1: conditionalExpression : conditionalOrExpression ( '?' expression ':' expression )? ;
public final void conditionalExpression() throws RecognitionException {
int conditionalExpression_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 101) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:718:9: ( conditionalOrExpression ( '?' expression ':' expression )? )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:718:9: conditionalOrExpression ( '?' expression ':' expression )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:756:9: ( conditionalOrExpression ( '?' expression ':' expression )? )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:756:9: conditionalOrExpression ( '?' expression ':' expression )?
{
- pushFollow(FOLLOW_conditionalOrExpression_in_conditionalExpression2994);
+ pushFollow(FOLLOW_conditionalOrExpression_in_conditionalExpression3075);
conditionalOrExpression();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:718:33: ( '?' expression ':' expression )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:756:33: ( '?' expression ':' expression )?
int alt130=2;
int LA130_0 = input.LA(1);
@@ -9271,15 +9351,15 @@
}
switch (alt130) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:718:35: '?' expression ':' expression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:756:35: '?' expression ':' expression
{
- match(input,63,FOLLOW_63_in_conditionalExpression2998); if (failed) return ;
- pushFollow(FOLLOW_expression_in_conditionalExpression3000);
+ match(input,63,FOLLOW_63_in_conditionalExpression3079); if (failed) return ;
+ pushFollow(FOLLOW_expression_in_conditionalExpression3081);
expression();
_fsp--;
if (failed) return ;
- match(input,74,FOLLOW_74_in_conditionalExpression3002); if (failed) return ;
- pushFollow(FOLLOW_expression_in_conditionalExpression3004);
+ match(input,74,FOLLOW_74_in_conditionalExpression3083); if (failed) return ;
+ pushFollow(FOLLOW_expression_in_conditionalExpression3085);
expression();
_fsp--;
if (failed) return ;
@@ -9306,19 +9386,19 @@
// $ANTLR start conditionalOrExpression
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:721:1: conditionalOrExpression : conditionalAndExpression ( '||' conditionalAndExpression )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:759:1: conditionalOrExpression : conditionalAndExpression ( '||' conditionalAndExpression )* ;
public final void conditionalOrExpression() throws RecognitionException {
int conditionalOrExpression_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 102) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:722:9: ( conditionalAndExpression ( '||' conditionalAndExpression )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:722:9: conditionalAndExpression ( '||' conditionalAndExpression )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:760:9: ( conditionalAndExpression ( '||' conditionalAndExpression )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:760:9: conditionalAndExpression ( '||' conditionalAndExpression )*
{
- pushFollow(FOLLOW_conditionalAndExpression_in_conditionalOrExpression3023);
+ pushFollow(FOLLOW_conditionalAndExpression_in_conditionalOrExpression3104);
conditionalAndExpression();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:722:34: ( '||' conditionalAndExpression )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:760:34: ( '||' conditionalAndExpression )*
loop131:
do {
int alt131=2;
@@ -9331,10 +9411,10 @@
switch (alt131) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:722:36: '||' conditionalAndExpression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:760:36: '||' conditionalAndExpression
{
- match(input,97,FOLLOW_97_in_conditionalOrExpression3027); if (failed) return ;
- pushFollow(FOLLOW_conditionalAndExpression_in_conditionalOrExpression3029);
+ match(input,97,FOLLOW_97_in_conditionalOrExpression3108); if (failed) return ;
+ pushFollow(FOLLOW_conditionalAndExpression_in_conditionalOrExpression3110);
conditionalAndExpression();
_fsp--;
if (failed) return ;
@@ -9364,19 +9444,19 @@
// $ANTLR start conditionalAndExpression
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:725:1: conditionalAndExpression : inclusiveOrExpression ( '&&' inclusiveOrExpression )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:763:1: conditionalAndExpression : inclusiveOrExpression ( '&&' inclusiveOrExpression )* ;
public final void conditionalAndExpression() throws RecognitionException {
int conditionalAndExpression_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 103) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:726:9: ( inclusiveOrExpression ( '&&' inclusiveOrExpression )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:726:9: inclusiveOrExpression ( '&&' inclusiveOrExpression )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:764:9: ( inclusiveOrExpression ( '&&' inclusiveOrExpression )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:764:9: inclusiveOrExpression ( '&&' inclusiveOrExpression )*
{
- pushFollow(FOLLOW_inclusiveOrExpression_in_conditionalAndExpression3048);
+ pushFollow(FOLLOW_inclusiveOrExpression_in_conditionalAndExpression3129);
inclusiveOrExpression();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:726:31: ( '&&' inclusiveOrExpression )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:764:31: ( '&&' inclusiveOrExpression )*
loop132:
do {
int alt132=2;
@@ -9389,10 +9469,10 @@
switch (alt132) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:726:33: '&&' inclusiveOrExpression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:764:33: '&&' inclusiveOrExpression
{
- match(input,98,FOLLOW_98_in_conditionalAndExpression3052); if (failed) return ;
- pushFollow(FOLLOW_inclusiveOrExpression_in_conditionalAndExpression3054);
+ match(input,98,FOLLOW_98_in_conditionalAndExpression3133); if (failed) return ;
+ pushFollow(FOLLOW_inclusiveOrExpression_in_conditionalAndExpression3135);
inclusiveOrExpression();
_fsp--;
if (failed) return ;
@@ -9422,19 +9502,19 @@
// $ANTLR start inclusiveOrExpression
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:729:1: inclusiveOrExpression : exclusiveOrExpression ( '|' exclusiveOrExpression )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:767:1: inclusiveOrExpression : exclusiveOrExpression ( '|' exclusiveOrExpression )* ;
public final void inclusiveOrExpression() throws RecognitionException {
int inclusiveOrExpression_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 104) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:730:9: ( exclusiveOrExpression ( '|' exclusiveOrExpression )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:730:9: exclusiveOrExpression ( '|' exclusiveOrExpression )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:768:9: ( exclusiveOrExpression ( '|' exclusiveOrExpression )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:768:9: exclusiveOrExpression ( '|' exclusiveOrExpression )*
{
- pushFollow(FOLLOW_exclusiveOrExpression_in_inclusiveOrExpression3073);
+ pushFollow(FOLLOW_exclusiveOrExpression_in_inclusiveOrExpression3154);
exclusiveOrExpression();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:730:31: ( '|' exclusiveOrExpression )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:768:31: ( '|' exclusiveOrExpression )*
loop133:
do {
int alt133=2;
@@ -9447,10 +9527,10 @@
switch (alt133) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:730:33: '|' exclusiveOrExpression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:768:33: '|' exclusiveOrExpression
{
- match(input,99,FOLLOW_99_in_inclusiveOrExpression3077); if (failed) return ;
- pushFollow(FOLLOW_exclusiveOrExpression_in_inclusiveOrExpression3079);
+ match(input,99,FOLLOW_99_in_inclusiveOrExpression3158); if (failed) return ;
+ pushFollow(FOLLOW_exclusiveOrExpression_in_inclusiveOrExpression3160);
exclusiveOrExpression();
_fsp--;
if (failed) return ;
@@ -9480,19 +9560,19 @@
// $ANTLR start exclusiveOrExpression
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:733:1: exclusiveOrExpression : andExpression ( '^' andExpression )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:771:1: exclusiveOrExpression : andExpression ( '^' andExpression )* ;
public final void exclusiveOrExpression() throws RecognitionException {
int exclusiveOrExpression_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 105) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:734:9: ( andExpression ( '^' andExpression )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:734:9: andExpression ( '^' andExpression )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:772:9: ( andExpression ( '^' andExpression )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:772:9: andExpression ( '^' andExpression )*
{
- pushFollow(FOLLOW_andExpression_in_exclusiveOrExpression3098);
+ pushFollow(FOLLOW_andExpression_in_exclusiveOrExpression3179);
andExpression();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:734:23: ( '^' andExpression )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:772:23: ( '^' andExpression )*
loop134:
do {
int alt134=2;
@@ -9505,10 +9585,10 @@
switch (alt134) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:734:25: '^' andExpression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:772:25: '^' andExpression
{
- match(input,100,FOLLOW_100_in_exclusiveOrExpression3102); if (failed) return ;
- pushFollow(FOLLOW_andExpression_in_exclusiveOrExpression3104);
+ match(input,100,FOLLOW_100_in_exclusiveOrExpression3183); if (failed) return ;
+ pushFollow(FOLLOW_andExpression_in_exclusiveOrExpression3185);
andExpression();
_fsp--;
if (failed) return ;
@@ -9538,19 +9618,19 @@
// $ANTLR start andExpression
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:737:1: andExpression : equalityExpression ( '&' equalityExpression )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:775:1: andExpression : equalityExpression ( '&' equalityExpression )* ;
public final void andExpression() throws RecognitionException {
int andExpression_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 106) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:738:9: ( equalityExpression ( '&' equalityExpression )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:738:9: equalityExpression ( '&' equalityExpression )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:776:9: ( equalityExpression ( '&' equalityExpression )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:776:9: equalityExpression ( '&' equalityExpression )*
{
- pushFollow(FOLLOW_equalityExpression_in_andExpression3123);
+ pushFollow(FOLLOW_equalityExpression_in_andExpression3204);
equalityExpression();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:738:28: ( '&' equalityExpression )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:776:28: ( '&' equalityExpression )*
loop135:
do {
int alt135=2;
@@ -9563,10 +9643,10 @@
switch (alt135) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:738:30: '&' equalityExpression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:776:30: '&' equalityExpression
{
- match(input,36,FOLLOW_36_in_andExpression3127); if (failed) return ;
- pushFollow(FOLLOW_equalityExpression_in_andExpression3129);
+ match(input,36,FOLLOW_36_in_andExpression3208); if (failed) return ;
+ pushFollow(FOLLOW_equalityExpression_in_andExpression3210);
equalityExpression();
_fsp--;
if (failed) return ;
@@ -9596,19 +9676,19 @@
// $ANTLR start equalityExpression
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:741:1: equalityExpression : instanceOfExpression ( ( '==' | '!=' ) instanceOfExpression )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:779:1: equalityExpression : instanceOfExpression ( ( '==' | '!=' ) instanceOfExpression )* ;
public final void equalityExpression() throws RecognitionException {
int equalityExpression_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 107) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:742:9: ( instanceOfExpression ( ( '==' | '!=' ) instanceOfExpression )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:742:9: instanceOfExpression ( ( '==' | '!=' ) instanceOfExpression )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:780:9: ( instanceOfExpression ( ( '==' | '!=' ) instanceOfExpression )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:780:9: instanceOfExpression ( ( '==' | '!=' ) instanceOfExpression )*
{
- pushFollow(FOLLOW_instanceOfExpression_in_equalityExpression3148);
+ pushFollow(FOLLOW_instanceOfExpression_in_equalityExpression3229);
instanceOfExpression();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:742:30: ( ( '==' | '!=' ) instanceOfExpression )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:780:30: ( ( '==' | '!=' ) instanceOfExpression )*
loop136:
do {
int alt136=2;
@@ -9621,7 +9701,7 @@
switch (alt136) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:742:32: ( '==' | '!=' ) instanceOfExpression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:780:32: ( '==' | '!=' ) instanceOfExpression
{
if ( (input.LA(1)>=101 && input.LA(1)<=102) ) {
input.consume();
@@ -9631,10 +9711,10 @@
if (backtracking>0) {failed=true; return ;}
MismatchedSetException mse =
new MismatchedSetException(null,input);
- recoverFromMismatchedSet(input,mse,FOLLOW_set_in_equalityExpression3152); throw mse;
+ recoverFromMismatchedSet(input,mse,FOLLOW_set_in_equalityExpression3233); throw mse;
}
- pushFollow(FOLLOW_instanceOfExpression_in_equalityExpression3160);
+ pushFollow(FOLLOW_instanceOfExpression_in_equalityExpression3241);
instanceOfExpression();
_fsp--;
if (failed) return ;
@@ -9664,19 +9744,19 @@
// $ANTLR start instanceOfExpression
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:745:1: instanceOfExpression : relationalExpression ( 'instanceof' type )? ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:783:1: instanceOfExpression : relationalExpression ( 'instanceof' type )? ;
public final void instanceOfExpression() throws RecognitionException {
int instanceOfExpression_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 108) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:746:9: ( relationalExpression ( 'instanceof' type )? )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:746:9: relationalExpression ( 'instanceof' type )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:784:9: ( relationalExpression ( 'instanceof' type )? )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:784:9: relationalExpression ( 'instanceof' type )?
{
- pushFollow(FOLLOW_relationalExpression_in_instanceOfExpression3179);
+ pushFollow(FOLLOW_relationalExpression_in_instanceOfExpression3260);
relationalExpression();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:746:30: ( 'instanceof' type )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:784:30: ( 'instanceof' type )?
int alt137=2;
int LA137_0 = input.LA(1);
@@ -9685,10 +9765,10 @@
}
switch (alt137) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:746:31: 'instanceof' type
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:784:31: 'instanceof' type
{
- match(input,103,FOLLOW_103_in_instanceOfExpression3182); if (failed) return ;
- pushFollow(FOLLOW_type_in_instanceOfExpression3184);
+ match(input,103,FOLLOW_103_in_instanceOfExpression3263); if (failed) return ;
+ pushFollow(FOLLOW_type_in_instanceOfExpression3265);
type();
_fsp--;
if (failed) return ;
@@ -9715,19 +9795,19 @@
// $ANTLR start relationalExpression
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:749:1: relationalExpression : shiftExpression ( relationalOp shiftExpression )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:787:1: relationalExpression : shiftExpression ( relationalOp shiftExpression )* ;
public final void relationalExpression() throws RecognitionException {
int relationalExpression_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 109) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:750:9: ( shiftExpression ( relationalOp shiftExpression )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:750:9: shiftExpression ( relationalOp shiftExpression )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:788:9: ( shiftExpression ( relationalOp shiftExpression )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:788:9: shiftExpression ( relationalOp shiftExpression )*
{
- pushFollow(FOLLOW_shiftExpression_in_relationalExpression3202);
+ pushFollow(FOLLOW_shiftExpression_in_relationalExpression3283);
shiftExpression();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:750:25: ( relationalOp shiftExpression )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:788:25: ( relationalOp shiftExpression )*
loop138:
do {
int alt138=2;
@@ -9764,13 +9844,13 @@
switch (alt138) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:750:27: relationalOp shiftExpression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:788:27: relationalOp shiftExpression
{
- pushFollow(FOLLOW_relationalOp_in_relationalExpression3206);
+ pushFollow(FOLLOW_relationalOp_in_relationalExpression3287);
relationalOp();
_fsp--;
if (failed) return ;
- pushFollow(FOLLOW_shiftExpression_in_relationalExpression3208);
+ pushFollow(FOLLOW_shiftExpression_in_relationalExpression3289);
shiftExpression();
_fsp--;
if (failed) return ;
@@ -9800,15 +9880,15 @@
// $ANTLR start relationalOp
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:753:1: relationalOp : ( '<' '=' | '>' '=' | '<' | '>' ) ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:791:1: relationalOp : ( '<' '=' | '>' '=' | '<' | '>' ) ;
public final void relationalOp() throws RecognitionException {
int relationalOp_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 110) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:754:4: ( ( '<' '=' | '>' '=' | '<' | '>' ) )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:754:4: ( '<' '=' | '>' '=' | '<' | '>' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:792:4: ( ( '<' '=' | '>' '=' | '<' | '>' ) )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:792:4: ( '<' '=' | '>' '=' | '<' | '>' )
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:754:4: ( '<' '=' | '>' '=' | '<' | '>' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:792:4: ( '<' '=' | '>' '=' | '<' | '>' )
int alt139=4;
int LA139_0 = input.LA(1);
@@ -9824,7 +9904,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("754:4: ( '<' '=' | '>' '=' | '<' | '>' )", 139, 1, input);
+ new NoViableAltException("792:4: ( '<' '=' | '>' '=' | '<' | '>' )", 139, 1, input);
throw nvae;
}
@@ -9841,7 +9921,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("754:4: ( '<' '=' | '>' '=' | '<' | '>' )", 139, 2, input);
+ new NoViableAltException("792:4: ( '<' '=' | '>' '=' | '<' | '>' )", 139, 2, input);
throw nvae;
}
@@ -9849,38 +9929,38 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("754:4: ( '<' '=' | '>' '=' | '<' | '>' )", 139, 0, input);
+ new NoViableAltException("792:4: ( '<' '=' | '>' '=' | '<' | '>' )", 139, 0, input);
throw nvae;
}
switch (alt139) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:754:5: '<' '='
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:792:5: '<' '='
{
- match(input,33,FOLLOW_33_in_relationalOp3224); if (failed) return ;
- match(input,44,FOLLOW_44_in_relationalOp3226); if (failed) return ;
+ match(input,33,FOLLOW_33_in_relationalOp3305); if (failed) return ;
+ match(input,44,FOLLOW_44_in_relationalOp3307); if (failed) return ;
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:754:15: '>' '='
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:792:15: '>' '='
{
- match(input,35,FOLLOW_35_in_relationalOp3230); if (failed) return ;
- match(input,44,FOLLOW_44_in_relationalOp3232); if (failed) return ;
+ match(input,35,FOLLOW_35_in_relationalOp3311); if (failed) return ;
+ match(input,44,FOLLOW_44_in_relationalOp3313); if (failed) return ;
}
break;
case 3 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:754:25: '<'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:792:25: '<'
{
- match(input,33,FOLLOW_33_in_relationalOp3236); if (failed) return ;
+ match(input,33,FOLLOW_33_in_relationalOp3317); if (failed) return ;
}
break;
case 4 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:754:31: '>'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:792:31: '>'
{
- match(input,35,FOLLOW_35_in_relationalOp3240); if (failed) return ;
+ match(input,35,FOLLOW_35_in_relationalOp3321); if (failed) return ;
}
break;
@@ -9904,19 +9984,19 @@
// $ANTLR start shiftExpression
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:757:1: shiftExpression : additiveExpression ( shiftOp additiveExpression )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:795:1: shiftExpression : additiveExpression ( shiftOp additiveExpression )* ;
public final void shiftExpression() throws RecognitionException {
int shiftExpression_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 111) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:758:9: ( additiveExpression ( shiftOp additiveExpression )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:758:9: additiveExpression ( shiftOp additiveExpression )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:796:9: ( additiveExpression ( shiftOp additiveExpression )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:796:9: additiveExpression ( shiftOp additiveExpression )*
{
- pushFollow(FOLLOW_additiveExpression_in_shiftExpression3257);
+ pushFollow(FOLLOW_additiveExpression_in_shiftExpression3338);
additiveExpression();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:758:28: ( shiftOp additiveExpression )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:796:28: ( shiftOp additiveExpression )*
loop140:
do {
int alt140=2;
@@ -9956,13 +10036,13 @@
switch (alt140) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:758:30: shiftOp additiveExpression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:796:30: shiftOp additiveExpression
{
- pushFollow(FOLLOW_shiftOp_in_shiftExpression3261);
+ pushFollow(FOLLOW_shiftOp_in_shiftExpression3342);
shiftOp();
_fsp--;
if (failed) return ;
- pushFollow(FOLLOW_additiveExpression_in_shiftExpression3263);
+ pushFollow(FOLLOW_additiveExpression_in_shiftExpression3344);
additiveExpression();
_fsp--;
if (failed) return ;
@@ -9992,15 +10072,15 @@
// $ANTLR start shiftOp
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:762:1: shiftOp : ( '<' '<' | '>' '>' '>' | '>' '>' ) ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:800:1: shiftOp : ( '<' '<' | '>' '>' '>' | '>' '>' ) ;
public final void shiftOp() throws RecognitionException {
int shiftOp_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 112) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:763:4: ( ( '<' '<' | '>' '>' '>' | '>' '>' ) )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:763:4: ( '<' '<' | '>' '>' '>' | '>' '>' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:801:4: ( ( '<' '<' | '>' '>' '>' | '>' '>' ) )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:801:4: ( '<' '<' | '>' '>' '>' | '>' '>' )
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:763:4: ( '<' '<' | '>' '>' '>' | '>' '>' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:801:4: ( '<' '<' | '>' '>' '>' | '>' '>' )
int alt141=3;
int LA141_0 = input.LA(1);
@@ -10022,7 +10102,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("763:4: ( '<' '<' | '>' '>' '>' | '>' '>' )", 141, 3, input);
+ new NoViableAltException("801:4: ( '<' '<' | '>' '>' '>' | '>' '>' )", 141, 3, input);
throw nvae;
}
@@ -10030,7 +10110,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("763:4: ( '<' '<' | '>' '>' '>' | '>' '>' )", 141, 2, input);
+ new NoViableAltException("801:4: ( '<' '<' | '>' '>' '>' | '>' '>' )", 141, 2, input);
throw nvae;
}
@@ -10038,33 +10118,33 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("763:4: ( '<' '<' | '>' '>' '>' | '>' '>' )", 141, 0, input);
+ new NoViableAltException("801:4: ( '<' '<' | '>' '>' '>' | '>' '>' )", 141, 0, input);
throw nvae;
}
switch (alt141) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:763:5: '<' '<'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:801:5: '<' '<'
{
- match(input,33,FOLLOW_33_in_shiftOp3287); if (failed) return ;
- match(input,33,FOLLOW_33_in_shiftOp3289); if (failed) return ;
+ match(input,33,FOLLOW_33_in_shiftOp3368); if (failed) return ;
+ match(input,33,FOLLOW_33_in_shiftOp3370); if (failed) return ;
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:763:15: '>' '>' '>'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:801:15: '>' '>' '>'
{
- match(input,35,FOLLOW_35_in_shiftOp3293); if (failed) return ;
- match(input,35,FOLLOW_35_in_shiftOp3295); if (failed) return ;
- match(input,35,FOLLOW_35_in_shiftOp3297); if (failed) return ;
+ match(input,35,FOLLOW_35_in_shiftOp3374); if (failed) return ;
+ match(input,35,FOLLOW_35_in_shiftOp3376); if (failed) return ;
+ match(input,35,FOLLOW_35_in_shiftOp3378); if (failed) return ;
}
break;
case 3 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:763:29: '>' '>'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:801:29: '>' '>'
{
- match(input,35,FOLLOW_35_in_shiftOp3301); if (failed) return ;
- match(input,35,FOLLOW_35_in_shiftOp3303); if (failed) return ;
+ match(input,35,FOLLOW_35_in_shiftOp3382); if (failed) return ;
+ match(input,35,FOLLOW_35_in_shiftOp3384); if (failed) return ;
}
break;
@@ -10088,19 +10168,19 @@
// $ANTLR start additiveExpression
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:767:1: additiveExpression : multiplicativeExpression ( ( '+' | '-' ) multiplicativeExpression )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:805:1: additiveExpression : multiplicativeExpression ( ( '+' | '-' ) multiplicativeExpression )* ;
public final void additiveExpression() throws RecognitionException {
int additiveExpression_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 113) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:768:9: ( multiplicativeExpression ( ( '+' | '-' ) multiplicativeExpression )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:768:9: multiplicativeExpression ( ( '+' | '-' ) multiplicativeExpression )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:806:9: ( multiplicativeExpression ( ( '+' | '-' ) multiplicativeExpression )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:806:9: multiplicativeExpression ( ( '+' | '-' ) multiplicativeExpression )*
{
- pushFollow(FOLLOW_multiplicativeExpression_in_additiveExpression3321);
+ pushFollow(FOLLOW_multiplicativeExpression_in_additiveExpression3402);
multiplicativeExpression();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:768:34: ( ( '+' | '-' ) multiplicativeExpression )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:806:34: ( ( '+' | '-' ) multiplicativeExpression )*
loop142:
do {
int alt142=2;
@@ -10113,7 +10193,7 @@
switch (alt142) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:768:36: ( '+' | '-' ) multiplicativeExpression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:806:36: ( '+' | '-' ) multiplicativeExpression
{
if ( (input.LA(1)>=104 && input.LA(1)<=105) ) {
input.consume();
@@ -10123,10 +10203,10 @@
if (backtracking>0) {failed=true; return ;}
MismatchedSetException mse =
new MismatchedSetException(null,input);
- recoverFromMismatchedSet(input,mse,FOLLOW_set_in_additiveExpression3325); throw mse;
+ recoverFromMismatchedSet(input,mse,FOLLOW_set_in_additiveExpression3406); throw mse;
}
- pushFollow(FOLLOW_multiplicativeExpression_in_additiveExpression3333);
+ pushFollow(FOLLOW_multiplicativeExpression_in_additiveExpression3414);
multiplicativeExpression();
_fsp--;
if (failed) return ;
@@ -10156,19 +10236,19 @@
// $ANTLR start multiplicativeExpression
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:771:1: multiplicativeExpression : unaryExpression ( ( '*' | '/' | '%' ) unaryExpression )* ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:809:1: multiplicativeExpression : unaryExpression ( ( '*' | '/' | '%' ) unaryExpression )* ;
public final void multiplicativeExpression() throws RecognitionException {
int multiplicativeExpression_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 114) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:772:9: ( unaryExpression ( ( '*' | '/' | '%' ) unaryExpression )* )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:772:9: unaryExpression ( ( '*' | '/' | '%' ) unaryExpression )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:810:9: ( unaryExpression ( ( '*' | '/' | '%' ) unaryExpression )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:810:9: unaryExpression ( ( '*' | '/' | '%' ) unaryExpression )*
{
- pushFollow(FOLLOW_unaryExpression_in_multiplicativeExpression3352);
+ pushFollow(FOLLOW_unaryExpression_in_multiplicativeExpression3433);
unaryExpression();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:772:25: ( ( '*' | '/' | '%' ) unaryExpression )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:810:25: ( ( '*' | '/' | '%' ) unaryExpression )*
loop143:
do {
int alt143=2;
@@ -10181,7 +10261,7 @@
switch (alt143) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:772:27: ( '*' | '/' | '%' ) unaryExpression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:810:27: ( '*' | '/' | '%' ) unaryExpression
{
if ( input.LA(1)==29||(input.LA(1)>=106 && input.LA(1)<=107) ) {
input.consume();
@@ -10191,10 +10271,10 @@
if (backtracking>0) {failed=true; return ;}
MismatchedSetException mse =
new MismatchedSetException(null,input);
- recoverFromMismatchedSet(input,mse,FOLLOW_set_in_multiplicativeExpression3356); throw mse;
+ recoverFromMismatchedSet(input,mse,FOLLOW_set_in_multiplicativeExpression3437); throw mse;
}
- pushFollow(FOLLOW_unaryExpression_in_multiplicativeExpression3370);
+ pushFollow(FOLLOW_unaryExpression_in_multiplicativeExpression3451);
unaryExpression();
_fsp--;
if (failed) return ;
@@ -10224,12 +10304,12 @@
// $ANTLR start unaryExpression
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:775:1: unaryExpression : ( '+' unaryExpression | '-' unaryExpression | '++' primary | '--' primary | unaryExpressionNotPlusMinus );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:813:1: unaryExpression : ( '+' unaryExpression | '-' unaryExpression | '++' primary | '--' primary | unaryExpressionNotPlusMinus );
public final void unaryExpression() throws RecognitionException {
int unaryExpression_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 115) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:776:9: ( '+' unaryExpression | '-' unaryExpression | '++' primary | '--' primary | unaryExpressionNotPlusMinus )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:814:9: ( '+' unaryExpression | '-' unaryExpression | '++' primary | '--' primary | unaryExpressionNotPlusMinus )
int alt144=5;
switch ( input.LA(1) ) {
case 104:
@@ -10285,17 +10365,17 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("775:1: unaryExpression : ( '+' unaryExpression | '-' unaryExpression | '++' primary | '--' primary | unaryExpressionNotPlusMinus );", 144, 0, input);
+ new NoViableAltException("813:1: unaryExpression : ( '+' unaryExpression | '-' unaryExpression | '++' primary | '--' primary | unaryExpressionNotPlusMinus );", 144, 0, input);
throw nvae;
}
switch (alt144) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:776:9: '+' unaryExpression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:814:9: '+' unaryExpression
{
- match(input,104,FOLLOW_104_in_unaryExpression3390); if (failed) return ;
- pushFollow(FOLLOW_unaryExpression_in_unaryExpression3392);
+ match(input,104,FOLLOW_104_in_unaryExpression3471); if (failed) return ;
+ pushFollow(FOLLOW_unaryExpression_in_unaryExpression3473);
unaryExpression();
_fsp--;
if (failed) return ;
@@ -10303,10 +10383,10 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:777:7: '-' unaryExpression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:815:7: '-' unaryExpression
{
- match(input,105,FOLLOW_105_in_unaryExpression3400); if (failed) return ;
- pushFollow(FOLLOW_unaryExpression_in_unaryExpression3402);
+ match(input,105,FOLLOW_105_in_unaryExpression3481); if (failed) return ;
+ pushFollow(FOLLOW_unaryExpression_in_unaryExpression3483);
unaryExpression();
_fsp--;
if (failed) return ;
@@ -10314,10 +10394,10 @@
}
break;
case 3 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:778:9: '++' primary
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:816:9: '++' primary
{
- match(input,108,FOLLOW_108_in_unaryExpression3412); if (failed) return ;
- pushFollow(FOLLOW_primary_in_unaryExpression3414);
+ match(input,108,FOLLOW_108_in_unaryExpression3493); if (failed) return ;
+ pushFollow(FOLLOW_primary_in_unaryExpression3495);
primary();
_fsp--;
if (failed) return ;
@@ -10325,10 +10405,10 @@
}
break;
case 4 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:779:9: '--' primary
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:817:9: '--' primary
{
- match(input,109,FOLLOW_109_in_unaryExpression3424); if (failed) return ;
- pushFollow(FOLLOW_primary_in_unaryExpression3426);
+ match(input,109,FOLLOW_109_in_unaryExpression3505); if (failed) return ;
+ pushFollow(FOLLOW_primary_in_unaryExpression3507);
primary();
_fsp--;
if (failed) return ;
@@ -10336,9 +10416,9 @@
}
break;
case 5 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:780:9: unaryExpressionNotPlusMinus
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:818:9: unaryExpressionNotPlusMinus
{
- pushFollow(FOLLOW_unaryExpressionNotPlusMinus_in_unaryExpression3436);
+ pushFollow(FOLLOW_unaryExpressionNotPlusMinus_in_unaryExpression3517);
unaryExpressionNotPlusMinus();
_fsp--;
if (failed) return ;
@@ -10361,12 +10441,12 @@
// $ANTLR start unaryExpressionNotPlusMinus
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:783:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:821:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );
public final void unaryExpressionNotPlusMinus() throws RecognitionException {
int unaryExpressionNotPlusMinus_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 116) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:784:9: ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:822:9: ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? )
int alt147=4;
switch ( input.LA(1) ) {
case 110:
@@ -10402,7 +10482,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("783:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 17, input);
+ new NoViableAltException("821:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 17, input);
throw nvae;
}
@@ -10421,7 +10501,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("783:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 18, input);
+ new NoViableAltException("821:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 18, input);
throw nvae;
}
@@ -10440,7 +10520,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("783:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 19, input);
+ new NoViableAltException("821:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 19, input);
throw nvae;
}
@@ -10459,7 +10539,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("783:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 20, input);
+ new NoViableAltException("821:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 20, input);
throw nvae;
}
@@ -10478,7 +10558,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("783:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 21, input);
+ new NoViableAltException("821:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 21, input);
throw nvae;
}
@@ -10497,7 +10577,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("783:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 22, input);
+ new NoViableAltException("821:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 22, input);
throw nvae;
}
@@ -10516,7 +10596,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("783:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 23, input);
+ new NoViableAltException("821:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 23, input);
throw nvae;
}
@@ -10535,7 +10615,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("783:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 24, input);
+ new NoViableAltException("821:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 24, input);
throw nvae;
}
@@ -10554,7 +10634,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("783:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 25, input);
+ new NoViableAltException("821:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 25, input);
throw nvae;
}
@@ -10573,7 +10653,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("783:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 26, input);
+ new NoViableAltException("821:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 26, input);
throw nvae;
}
@@ -10592,7 +10672,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("783:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 27, input);
+ new NoViableAltException("821:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 27, input);
throw nvae;
}
@@ -10611,7 +10691,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("783:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 28, input);
+ new NoViableAltException("821:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 28, input);
throw nvae;
}
@@ -10632,7 +10712,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("783:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 29, input);
+ new NoViableAltException("821:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 29, input);
throw nvae;
}
@@ -10651,7 +10731,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("783:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 30, input);
+ new NoViableAltException("821:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 30, input);
throw nvae;
}
@@ -10670,7 +10750,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("783:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 31, input);
+ new NoViableAltException("821:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 31, input);
throw nvae;
}
@@ -10689,7 +10769,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("783:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 32, input);
+ new NoViableAltException("821:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 32, input);
throw nvae;
}
@@ -10709,7 +10789,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("783:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 33, input);
+ new NoViableAltException("821:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 33, input);
throw nvae;
}
@@ -10728,7 +10808,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("783:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 34, input);
+ new NoViableAltException("821:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 34, input);
throw nvae;
}
@@ -10747,7 +10827,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("783:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 35, input);
+ new NoViableAltException("821:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 35, input);
throw nvae;
}
@@ -10766,7 +10846,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("783:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 36, input);
+ new NoViableAltException("821:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 36, input);
throw nvae;
}
@@ -10775,7 +10855,7 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("783:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 3, input);
+ new NoViableAltException("821:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 3, input);
throw nvae;
}
@@ -10812,17 +10892,17 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("783:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 0, input);
+ new NoViableAltException("821:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );", 147, 0, input);
throw nvae;
}
switch (alt147) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:784:9: '~' unaryExpression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:822:9: '~' unaryExpression
{
- match(input,110,FOLLOW_110_in_unaryExpressionNotPlusMinus3455); if (failed) return ;
- pushFollow(FOLLOW_unaryExpression_in_unaryExpressionNotPlusMinus3457);
+ match(input,110,FOLLOW_110_in_unaryExpressionNotPlusMinus3536); if (failed) return ;
+ pushFollow(FOLLOW_unaryExpression_in_unaryExpressionNotPlusMinus3538);
unaryExpression();
_fsp--;
if (failed) return ;
@@ -10830,10 +10910,10 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:785:8: '!' unaryExpression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:823:8: '!' unaryExpression
{
- match(input,111,FOLLOW_111_in_unaryExpressionNotPlusMinus3466); if (failed) return ;
- pushFollow(FOLLOW_unaryExpression_in_unaryExpressionNotPlusMinus3468);
+ match(input,111,FOLLOW_111_in_unaryExpressionNotPlusMinus3547); if (failed) return ;
+ pushFollow(FOLLOW_unaryExpression_in_unaryExpressionNotPlusMinus3549);
unaryExpression();
_fsp--;
if (failed) return ;
@@ -10841,9 +10921,9 @@
}
break;
case 3 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:786:9: castExpression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:824:9: castExpression
{
- pushFollow(FOLLOW_castExpression_in_unaryExpressionNotPlusMinus3478);
+ pushFollow(FOLLOW_castExpression_in_unaryExpressionNotPlusMinus3559);
castExpression();
_fsp--;
if (failed) return ;
@@ -10851,13 +10931,13 @@
}
break;
case 4 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:787:9: primary ( selector )* ( '++' | '--' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:825:9: primary ( selector )* ( '++' | '--' )?
{
- pushFollow(FOLLOW_primary_in_unaryExpressionNotPlusMinus3488);
+ pushFollow(FOLLOW_primary_in_unaryExpressionNotPlusMinus3569);
primary();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:787:17: ( selector )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:825:17: ( selector )*
loop145:
do {
int alt145=2;
@@ -10872,7 +10952,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: selector
{
- pushFollow(FOLLOW_selector_in_unaryExpressionNotPlusMinus3490);
+ pushFollow(FOLLOW_selector_in_unaryExpressionNotPlusMinus3571);
selector();
_fsp--;
if (failed) return ;
@@ -10885,7 +10965,7 @@
}
} while (true);
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:787:27: ( '++' | '--' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:825:27: ( '++' | '--' )?
int alt146=2;
int LA146_0 = input.LA(1);
@@ -10904,7 +10984,7 @@
if (backtracking>0) {failed=true; return ;}
MismatchedSetException mse =
new MismatchedSetException(null,input);
- recoverFromMismatchedSet(input,mse,FOLLOW_set_in_unaryExpressionNotPlusMinus3493); throw mse;
+ recoverFromMismatchedSet(input,mse,FOLLOW_set_in_unaryExpressionNotPlusMinus3574); throw mse;
}
@@ -10932,12 +11012,12 @@
// $ANTLR start castExpression
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:790:1: castExpression : ( '(' primitiveType ')' unaryExpression | '(' ( type | expression ) ')' unaryExpressionNotPlusMinus );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:828:1: castExpression : ( '(' primitiveType ')' unaryExpression | '(' ( type | expression ) ')' unaryExpressionNotPlusMinus );
public final void castExpression() throws RecognitionException {
int castExpression_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 117) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:791:8: ( '(' primitiveType ')' unaryExpression | '(' ( type | expression ) ')' unaryExpressionNotPlusMinus )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:829:8: ( '(' primitiveType ')' unaryExpression | '(' ( type | expression ) ')' unaryExpressionNotPlusMinus )
int alt149=2;
int LA149_0 = input.LA(1);
@@ -10956,7 +11036,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("790:1: castExpression : ( '(' primitiveType ')' unaryExpression | '(' ( type | expression ) ')' unaryExpressionNotPlusMinus );", 149, 2, input);
+ new NoViableAltException("828:1: castExpression : ( '(' primitiveType ')' unaryExpression | '(' ( type | expression ) ')' unaryExpressionNotPlusMinus );", 149, 2, input);
throw nvae;
}
@@ -10967,7 +11047,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("790:1: castExpression : ( '(' primitiveType ')' unaryExpression | '(' ( type | expression ) ')' unaryExpressionNotPlusMinus );", 149, 1, input);
+ new NoViableAltException("828:1: castExpression : ( '(' primitiveType ')' unaryExpression | '(' ( type | expression ) ')' unaryExpressionNotPlusMinus );", 149, 1, input);
throw nvae;
}
@@ -10975,21 +11055,21 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("790:1: castExpression : ( '(' primitiveType ')' unaryExpression | '(' ( type | expression ) ')' unaryExpressionNotPlusMinus );", 149, 0, input);
+ new NoViableAltException("828:1: castExpression : ( '(' primitiveType ')' unaryExpression | '(' ( type | expression ) ')' unaryExpressionNotPlusMinus );", 149, 0, input);
throw nvae;
}
switch (alt149) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:791:8: '(' primitiveType ')' unaryExpression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:829:8: '(' primitiveType ')' unaryExpression
{
- match(input,65,FOLLOW_65_in_castExpression3516); if (failed) return ;
- pushFollow(FOLLOW_primitiveType_in_castExpression3518);
+ match(input,65,FOLLOW_65_in_castExpression3597); if (failed) return ;
+ pushFollow(FOLLOW_primitiveType_in_castExpression3599);
primitiveType();
_fsp--;
if (failed) return ;
- match(input,66,FOLLOW_66_in_castExpression3520); if (failed) return ;
- pushFollow(FOLLOW_unaryExpression_in_castExpression3522);
+ match(input,66,FOLLOW_66_in_castExpression3601); if (failed) return ;
+ pushFollow(FOLLOW_unaryExpression_in_castExpression3603);
unaryExpression();
_fsp--;
if (failed) return ;
@@ -10997,10 +11077,10 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:792:8: '(' ( type | expression ) ')' unaryExpressionNotPlusMinus
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:830:8: '(' ( type | expression ) ')' unaryExpressionNotPlusMinus
{
- match(input,65,FOLLOW_65_in_castExpression3531); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:792:12: ( type | expression )
+ match(input,65,FOLLOW_65_in_castExpression3612); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:830:12: ( type | expression )
int alt148=2;
switch ( input.LA(1) ) {
case Identifier:
@@ -11016,7 +11096,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("792:12: ( type | expression )", 148, 1, input);
+ new NoViableAltException("830:12: ( type | expression )", 148, 1, input);
throw nvae;
}
@@ -11045,7 +11125,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("792:12: ( type | expression )", 148, 48, input);
+ new NoViableAltException("830:12: ( type | expression )", 148, 48, input);
throw nvae;
}
@@ -11064,7 +11144,7 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("792:12: ( type | expression )", 148, 2, input);
+ new NoViableAltException("830:12: ( type | expression )", 148, 2, input);
throw nvae;
}
@@ -11099,16 +11179,16 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("792:12: ( type | expression )", 148, 0, input);
+ new NoViableAltException("830:12: ( type | expression )", 148, 0, input);
throw nvae;
}
switch (alt148) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:792:13: type
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:830:13: type
{
- pushFollow(FOLLOW_type_in_castExpression3534);
+ pushFollow(FOLLOW_type_in_castExpression3615);
type();
_fsp--;
if (failed) return ;
@@ -11116,9 +11196,9 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:792:20: expression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:830:20: expression
{
- pushFollow(FOLLOW_expression_in_castExpression3538);
+ pushFollow(FOLLOW_expression_in_castExpression3619);
expression();
_fsp--;
if (failed) return ;
@@ -11128,8 +11208,8 @@
}
- match(input,66,FOLLOW_66_in_castExpression3541); if (failed) return ;
- pushFollow(FOLLOW_unaryExpressionNotPlusMinus_in_castExpression3543);
+ match(input,66,FOLLOW_66_in_castExpression3622); if (failed) return ;
+ pushFollow(FOLLOW_unaryExpressionNotPlusMinus_in_castExpression3624);
unaryExpressionNotPlusMinus();
_fsp--;
if (failed) return ;
@@ -11152,14 +11232,14 @@
// $ANTLR start primary
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:795:1: primary : ( parExpression | nonWildcardTypeArguments ( explicitGenericInvocationSuffix | 'this' arguments ) | 'this' ( '.' Identifier )* ( identifierSuffix )? | 'super' superSuffix | literal | 'new' creator | i= Identifier ( '.' Identifier )* ( identifierSuffix )? | primitiveType ( '[' ']' )* '.' 'class' | 'void' '.' 'class' );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:833:1: primary : ( parExpression | nonWildcardTypeArguments ( explicitGenericInvocationSuffix | 'this' arguments ) | 'this' ( '.' Identifier )* ( identifierSuffix )? | 'super' superSuffix | literal | 'new' creator | i= Identifier ( '.' Identifier )* ( identifierSuffix )? | primitiveType ( '[' ']' )* '.' 'class' | 'void' '.' 'class' );
public final void primary() throws RecognitionException {
int primary_StartIndex = input.index();
Token i=null;
try {
if ( backtracking>0 && alreadyParsedRule(input, 118) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:796:7: ( parExpression | nonWildcardTypeArguments ( explicitGenericInvocationSuffix | 'this' arguments ) | 'this' ( '.' Identifier )* ( identifierSuffix )? | 'super' superSuffix | literal | 'new' creator | i= Identifier ( '.' Identifier )* ( identifierSuffix )? | primitiveType ( '[' ']' )* '.' 'class' | 'void' '.' 'class' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:834:7: ( parExpression | nonWildcardTypeArguments ( explicitGenericInvocationSuffix | 'this' arguments ) | 'this' ( '.' Identifier )* ( identifierSuffix )? | 'super' superSuffix | literal | 'new' creator | i= Identifier ( '.' Identifier )* ( identifierSuffix )? | primitiveType ( '[' ']' )* '.' 'class' | 'void' '.' 'class' )
int alt156=9;
switch ( input.LA(1) ) {
case 65:
@@ -11225,16 +11305,16 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("795:1: primary : ( parExpression | nonWildcardTypeArguments ( explicitGenericInvocationSuffix | 'this' arguments ) | 'this' ( '.' Identifier )* ( identifierSuffix )? | 'super' superSuffix | literal | 'new' creator | i= Identifier ( '.' Identifier )* ( identifierSuffix )? | primitiveType ( '[' ']' )* '.' 'class' | 'void' '.' 'class' );", 156, 0, input);
+ new NoViableAltException("833:1: primary : ( parExpression | nonWildcardTypeArguments ( explicitGenericInvocationSuffix | 'this' arguments ) | 'this' ( '.' Identifier )* ( identifierSuffix )? | 'super' superSuffix | literal | 'new' creator | i= Identifier ( '.' Identifier )* ( identifierSuffix )? | primitiveType ( '[' ']' )* '.' 'class' | 'void' '.' 'class' );", 156, 0, input);
throw nvae;
}
switch (alt156) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:796:7: parExpression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:834:7: parExpression
{
- pushFollow(FOLLOW_parExpression_in_primary3560);
+ pushFollow(FOLLOW_parExpression_in_primary3641);
parExpression();
_fsp--;
if (failed) return ;
@@ -11242,13 +11322,13 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:797:9: nonWildcardTypeArguments ( explicitGenericInvocationSuffix | 'this' arguments )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:835:9: nonWildcardTypeArguments ( explicitGenericInvocationSuffix | 'this' arguments )
{
- pushFollow(FOLLOW_nonWildcardTypeArguments_in_primary3570);
+ pushFollow(FOLLOW_nonWildcardTypeArguments_in_primary3651);
nonWildcardTypeArguments();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:798:9: ( explicitGenericInvocationSuffix | 'this' arguments )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:836:9: ( explicitGenericInvocationSuffix | 'this' arguments )
int alt150=2;
int LA150_0 = input.LA(1);
@@ -11261,15 +11341,15 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("798:9: ( explicitGenericInvocationSuffix | 'this' arguments )", 150, 0, input);
+ new NoViableAltException("836:9: ( explicitGenericInvocationSuffix | 'this' arguments )", 150, 0, input);
throw nvae;
}
switch (alt150) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:798:10: explicitGenericInvocationSuffix
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:836:10: explicitGenericInvocationSuffix
{
- pushFollow(FOLLOW_explicitGenericInvocationSuffix_in_primary3581);
+ pushFollow(FOLLOW_explicitGenericInvocationSuffix_in_primary3662);
explicitGenericInvocationSuffix();
_fsp--;
if (failed) return ;
@@ -11277,10 +11357,10 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:798:44: 'this' arguments
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:836:44: 'this' arguments
{
- match(input,112,FOLLOW_112_in_primary3585); if (failed) return ;
- pushFollow(FOLLOW_arguments_in_primary3587);
+ match(input,112,FOLLOW_112_in_primary3666); if (failed) return ;
+ pushFollow(FOLLOW_arguments_in_primary3668);
arguments();
_fsp--;
if (failed) return ;
@@ -11294,10 +11374,10 @@
}
break;
case 3 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:799:9: 'this' ( '.' Identifier )* ( identifierSuffix )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:9: 'this' ( '.' Identifier )* ( identifierSuffix )?
{
- match(input,112,FOLLOW_112_in_primary3598); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:799:16: ( '.' Identifier )*
+ match(input,112,FOLLOW_112_in_primary3679); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:16: ( '.' Identifier )*
loop151:
do {
int alt151=2;
@@ -11322,10 +11402,10 @@
switch (alt151) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:799:17: '.' Identifier
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:17: '.' Identifier
{
- match(input,28,FOLLOW_28_in_primary3601); if (failed) return ;
- match(input,Identifier,FOLLOW_Identifier_in_primary3603); if (failed) return ;
+ match(input,28,FOLLOW_28_in_primary3682); if (failed) return ;
+ match(input,Identifier,FOLLOW_Identifier_in_primary3684); if (failed) return ;
}
break;
@@ -11335,7 +11415,7 @@
}
} while (true);
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:799:34: ( identifierSuffix )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:34: ( identifierSuffix )?
int alt152=2;
switch ( input.LA(1) ) {
case 41:
@@ -11589,9 +11669,9 @@
switch (alt152) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:799:35: identifierSuffix
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:35: identifierSuffix
{
- pushFollow(FOLLOW_identifierSuffix_in_primary3608);
+ pushFollow(FOLLOW_identifierSuffix_in_primary3689);
identifierSuffix();
_fsp--;
if (failed) return ;
@@ -11605,10 +11685,10 @@
}
break;
case 4 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:800:9: 'super' superSuffix
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:838:9: 'super' superSuffix
{
- match(input,64,FOLLOW_64_in_primary3620); if (failed) return ;
- pushFollow(FOLLOW_superSuffix_in_primary3622);
+ match(input,64,FOLLOW_64_in_primary3701); if (failed) return ;
+ pushFollow(FOLLOW_superSuffix_in_primary3703);
superSuffix();
_fsp--;
if (failed) return ;
@@ -11616,9 +11696,9 @@
}
break;
case 5 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:801:9: literal
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:839:9: literal
{
- pushFollow(FOLLOW_literal_in_primary3632);
+ pushFollow(FOLLOW_literal_in_primary3713);
literal();
_fsp--;
if (failed) return ;
@@ -11626,10 +11706,10 @@
}
break;
case 6 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:802:9: 'new' creator
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:840:9: 'new' creator
{
- match(input,113,FOLLOW_113_in_primary3642); if (failed) return ;
- pushFollow(FOLLOW_creator_in_primary3644);
+ match(input,113,FOLLOW_113_in_primary3723); if (failed) return ;
+ pushFollow(FOLLOW_creator_in_primary3725);
creator();
_fsp--;
if (failed) return ;
@@ -11637,14 +11717,14 @@
}
break;
case 7 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:803:9: i= Identifier ( '.' Identifier )* ( identifierSuffix )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:841:9: i= Identifier ( '.' Identifier )* ( identifierSuffix )?
{
i=(Token)input.LT(1);
- match(input,Identifier,FOLLOW_Identifier_in_primary3656); if (failed) return ;
+ match(input,Identifier,FOLLOW_Identifier_in_primary3737); if (failed) return ;
if ( backtracking==0 ) {
identifiers.add( i.getText() );
}
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:803:55: ( '.' Identifier )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:841:55: ( '.' Identifier )*
loop153:
do {
int alt153=2;
@@ -11669,10 +11749,10 @@
switch (alt153) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:803:56: '.' Identifier
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:841:56: '.' Identifier
{
- match(input,28,FOLLOW_28_in_primary3661); if (failed) return ;
- match(input,Identifier,FOLLOW_Identifier_in_primary3663); if (failed) return ;
+ match(input,28,FOLLOW_28_in_primary3742); if (failed) return ;
+ match(input,Identifier,FOLLOW_Identifier_in_primary3744); if (failed) return ;
}
break;
@@ -11682,7 +11762,7 @@
}
} while (true);
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:803:73: ( identifierSuffix )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:841:73: ( identifierSuffix )?
int alt154=2;
switch ( input.LA(1) ) {
case 41:
@@ -11936,9 +12016,9 @@
switch (alt154) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:803:74: identifierSuffix
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:841:74: identifierSuffix
{
- pushFollow(FOLLOW_identifierSuffix_in_primary3668);
+ pushFollow(FOLLOW_identifierSuffix_in_primary3749);
identifierSuffix();
_fsp--;
if (failed) return ;
@@ -11952,13 +12032,13 @@
}
break;
case 8 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:804:9: primitiveType ( '[' ']' )* '.' 'class'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:842:9: primitiveType ( '[' ']' )* '.' 'class'
{
- pushFollow(FOLLOW_primitiveType_in_primary3680);
+ pushFollow(FOLLOW_primitiveType_in_primary3761);
primitiveType();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:804:23: ( '[' ']' )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:842:23: ( '[' ']' )*
loop155:
do {
int alt155=2;
@@ -11971,10 +12051,10 @@
switch (alt155) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:804:24: '[' ']'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:842:24: '[' ']'
{
- match(input,41,FOLLOW_41_in_primary3683); if (failed) return ;
- match(input,42,FOLLOW_42_in_primary3685); if (failed) return ;
+ match(input,41,FOLLOW_41_in_primary3764); if (failed) return ;
+ match(input,42,FOLLOW_42_in_primary3766); if (failed) return ;
}
break;
@@ -11984,17 +12064,17 @@
}
} while (true);
- match(input,28,FOLLOW_28_in_primary3689); if (failed) return ;
- match(input,30,FOLLOW_30_in_primary3691); if (failed) return ;
+ match(input,28,FOLLOW_28_in_primary3770); if (failed) return ;
+ match(input,30,FOLLOW_30_in_primary3772); if (failed) return ;
}
break;
case 9 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:805:9: 'void' '.' 'class'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:843:9: 'void' '.' 'class'
{
- match(input,40,FOLLOW_40_in_primary3701); if (failed) return ;
- match(input,28,FOLLOW_28_in_primary3703); if (failed) return ;
- match(input,30,FOLLOW_30_in_primary3705); if (failed) return ;
+ match(input,40,FOLLOW_40_in_primary3782); if (failed) return ;
+ match(input,28,FOLLOW_28_in_primary3784); if (failed) return ;
+ match(input,30,FOLLOW_30_in_primary3786); if (failed) return ;
}
break;
@@ -12014,12 +12094,12 @@
// $ANTLR start identifierSuffix
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:808:1: identifierSuffix : ( ( '[' ']' )+ '.' 'class' | ( '[' expression ']' )+ | arguments | '.' 'class' | '.' explicitGenericInvocation | '.' 'this' | '.' 'super' arguments | '.' 'new' ( nonWildcardTypeArguments )? innerCreator );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:846:1: identifierSuffix : ( ( '[' ']' )+ '.' 'class' | ( '[' expression ']' )+ | arguments | '.' 'class' | '.' explicitGenericInvocation | '.' 'this' | '.' 'super' arguments | '.' 'new' ( nonWildcardTypeArguments )? innerCreator );
public final void identifierSuffix() throws RecognitionException {
int identifierSuffix_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 119) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:809:4: ( ( '[' ']' )+ '.' 'class' | ( '[' expression ']' )+ | arguments | '.' 'class' | '.' explicitGenericInvocation | '.' 'this' | '.' 'super' arguments | '.' 'new' ( nonWildcardTypeArguments )? innerCreator )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:847:4: ( ( '[' ']' )+ '.' 'class' | ( '[' expression ']' )+ | arguments | '.' 'class' | '.' explicitGenericInvocation | '.' 'this' | '.' 'super' arguments | '.' 'new' ( nonWildcardTypeArguments )? innerCreator )
int alt160=8;
switch ( input.LA(1) ) {
case 41:
@@ -12035,7 +12115,7 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("808:1: identifierSuffix : ( ( '[' ']' )+ '.' 'class' | ( '[' expression ']' )+ | arguments | '.' 'class' | '.' explicitGenericInvocation | '.' 'this' | '.' 'super' arguments | '.' 'new' ( nonWildcardTypeArguments )? innerCreator );", 160, 1, input);
+ new NoViableAltException("846:1: identifierSuffix : ( ( '[' ']' )+ '.' 'class' | ( '[' expression ']' )+ | arguments | '.' 'class' | '.' explicitGenericInvocation | '.' 'this' | '.' 'super' arguments | '.' 'new' ( nonWildcardTypeArguments )? innerCreator );", 160, 1, input);
throw nvae;
}
@@ -12077,7 +12157,7 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("808:1: identifierSuffix : ( ( '[' ']' )+ '.' 'class' | ( '[' expression ']' )+ | arguments | '.' 'class' | '.' explicitGenericInvocation | '.' 'this' | '.' 'super' arguments | '.' 'new' ( nonWildcardTypeArguments )? innerCreator );", 160, 3, input);
+ new NoViableAltException("846:1: identifierSuffix : ( ( '[' ']' )+ '.' 'class' | ( '[' expression ']' )+ | arguments | '.' 'class' | '.' explicitGenericInvocation | '.' 'this' | '.' 'super' arguments | '.' 'new' ( nonWildcardTypeArguments )? innerCreator );", 160, 3, input);
throw nvae;
}
@@ -12087,16 +12167,16 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("808:1: identifierSuffix : ( ( '[' ']' )+ '.' 'class' | ( '[' expression ']' )+ | arguments | '.' 'class' | '.' explicitGenericInvocation | '.' 'this' | '.' 'super' arguments | '.' 'new' ( nonWildcardTypeArguments )? innerCreator );", 160, 0, input);
+ new NoViableAltException("846:1: identifierSuffix : ( ( '[' ']' )+ '.' 'class' | ( '[' expression ']' )+ | arguments | '.' 'class' | '.' explicitGenericInvocation | '.' 'this' | '.' 'super' arguments | '.' 'new' ( nonWildcardTypeArguments )? innerCreator );", 160, 0, input);
throw nvae;
}
switch (alt160) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:809:4: ( '[' ']' )+ '.' 'class'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:847:4: ( '[' ']' )+ '.' 'class'
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:809:4: ( '[' ']' )+
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:847:4: ( '[' ']' )+
int cnt157=0;
loop157:
do {
@@ -12110,10 +12190,10 @@
switch (alt157) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:809:5: '[' ']'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:847:5: '[' ']'
{
- match(input,41,FOLLOW_41_in_identifierSuffix3717); if (failed) return ;
- match(input,42,FOLLOW_42_in_identifierSuffix3719); if (failed) return ;
+ match(input,41,FOLLOW_41_in_identifierSuffix3798); if (failed) return ;
+ match(input,42,FOLLOW_42_in_identifierSuffix3800); if (failed) return ;
}
break;
@@ -12128,15 +12208,15 @@
cnt157++;
} while (true);
- match(input,28,FOLLOW_28_in_identifierSuffix3723); if (failed) return ;
- match(input,30,FOLLOW_30_in_identifierSuffix3725); if (failed) return ;
+ match(input,28,FOLLOW_28_in_identifierSuffix3804); if (failed) return ;
+ match(input,30,FOLLOW_30_in_identifierSuffix3806); if (failed) return ;
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:810:4: ( '[' expression ']' )+
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:848:4: ( '[' expression ']' )+
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:810:4: ( '[' expression ']' )+
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:848:4: ( '[' expression ']' )+
int cnt158=0;
loop158:
do {
@@ -12383,14 +12463,14 @@
switch (alt158) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:810:5: '[' expression ']'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:848:5: '[' expression ']'
{
- match(input,41,FOLLOW_41_in_identifierSuffix3731); if (failed) return ;
- pushFollow(FOLLOW_expression_in_identifierSuffix3733);
+ match(input,41,FOLLOW_41_in_identifierSuffix3812); if (failed) return ;
+ pushFollow(FOLLOW_expression_in_identifierSuffix3814);
expression();
_fsp--;
if (failed) return ;
- match(input,42,FOLLOW_42_in_identifierSuffix3735); if (failed) return ;
+ match(input,42,FOLLOW_42_in_identifierSuffix3816); if (failed) return ;
}
break;
@@ -12409,9 +12489,9 @@
}
break;
case 3 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:811:9: arguments
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:849:9: arguments
{
- pushFollow(FOLLOW_arguments_in_identifierSuffix3748);
+ pushFollow(FOLLOW_arguments_in_identifierSuffix3829);
arguments();
_fsp--;
if (failed) return ;
@@ -12419,18 +12499,18 @@
}
break;
case 4 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:812:9: '.' 'class'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:850:9: '.' 'class'
{
- match(input,28,FOLLOW_28_in_identifierSuffix3758); if (failed) return ;
- match(input,30,FOLLOW_30_in_identifierSuffix3760); if (failed) return ;
+ match(input,28,FOLLOW_28_in_identifierSuffix3839); if (failed) return ;
+ match(input,30,FOLLOW_30_in_identifierSuffix3841); if (failed) return ;
}
break;
case 5 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:813:9: '.' explicitGenericInvocation
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:851:9: '.' explicitGenericInvocation
{
- match(input,28,FOLLOW_28_in_identifierSuffix3770); if (failed) return ;
- pushFollow(FOLLOW_explicitGenericInvocation_in_identifierSuffix3772);
+ match(input,28,FOLLOW_28_in_identifierSuffix3851); if (failed) return ;
+ pushFollow(FOLLOW_explicitGenericInvocation_in_identifierSuffix3853);
explicitGenericInvocation();
_fsp--;
if (failed) return ;
@@ -12438,19 +12518,19 @@
}
break;
case 6 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:814:9: '.' 'this'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:852:9: '.' 'this'
{
- match(input,28,FOLLOW_28_in_identifierSuffix3782); if (failed) return ;
- match(input,112,FOLLOW_112_in_identifierSuffix3784); if (failed) return ;
+ match(input,28,FOLLOW_28_in_identifierSuffix3863); if (failed) return ;
+ match(input,112,FOLLOW_112_in_identifierSuffix3865); if (failed) return ;
}
break;
case 7 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:815:9: '.' 'super' arguments
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:853:9: '.' 'super' arguments
{
- match(input,28,FOLLOW_28_in_identifierSuffix3794); if (failed) return ;
- match(input,64,FOLLOW_64_in_identifierSuffix3796); if (failed) return ;
- pushFollow(FOLLOW_arguments_in_identifierSuffix3798);
+ match(input,28,FOLLOW_28_in_identifierSuffix3875); if (failed) return ;
+ match(input,64,FOLLOW_64_in_identifierSuffix3877); if (failed) return ;
+ pushFollow(FOLLOW_arguments_in_identifierSuffix3879);
arguments();
_fsp--;
if (failed) return ;
@@ -12458,11 +12538,11 @@
}
break;
case 8 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:816:9: '.' 'new' ( nonWildcardTypeArguments )? innerCreator
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:854:9: '.' 'new' ( nonWildcardTypeArguments )? innerCreator
{
- match(input,28,FOLLOW_28_in_identifierSuffix3808); if (failed) return ;
- match(input,113,FOLLOW_113_in_identifierSuffix3810); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:816:19: ( nonWildcardTypeArguments )?
+ match(input,28,FOLLOW_28_in_identifierSuffix3889); if (failed) return ;
+ match(input,113,FOLLOW_113_in_identifierSuffix3891); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:854:19: ( nonWildcardTypeArguments )?
int alt159=2;
int LA159_0 = input.LA(1);
@@ -12471,9 +12551,9 @@
}
switch (alt159) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:816:20: nonWildcardTypeArguments
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:854:20: nonWildcardTypeArguments
{
- pushFollow(FOLLOW_nonWildcardTypeArguments_in_identifierSuffix3813);
+ pushFollow(FOLLOW_nonWildcardTypeArguments_in_identifierSuffix3894);
nonWildcardTypeArguments();
_fsp--;
if (failed) return ;
@@ -12483,7 +12563,7 @@
}
- pushFollow(FOLLOW_innerCreator_in_identifierSuffix3817);
+ pushFollow(FOLLOW_innerCreator_in_identifierSuffix3898);
innerCreator();
_fsp--;
if (failed) return ;
@@ -12506,15 +12586,15 @@
// $ANTLR start creator
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:819:1: creator : ( nonWildcardTypeArguments )? createdName ( arrayCreatorRest | classCreatorRest ) ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:857:1: creator : ( nonWildcardTypeArguments )? createdName ( arrayCreatorRest | classCreatorRest ) ;
public final void creator() throws RecognitionException {
int creator_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 120) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:820:4: ( ( nonWildcardTypeArguments )? createdName ( arrayCreatorRest | classCreatorRest ) )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:820:4: ( nonWildcardTypeArguments )? createdName ( arrayCreatorRest | classCreatorRest )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:858:4: ( ( nonWildcardTypeArguments )? createdName ( arrayCreatorRest | classCreatorRest ) )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:858:4: ( nonWildcardTypeArguments )? createdName ( arrayCreatorRest | classCreatorRest )
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:820:4: ( nonWildcardTypeArguments )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:858:4: ( nonWildcardTypeArguments )?
int alt161=2;
int LA161_0 = input.LA(1);
@@ -12525,7 +12605,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: nonWildcardTypeArguments
{
- pushFollow(FOLLOW_nonWildcardTypeArguments_in_creator3829);
+ pushFollow(FOLLOW_nonWildcardTypeArguments_in_creator3910);
nonWildcardTypeArguments();
_fsp--;
if (failed) return ;
@@ -12535,11 +12615,11 @@
}
- pushFollow(FOLLOW_createdName_in_creator3832);
+ pushFollow(FOLLOW_createdName_in_creator3913);
createdName();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:821:9: ( arrayCreatorRest | classCreatorRest )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:859:9: ( arrayCreatorRest | classCreatorRest )
int alt162=2;
int LA162_0 = input.LA(1);
@@ -12552,15 +12632,15 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("821:9: ( arrayCreatorRest | classCreatorRest )", 162, 0, input);
+ new NoViableAltException("859:9: ( arrayCreatorRest | classCreatorRest )", 162, 0, input);
throw nvae;
}
switch (alt162) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:821:10: arrayCreatorRest
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:859:10: arrayCreatorRest
{
- pushFollow(FOLLOW_arrayCreatorRest_in_creator3843);
+ pushFollow(FOLLOW_arrayCreatorRest_in_creator3924);
arrayCreatorRest();
_fsp--;
if (failed) return ;
@@ -12568,9 +12648,9 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:821:29: classCreatorRest
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:859:29: classCreatorRest
{
- pushFollow(FOLLOW_classCreatorRest_in_creator3847);
+ pushFollow(FOLLOW_classCreatorRest_in_creator3928);
classCreatorRest();
_fsp--;
if (failed) return ;
@@ -12597,12 +12677,12 @@
// $ANTLR start createdName
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:824:1: createdName : ( Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )* | primitiveType );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:862:1: createdName : ( Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )* | primitiveType );
public final void createdName() throws RecognitionException {
int createdName_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 121) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:825:4: ( Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )* | primitiveType )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:863:4: ( Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )* | primitiveType )
int alt166=2;
int LA166_0 = input.LA(1);
@@ -12615,16 +12695,16 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("824:1: createdName : ( Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )* | primitiveType );", 166, 0, input);
+ new NoViableAltException("862:1: createdName : ( Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )* | primitiveType );", 166, 0, input);
throw nvae;
}
switch (alt166) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:825:4: Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:863:4: Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )*
{
- match(input,Identifier,FOLLOW_Identifier_in_createdName3859); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:825:15: ( typeArguments )?
+ match(input,Identifier,FOLLOW_Identifier_in_createdName3940); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:863:15: ( typeArguments )?
int alt163=2;
int LA163_0 = input.LA(1);
@@ -12635,7 +12715,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: typeArguments
{
- pushFollow(FOLLOW_typeArguments_in_createdName3861);
+ pushFollow(FOLLOW_typeArguments_in_createdName3942);
typeArguments();
_fsp--;
if (failed) return ;
@@ -12645,7 +12725,7 @@
}
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:826:9: ( '.' Identifier ( typeArguments )? )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:864:9: ( '.' Identifier ( typeArguments )? )*
loop165:
do {
int alt165=2;
@@ -12658,11 +12738,11 @@
switch (alt165) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:826:10: '.' Identifier ( typeArguments )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:864:10: '.' Identifier ( typeArguments )?
{
- match(input,28,FOLLOW_28_in_createdName3873); if (failed) return ;
- match(input,Identifier,FOLLOW_Identifier_in_createdName3875); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:826:25: ( typeArguments )?
+ match(input,28,FOLLOW_28_in_createdName3954); if (failed) return ;
+ match(input,Identifier,FOLLOW_Identifier_in_createdName3956); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:864:25: ( typeArguments )?
int alt164=2;
int LA164_0 = input.LA(1);
@@ -12673,7 +12753,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: typeArguments
{
- pushFollow(FOLLOW_typeArguments_in_createdName3877);
+ pushFollow(FOLLOW_typeArguments_in_createdName3958);
typeArguments();
_fsp--;
if (failed) return ;
@@ -12696,9 +12776,9 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:827:7: primitiveType
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:865:7: primitiveType
{
- pushFollow(FOLLOW_primitiveType_in_createdName3888);
+ pushFollow(FOLLOW_primitiveType_in_createdName3969);
primitiveType();
_fsp--;
if (failed) return ;
@@ -12721,16 +12801,16 @@
// $ANTLR start innerCreator
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:830:1: innerCreator : Identifier classCreatorRest ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:868:1: innerCreator : Identifier classCreatorRest ;
public final void innerCreator() throws RecognitionException {
int innerCreator_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 122) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:831:4: ( Identifier classCreatorRest )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:831:4: Identifier classCreatorRest
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:869:4: ( Identifier classCreatorRest )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:869:4: Identifier classCreatorRest
{
- match(input,Identifier,FOLLOW_Identifier_in_innerCreator3900); if (failed) return ;
- pushFollow(FOLLOW_classCreatorRest_in_innerCreator3902);
+ match(input,Identifier,FOLLOW_Identifier_in_innerCreator3981); if (failed) return ;
+ pushFollow(FOLLOW_classCreatorRest_in_innerCreator3983);
classCreatorRest();
_fsp--;
if (failed) return ;
@@ -12751,16 +12831,16 @@
// $ANTLR start arrayCreatorRest
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:834:1: arrayCreatorRest : '[' ( ']' ( '[' ']' )* arrayInitializer | expression ']' ( '[' expression ']' )* ( '[' ']' )* ) ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:872:1: arrayCreatorRest : '[' ( ']' ( '[' ']' )* arrayInitializer | expression ']' ( '[' expression ']' )* ( '[' ']' )* ) ;
public final void arrayCreatorRest() throws RecognitionException {
int arrayCreatorRest_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 123) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:835:4: ( '[' ( ']' ( '[' ']' )* arrayInitializer | expression ']' ( '[' expression ']' )* ( '[' ']' )* ) )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:835:4: '[' ( ']' ( '[' ']' )* arrayInitializer | expression ']' ( '[' expression ']' )* ( '[' ']' )* )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:873:4: ( '[' ( ']' ( '[' ']' )* arrayInitializer | expression ']' ( '[' expression ']' )* ( '[' ']' )* ) )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:873:4: '[' ( ']' ( '[' ']' )* arrayInitializer | expression ']' ( '[' expression ']' )* ( '[' ']' )* )
{
- match(input,41,FOLLOW_41_in_arrayCreatorRest3913); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:836:9: ( ']' ( '[' ']' )* arrayInitializer | expression ']' ( '[' expression ']' )* ( '[' ']' )* )
+ match(input,41,FOLLOW_41_in_arrayCreatorRest3994); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:874:9: ( ']' ( '[' ']' )* arrayInitializer | expression ']' ( '[' expression ']' )* ( '[' ']' )* )
int alt170=2;
int LA170_0 = input.LA(1);
@@ -12773,16 +12853,16 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("836:9: ( ']' ( '[' ']' )* arrayInitializer | expression ']' ( '[' expression ']' )* ( '[' ']' )* )", 170, 0, input);
+ new NoViableAltException("874:9: ( ']' ( '[' ']' )* arrayInitializer | expression ']' ( '[' expression ']' )* ( '[' ']' )* )", 170, 0, input);
throw nvae;
}
switch (alt170) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:836:13: ']' ( '[' ']' )* arrayInitializer
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:874:13: ']' ( '[' ']' )* arrayInitializer
{
- match(input,42,FOLLOW_42_in_arrayCreatorRest3927); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:836:17: ( '[' ']' )*
+ match(input,42,FOLLOW_42_in_arrayCreatorRest4008); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:874:17: ( '[' ']' )*
loop167:
do {
int alt167=2;
@@ -12795,10 +12875,10 @@
switch (alt167) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:836:18: '[' ']'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:874:18: '[' ']'
{
- match(input,41,FOLLOW_41_in_arrayCreatorRest3930); if (failed) return ;
- match(input,42,FOLLOW_42_in_arrayCreatorRest3932); if (failed) return ;
+ match(input,41,FOLLOW_41_in_arrayCreatorRest4011); if (failed) return ;
+ match(input,42,FOLLOW_42_in_arrayCreatorRest4013); if (failed) return ;
}
break;
@@ -12808,7 +12888,7 @@
}
} while (true);
- pushFollow(FOLLOW_arrayInitializer_in_arrayCreatorRest3936);
+ pushFollow(FOLLOW_arrayInitializer_in_arrayCreatorRest4017);
arrayInitializer();
_fsp--;
if (failed) return ;
@@ -12816,14 +12896,14 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:13: expression ']' ( '[' expression ']' )* ( '[' ']' )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:875:13: expression ']' ( '[' expression ']' )* ( '[' ']' )*
{
- pushFollow(FOLLOW_expression_in_arrayCreatorRest3950);
+ pushFollow(FOLLOW_expression_in_arrayCreatorRest4031);
expression();
_fsp--;
if (failed) return ;
- match(input,42,FOLLOW_42_in_arrayCreatorRest3952); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:28: ( '[' expression ']' )*
+ match(input,42,FOLLOW_42_in_arrayCreatorRest4033); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:875:28: ( '[' expression ']' )*
loop168:
do {
int alt168=2;
@@ -13069,14 +13149,14 @@
switch (alt168) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:29: '[' expression ']'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:875:29: '[' expression ']'
{
- match(input,41,FOLLOW_41_in_arrayCreatorRest3955); if (failed) return ;
- pushFollow(FOLLOW_expression_in_arrayCreatorRest3957);
+ match(input,41,FOLLOW_41_in_arrayCreatorRest4036); if (failed) return ;
+ pushFollow(FOLLOW_expression_in_arrayCreatorRest4038);
expression();
_fsp--;
if (failed) return ;
- match(input,42,FOLLOW_42_in_arrayCreatorRest3959); if (failed) return ;
+ match(input,42,FOLLOW_42_in_arrayCreatorRest4040); if (failed) return ;
}
break;
@@ -13086,7 +13166,7 @@
}
} while (true);
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:50: ( '[' ']' )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:875:50: ( '[' ']' )*
loop169:
do {
int alt169=2;
@@ -13105,10 +13185,10 @@
switch (alt169) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:51: '[' ']'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:875:51: '[' ']'
{
- match(input,41,FOLLOW_41_in_arrayCreatorRest3964); if (failed) return ;
- match(input,42,FOLLOW_42_in_arrayCreatorRest3966); if (failed) return ;
+ match(input,41,FOLLOW_41_in_arrayCreatorRest4045); if (failed) return ;
+ match(input,42,FOLLOW_42_in_arrayCreatorRest4047); if (failed) return ;
}
break;
@@ -13141,19 +13221,19 @@
// $ANTLR start classCreatorRest
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:841:1: classCreatorRest : arguments ( classBody )? ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:879:1: classCreatorRest : arguments ( classBody )? ;
public final void classCreatorRest() throws RecognitionException {
int classCreatorRest_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 124) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:842:4: ( arguments ( classBody )? )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:842:4: arguments ( classBody )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:880:4: ( arguments ( classBody )? )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:880:4: arguments ( classBody )?
{
- pushFollow(FOLLOW_arguments_in_classCreatorRest3989);
+ pushFollow(FOLLOW_arguments_in_classCreatorRest4070);
arguments();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:842:14: ( classBody )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:880:14: ( classBody )?
int alt171=2;
int LA171_0 = input.LA(1);
@@ -13164,7 +13244,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: classBody
{
- pushFollow(FOLLOW_classBody_in_classCreatorRest3991);
+ pushFollow(FOLLOW_classBody_in_classCreatorRest4072);
classBody();
_fsp--;
if (failed) return ;
@@ -13191,19 +13271,19 @@
// $ANTLR start explicitGenericInvocation
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:845:1: explicitGenericInvocation : nonWildcardTypeArguments explicitGenericInvocationSuffix ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:883:1: explicitGenericInvocation : nonWildcardTypeArguments explicitGenericInvocationSuffix ;
public final void explicitGenericInvocation() throws RecognitionException {
int explicitGenericInvocation_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 125) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:846:4: ( nonWildcardTypeArguments explicitGenericInvocationSuffix )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:846:4: nonWildcardTypeArguments explicitGenericInvocationSuffix
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:884:4: ( nonWildcardTypeArguments explicitGenericInvocationSuffix )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:884:4: nonWildcardTypeArguments explicitGenericInvocationSuffix
{
- pushFollow(FOLLOW_nonWildcardTypeArguments_in_explicitGenericInvocation4004);
+ pushFollow(FOLLOW_nonWildcardTypeArguments_in_explicitGenericInvocation4085);
nonWildcardTypeArguments();
_fsp--;
if (failed) return ;
- pushFollow(FOLLOW_explicitGenericInvocationSuffix_in_explicitGenericInvocation4006);
+ pushFollow(FOLLOW_explicitGenericInvocationSuffix_in_explicitGenericInvocation4087);
explicitGenericInvocationSuffix();
_fsp--;
if (failed) return ;
@@ -13224,20 +13304,20 @@
// $ANTLR start nonWildcardTypeArguments
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:849:1: nonWildcardTypeArguments : '<' typeList '>' ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:887:1: nonWildcardTypeArguments : '<' typeList '>' ;
public final void nonWildcardTypeArguments() throws RecognitionException {
int nonWildcardTypeArguments_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 126) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:850:4: ( '<' typeList '>' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:850:4: '<' typeList '>'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:888:4: ( '<' typeList '>' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:888:4: '<' typeList '>'
{
- match(input,33,FOLLOW_33_in_nonWildcardTypeArguments4018); if (failed) return ;
- pushFollow(FOLLOW_typeList_in_nonWildcardTypeArguments4020);
+ match(input,33,FOLLOW_33_in_nonWildcardTypeArguments4099); if (failed) return ;
+ pushFollow(FOLLOW_typeList_in_nonWildcardTypeArguments4101);
typeList();
_fsp--;
if (failed) return ;
- match(input,35,FOLLOW_35_in_nonWildcardTypeArguments4022); if (failed) return ;
+ match(input,35,FOLLOW_35_in_nonWildcardTypeArguments4103); if (failed) return ;
}
@@ -13255,12 +13335,12 @@
// $ANTLR start explicitGenericInvocationSuffix
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:853:1: explicitGenericInvocationSuffix : ( 'super' superSuffix | Identifier arguments );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:891:1: explicitGenericInvocationSuffix : ( 'super' superSuffix | Identifier arguments );
public final void explicitGenericInvocationSuffix() throws RecognitionException {
int explicitGenericInvocationSuffix_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 127) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:854:4: ( 'super' superSuffix | Identifier arguments )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:892:4: ( 'super' superSuffix | Identifier arguments )
int alt172=2;
int LA172_0 = input.LA(1);
@@ -13273,16 +13353,16 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("853:1: explicitGenericInvocationSuffix : ( 'super' superSuffix | Identifier arguments );", 172, 0, input);
+ new NoViableAltException("891:1: explicitGenericInvocationSuffix : ( 'super' superSuffix | Identifier arguments );", 172, 0, input);
throw nvae;
}
switch (alt172) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:854:4: 'super' superSuffix
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:892:4: 'super' superSuffix
{
- match(input,64,FOLLOW_64_in_explicitGenericInvocationSuffix4034); if (failed) return ;
- pushFollow(FOLLOW_superSuffix_in_explicitGenericInvocationSuffix4036);
+ match(input,64,FOLLOW_64_in_explicitGenericInvocationSuffix4115); if (failed) return ;
+ pushFollow(FOLLOW_superSuffix_in_explicitGenericInvocationSuffix4117);
superSuffix();
_fsp--;
if (failed) return ;
@@ -13290,10 +13370,10 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:855:6: Identifier arguments
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:893:6: Identifier arguments
{
- match(input,Identifier,FOLLOW_Identifier_in_explicitGenericInvocationSuffix4043); if (failed) return ;
- pushFollow(FOLLOW_arguments_in_explicitGenericInvocationSuffix4045);
+ match(input,Identifier,FOLLOW_Identifier_in_explicitGenericInvocationSuffix4124); if (failed) return ;
+ pushFollow(FOLLOW_arguments_in_explicitGenericInvocationSuffix4126);
arguments();
_fsp--;
if (failed) return ;
@@ -13316,12 +13396,12 @@
// $ANTLR start selector
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:858:1: selector : ( '.' Identifier ( arguments )? | '.' 'this' | '.' 'super' superSuffix | '.' 'new' ( nonWildcardTypeArguments )? innerCreator | '[' expression ']' );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:896:1: selector : ( '.' Identifier ( arguments )? | '.' 'this' | '.' 'super' superSuffix | '.' 'new' ( nonWildcardTypeArguments )? innerCreator | '[' expression ']' );
public final void selector() throws RecognitionException {
int selector_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 128) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:859:4: ( '.' Identifier ( arguments )? | '.' 'this' | '.' 'super' superSuffix | '.' 'new' ( nonWildcardTypeArguments )? innerCreator | '[' expression ']' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:897:4: ( '.' Identifier ( arguments )? | '.' 'this' | '.' 'super' superSuffix | '.' 'new' ( nonWildcardTypeArguments )? innerCreator | '[' expression ']' )
int alt175=5;
int LA175_0 = input.LA(1);
@@ -13350,7 +13430,7 @@
default:
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("858:1: selector : ( '.' Identifier ( arguments )? | '.' 'this' | '.' 'super' superSuffix | '.' 'new' ( nonWildcardTypeArguments )? innerCreator | '[' expression ']' );", 175, 1, input);
+ new NoViableAltException("896:1: selector : ( '.' Identifier ( arguments )? | '.' 'this' | '.' 'super' superSuffix | '.' 'new' ( nonWildcardTypeArguments )? innerCreator | '[' expression ']' );", 175, 1, input);
throw nvae;
}
@@ -13362,17 +13442,17 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("858:1: selector : ( '.' Identifier ( arguments )? | '.' 'this' | '.' 'super' superSuffix | '.' 'new' ( nonWildcardTypeArguments )? innerCreator | '[' expression ']' );", 175, 0, input);
+ new NoViableAltException("896:1: selector : ( '.' Identifier ( arguments )? | '.' 'this' | '.' 'super' superSuffix | '.' 'new' ( nonWildcardTypeArguments )? innerCreator | '[' expression ']' );", 175, 0, input);
throw nvae;
}
switch (alt175) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:859:4: '.' Identifier ( arguments )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:897:4: '.' Identifier ( arguments )?
{
- match(input,28,FOLLOW_28_in_selector4057); if (failed) return ;
- match(input,Identifier,FOLLOW_Identifier_in_selector4059); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:859:19: ( arguments )?
+ match(input,28,FOLLOW_28_in_selector4138); if (failed) return ;
+ match(input,Identifier,FOLLOW_Identifier_in_selector4140); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:897:19: ( arguments )?
int alt173=2;
int LA173_0 = input.LA(1);
@@ -13381,9 +13461,9 @@
}
switch (alt173) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:859:20: arguments
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:897:20: arguments
{
- pushFollow(FOLLOW_arguments_in_selector4062);
+ pushFollow(FOLLOW_arguments_in_selector4143);
arguments();
_fsp--;
if (failed) return ;
@@ -13397,19 +13477,19 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:860:6: '.' 'this'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:898:6: '.' 'this'
{
- match(input,28,FOLLOW_28_in_selector4071); if (failed) return ;
- match(input,112,FOLLOW_112_in_selector4073); if (failed) return ;
+ match(input,28,FOLLOW_28_in_selector4152); if (failed) return ;
+ match(input,112,FOLLOW_112_in_selector4154); if (failed) return ;
}
break;
case 3 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:861:6: '.' 'super' superSuffix
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:899:6: '.' 'super' superSuffix
{
- match(input,28,FOLLOW_28_in_selector4080); if (failed) return ;
- match(input,64,FOLLOW_64_in_selector4082); if (failed) return ;
- pushFollow(FOLLOW_superSuffix_in_selector4084);
+ match(input,28,FOLLOW_28_in_selector4161); if (failed) return ;
+ match(input,64,FOLLOW_64_in_selector4163); if (failed) return ;
+ pushFollow(FOLLOW_superSuffix_in_selector4165);
superSuffix();
_fsp--;
if (failed) return ;
@@ -13417,11 +13497,11 @@
}
break;
case 4 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:862:6: '.' 'new' ( nonWildcardTypeArguments )? innerCreator
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:900:6: '.' 'new' ( nonWildcardTypeArguments )? innerCreator
{
- match(input,28,FOLLOW_28_in_selector4091); if (failed) return ;
- match(input,113,FOLLOW_113_in_selector4093); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:862:16: ( nonWildcardTypeArguments )?
+ match(input,28,FOLLOW_28_in_selector4172); if (failed) return ;
+ match(input,113,FOLLOW_113_in_selector4174); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:900:16: ( nonWildcardTypeArguments )?
int alt174=2;
int LA174_0 = input.LA(1);
@@ -13430,9 +13510,9 @@
}
switch (alt174) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:862:17: nonWildcardTypeArguments
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:900:17: nonWildcardTypeArguments
{
- pushFollow(FOLLOW_nonWildcardTypeArguments_in_selector4096);
+ pushFollow(FOLLOW_nonWildcardTypeArguments_in_selector4177);
nonWildcardTypeArguments();
_fsp--;
if (failed) return ;
@@ -13442,7 +13522,7 @@
}
- pushFollow(FOLLOW_innerCreator_in_selector4100);
+ pushFollow(FOLLOW_innerCreator_in_selector4181);
innerCreator();
_fsp--;
if (failed) return ;
@@ -13450,14 +13530,14 @@
}
break;
case 5 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:863:6: '[' expression ']'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:901:6: '[' expression ']'
{
- match(input,41,FOLLOW_41_in_selector4107); if (failed) return ;
- pushFollow(FOLLOW_expression_in_selector4109);
+ match(input,41,FOLLOW_41_in_selector4188); if (failed) return ;
+ pushFollow(FOLLOW_expression_in_selector4190);
expression();
_fsp--;
if (failed) return ;
- match(input,42,FOLLOW_42_in_selector4111); if (failed) return ;
+ match(input,42,FOLLOW_42_in_selector4192); if (failed) return ;
}
break;
@@ -13477,12 +13557,12 @@
// $ANTLR start superSuffix
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:866:1: superSuffix : ( arguments | '.' Identifier ( arguments )? );
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:904:1: superSuffix : ( arguments | '.' Identifier ( arguments )? );
public final void superSuffix() throws RecognitionException {
int superSuffix_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 129) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:867:4: ( arguments | '.' Identifier ( arguments )? )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:905:4: ( arguments | '.' Identifier ( arguments )? )
int alt177=2;
int LA177_0 = input.LA(1);
@@ -13495,15 +13575,15 @@
else {
if (backtracking>0) {failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("866:1: superSuffix : ( arguments | '.' Identifier ( arguments )? );", 177, 0, input);
+ new NoViableAltException("904:1: superSuffix : ( arguments | '.' Identifier ( arguments )? );", 177, 0, input);
throw nvae;
}
switch (alt177) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:867:4: arguments
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:905:4: arguments
{
- pushFollow(FOLLOW_arguments_in_superSuffix4123);
+ pushFollow(FOLLOW_arguments_in_superSuffix4204);
arguments();
_fsp--;
if (failed) return ;
@@ -13511,11 +13591,11 @@
}
break;
case 2 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:868:6: '.' Identifier ( arguments )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:906:6: '.' Identifier ( arguments )?
{
- match(input,28,FOLLOW_28_in_superSuffix4130); if (failed) return ;
- match(input,Identifier,FOLLOW_Identifier_in_superSuffix4132); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:868:21: ( arguments )?
+ match(input,28,FOLLOW_28_in_superSuffix4211); if (failed) return ;
+ match(input,Identifier,FOLLOW_Identifier_in_superSuffix4213); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:906:21: ( arguments )?
int alt176=2;
int LA176_0 = input.LA(1);
@@ -13524,9 +13604,9 @@
}
switch (alt176) {
case 1 :
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:868:22: arguments
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:906:22: arguments
{
- pushFollow(FOLLOW_arguments_in_superSuffix4135);
+ pushFollow(FOLLOW_arguments_in_superSuffix4216);
arguments();
_fsp--;
if (failed) return ;
@@ -13555,16 +13635,16 @@
// $ANTLR start arguments
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:871:1: arguments : '(' ( expressionList )? ')' ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:909:1: arguments : '(' ( expressionList )? ')' ;
public final void arguments() throws RecognitionException {
int arguments_StartIndex = input.index();
try {
if ( backtracking>0 && alreadyParsedRule(input, 130) ) { return ; }
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:872:4: ( '(' ( expressionList )? ')' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:872:4: '(' ( expressionList )? ')'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:910:4: ( '(' ( expressionList )? ')' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:910:4: '(' ( expressionList )? ')'
{
- match(input,65,FOLLOW_65_in_arguments4151); if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:872:8: ( expressionList )?
+ match(input,65,FOLLOW_65_in_arguments4232); if (failed) return ;
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:910:8: ( expressionList )?
int alt178=2;
int LA178_0 = input.LA(1);
@@ -13575,7 +13655,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: expressionList
{
- pushFollow(FOLLOW_expressionList_in_arguments4153);
+ pushFollow(FOLLOW_expressionList_in_arguments4234);
expressionList();
_fsp--;
if (failed) return ;
@@ -13585,7 +13665,7 @@
}
- match(input,66,FOLLOW_66_in_arguments4156); if (failed) return ;
+ match(input,66,FOLLOW_66_in_arguments4237); if (failed) return ;
}
@@ -13603,8 +13683,8 @@
// $ANTLR start synpred1
public final void synpred1_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:202:4: ( annotations )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:202:4: annotations
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:204:4: ( annotations )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:204:4: annotations
{
pushFollow(FOLLOW_annotations_in_synpred170);
annotations();
@@ -13617,8 +13697,8 @@
// $ANTLR start synpred38
public final void synpred38_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:298:4: ( methodDeclaration )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:298:4: methodDeclaration
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:300:4: ( methodDeclaration )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:300:4: methodDeclaration
{
pushFollow(FOLLOW_methodDeclaration_in_synpred38577);
methodDeclaration();
@@ -13631,8 +13711,8 @@
// $ANTLR start synpred39
public final void synpred39_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:299:4: ( fieldDeclaration )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:299:4: fieldDeclaration
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:301:4: ( fieldDeclaration )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:301:4: fieldDeclaration
{
pushFollow(FOLLOW_fieldDeclaration_in_synpred39582);
fieldDeclaration();
@@ -13645,11 +13725,11 @@
// $ANTLR start synpred85
public final void synpred85_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:432:16: ( '.' Identifier )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:432:16: '.' Identifier
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:448:16: ( '.' Identifier )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:448:16: '.' Identifier
{
- match(input,28,FOLLOW_28_in_synpred851363); if (failed) return ;
- match(input,Identifier,FOLLOW_Identifier_in_synpred851365); if (failed) return ;
+ match(input,28,FOLLOW_28_in_synpred851385); if (failed) return ;
+ match(input,Identifier,FOLLOW_Identifier_in_synpred851387); if (failed) return ;
}
}
@@ -13657,10 +13737,10 @@
// $ANTLR start synpred120
public final void synpred120_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:522:4: ( annotation )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:522:4: annotation
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:538:4: ( annotation )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:538:4: annotation
{
- pushFollow(FOLLOW_annotation_in_synpred1201867);
+ pushFollow(FOLLOW_annotation_in_synpred1201889);
annotation();
_fsp--;
if (failed) return ;
@@ -13671,14 +13751,14 @@
// $ANTLR start synpred135
public final void synpred135_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:569:6: ( classDeclaration ( ';' )? )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:569:6: classDeclaration ( ';' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:585:6: ( classDeclaration ( ';' )? )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:585:6: classDeclaration ( ';' )?
{
- pushFollow(FOLLOW_classDeclaration_in_synpred1352097);
+ pushFollow(FOLLOW_classDeclaration_in_synpred1352119);
classDeclaration();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:569:23: ( ';' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:585:23: ( ';' )?
int alt194=2;
int LA194_0 = input.LA(1);
@@ -13689,7 +13769,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: ';'
{
- match(input,25,FOLLOW_25_in_synpred1352099); if (failed) return ;
+ match(input,25,FOLLOW_25_in_synpred1352121); if (failed) return ;
}
break;
@@ -13703,14 +13783,14 @@
// $ANTLR start synpred137
public final void synpred137_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:570:6: ( interfaceDeclaration ( ';' )? )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:570:6: interfaceDeclaration ( ';' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:586:6: ( interfaceDeclaration ( ';' )? )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:586:6: interfaceDeclaration ( ';' )?
{
- pushFollow(FOLLOW_interfaceDeclaration_in_synpred1372107);
+ pushFollow(FOLLOW_interfaceDeclaration_in_synpred1372129);
interfaceDeclaration();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:570:27: ( ';' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:586:27: ( ';' )?
int alt195=2;
int LA195_0 = input.LA(1);
@@ -13721,7 +13801,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: ';'
{
- match(input,25,FOLLOW_25_in_synpred1372109); if (failed) return ;
+ match(input,25,FOLLOW_25_in_synpred1372131); if (failed) return ;
}
break;
@@ -13735,14 +13815,14 @@
// $ANTLR start synpred139
public final void synpred139_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:571:6: ( enumDeclaration ( ';' )? )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:571:6: enumDeclaration ( ';' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:587:6: ( enumDeclaration ( ';' )? )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:587:6: enumDeclaration ( ';' )?
{
- pushFollow(FOLLOW_enumDeclaration_in_synpred1392117);
+ pushFollow(FOLLOW_enumDeclaration_in_synpred1392139);
enumDeclaration();
_fsp--;
if (failed) return ;
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:571:22: ( ';' )?
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:587:22: ( ';' )?
int alt196=2;
int LA196_0 = input.LA(1);
@@ -13753,7 +13833,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: ';'
{
- match(input,25,FOLLOW_25_in_synpred1392119); if (failed) return ;
+ match(input,25,FOLLOW_25_in_synpred1392141); if (failed) return ;
}
break;
@@ -13767,10 +13847,10 @@
// $ANTLR start synpred144
public final void synpred144_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:599:4: ( localVariableDeclaration )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:599:4: localVariableDeclaration
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:615:4: ( localVariableDeclaration )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:615:4: localVariableDeclaration
{
- pushFollow(FOLLOW_localVariableDeclaration_in_synpred1442234);
+ pushFollow(FOLLOW_localVariableDeclaration_in_synpred1442256);
localVariableDeclaration();
_fsp--;
if (failed) return ;
@@ -13781,10 +13861,10 @@
// $ANTLR start synpred145
public final void synpred145_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:600:4: ( classOrInterfaceDeclaration )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:600:4: classOrInterfaceDeclaration
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:616:4: ( classOrInterfaceDeclaration )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:616:4: classOrInterfaceDeclaration
{
- pushFollow(FOLLOW_classOrInterfaceDeclaration_in_synpred1452239);
+ pushFollow(FOLLOW_classOrInterfaceDeclaration_in_synpred1452261);
classOrInterfaceDeclaration();
_fsp--;
if (failed) return ;
@@ -13795,11 +13875,11 @@
// $ANTLR start synpred150
public final void synpred150_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:611:52: ( 'else' statement )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:611:52: 'else' statement
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:649:52: ( 'else' statement )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:649:52: 'else' statement
{
- match(input,76,FOLLOW_76_in_synpred1502320); if (failed) return ;
- pushFollow(FOLLOW_statement_in_synpred1502322);
+ match(input,76,FOLLOW_76_in_synpred1502401); if (failed) return ;
+ pushFollow(FOLLOW_statement_in_synpred1502403);
statement();
_fsp--;
if (failed) return ;
@@ -13810,15 +13890,15 @@
// $ANTLR start synpred155
public final void synpred155_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:616:9: ( catches 'finally' block )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:616:9: catches 'finally' block
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:654:9: ( catches 'finally' block )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:654:9: catches 'finally' block
{
- pushFollow(FOLLOW_catches_in_synpred1552388);
+ pushFollow(FOLLOW_catches_in_synpred1552469);
catches();
_fsp--;
if (failed) return ;
- match(input,81,FOLLOW_81_in_synpred1552390); if (failed) return ;
- pushFollow(FOLLOW_block_in_synpred1552392);
+ match(input,81,FOLLOW_81_in_synpred1552471); if (failed) return ;
+ pushFollow(FOLLOW_block_in_synpred1552473);
block();
_fsp--;
if (failed) return ;
@@ -13829,10 +13909,10 @@
// $ANTLR start synpred156
public final void synpred156_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:617:9: ( catches )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:617:9: catches
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:655:9: ( catches )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:655:9: catches
{
- pushFollow(FOLLOW_catches_in_synpred1562402);
+ pushFollow(FOLLOW_catches_in_synpred1562483);
catches();
_fsp--;
if (failed) return ;
@@ -13843,15 +13923,15 @@
// $ANTLR start synpred173
public final void synpred173_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:652:4: ( 'case' constantExpression ':' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:652:4: 'case' constantExpression ':'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:690:4: ( 'case' constantExpression ':' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:690:4: 'case' constantExpression ':'
{
- match(input,88,FOLLOW_88_in_synpred1732627); if (failed) return ;
- pushFollow(FOLLOW_constantExpression_in_synpred1732629);
+ match(input,88,FOLLOW_88_in_synpred1732708); if (failed) return ;
+ pushFollow(FOLLOW_constantExpression_in_synpred1732710);
constantExpression();
_fsp--;
if (failed) return ;
- match(input,74,FOLLOW_74_in_synpred1732631); if (failed) return ;
+ match(input,74,FOLLOW_74_in_synpred1732712); if (failed) return ;
}
}
@@ -13859,15 +13939,15 @@
// $ANTLR start synpred174
public final void synpred174_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:653:6: ( 'case' enumConstantName ':' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:653:6: 'case' enumConstantName ':'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:691:6: ( 'case' enumConstantName ':' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:691:6: 'case' enumConstantName ':'
{
- match(input,88,FOLLOW_88_in_synpred1742638); if (failed) return ;
- pushFollow(FOLLOW_enumConstantName_in_synpred1742640);
+ match(input,88,FOLLOW_88_in_synpred1742719); if (failed) return ;
+ pushFollow(FOLLOW_enumConstantName_in_synpred1742721);
enumConstantName();
_fsp--;
if (failed) return ;
- match(input,74,FOLLOW_74_in_synpred1742642); if (failed) return ;
+ match(input,74,FOLLOW_74_in_synpred1742723); if (failed) return ;
}
}
@@ -13875,10 +13955,10 @@
// $ANTLR start synpred176
public final void synpred176_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:663:4: ( forVarControl )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:663:4: forVarControl
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:701:4: ( forVarControl )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:701:4: forVarControl
{
- pushFollow(FOLLOW_forVarControl_in_synpred1762687);
+ pushFollow(FOLLOW_forVarControl_in_synpred1762768);
forVarControl();
_fsp--;
if (failed) return ;
@@ -13889,10 +13969,10 @@
// $ANTLR start synpred181
public final void synpred181_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:668:4: ( ( variableModifier )* type variableDeclarators )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:668:4: ( variableModifier )* type variableDeclarators
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:706:4: ( ( variableModifier )* type variableDeclarators )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:706:4: ( variableModifier )* type variableDeclarators
{
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:668:4: ( variableModifier )*
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:706:4: ( variableModifier )*
loop203:
do {
int alt203=2;
@@ -13907,7 +13987,7 @@
case 1 :
// /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: variableModifier
{
- pushFollow(FOLLOW_variableModifier_in_synpred1812714);
+ pushFollow(FOLLOW_variableModifier_in_synpred1812795);
variableModifier();
_fsp--;
if (failed) return ;
@@ -13920,11 +14000,11 @@
}
} while (true);
- pushFollow(FOLLOW_type_in_synpred1812717);
+ pushFollow(FOLLOW_type_in_synpred1812798);
type();
_fsp--;
if (failed) return ;
- pushFollow(FOLLOW_variableDeclarators_in_synpred1812719);
+ pushFollow(FOLLOW_variableDeclarators_in_synpred1812800);
variableDeclarators();
_fsp--;
if (failed) return ;
@@ -13935,14 +14015,14 @@
// $ANTLR start synpred184
public final void synpred184_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:699:27: ( assignmentOperator expression )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:699:27: assignmentOperator expression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:737:27: ( assignmentOperator expression )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:737:27: assignmentOperator expression
{
- pushFollow(FOLLOW_assignmentOperator_in_synpred1842838);
+ pushFollow(FOLLOW_assignmentOperator_in_synpred1842919);
assignmentOperator();
_fsp--;
if (failed) return ;
- pushFollow(FOLLOW_expression_in_synpred1842840);
+ pushFollow(FOLLOW_expression_in_synpred1842921);
expression();
_fsp--;
if (failed) return ;
@@ -13953,12 +14033,12 @@
// $ANTLR start synpred195
public final void synpred195_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:713:9: ( '>' '>' '=' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:713:9: '>' '>' '='
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:751:9: ( '>' '>' '=' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:751:9: '>' '>' '='
{
- match(input,35,FOLLOW_35_in_synpred1952958); if (failed) return ;
- match(input,35,FOLLOW_35_in_synpred1952960); if (failed) return ;
- match(input,44,FOLLOW_44_in_synpred1952962); if (failed) return ;
+ match(input,35,FOLLOW_35_in_synpred1953039); if (failed) return ;
+ match(input,35,FOLLOW_35_in_synpred1953041); if (failed) return ;
+ match(input,44,FOLLOW_44_in_synpred1953043); if (failed) return ;
}
}
@@ -13966,14 +14046,14 @@
// $ANTLR start synpred205
public final void synpred205_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:750:27: ( relationalOp shiftExpression )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:750:27: relationalOp shiftExpression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:788:27: ( relationalOp shiftExpression )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:788:27: relationalOp shiftExpression
{
- pushFollow(FOLLOW_relationalOp_in_synpred2053206);
+ pushFollow(FOLLOW_relationalOp_in_synpred2053287);
relationalOp();
_fsp--;
if (failed) return ;
- pushFollow(FOLLOW_shiftExpression_in_synpred2053208);
+ pushFollow(FOLLOW_shiftExpression_in_synpred2053289);
shiftExpression();
_fsp--;
if (failed) return ;
@@ -13984,14 +14064,14 @@
// $ANTLR start synpred209
public final void synpred209_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:758:30: ( shiftOp additiveExpression )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:758:30: shiftOp additiveExpression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:796:30: ( shiftOp additiveExpression )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:796:30: shiftOp additiveExpression
{
- pushFollow(FOLLOW_shiftOp_in_synpred2093261);
+ pushFollow(FOLLOW_shiftOp_in_synpred2093342);
shiftOp();
_fsp--;
if (failed) return ;
- pushFollow(FOLLOW_additiveExpression_in_synpred2093263);
+ pushFollow(FOLLOW_additiveExpression_in_synpred2093344);
additiveExpression();
_fsp--;
if (failed) return ;
@@ -14002,12 +14082,12 @@
// $ANTLR start synpred211
public final void synpred211_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:763:15: ( '>' '>' '>' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:763:15: '>' '>' '>'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:801:15: ( '>' '>' '>' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:801:15: '>' '>' '>'
{
- match(input,35,FOLLOW_35_in_synpred2113293); if (failed) return ;
- match(input,35,FOLLOW_35_in_synpred2113295); if (failed) return ;
- match(input,35,FOLLOW_35_in_synpred2113297); if (failed) return ;
+ match(input,35,FOLLOW_35_in_synpred2113374); if (failed) return ;
+ match(input,35,FOLLOW_35_in_synpred2113376); if (failed) return ;
+ match(input,35,FOLLOW_35_in_synpred2113378); if (failed) return ;
}
}
@@ -14015,10 +14095,10 @@
// $ANTLR start synpred223
public final void synpred223_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:786:9: ( castExpression )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:786:9: castExpression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:824:9: ( castExpression )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:824:9: castExpression
{
- pushFollow(FOLLOW_castExpression_in_synpred2233478);
+ pushFollow(FOLLOW_castExpression_in_synpred2233559);
castExpression();
_fsp--;
if (failed) return ;
@@ -14029,16 +14109,16 @@
// $ANTLR start synpred227
public final void synpred227_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:791:8: ( '(' primitiveType ')' unaryExpression )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:791:8: '(' primitiveType ')' unaryExpression
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:829:8: ( '(' primitiveType ')' unaryExpression )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:829:8: '(' primitiveType ')' unaryExpression
{
- match(input,65,FOLLOW_65_in_synpred2273516); if (failed) return ;
- pushFollow(FOLLOW_primitiveType_in_synpred2273518);
+ match(input,65,FOLLOW_65_in_synpred2273597); if (failed) return ;
+ pushFollow(FOLLOW_primitiveType_in_synpred2273599);
primitiveType();
_fsp--;
if (failed) return ;
- match(input,66,FOLLOW_66_in_synpred2273520); if (failed) return ;
- pushFollow(FOLLOW_unaryExpression_in_synpred2273522);
+ match(input,66,FOLLOW_66_in_synpred2273601); if (failed) return ;
+ pushFollow(FOLLOW_unaryExpression_in_synpred2273603);
unaryExpression();
_fsp--;
if (failed) return ;
@@ -14049,10 +14129,10 @@
// $ANTLR start synpred228
public final void synpred228_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:792:13: ( type )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:792:13: type
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:830:13: ( type )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:830:13: type
{
- pushFollow(FOLLOW_type_in_synpred2283534);
+ pushFollow(FOLLOW_type_in_synpred2283615);
type();
_fsp--;
if (failed) return ;
@@ -14063,11 +14143,11 @@
// $ANTLR start synpred232
public final void synpred232_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:799:17: ( '.' Identifier )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:799:17: '.' Identifier
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:17: ( '.' Identifier )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:17: '.' Identifier
{
- match(input,28,FOLLOW_28_in_synpred2323601); if (failed) return ;
- match(input,Identifier,FOLLOW_Identifier_in_synpred2323603); if (failed) return ;
+ match(input,28,FOLLOW_28_in_synpred2323682); if (failed) return ;
+ match(input,Identifier,FOLLOW_Identifier_in_synpred2323684); if (failed) return ;
}
}
@@ -14075,10 +14155,10 @@
// $ANTLR start synpred233
public final void synpred233_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:799:35: ( identifierSuffix )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:799:35: identifierSuffix
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:35: ( identifierSuffix )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:35: identifierSuffix
{
- pushFollow(FOLLOW_identifierSuffix_in_synpred2333608);
+ pushFollow(FOLLOW_identifierSuffix_in_synpred2333689);
identifierSuffix();
_fsp--;
if (failed) return ;
@@ -14089,11 +14169,11 @@
// $ANTLR start synpred238
public final void synpred238_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:803:56: ( '.' Identifier )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:803:56: '.' Identifier
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:841:56: ( '.' Identifier )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:841:56: '.' Identifier
{
- match(input,28,FOLLOW_28_in_synpred2383661); if (failed) return ;
- match(input,Identifier,FOLLOW_Identifier_in_synpred2383663); if (failed) return ;
+ match(input,28,FOLLOW_28_in_synpred2383742); if (failed) return ;
+ match(input,Identifier,FOLLOW_Identifier_in_synpred2383744); if (failed) return ;
}
}
@@ -14101,10 +14181,10 @@
// $ANTLR start synpred239
public final void synpred239_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:803:74: ( identifierSuffix )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:803:74: identifierSuffix
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:841:74: ( identifierSuffix )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:841:74: identifierSuffix
{
- pushFollow(FOLLOW_identifierSuffix_in_synpred2393668);
+ pushFollow(FOLLOW_identifierSuffix_in_synpred2393749);
identifierSuffix();
_fsp--;
if (failed) return ;
@@ -14115,15 +14195,15 @@
// $ANTLR start synpred245
public final void synpred245_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:810:5: ( '[' expression ']' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:810:5: '[' expression ']'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:848:5: ( '[' expression ']' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:848:5: '[' expression ']'
{
- match(input,41,FOLLOW_41_in_synpred2453731); if (failed) return ;
- pushFollow(FOLLOW_expression_in_synpred2453733);
+ match(input,41,FOLLOW_41_in_synpred2453812); if (failed) return ;
+ pushFollow(FOLLOW_expression_in_synpred2453814);
expression();
_fsp--;
if (failed) return ;
- match(input,42,FOLLOW_42_in_synpred2453735); if (failed) return ;
+ match(input,42,FOLLOW_42_in_synpred2453816); if (failed) return ;
}
}
@@ -14131,15 +14211,15 @@
// $ANTLR start synpred261
public final void synpred261_fragment() throws RecognitionException {
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:29: ( '[' expression ']' )
- // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:29: '[' expression ']'
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:875:29: ( '[' expression ']' )
+ // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:875:29: '[' expression ']'
{
- match(input,41,FOLLOW_41_in_synpred2613955); if (failed) return ;
- pushFollow(FOLLOW_expression_in_synpred2613957);
+ match(input,41,FOLLOW_41_in_synpred2614036); if (failed) return ;
+ pushFollow(FOLLOW_expression_in_synpred2614038);
expression();
_fsp--;
if (failed) return ;
- match(input,42,FOLLOW_42_in_synpred2613959); if (failed) return ;
+ match(input,42,FOLLOW_42_in_synpred2614040); if (failed) return ;
}
}
@@ -14741,531 +14821,531 @@
public static final BitSet FOLLOW_variableDeclarator_in_variableDeclarators1047 = new BitSet(new long[]{0x0000000400000002L});
public static final BitSet FOLLOW_34_in_variableDeclarators1050 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_variableDeclarator_in_variableDeclarators1052 = new BitSet(new long[]{0x0000000400000002L});
- public static final BitSet FOLLOW_Identifier_in_variableDeclarator1065 = new BitSet(new long[]{0x0000120000000002L});
- public static final BitSet FOLLOW_variableDeclaratorRest_in_variableDeclarator1067 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_41_in_variableDeclaratorRest1080 = new BitSet(new long[]{0x0000040000000000L});
- public static final BitSet FOLLOW_42_in_variableDeclaratorRest1082 = new BitSet(new long[]{0x0000120000000002L});
- public static final BitSet FOLLOW_44_in_variableDeclaratorRest1087 = new BitSet(new long[]{0x7F80012200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_variableInitializer_in_variableDeclaratorRest1089 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_44_in_variableDeclaratorRest1096 = new BitSet(new long[]{0x7F80012200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_variableInitializer_in_variableDeclaratorRest1098 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_constantDeclaratorRest_in_constantDeclaratorsRest1118 = new BitSet(new long[]{0x0000000400000002L});
- public static final BitSet FOLLOW_34_in_constantDeclaratorsRest1121 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_constantDeclarator_in_constantDeclaratorsRest1123 = new BitSet(new long[]{0x0000000400000002L});
- public static final BitSet FOLLOW_41_in_constantDeclaratorRest1140 = new BitSet(new long[]{0x0000040000000000L});
- public static final BitSet FOLLOW_42_in_constantDeclaratorRest1142 = new BitSet(new long[]{0x0000120000000000L});
- public static final BitSet FOLLOW_44_in_constantDeclaratorRest1146 = new BitSet(new long[]{0x7F80012200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_variableInitializer_in_constantDeclaratorRest1148 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_Identifier_in_variableDeclaratorId1160 = new BitSet(new long[]{0x0000020000000002L});
- public static final BitSet FOLLOW_41_in_variableDeclaratorId1163 = new BitSet(new long[]{0x0000040000000000L});
- public static final BitSet FOLLOW_42_in_variableDeclaratorId1165 = new BitSet(new long[]{0x0000020000000002L});
- public static final BitSet FOLLOW_arrayInitializer_in_variableInitializer1178 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_expression_in_variableInitializer1188 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_37_in_arrayInitializer1200 = new BitSet(new long[]{0x7F80016200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_variableInitializer_in_arrayInitializer1203 = new BitSet(new long[]{0x0000004400000000L});
- public static final BitSet FOLLOW_34_in_arrayInitializer1206 = new BitSet(new long[]{0x7F80012200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_variableInitializer_in_arrayInitializer1208 = new BitSet(new long[]{0x0000004400000000L});
- public static final BitSet FOLLOW_34_in_arrayInitializer1213 = new BitSet(new long[]{0x0000004000000000L});
- public static final BitSet FOLLOW_38_in_arrayInitializer1220 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_annotation_in_modifier1236 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_45_in_modifier1246 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_46_in_modifier1256 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_47_in_modifier1266 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_27_in_modifier1276 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_48_in_modifier1286 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_49_in_modifier1296 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_50_in_modifier1306 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_51_in_modifier1316 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_52_in_modifier1326 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_53_in_modifier1336 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_54_in_modifier1346 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_Identifier_in_packageOrTypeName1360 = new BitSet(new long[]{0x0000000010000002L});
- public static final BitSet FOLLOW_28_in_packageOrTypeName1363 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_Identifier_in_packageOrTypeName1365 = new BitSet(new long[]{0x0000000010000002L});
- public static final BitSet FOLLOW_Identifier_in_enumConstantName1383 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_Identifier_in_typeName1399 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_packageOrTypeName_in_typeName1409 = new BitSet(new long[]{0x0000000010000000L});
- public static final BitSet FOLLOW_28_in_typeName1411 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_Identifier_in_typeName1413 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_Identifier_in_type1424 = new BitSet(new long[]{0x0000020210000002L});
- public static final BitSet FOLLOW_typeArguments_in_type1427 = new BitSet(new long[]{0x0000020010000002L});
- public static final BitSet FOLLOW_28_in_type1432 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_Identifier_in_type1434 = new BitSet(new long[]{0x0000020210000002L});
- public static final BitSet FOLLOW_typeArguments_in_type1437 = new BitSet(new long[]{0x0000020010000002L});
- public static final BitSet FOLLOW_41_in_type1445 = new BitSet(new long[]{0x0000040000000000L});
- public static final BitSet FOLLOW_42_in_type1447 = new BitSet(new long[]{0x0000020000000002L});
- public static final BitSet FOLLOW_primitiveType_in_type1454 = new BitSet(new long[]{0x0000020000000002L});
- public static final BitSet FOLLOW_41_in_type1457 = new BitSet(new long[]{0x0000040000000000L});
- public static final BitSet FOLLOW_42_in_type1459 = new BitSet(new long[]{0x0000020000000002L});
+ public static final BitSet FOLLOW_Identifier_in_variableDeclarator1082 = new BitSet(new long[]{0x0000120000000002L});
+ public static final BitSet FOLLOW_variableDeclaratorRest_in_variableDeclarator1084 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_41_in_variableDeclaratorRest1102 = new BitSet(new long[]{0x0000040000000000L});
+ public static final BitSet FOLLOW_42_in_variableDeclaratorRest1104 = new BitSet(new long[]{0x0000120000000002L});
+ public static final BitSet FOLLOW_44_in_variableDeclaratorRest1109 = new BitSet(new long[]{0x7F80012200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_variableInitializer_in_variableDeclaratorRest1111 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_44_in_variableDeclaratorRest1118 = new BitSet(new long[]{0x7F80012200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_variableInitializer_in_variableDeclaratorRest1120 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_constantDeclaratorRest_in_constantDeclaratorsRest1140 = new BitSet(new long[]{0x0000000400000002L});
+ public static final BitSet FOLLOW_34_in_constantDeclaratorsRest1143 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_constantDeclarator_in_constantDeclaratorsRest1145 = new BitSet(new long[]{0x0000000400000002L});
+ public static final BitSet FOLLOW_41_in_constantDeclaratorRest1162 = new BitSet(new long[]{0x0000040000000000L});
+ public static final BitSet FOLLOW_42_in_constantDeclaratorRest1164 = new BitSet(new long[]{0x0000120000000000L});
+ public static final BitSet FOLLOW_44_in_constantDeclaratorRest1168 = new BitSet(new long[]{0x7F80012200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_variableInitializer_in_constantDeclaratorRest1170 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_Identifier_in_variableDeclaratorId1182 = new BitSet(new long[]{0x0000020000000002L});
+ public static final BitSet FOLLOW_41_in_variableDeclaratorId1185 = new BitSet(new long[]{0x0000040000000000L});
+ public static final BitSet FOLLOW_42_in_variableDeclaratorId1187 = new BitSet(new long[]{0x0000020000000002L});
+ public static final BitSet FOLLOW_arrayInitializer_in_variableInitializer1200 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_expression_in_variableInitializer1210 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_37_in_arrayInitializer1222 = new BitSet(new long[]{0x7F80016200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_variableInitializer_in_arrayInitializer1225 = new BitSet(new long[]{0x0000004400000000L});
+ public static final BitSet FOLLOW_34_in_arrayInitializer1228 = new BitSet(new long[]{0x7F80012200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_variableInitializer_in_arrayInitializer1230 = new BitSet(new long[]{0x0000004400000000L});
+ public static final BitSet FOLLOW_34_in_arrayInitializer1235 = new BitSet(new long[]{0x0000004000000000L});
+ public static final BitSet FOLLOW_38_in_arrayInitializer1242 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_annotation_in_modifier1258 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_45_in_modifier1268 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_46_in_modifier1278 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_47_in_modifier1288 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_27_in_modifier1298 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_48_in_modifier1308 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_49_in_modifier1318 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_50_in_modifier1328 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_51_in_modifier1338 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_52_in_modifier1348 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_53_in_modifier1358 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_54_in_modifier1368 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_Identifier_in_packageOrTypeName1382 = new BitSet(new long[]{0x0000000010000002L});
+ public static final BitSet FOLLOW_28_in_packageOrTypeName1385 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_Identifier_in_packageOrTypeName1387 = new BitSet(new long[]{0x0000000010000002L});
+ public static final BitSet FOLLOW_Identifier_in_enumConstantName1405 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_Identifier_in_typeName1421 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_packageOrTypeName_in_typeName1431 = new BitSet(new long[]{0x0000000010000000L});
+ public static final BitSet FOLLOW_28_in_typeName1433 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_Identifier_in_typeName1435 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_Identifier_in_type1446 = new BitSet(new long[]{0x0000020210000002L});
+ public static final BitSet FOLLOW_typeArguments_in_type1449 = new BitSet(new long[]{0x0000020010000002L});
+ public static final BitSet FOLLOW_28_in_type1454 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_Identifier_in_type1456 = new BitSet(new long[]{0x0000020210000002L});
+ public static final BitSet FOLLOW_typeArguments_in_type1459 = new BitSet(new long[]{0x0000020010000002L});
+ public static final BitSet FOLLOW_41_in_type1467 = new BitSet(new long[]{0x0000040000000000L});
+ public static final BitSet FOLLOW_42_in_type1469 = new BitSet(new long[]{0x0000020000000002L});
+ public static final BitSet FOLLOW_primitiveType_in_type1476 = new BitSet(new long[]{0x0000020000000002L});
+ public static final BitSet FOLLOW_41_in_type1479 = new BitSet(new long[]{0x0000040000000000L});
+ public static final BitSet FOLLOW_42_in_type1481 = new BitSet(new long[]{0x0000020000000002L});
public static final BitSet FOLLOW_set_in_primitiveType0 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_49_in_variableModifier1547 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_annotation_in_variableModifier1557 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_33_in_typeArguments1568 = new BitSet(new long[]{0xFF80000000000010L});
- public static final BitSet FOLLOW_typeArgument_in_typeArguments1570 = new BitSet(new long[]{0x0000000C00000000L});
- public static final BitSet FOLLOW_34_in_typeArguments1573 = new BitSet(new long[]{0xFF80000000000010L});
- public static final BitSet FOLLOW_typeArgument_in_typeArguments1575 = new BitSet(new long[]{0x0000000C00000000L});
- public static final BitSet FOLLOW_35_in_typeArguments1579 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_type_in_typeArgument1591 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_63_in_typeArgument1596 = new BitSet(new long[]{0x0000000080000002L,0x0000000000000001L});
- public static final BitSet FOLLOW_set_in_typeArgument1599 = new BitSet(new long[]{0x7F80000000000010L});
- public static final BitSet FOLLOW_type_in_typeArgument1607 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_qualifiedName_in_qualifiedNameList1621 = new BitSet(new long[]{0x0000000400000002L});
- public static final BitSet FOLLOW_34_in_qualifiedNameList1624 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_qualifiedName_in_qualifiedNameList1626 = new BitSet(new long[]{0x0000000400000002L});
- public static final BitSet FOLLOW_65_in_formalParameters1640 = new BitSet(new long[]{0x7F82000000000010L,0x0000000000000084L});
- public static final BitSet FOLLOW_formalParameterDecls_in_formalParameters1642 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
- public static final BitSet FOLLOW_66_in_formalParameters1645 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_variableModifier_in_formalParameterDecls1657 = new BitSet(new long[]{0x7F82000000000010L,0x0000000000000080L});
- public static final BitSet FOLLOW_type_in_formalParameterDecls1660 = new BitSet(new long[]{0x0000000000000012L,0x0000000000000008L});
- public static final BitSet FOLLOW_formalParameterDeclsRest_in_formalParameterDecls1662 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_variableDeclaratorId_in_formalParameterDeclsRest1675 = new BitSet(new long[]{0x0000000400000002L});
- public static final BitSet FOLLOW_34_in_formalParameterDeclsRest1678 = new BitSet(new long[]{0x7F82000000000010L,0x0000000000000080L});
- public static final BitSet FOLLOW_formalParameterDecls_in_formalParameterDeclsRest1680 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_67_in_formalParameterDeclsRest1689 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_variableDeclaratorId_in_formalParameterDeclsRest1691 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_block_in_methodBody1703 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_Identifier_in_qualifiedName1714 = new BitSet(new long[]{0x0000000010000002L});
- public static final BitSet FOLLOW_28_in_qualifiedName1717 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_Identifier_in_qualifiedName1719 = new BitSet(new long[]{0x0000000010000002L});
- public static final BitSet FOLLOW_integerLiteral_in_literal1736 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_FloatingPointLiteral_in_literal1746 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_CharacterLiteral_in_literal1756 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_StringLiteral_in_literal1766 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_booleanLiteral_in_literal1776 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_68_in_literal1786 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_49_in_variableModifier1569 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_annotation_in_variableModifier1579 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_33_in_typeArguments1590 = new BitSet(new long[]{0xFF80000000000010L});
+ public static final BitSet FOLLOW_typeArgument_in_typeArguments1592 = new BitSet(new long[]{0x0000000C00000000L});
+ public static final BitSet FOLLOW_34_in_typeArguments1595 = new BitSet(new long[]{0xFF80000000000010L});
+ public static final BitSet FOLLOW_typeArgument_in_typeArguments1597 = new BitSet(new long[]{0x0000000C00000000L});
+ public static final BitSet FOLLOW_35_in_typeArguments1601 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_type_in_typeArgument1613 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_63_in_typeArgument1618 = new BitSet(new long[]{0x0000000080000002L,0x0000000000000001L});
+ public static final BitSet FOLLOW_set_in_typeArgument1621 = new BitSet(new long[]{0x7F80000000000010L});
+ public static final BitSet FOLLOW_type_in_typeArgument1629 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_qualifiedName_in_qualifiedNameList1643 = new BitSet(new long[]{0x0000000400000002L});
+ public static final BitSet FOLLOW_34_in_qualifiedNameList1646 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_qualifiedName_in_qualifiedNameList1648 = new BitSet(new long[]{0x0000000400000002L});
+ public static final BitSet FOLLOW_65_in_formalParameters1662 = new BitSet(new long[]{0x7F82000000000010L,0x0000000000000084L});
+ public static final BitSet FOLLOW_formalParameterDecls_in_formalParameters1664 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
+ public static final BitSet FOLLOW_66_in_formalParameters1667 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_variableModifier_in_formalParameterDecls1679 = new BitSet(new long[]{0x7F82000000000010L,0x0000000000000080L});
+ public static final BitSet FOLLOW_type_in_formalParameterDecls1682 = new BitSet(new long[]{0x0000000000000012L,0x0000000000000008L});
+ public static final BitSet FOLLOW_formalParameterDeclsRest_in_formalParameterDecls1684 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_variableDeclaratorId_in_formalParameterDeclsRest1697 = new BitSet(new long[]{0x0000000400000002L});
+ public static final BitSet FOLLOW_34_in_formalParameterDeclsRest1700 = new BitSet(new long[]{0x7F82000000000010L,0x0000000000000080L});
+ public static final BitSet FOLLOW_formalParameterDecls_in_formalParameterDeclsRest1702 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_67_in_formalParameterDeclsRest1711 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_variableDeclaratorId_in_formalParameterDeclsRest1713 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_block_in_methodBody1725 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_Identifier_in_qualifiedName1736 = new BitSet(new long[]{0x0000000010000002L});
+ public static final BitSet FOLLOW_28_in_qualifiedName1739 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_Identifier_in_qualifiedName1741 = new BitSet(new long[]{0x0000000010000002L});
+ public static final BitSet FOLLOW_integerLiteral_in_literal1758 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_FloatingPointLiteral_in_literal1768 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_CharacterLiteral_in_literal1778 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_StringLiteral_in_literal1788 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_booleanLiteral_in_literal1798 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_68_in_literal1808 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_set_in_integerLiteral0 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_set_in_booleanLiteral0 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_annotation_in_annotations1867 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000080L});
- public static final BitSet FOLLOW_71_in_annotation1879 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_annotationName_in_annotation1881 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000002L});
- public static final BitSet FOLLOW_65_in_annotation1884 = new BitSet(new long[]{0x7F80012200000FD0L,0x0003F300000000F7L});
- public static final BitSet FOLLOW_elementValuePairs_in_annotation1886 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
- public static final BitSet FOLLOW_66_in_annotation1889 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_Identifier_in_annotationName1903 = new BitSet(new long[]{0x0000000010000002L});
- public static final BitSet FOLLOW_28_in_annotationName1906 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_Identifier_in_annotationName1908 = new BitSet(new long[]{0x0000000010000002L});
- public static final BitSet FOLLOW_elementValuePair_in_elementValuePairs1922 = new BitSet(new long[]{0x0000000400000002L});
- public static final BitSet FOLLOW_34_in_elementValuePairs1925 = new BitSet(new long[]{0x7F80012200000FD0L,0x0003F300000000F3L});
- public static final BitSet FOLLOW_elementValuePair_in_elementValuePairs1927 = new BitSet(new long[]{0x0000000400000002L});
- public static final BitSet FOLLOW_Identifier_in_elementValuePair1942 = new BitSet(new long[]{0x0000100000000000L});
- public static final BitSet FOLLOW_44_in_elementValuePair1944 = new BitSet(new long[]{0x7F80012200000FD0L,0x0003F300000000F3L});
- public static final BitSet FOLLOW_elementValue_in_elementValuePair1948 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_conditionalExpression_in_elementValue1960 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_annotation_in_elementValue1967 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_elementValueArrayInitializer_in_elementValue1974 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_37_in_elementValueArrayInitializer1986 = new BitSet(new long[]{0x7F80016200000FD0L,0x0003F300000000F3L});
- public static final BitSet FOLLOW_elementValue_in_elementValueArrayInitializer1989 = new BitSet(new long[]{0x0000004400000000L});
- public static final BitSet FOLLOW_34_in_elementValueArrayInitializer1992 = new BitSet(new long[]{0x7F80012200000FD0L,0x0003F300000000F3L});
- public static final BitSet FOLLOW_elementValue_in_elementValueArrayInitializer1994 = new BitSet(new long[]{0x0000004400000000L});
- public static final BitSet FOLLOW_38_in_elementValueArrayInitializer2001 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_71_in_annotationTypeDeclaration2013 = new BitSet(new long[]{0x0000008000000000L});
- public static final BitSet FOLLOW_39_in_annotationTypeDeclaration2015 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_Identifier_in_annotationTypeDeclaration2017 = new BitSet(new long[]{0x0000002000000000L});
- public static final BitSet FOLLOW_annotationTypeBody_in_annotationTypeDeclaration2019 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_37_in_annotationTypeBody2031 = new BitSet(new long[]{0x7FFFE0C048000030L,0x0000000000000080L});
- public static final BitSet FOLLOW_annotationTypeElementDeclarations_in_annotationTypeBody2034 = new BitSet(new long[]{0x0000004000000000L});
- public static final BitSet FOLLOW_38_in_annotationTypeBody2038 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_annotationTypeElementDeclaration_in_annotationTypeElementDeclarations2051 = new BitSet(new long[]{0x7FFFE08048000032L,0x0000000000000080L});
- public static final BitSet FOLLOW_annotationTypeElementDeclaration_in_annotationTypeElementDeclarations2055 = new BitSet(new long[]{0x7FFFE08048000032L,0x0000000000000080L});
- public static final BitSet FOLLOW_modifier_in_annotationTypeElementDeclaration2070 = new BitSet(new long[]{0x7FFFE08048000030L,0x0000000000000080L});
- public static final BitSet FOLLOW_annotationTypeElementRest_in_annotationTypeElementDeclaration2074 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_type_in_annotationTypeElementRest2086 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_annotationMethodOrConstantRest_in_annotationTypeElementRest2088 = new BitSet(new long[]{0x0000000002000000L});
- public static final BitSet FOLLOW_25_in_annotationTypeElementRest2090 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_classDeclaration_in_annotationTypeElementRest2097 = new BitSet(new long[]{0x0000000002000002L});
- public static final BitSet FOLLOW_25_in_annotationTypeElementRest2099 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_interfaceDeclaration_in_annotationTypeElementRest2107 = new BitSet(new long[]{0x0000000002000002L});
- public static final BitSet FOLLOW_25_in_annotationTypeElementRest2109 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_enumDeclaration_in_annotationTypeElementRest2117 = new BitSet(new long[]{0x0000000002000002L});
- public static final BitSet FOLLOW_25_in_annotationTypeElementRest2119 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_annotationTypeDeclaration_in_annotationTypeElementRest2127 = new BitSet(new long[]{0x0000000002000002L});
- public static final BitSet FOLLOW_25_in_annotationTypeElementRest2129 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_annotationMethodRest_in_annotationMethodOrConstantRest2142 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_annotationConstantRest_in_annotationMethodOrConstantRest2149 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_Identifier_in_annotationMethodRest2162 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
- public static final BitSet FOLLOW_65_in_annotationMethodRest2164 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
- public static final BitSet FOLLOW_66_in_annotationMethodRest2166 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000100L});
- public static final BitSet FOLLOW_defaultValue_in_annotationMethodRest2169 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_variableDeclarators_in_annotationConstantRest2186 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_72_in_defaultValue2201 = new BitSet(new long[]{0x7F80012200000FD0L,0x0003F300000000F3L});
- public static final BitSet FOLLOW_elementValue_in_defaultValue2203 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_37_in_block2217 = new BitSet(new long[]{0x7FFFE1E24A000FF0L,0x0003F300007DEAF3L});
- public static final BitSet FOLLOW_blockStatement_in_block2219 = new BitSet(new long[]{0x7FFFE1E24A000FF0L,0x0003F300007DEAF3L});
- public static final BitSet FOLLOW_38_in_block2222 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_localVariableDeclaration_in_blockStatement2234 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_classOrInterfaceDeclaration_in_blockStatement2239 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_statement_in_blockStatement2248 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_variableModifier_in_localVariableDeclaration2260 = new BitSet(new long[]{0x7F82000000000010L,0x0000000000000080L});
- public static final BitSet FOLLOW_type_in_localVariableDeclaration2263 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_variableDeclarators_in_localVariableDeclaration2265 = new BitSet(new long[]{0x0000000002000000L});
- public static final BitSet FOLLOW_25_in_localVariableDeclaration2267 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_block_in_statement2279 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_73_in_statement2287 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_expression_in_statement2289 = new BitSet(new long[]{0x0000000002000000L,0x0000000000000400L});
- public static final BitSet FOLLOW_74_in_statement2292 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_expression_in_statement2294 = new BitSet(new long[]{0x0000000002000000L});
- public static final BitSet FOLLOW_25_in_statement2298 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_75_in_statement2306 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
- public static final BitSet FOLLOW_parExpression_in_statement2308 = new BitSet(new long[]{0x7F88012202000FD0L,0x0003F300007DEA73L});
- public static final BitSet FOLLOW_statement_in_statement2310 = new BitSet(new long[]{0x0000000000000002L,0x0000000000001000L});
- public static final BitSet FOLLOW_76_in_statement2320 = new BitSet(new long[]{0x7F88012202000FD0L,0x0003F300007DEA73L});
- public static final BitSet FOLLOW_statement_in_statement2322 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_77_in_statement2332 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
- public static final BitSet FOLLOW_65_in_statement2334 = new BitSet(new long[]{0x7F82010202000FD0L,0x0003F300000000F3L});
- public static final BitSet FOLLOW_forControl_in_statement2336 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
- public static final BitSet FOLLOW_66_in_statement2338 = new BitSet(new long[]{0x7F88012202000FD0L,0x0003F300007DEA73L});
- public static final BitSet FOLLOW_statement_in_statement2340 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_78_in_statement2348 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
- public static final BitSet FOLLOW_parExpression_in_statement2350 = new BitSet(new long[]{0x7F88012202000FD0L,0x0003F300007DEA73L});
- public static final BitSet FOLLOW_statement_in_statement2352 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_79_in_statement2360 = new BitSet(new long[]{0x7F88012202000FD0L,0x0003F300007DEA73L});
- public static final BitSet FOLLOW_statement_in_statement2362 = new BitSet(new long[]{0x0000000000000000L,0x0000000000004000L});
- public static final BitSet FOLLOW_78_in_statement2364 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
- public static final BitSet FOLLOW_parExpression_in_statement2366 = new BitSet(new long[]{0x0000000002000000L});
- public static final BitSet FOLLOW_25_in_statement2368 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_80_in_statement2376 = new BitSet(new long[]{0x0000002000000000L});
- public static final BitSet FOLLOW_block_in_statement2378 = new BitSet(new long[]{0x0000000000000000L,0x0000000000820000L});
- public static final BitSet FOLLOW_catches_in_statement2388 = new BitSet(new long[]{0x0000000000000000L,0x0000000000020000L});
- public static final BitSet FOLLOW_81_in_statement2390 = new BitSet(new long[]{0x0000002000000000L});
- public static final BitSet FOLLOW_block_in_statement2392 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_catches_in_statement2402 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_81_in_statement2412 = new BitSet(new long[]{0x0000002000000000L});
- public static final BitSet FOLLOW_block_in_statement2414 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_82_in_statement2430 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
- public static final BitSet FOLLOW_parExpression_in_statement2432 = new BitSet(new long[]{0x0000002000000000L});
- public static final BitSet FOLLOW_37_in_statement2434 = new BitSet(new long[]{0x0000004000000000L,0x0000000001000100L});
- public static final BitSet FOLLOW_switchBlockStatementGroups_in_statement2436 = new BitSet(new long[]{0x0000004000000000L});
- public static final BitSet FOLLOW_38_in_statement2438 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_51_in_statement2446 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
- public static final BitSet FOLLOW_parExpression_in_statement2448 = new BitSet(new long[]{0x0000002000000000L});
- public static final BitSet FOLLOW_block_in_statement2450 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_83_in_statement2458 = new BitSet(new long[]{0x7F80010202000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_expression_in_statement2460 = new BitSet(new long[]{0x0000000002000000L});
- public static final BitSet FOLLOW_25_in_statement2463 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_84_in_statement2471 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_expression_in_statement2473 = new BitSet(new long[]{0x0000000002000000L});
- public static final BitSet FOLLOW_25_in_statement2475 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_85_in_statement2483 = new BitSet(new long[]{0x0000000002000010L});
- public static final BitSet FOLLOW_Identifier_in_statement2485 = new BitSet(new long[]{0x0000000002000000L});
- public static final BitSet FOLLOW_25_in_statement2488 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_86_in_statement2496 = new BitSet(new long[]{0x0000000002000010L});
- public static final BitSet FOLLOW_Identifier_in_statement2498 = new BitSet(new long[]{0x0000000002000000L});
- public static final BitSet FOLLOW_25_in_statement2501 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_25_in_statement2509 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_statementExpression_in_statement2517 = new BitSet(new long[]{0x0000000002000000L});
- public static final BitSet FOLLOW_25_in_statement2519 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_Identifier_in_statement2527 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L});
- public static final BitSet FOLLOW_74_in_statement2529 = new BitSet(new long[]{0x7F88012202000FD0L,0x0003F300007DEA73L});
- public static final BitSet FOLLOW_statement_in_statement2531 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_catchClause_in_catches2543 = new BitSet(new long[]{0x0000000000000002L,0x0000000000800000L});
- public static final BitSet FOLLOW_catchClause_in_catches2546 = new BitSet(new long[]{0x0000000000000002L,0x0000000000800000L});
- public static final BitSet FOLLOW_87_in_catchClause2560 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
- public static final BitSet FOLLOW_65_in_catchClause2562 = new BitSet(new long[]{0x7F82000000000010L,0x0000000000000080L});
- public static final BitSet FOLLOW_formalParameter_in_catchClause2564 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
- public static final BitSet FOLLOW_66_in_catchClause2566 = new BitSet(new long[]{0x0000002000000000L});
- public static final BitSet FOLLOW_block_in_catchClause2568 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_variableModifier_in_formalParameter2579 = new BitSet(new long[]{0x7F82000000000010L,0x0000000000000080L});
- public static final BitSet FOLLOW_type_in_formalParameter2582 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_variableDeclaratorId_in_formalParameter2584 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_switchBlockStatementGroup_in_switchBlockStatementGroups2598 = new BitSet(new long[]{0x0000000000000002L,0x0000000001000100L});
- public static final BitSet FOLLOW_switchLabel_in_switchBlockStatementGroup2612 = new BitSet(new long[]{0x7FFFE1A24A000FF2L,0x0003F300007DEAF3L});
- public static final BitSet FOLLOW_blockStatement_in_switchBlockStatementGroup2614 = new BitSet(new long[]{0x7FFFE1A24A000FF2L,0x0003F300007DEAF3L});
- public static final BitSet FOLLOW_88_in_switchLabel2627 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_constantExpression_in_switchLabel2629 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L});
- public static final BitSet FOLLOW_74_in_switchLabel2631 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_88_in_switchLabel2638 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_enumConstantName_in_switchLabel2640 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L});
- public static final BitSet FOLLOW_74_in_switchLabel2642 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_72_in_switchLabel2649 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L});
- public static final BitSet FOLLOW_74_in_switchLabel2651 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_34_in_moreStatementExpressions2664 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_statementExpression_in_moreStatementExpressions2666 = new BitSet(new long[]{0x0000000400000002L});
- public static final BitSet FOLLOW_forVarControl_in_forControl2687 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_forInit_in_forControl2692 = new BitSet(new long[]{0x0000000002000000L});
- public static final BitSet FOLLOW_25_in_forControl2695 = new BitSet(new long[]{0x7F80010202000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_expression_in_forControl2697 = new BitSet(new long[]{0x0000000002000000L});
- public static final BitSet FOLLOW_25_in_forControl2700 = new BitSet(new long[]{0x7F80010200000FD2L,0x0003F30000000073L});
- public static final BitSet FOLLOW_forUpdate_in_forControl2702 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_variableModifier_in_forInit2714 = new BitSet(new long[]{0x7F82000000000010L,0x0000000000000080L});
- public static final BitSet FOLLOW_type_in_forInit2717 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_variableDeclarators_in_forInit2719 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_expressionList_in_forInit2724 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_variableModifier_in_forVarControl2736 = new BitSet(new long[]{0x7F82000000000010L,0x0000000000000080L});
- public static final BitSet FOLLOW_type_in_forVarControl2739 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_Identifier_in_forVarControl2741 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L});
- public static final BitSet FOLLOW_74_in_forVarControl2743 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_expression_in_forVarControl2745 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_expressionList_in_forUpdate2756 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_65_in_parExpression2769 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_expression_in_parExpression2771 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
- public static final BitSet FOLLOW_66_in_parExpression2773 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_expression_in_expressionList2790 = new BitSet(new long[]{0x0000000400000002L});
- public static final BitSet FOLLOW_34_in_expressionList2793 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_expression_in_expressionList2795 = new BitSet(new long[]{0x0000000400000002L});
- public static final BitSet FOLLOW_expression_in_statementExpression2811 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_expression_in_constantExpression2823 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_conditionalExpression_in_expression2835 = new BitSet(new long[]{0x0000100A00000002L,0x00000001FE000000L});
- public static final BitSet FOLLOW_assignmentOperator_in_expression2838 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_expression_in_expression2840 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_44_in_assignmentOperator2854 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_89_in_assignmentOperator2864 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_90_in_assignmentOperator2874 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_91_in_assignmentOperator2884 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_92_in_assignmentOperator2894 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_93_in_assignmentOperator2904 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_94_in_assignmentOperator2914 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_95_in_assignmentOperator2924 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_96_in_assignmentOperator2934 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_33_in_assignmentOperator2944 = new BitSet(new long[]{0x0000000200000000L});
- public static final BitSet FOLLOW_33_in_assignmentOperator2946 = new BitSet(new long[]{0x0000100000000000L});
- public static final BitSet FOLLOW_44_in_assignmentOperator2948 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_35_in_assignmentOperator2958 = new BitSet(new long[]{0x0000000800000000L});
- public static final BitSet FOLLOW_35_in_assignmentOperator2960 = new BitSet(new long[]{0x0000100000000000L});
- public static final BitSet FOLLOW_44_in_assignmentOperator2962 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_35_in_assignmentOperator2972 = new BitSet(new long[]{0x0000000800000000L});
- public static final BitSet FOLLOW_35_in_assignmentOperator2974 = new BitSet(new long[]{0x0000000800000000L});
- public static final BitSet FOLLOW_35_in_assignmentOperator2976 = new BitSet(new long[]{0x0000100000000000L});
- public static final BitSet FOLLOW_44_in_assignmentOperator2978 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_conditionalOrExpression_in_conditionalExpression2994 = new BitSet(new long[]{0x8000000000000002L});
- public static final BitSet FOLLOW_63_in_conditionalExpression2998 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_expression_in_conditionalExpression3000 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L});
- public static final BitSet FOLLOW_74_in_conditionalExpression3002 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_expression_in_conditionalExpression3004 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_conditionalAndExpression_in_conditionalOrExpression3023 = new BitSet(new long[]{0x0000000000000002L,0x0000000200000000L});
- public static final BitSet FOLLOW_97_in_conditionalOrExpression3027 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_conditionalAndExpression_in_conditionalOrExpression3029 = new BitSet(new long[]{0x0000000000000002L,0x0000000200000000L});
- public static final BitSet FOLLOW_inclusiveOrExpression_in_conditionalAndExpression3048 = new BitSet(new long[]{0x0000000000000002L,0x0000000400000000L});
- public static final BitSet FOLLOW_98_in_conditionalAndExpression3052 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_inclusiveOrExpression_in_conditionalAndExpression3054 = new BitSet(new long[]{0x0000000000000002L,0x0000000400000000L});
- public static final BitSet FOLLOW_exclusiveOrExpression_in_inclusiveOrExpression3073 = new BitSet(new long[]{0x0000000000000002L,0x0000000800000000L});
- public static final BitSet FOLLOW_99_in_inclusiveOrExpression3077 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_exclusiveOrExpression_in_inclusiveOrExpression3079 = new BitSet(new long[]{0x0000000000000002L,0x0000000800000000L});
- public static final BitSet FOLLOW_andExpression_in_exclusiveOrExpression3098 = new BitSet(new long[]{0x0000000000000002L,0x0000001000000000L});
- public static final BitSet FOLLOW_100_in_exclusiveOrExpression3102 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_andExpression_in_exclusiveOrExpression3104 = new BitSet(new long[]{0x0000000000000002L,0x0000001000000000L});
- public static final BitSet FOLLOW_equalityExpression_in_andExpression3123 = new BitSet(new long[]{0x0000001000000002L});
- public static final BitSet FOLLOW_36_in_andExpression3127 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_equalityExpression_in_andExpression3129 = new BitSet(new long[]{0x0000001000000002L});
- public static final BitSet FOLLOW_instanceOfExpression_in_equalityExpression3148 = new BitSet(new long[]{0x0000000000000002L,0x0000006000000000L});
- public static final BitSet FOLLOW_set_in_equalityExpression3152 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_instanceOfExpression_in_equalityExpression3160 = new BitSet(new long[]{0x0000000000000002L,0x0000006000000000L});
- public static final BitSet FOLLOW_relationalExpression_in_instanceOfExpression3179 = new BitSet(new long[]{0x0000000000000002L,0x0000008000000000L});
- public static final BitSet FOLLOW_103_in_instanceOfExpression3182 = new BitSet(new long[]{0x7F80000000000010L});
- public static final BitSet FOLLOW_type_in_instanceOfExpression3184 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_shiftExpression_in_relationalExpression3202 = new BitSet(new long[]{0x0000000A00000002L});
- public static final BitSet FOLLOW_relationalOp_in_relationalExpression3206 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_shiftExpression_in_relationalExpression3208 = new BitSet(new long[]{0x0000000A00000002L});
- public static final BitSet FOLLOW_33_in_relationalOp3224 = new BitSet(new long[]{0x0000100000000000L});
- public static final BitSet FOLLOW_44_in_relationalOp3226 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_35_in_relationalOp3230 = new BitSet(new long[]{0x0000100000000000L});
- public static final BitSet FOLLOW_44_in_relationalOp3232 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_33_in_relationalOp3236 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_35_in_relationalOp3240 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_additiveExpression_in_shiftExpression3257 = new BitSet(new long[]{0x0000000A00000002L});
- public static final BitSet FOLLOW_shiftOp_in_shiftExpression3261 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_additiveExpression_in_shiftExpression3263 = new BitSet(new long[]{0x0000000A00000002L});
- public static final BitSet FOLLOW_33_in_shiftOp3287 = new BitSet(new long[]{0x0000000200000000L});
- public static final BitSet FOLLOW_33_in_shiftOp3289 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_35_in_shiftOp3293 = new BitSet(new long[]{0x0000000800000000L});
- public static final BitSet FOLLOW_35_in_shiftOp3295 = new BitSet(new long[]{0x0000000800000000L});
- public static final BitSet FOLLOW_35_in_shiftOp3297 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_35_in_shiftOp3301 = new BitSet(new long[]{0x0000000800000000L});
- public static final BitSet FOLLOW_35_in_shiftOp3303 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_multiplicativeExpression_in_additiveExpression3321 = new BitSet(new long[]{0x0000000000000002L,0x0000030000000000L});
- public static final BitSet FOLLOW_set_in_additiveExpression3325 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_multiplicativeExpression_in_additiveExpression3333 = new BitSet(new long[]{0x0000000000000002L,0x0000030000000000L});
- public static final BitSet FOLLOW_unaryExpression_in_multiplicativeExpression3352 = new BitSet(new long[]{0x0000000020000002L,0x00000C0000000000L});
- public static final BitSet FOLLOW_set_in_multiplicativeExpression3356 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_unaryExpression_in_multiplicativeExpression3370 = new BitSet(new long[]{0x0000000020000002L,0x00000C0000000000L});
- public static final BitSet FOLLOW_104_in_unaryExpression3390 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_unaryExpression_in_unaryExpression3392 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_105_in_unaryExpression3400 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_unaryExpression_in_unaryExpression3402 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_108_in_unaryExpression3412 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003000000000073L});
- public static final BitSet FOLLOW_primary_in_unaryExpression3414 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_109_in_unaryExpression3424 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003000000000073L});
- public static final BitSet FOLLOW_primary_in_unaryExpression3426 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_unaryExpressionNotPlusMinus_in_unaryExpression3436 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_110_in_unaryExpressionNotPlusMinus3455 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_unaryExpression_in_unaryExpressionNotPlusMinus3457 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_111_in_unaryExpressionNotPlusMinus3466 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_unaryExpression_in_unaryExpressionNotPlusMinus3468 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_castExpression_in_unaryExpressionNotPlusMinus3478 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_primary_in_unaryExpressionNotPlusMinus3488 = new BitSet(new long[]{0x0000020010000002L,0x0000300000000000L});
- public static final BitSet FOLLOW_selector_in_unaryExpressionNotPlusMinus3490 = new BitSet(new long[]{0x0000020010000002L,0x0000300000000000L});
- public static final BitSet FOLLOW_set_in_unaryExpressionNotPlusMinus3493 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_65_in_castExpression3516 = new BitSet(new long[]{0x7F80000000000000L});
- public static final BitSet FOLLOW_primitiveType_in_castExpression3518 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
- public static final BitSet FOLLOW_66_in_castExpression3520 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_unaryExpression_in_castExpression3522 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_65_in_castExpression3531 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_type_in_castExpression3534 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
- public static final BitSet FOLLOW_expression_in_castExpression3538 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
- public static final BitSet FOLLOW_66_in_castExpression3541 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003C00000000073L});
- public static final BitSet FOLLOW_unaryExpressionNotPlusMinus_in_castExpression3543 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_parExpression_in_primary3560 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_nonWildcardTypeArguments_in_primary3570 = new BitSet(new long[]{0x0000000000000010L,0x0001000000000001L});
- public static final BitSet FOLLOW_explicitGenericInvocationSuffix_in_primary3581 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_112_in_primary3585 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
- public static final BitSet FOLLOW_arguments_in_primary3587 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_112_in_primary3598 = new BitSet(new long[]{0x0000020010000002L,0x0000000000000002L});
- public static final BitSet FOLLOW_28_in_primary3601 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_Identifier_in_primary3603 = new BitSet(new long[]{0x0000020010000002L,0x0000000000000002L});
- public static final BitSet FOLLOW_identifierSuffix_in_primary3608 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_64_in_primary3620 = new BitSet(new long[]{0x0000000010000000L,0x0000000000000002L});
- public static final BitSet FOLLOW_superSuffix_in_primary3622 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_literal_in_primary3632 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_113_in_primary3642 = new BitSet(new long[]{0x7F80000200000010L});
- public static final BitSet FOLLOW_creator_in_primary3644 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_Identifier_in_primary3656 = new BitSet(new long[]{0x0000020010000002L,0x0000000000000002L});
- public static final BitSet FOLLOW_28_in_primary3661 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_Identifier_in_primary3663 = new BitSet(new long[]{0x0000020010000002L,0x0000000000000002L});
- public static final BitSet FOLLOW_identifierSuffix_in_primary3668 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_primitiveType_in_primary3680 = new BitSet(new long[]{0x0000020010000000L});
- public static final BitSet FOLLOW_41_in_primary3683 = new BitSet(new long[]{0x0000040000000000L});
- public static final BitSet FOLLOW_42_in_primary3685 = new BitSet(new long[]{0x0000020010000000L});
- public static final BitSet FOLLOW_28_in_primary3689 = new BitSet(new long[]{0x0000000040000000L});
- public static final BitSet FOLLOW_30_in_primary3691 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_40_in_primary3701 = new BitSet(new long[]{0x0000000010000000L});
- public static final BitSet FOLLOW_28_in_primary3703 = new BitSet(new long[]{0x0000000040000000L});
- public static final BitSet FOLLOW_30_in_primary3705 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_41_in_identifierSuffix3717 = new BitSet(new long[]{0x0000040000000000L});
- public static final BitSet FOLLOW_42_in_identifierSuffix3719 = new BitSet(new long[]{0x0000020010000000L});
- public static final BitSet FOLLOW_28_in_identifierSuffix3723 = new BitSet(new long[]{0x0000000040000000L});
- public static final BitSet FOLLOW_30_in_identifierSuffix3725 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_41_in_identifierSuffix3731 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_expression_in_identifierSuffix3733 = new BitSet(new long[]{0x0000040000000000L});
- public static final BitSet FOLLOW_42_in_identifierSuffix3735 = new BitSet(new long[]{0x0000020000000002L});
- public static final BitSet FOLLOW_arguments_in_identifierSuffix3748 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_28_in_identifierSuffix3758 = new BitSet(new long[]{0x0000000040000000L});
- public static final BitSet FOLLOW_30_in_identifierSuffix3760 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_28_in_identifierSuffix3770 = new BitSet(new long[]{0x0000000200000000L});
- public static final BitSet FOLLOW_explicitGenericInvocation_in_identifierSuffix3772 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_28_in_identifierSuffix3782 = new BitSet(new long[]{0x0000000000000000L,0x0001000000000000L});
- public static final BitSet FOLLOW_112_in_identifierSuffix3784 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_28_in_identifierSuffix3794 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L});
- public static final BitSet FOLLOW_64_in_identifierSuffix3796 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
- public static final BitSet FOLLOW_arguments_in_identifierSuffix3798 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_28_in_identifierSuffix3808 = new BitSet(new long[]{0x0000000000000000L,0x0002000000000000L});
- public static final BitSet FOLLOW_113_in_identifierSuffix3810 = new BitSet(new long[]{0x0000000200000010L});
- public static final BitSet FOLLOW_nonWildcardTypeArguments_in_identifierSuffix3813 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_innerCreator_in_identifierSuffix3817 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_nonWildcardTypeArguments_in_creator3829 = new BitSet(new long[]{0x7F80000000000010L});
- public static final BitSet FOLLOW_createdName_in_creator3832 = new BitSet(new long[]{0x0000020000000000L,0x0000000000000002L});
- public static final BitSet FOLLOW_arrayCreatorRest_in_creator3843 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_classCreatorRest_in_creator3847 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_Identifier_in_createdName3859 = new BitSet(new long[]{0x0000000210000002L});
- public static final BitSet FOLLOW_typeArguments_in_createdName3861 = new BitSet(new long[]{0x0000000010000002L});
- public static final BitSet FOLLOW_28_in_createdName3873 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_Identifier_in_createdName3875 = new BitSet(new long[]{0x0000000210000002L});
- public static final BitSet FOLLOW_typeArguments_in_createdName3877 = new BitSet(new long[]{0x0000000010000002L});
- public static final BitSet FOLLOW_primitiveType_in_createdName3888 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_Identifier_in_innerCreator3900 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
- public static final BitSet FOLLOW_classCreatorRest_in_innerCreator3902 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_41_in_arrayCreatorRest3913 = new BitSet(new long[]{0x7F80050200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_42_in_arrayCreatorRest3927 = new BitSet(new long[]{0x0000022000000000L});
- public static final BitSet FOLLOW_41_in_arrayCreatorRest3930 = new BitSet(new long[]{0x0000040000000000L});
- public static final BitSet FOLLOW_42_in_arrayCreatorRest3932 = new BitSet(new long[]{0x0000022000000000L});
- public static final BitSet FOLLOW_arrayInitializer_in_arrayCreatorRest3936 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_expression_in_arrayCreatorRest3950 = new BitSet(new long[]{0x0000040000000000L});
- public static final BitSet FOLLOW_42_in_arrayCreatorRest3952 = new BitSet(new long[]{0x0000020000000002L});
- public static final BitSet FOLLOW_41_in_arrayCreatorRest3955 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_expression_in_arrayCreatorRest3957 = new BitSet(new long[]{0x0000040000000000L});
- public static final BitSet FOLLOW_42_in_arrayCreatorRest3959 = new BitSet(new long[]{0x0000020000000002L});
- public static final BitSet FOLLOW_41_in_arrayCreatorRest3964 = new BitSet(new long[]{0x0000040000000000L});
- public static final BitSet FOLLOW_42_in_arrayCreatorRest3966 = new BitSet(new long[]{0x0000020000000002L});
- public static final BitSet FOLLOW_arguments_in_classCreatorRest3989 = new BitSet(new long[]{0x0000002000000002L});
- public static final BitSet FOLLOW_classBody_in_classCreatorRest3991 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_nonWildcardTypeArguments_in_explicitGenericInvocation4004 = new BitSet(new long[]{0x0000000000000010L,0x0000000000000001L});
- public static final BitSet FOLLOW_explicitGenericInvocationSuffix_in_explicitGenericInvocation4006 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_33_in_nonWildcardTypeArguments4018 = new BitSet(new long[]{0x7F80000000000010L});
- public static final BitSet FOLLOW_typeList_in_nonWildcardTypeArguments4020 = new BitSet(new long[]{0x0000000800000000L});
- public static final BitSet FOLLOW_35_in_nonWildcardTypeArguments4022 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_64_in_explicitGenericInvocationSuffix4034 = new BitSet(new long[]{0x0000000010000000L,0x0000000000000002L});
- public static final BitSet FOLLOW_superSuffix_in_explicitGenericInvocationSuffix4036 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_Identifier_in_explicitGenericInvocationSuffix4043 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
- public static final BitSet FOLLOW_arguments_in_explicitGenericInvocationSuffix4045 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_28_in_selector4057 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_Identifier_in_selector4059 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000002L});
- public static final BitSet FOLLOW_arguments_in_selector4062 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_28_in_selector4071 = new BitSet(new long[]{0x0000000000000000L,0x0001000000000000L});
- public static final BitSet FOLLOW_112_in_selector4073 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_28_in_selector4080 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L});
- public static final BitSet FOLLOW_64_in_selector4082 = new BitSet(new long[]{0x0000000010000000L,0x0000000000000002L});
- public static final BitSet FOLLOW_superSuffix_in_selector4084 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_28_in_selector4091 = new BitSet(new long[]{0x0000000000000000L,0x0002000000000000L});
- public static final BitSet FOLLOW_113_in_selector4093 = new BitSet(new long[]{0x0000000200000010L});
- public static final BitSet FOLLOW_nonWildcardTypeArguments_in_selector4096 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_innerCreator_in_selector4100 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_41_in_selector4107 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_expression_in_selector4109 = new BitSet(new long[]{0x0000040000000000L});
- public static final BitSet FOLLOW_42_in_selector4111 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_arguments_in_superSuffix4123 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_28_in_superSuffix4130 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_Identifier_in_superSuffix4132 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000002L});
- public static final BitSet FOLLOW_arguments_in_superSuffix4135 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_65_in_arguments4151 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000077L});
- public static final BitSet FOLLOW_expressionList_in_arguments4153 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
- public static final BitSet FOLLOW_66_in_arguments4156 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_annotation_in_annotations1889 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000080L});
+ public static final BitSet FOLLOW_71_in_annotation1901 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_annotationName_in_annotation1903 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000002L});
+ public static final BitSet FOLLOW_65_in_annotation1906 = new BitSet(new long[]{0x7F80012200000FD0L,0x0003F300000000F7L});
+ public static final BitSet FOLLOW_elementValuePairs_in_annotation1908 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
+ public static final BitSet FOLLOW_66_in_annotation1911 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_Identifier_in_annotationName1925 = new BitSet(new long[]{0x0000000010000002L});
+ public static final BitSet FOLLOW_28_in_annotationName1928 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_Identifier_in_annotationName1930 = new BitSet(new long[]{0x0000000010000002L});
+ public static final BitSet FOLLOW_elementValuePair_in_elementValuePairs1944 = new BitSet(new long[]{0x0000000400000002L});
+ public static final BitSet FOLLOW_34_in_elementValuePairs1947 = new BitSet(new long[]{0x7F80012200000FD0L,0x0003F300000000F3L});
+ public static final BitSet FOLLOW_elementValuePair_in_elementValuePairs1949 = new BitSet(new long[]{0x0000000400000002L});
+ public static final BitSet FOLLOW_Identifier_in_elementValuePair1964 = new BitSet(new long[]{0x0000100000000000L});
+ public static final BitSet FOLLOW_44_in_elementValuePair1966 = new BitSet(new long[]{0x7F80012200000FD0L,0x0003F300000000F3L});
+ public static final BitSet FOLLOW_elementValue_in_elementValuePair1970 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_conditionalExpression_in_elementValue1982 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_annotation_in_elementValue1989 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_elementValueArrayInitializer_in_elementValue1996 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_37_in_elementValueArrayInitializer2008 = new BitSet(new long[]{0x7F80016200000FD0L,0x0003F300000000F3L});
+ public static final BitSet FOLLOW_elementValue_in_elementValueArrayInitializer2011 = new BitSet(new long[]{0x0000004400000000L});
+ public static final BitSet FOLLOW_34_in_elementValueArrayInitializer2014 = new BitSet(new long[]{0x7F80012200000FD0L,0x0003F300000000F3L});
+ public static final BitSet FOLLOW_elementValue_in_elementValueArrayInitializer2016 = new BitSet(new long[]{0x0000004400000000L});
+ public static final BitSet FOLLOW_38_in_elementValueArrayInitializer2023 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_71_in_annotationTypeDeclaration2035 = new BitSet(new long[]{0x0000008000000000L});
+ public static final BitSet FOLLOW_39_in_annotationTypeDeclaration2037 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_Identifier_in_annotationTypeDeclaration2039 = new BitSet(new long[]{0x0000002000000000L});
+ public static final BitSet FOLLOW_annotationTypeBody_in_annotationTypeDeclaration2041 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_37_in_annotationTypeBody2053 = new BitSet(new long[]{0x7FFFE0C048000030L,0x0000000000000080L});
+ public static final BitSet FOLLOW_annotationTypeElementDeclarations_in_annotationTypeBody2056 = new BitSet(new long[]{0x0000004000000000L});
+ public static final BitSet FOLLOW_38_in_annotationTypeBody2060 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_annotationTypeElementDeclaration_in_annotationTypeElementDeclarations2073 = new BitSet(new long[]{0x7FFFE08048000032L,0x0000000000000080L});
+ public static final BitSet FOLLOW_annotationTypeElementDeclaration_in_annotationTypeElementDeclarations2077 = new BitSet(new long[]{0x7FFFE08048000032L,0x0000000000000080L});
+ public static final BitSet FOLLOW_modifier_in_annotationTypeElementDeclaration2092 = new BitSet(new long[]{0x7FFFE08048000030L,0x0000000000000080L});
+ public static final BitSet FOLLOW_annotationTypeElementRest_in_annotationTypeElementDeclaration2096 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_type_in_annotationTypeElementRest2108 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_annotationMethodOrConstantRest_in_annotationTypeElementRest2110 = new BitSet(new long[]{0x0000000002000000L});
+ public static final BitSet FOLLOW_25_in_annotationTypeElementRest2112 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_classDeclaration_in_annotationTypeElementRest2119 = new BitSet(new long[]{0x0000000002000002L});
+ public static final BitSet FOLLOW_25_in_annotationTypeElementRest2121 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_interfaceDeclaration_in_annotationTypeElementRest2129 = new BitSet(new long[]{0x0000000002000002L});
+ public static final BitSet FOLLOW_25_in_annotationTypeElementRest2131 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_enumDeclaration_in_annotationTypeElementRest2139 = new BitSet(new long[]{0x0000000002000002L});
+ public static final BitSet FOLLOW_25_in_annotationTypeElementRest2141 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_annotationTypeDeclaration_in_annotationTypeElementRest2149 = new BitSet(new long[]{0x0000000002000002L});
+ public static final BitSet FOLLOW_25_in_annotationTypeElementRest2151 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_annotationMethodRest_in_annotationMethodOrConstantRest2164 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_annotationConstantRest_in_annotationMethodOrConstantRest2171 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_Identifier_in_annotationMethodRest2184 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
+ public static final BitSet FOLLOW_65_in_annotationMethodRest2186 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
+ public static final BitSet FOLLOW_66_in_annotationMethodRest2188 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000100L});
+ public static final BitSet FOLLOW_defaultValue_in_annotationMethodRest2191 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_variableDeclarators_in_annotationConstantRest2208 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_72_in_defaultValue2223 = new BitSet(new long[]{0x7F80012200000FD0L,0x0003F300000000F3L});
+ public static final BitSet FOLLOW_elementValue_in_defaultValue2225 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_37_in_block2239 = new BitSet(new long[]{0x7FFFE1E24A000FF0L,0x0003F300007DEAF3L});
+ public static final BitSet FOLLOW_blockStatement_in_block2241 = new BitSet(new long[]{0x7FFFE1E24A000FF0L,0x0003F300007DEAF3L});
+ public static final BitSet FOLLOW_38_in_block2244 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_localVariableDeclaration_in_blockStatement2256 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_classOrInterfaceDeclaration_in_blockStatement2261 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_statement_in_blockStatement2270 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_variableModifier_in_localVariableDeclaration2318 = new BitSet(new long[]{0x7F82000000000010L,0x0000000000000080L});
+ public static final BitSet FOLLOW_type_in_localVariableDeclaration2335 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_variableDeclarators_in_localVariableDeclaration2346 = new BitSet(new long[]{0x0000000002000000L});
+ public static final BitSet FOLLOW_25_in_localVariableDeclaration2348 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_block_in_statement2360 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_73_in_statement2368 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_expression_in_statement2370 = new BitSet(new long[]{0x0000000002000000L,0x0000000000000400L});
+ public static final BitSet FOLLOW_74_in_statement2373 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_expression_in_statement2375 = new BitSet(new long[]{0x0000000002000000L});
+ public static final BitSet FOLLOW_25_in_statement2379 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_75_in_statement2387 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
+ public static final BitSet FOLLOW_parExpression_in_statement2389 = new BitSet(new long[]{0x7F88012202000FD0L,0x0003F300007DEA73L});
+ public static final BitSet FOLLOW_statement_in_statement2391 = new BitSet(new long[]{0x0000000000000002L,0x0000000000001000L});
+ public static final BitSet FOLLOW_76_in_statement2401 = new BitSet(new long[]{0x7F88012202000FD0L,0x0003F300007DEA73L});
+ public static final BitSet FOLLOW_statement_in_statement2403 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_77_in_statement2413 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
+ public static final BitSet FOLLOW_65_in_statement2415 = new BitSet(new long[]{0x7F82010202000FD0L,0x0003F300000000F3L});
+ public static final BitSet FOLLOW_forControl_in_statement2417 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
+ public static final BitSet FOLLOW_66_in_statement2419 = new BitSet(new long[]{0x7F88012202000FD0L,0x0003F300007DEA73L});
+ public static final BitSet FOLLOW_statement_in_statement2421 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_78_in_statement2429 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
+ public static final BitSet FOLLOW_parExpression_in_statement2431 = new BitSet(new long[]{0x7F88012202000FD0L,0x0003F300007DEA73L});
+ public static final BitSet FOLLOW_statement_in_statement2433 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_79_in_statement2441 = new BitSet(new long[]{0x7F88012202000FD0L,0x0003F300007DEA73L});
+ public static final BitSet FOLLOW_statement_in_statement2443 = new BitSet(new long[]{0x0000000000000000L,0x0000000000004000L});
+ public static final BitSet FOLLOW_78_in_statement2445 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
+ public static final BitSet FOLLOW_parExpression_in_statement2447 = new BitSet(new long[]{0x0000000002000000L});
+ public static final BitSet FOLLOW_25_in_statement2449 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_80_in_statement2457 = new BitSet(new long[]{0x0000002000000000L});
+ public static final BitSet FOLLOW_block_in_statement2459 = new BitSet(new long[]{0x0000000000000000L,0x0000000000820000L});
+ public static final BitSet FOLLOW_catches_in_statement2469 = new BitSet(new long[]{0x0000000000000000L,0x0000000000020000L});
+ public static final BitSet FOLLOW_81_in_statement2471 = new BitSet(new long[]{0x0000002000000000L});
+ public static final BitSet FOLLOW_block_in_statement2473 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_catches_in_statement2483 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_81_in_statement2493 = new BitSet(new long[]{0x0000002000000000L});
+ public static final BitSet FOLLOW_block_in_statement2495 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_82_in_statement2511 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
+ public static final BitSet FOLLOW_parExpression_in_statement2513 = new BitSet(new long[]{0x0000002000000000L});
+ public static final BitSet FOLLOW_37_in_statement2515 = new BitSet(new long[]{0x0000004000000000L,0x0000000001000100L});
+ public static final BitSet FOLLOW_switchBlockStatementGroups_in_statement2517 = new BitSet(new long[]{0x0000004000000000L});
+ public static final BitSet FOLLOW_38_in_statement2519 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_51_in_statement2527 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
+ public static final BitSet FOLLOW_parExpression_in_statement2529 = new BitSet(new long[]{0x0000002000000000L});
+ public static final BitSet FOLLOW_block_in_statement2531 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_83_in_statement2539 = new BitSet(new long[]{0x7F80010202000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_expression_in_statement2541 = new BitSet(new long[]{0x0000000002000000L});
+ public static final BitSet FOLLOW_25_in_statement2544 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_84_in_statement2552 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_expression_in_statement2554 = new BitSet(new long[]{0x0000000002000000L});
+ public static final BitSet FOLLOW_25_in_statement2556 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_85_in_statement2564 = new BitSet(new long[]{0x0000000002000010L});
+ public static final BitSet FOLLOW_Identifier_in_statement2566 = new BitSet(new long[]{0x0000000002000000L});
+ public static final BitSet FOLLOW_25_in_statement2569 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_86_in_statement2577 = new BitSet(new long[]{0x0000000002000010L});
+ public static final BitSet FOLLOW_Identifier_in_statement2579 = new BitSet(new long[]{0x0000000002000000L});
+ public static final BitSet FOLLOW_25_in_statement2582 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_25_in_statement2590 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_statementExpression_in_statement2598 = new BitSet(new long[]{0x0000000002000000L});
+ public static final BitSet FOLLOW_25_in_statement2600 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_Identifier_in_statement2608 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L});
+ public static final BitSet FOLLOW_74_in_statement2610 = new BitSet(new long[]{0x7F88012202000FD0L,0x0003F300007DEA73L});
+ public static final BitSet FOLLOW_statement_in_statement2612 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_catchClause_in_catches2624 = new BitSet(new long[]{0x0000000000000002L,0x0000000000800000L});
+ public static final BitSet FOLLOW_catchClause_in_catches2627 = new BitSet(new long[]{0x0000000000000002L,0x0000000000800000L});
+ public static final BitSet FOLLOW_87_in_catchClause2641 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
+ public static final BitSet FOLLOW_65_in_catchClause2643 = new BitSet(new long[]{0x7F82000000000010L,0x0000000000000080L});
+ public static final BitSet FOLLOW_formalParameter_in_catchClause2645 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
+ public static final BitSet FOLLOW_66_in_catchClause2647 = new BitSet(new long[]{0x0000002000000000L});
+ public static final BitSet FOLLOW_block_in_catchClause2649 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_variableModifier_in_formalParameter2660 = new BitSet(new long[]{0x7F82000000000010L,0x0000000000000080L});
+ public static final BitSet FOLLOW_type_in_formalParameter2663 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_variableDeclaratorId_in_formalParameter2665 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_switchBlockStatementGroup_in_switchBlockStatementGroups2679 = new BitSet(new long[]{0x0000000000000002L,0x0000000001000100L});
+ public static final BitSet FOLLOW_switchLabel_in_switchBlockStatementGroup2693 = new BitSet(new long[]{0x7FFFE1A24A000FF2L,0x0003F300007DEAF3L});
+ public static final BitSet FOLLOW_blockStatement_in_switchBlockStatementGroup2695 = new BitSet(new long[]{0x7FFFE1A24A000FF2L,0x0003F300007DEAF3L});
+ public static final BitSet FOLLOW_88_in_switchLabel2708 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_constantExpression_in_switchLabel2710 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L});
+ public static final BitSet FOLLOW_74_in_switchLabel2712 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_88_in_switchLabel2719 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_enumConstantName_in_switchLabel2721 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L});
+ public static final BitSet FOLLOW_74_in_switchLabel2723 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_72_in_switchLabel2730 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L});
+ public static final BitSet FOLLOW_74_in_switchLabel2732 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_34_in_moreStatementExpressions2745 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_statementExpression_in_moreStatementExpressions2747 = new BitSet(new long[]{0x0000000400000002L});
+ public static final BitSet FOLLOW_forVarControl_in_forControl2768 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_forInit_in_forControl2773 = new BitSet(new long[]{0x0000000002000000L});
+ public static final BitSet FOLLOW_25_in_forControl2776 = new BitSet(new long[]{0x7F80010202000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_expression_in_forControl2778 = new BitSet(new long[]{0x0000000002000000L});
+ public static final BitSet FOLLOW_25_in_forControl2781 = new BitSet(new long[]{0x7F80010200000FD2L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_forUpdate_in_forControl2783 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_variableModifier_in_forInit2795 = new BitSet(new long[]{0x7F82000000000010L,0x0000000000000080L});
+ public static final BitSet FOLLOW_type_in_forInit2798 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_variableDeclarators_in_forInit2800 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_expressionList_in_forInit2805 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_variableModifier_in_forVarControl2817 = new BitSet(new long[]{0x7F82000000000010L,0x0000000000000080L});
+ public static final BitSet FOLLOW_type_in_forVarControl2820 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_Identifier_in_forVarControl2822 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L});
+ public static final BitSet FOLLOW_74_in_forVarControl2824 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_expression_in_forVarControl2826 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_expressionList_in_forUpdate2837 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_65_in_parExpression2850 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_expression_in_parExpression2852 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
+ public static final BitSet FOLLOW_66_in_parExpression2854 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_expression_in_expressionList2871 = new BitSet(new long[]{0x0000000400000002L});
+ public static final BitSet FOLLOW_34_in_expressionList2874 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_expression_in_expressionList2876 = new BitSet(new long[]{0x0000000400000002L});
+ public static final BitSet FOLLOW_expression_in_statementExpression2892 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_expression_in_constantExpression2904 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_conditionalExpression_in_expression2916 = new BitSet(new long[]{0x0000100A00000002L,0x00000001FE000000L});
+ public static final BitSet FOLLOW_assignmentOperator_in_expression2919 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_expression_in_expression2921 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_44_in_assignmentOperator2935 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_89_in_assignmentOperator2945 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_90_in_assignmentOperator2955 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_91_in_assignmentOperator2965 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_92_in_assignmentOperator2975 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_93_in_assignmentOperator2985 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_94_in_assignmentOperator2995 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_95_in_assignmentOperator3005 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_96_in_assignmentOperator3015 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_33_in_assignmentOperator3025 = new BitSet(new long[]{0x0000000200000000L});
+ public static final BitSet FOLLOW_33_in_assignmentOperator3027 = new BitSet(new long[]{0x0000100000000000L});
+ public static final BitSet FOLLOW_44_in_assignmentOperator3029 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_35_in_assignmentOperator3039 = new BitSet(new long[]{0x0000000800000000L});
+ public static final BitSet FOLLOW_35_in_assignmentOperator3041 = new BitSet(new long[]{0x0000100000000000L});
+ public static final BitSet FOLLOW_44_in_assignmentOperator3043 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_35_in_assignmentOperator3053 = new BitSet(new long[]{0x0000000800000000L});
+ public static final BitSet FOLLOW_35_in_assignmentOperator3055 = new BitSet(new long[]{0x0000000800000000L});
+ public static final BitSet FOLLOW_35_in_assignmentOperator3057 = new BitSet(new long[]{0x0000100000000000L});
+ public static final BitSet FOLLOW_44_in_assignmentOperator3059 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_conditionalOrExpression_in_conditionalExpression3075 = new BitSet(new long[]{0x8000000000000002L});
+ public static final BitSet FOLLOW_63_in_conditionalExpression3079 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_expression_in_conditionalExpression3081 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L});
+ public static final BitSet FOLLOW_74_in_conditionalExpression3083 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_expression_in_conditionalExpression3085 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_conditionalAndExpression_in_conditionalOrExpression3104 = new BitSet(new long[]{0x0000000000000002L,0x0000000200000000L});
+ public static final BitSet FOLLOW_97_in_conditionalOrExpression3108 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_conditionalAndExpression_in_conditionalOrExpression3110 = new BitSet(new long[]{0x0000000000000002L,0x0000000200000000L});
+ public static final BitSet FOLLOW_inclusiveOrExpression_in_conditionalAndExpression3129 = new BitSet(new long[]{0x0000000000000002L,0x0000000400000000L});
+ public static final BitSet FOLLOW_98_in_conditionalAndExpression3133 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_inclusiveOrExpression_in_conditionalAndExpression3135 = new BitSet(new long[]{0x0000000000000002L,0x0000000400000000L});
+ public static final BitSet FOLLOW_exclusiveOrExpression_in_inclusiveOrExpression3154 = new BitSet(new long[]{0x0000000000000002L,0x0000000800000000L});
+ public static final BitSet FOLLOW_99_in_inclusiveOrExpression3158 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_exclusiveOrExpression_in_inclusiveOrExpression3160 = new BitSet(new long[]{0x0000000000000002L,0x0000000800000000L});
+ public static final BitSet FOLLOW_andExpression_in_exclusiveOrExpression3179 = new BitSet(new long[]{0x0000000000000002L,0x0000001000000000L});
+ public static final BitSet FOLLOW_100_in_exclusiveOrExpression3183 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_andExpression_in_exclusiveOrExpression3185 = new BitSet(new long[]{0x0000000000000002L,0x0000001000000000L});
+ public static final BitSet FOLLOW_equalityExpression_in_andExpression3204 = new BitSet(new long[]{0x0000001000000002L});
+ public static final BitSet FOLLOW_36_in_andExpression3208 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_equalityExpression_in_andExpression3210 = new BitSet(new long[]{0x0000001000000002L});
+ public static final BitSet FOLLOW_instanceOfExpression_in_equalityExpression3229 = new BitSet(new long[]{0x0000000000000002L,0x0000006000000000L});
+ public static final BitSet FOLLOW_set_in_equalityExpression3233 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_instanceOfExpression_in_equalityExpression3241 = new BitSet(new long[]{0x0000000000000002L,0x0000006000000000L});
+ public static final BitSet FOLLOW_relationalExpression_in_instanceOfExpression3260 = new BitSet(new long[]{0x0000000000000002L,0x0000008000000000L});
+ public static final BitSet FOLLOW_103_in_instanceOfExpression3263 = new BitSet(new long[]{0x7F80000000000010L});
+ public static final BitSet FOLLOW_type_in_instanceOfExpression3265 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_shiftExpression_in_relationalExpression3283 = new BitSet(new long[]{0x0000000A00000002L});
+ public static final BitSet FOLLOW_relationalOp_in_relationalExpression3287 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_shiftExpression_in_relationalExpression3289 = new BitSet(new long[]{0x0000000A00000002L});
+ public static final BitSet FOLLOW_33_in_relationalOp3305 = new BitSet(new long[]{0x0000100000000000L});
+ public static final BitSet FOLLOW_44_in_relationalOp3307 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_35_in_relationalOp3311 = new BitSet(new long[]{0x0000100000000000L});
+ public static final BitSet FOLLOW_44_in_relationalOp3313 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_33_in_relationalOp3317 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_35_in_relationalOp3321 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_additiveExpression_in_shiftExpression3338 = new BitSet(new long[]{0x0000000A00000002L});
+ public static final BitSet FOLLOW_shiftOp_in_shiftExpression3342 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_additiveExpression_in_shiftExpression3344 = new BitSet(new long[]{0x0000000A00000002L});
+ public static final BitSet FOLLOW_33_in_shiftOp3368 = new BitSet(new long[]{0x0000000200000000L});
+ public static final BitSet FOLLOW_33_in_shiftOp3370 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_35_in_shiftOp3374 = new BitSet(new long[]{0x0000000800000000L});
+ public static final BitSet FOLLOW_35_in_shiftOp3376 = new BitSet(new long[]{0x0000000800000000L});
+ public static final BitSet FOLLOW_35_in_shiftOp3378 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_35_in_shiftOp3382 = new BitSet(new long[]{0x0000000800000000L});
+ public static final BitSet FOLLOW_35_in_shiftOp3384 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_multiplicativeExpression_in_additiveExpression3402 = new BitSet(new long[]{0x0000000000000002L,0x0000030000000000L});
+ public static final BitSet FOLLOW_set_in_additiveExpression3406 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_multiplicativeExpression_in_additiveExpression3414 = new BitSet(new long[]{0x0000000000000002L,0x0000030000000000L});
+ public static final BitSet FOLLOW_unaryExpression_in_multiplicativeExpression3433 = new BitSet(new long[]{0x0000000020000002L,0x00000C0000000000L});
+ public static final BitSet FOLLOW_set_in_multiplicativeExpression3437 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_unaryExpression_in_multiplicativeExpression3451 = new BitSet(new long[]{0x0000000020000002L,0x00000C0000000000L});
+ public static final BitSet FOLLOW_104_in_unaryExpression3471 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_unaryExpression_in_unaryExpression3473 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_105_in_unaryExpression3481 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_unaryExpression_in_unaryExpression3483 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_108_in_unaryExpression3493 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003000000000073L});
+ public static final BitSet FOLLOW_primary_in_unaryExpression3495 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_109_in_unaryExpression3505 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003000000000073L});
+ public static final BitSet FOLLOW_primary_in_unaryExpression3507 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_unaryExpressionNotPlusMinus_in_unaryExpression3517 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_110_in_unaryExpressionNotPlusMinus3536 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_unaryExpression_in_unaryExpressionNotPlusMinus3538 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_111_in_unaryExpressionNotPlusMinus3547 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_unaryExpression_in_unaryExpressionNotPlusMinus3549 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_castExpression_in_unaryExpressionNotPlusMinus3559 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_primary_in_unaryExpressionNotPlusMinus3569 = new BitSet(new long[]{0x0000020010000002L,0x0000300000000000L});
+ public static final BitSet FOLLOW_selector_in_unaryExpressionNotPlusMinus3571 = new BitSet(new long[]{0x0000020010000002L,0x0000300000000000L});
+ public static final BitSet FOLLOW_set_in_unaryExpressionNotPlusMinus3574 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_65_in_castExpression3597 = new BitSet(new long[]{0x7F80000000000000L});
+ public static final BitSet FOLLOW_primitiveType_in_castExpression3599 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
+ public static final BitSet FOLLOW_66_in_castExpression3601 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_unaryExpression_in_castExpression3603 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_65_in_castExpression3612 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_type_in_castExpression3615 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
+ public static final BitSet FOLLOW_expression_in_castExpression3619 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
+ public static final BitSet FOLLOW_66_in_castExpression3622 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003C00000000073L});
+ public static final BitSet FOLLOW_unaryExpressionNotPlusMinus_in_castExpression3624 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_parExpression_in_primary3641 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_nonWildcardTypeArguments_in_primary3651 = new BitSet(new long[]{0x0000000000000010L,0x0001000000000001L});
+ public static final BitSet FOLLOW_explicitGenericInvocationSuffix_in_primary3662 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_112_in_primary3666 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
+ public static final BitSet FOLLOW_arguments_in_primary3668 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_112_in_primary3679 = new BitSet(new long[]{0x0000020010000002L,0x0000000000000002L});
+ public static final BitSet FOLLOW_28_in_primary3682 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_Identifier_in_primary3684 = new BitSet(new long[]{0x0000020010000002L,0x0000000000000002L});
+ public static final BitSet FOLLOW_identifierSuffix_in_primary3689 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_64_in_primary3701 = new BitSet(new long[]{0x0000000010000000L,0x0000000000000002L});
+ public static final BitSet FOLLOW_superSuffix_in_primary3703 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_literal_in_primary3713 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_113_in_primary3723 = new BitSet(new long[]{0x7F80000200000010L});
+ public static final BitSet FOLLOW_creator_in_primary3725 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_Identifier_in_primary3737 = new BitSet(new long[]{0x0000020010000002L,0x0000000000000002L});
+ public static final BitSet FOLLOW_28_in_primary3742 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_Identifier_in_primary3744 = new BitSet(new long[]{0x0000020010000002L,0x0000000000000002L});
+ public static final BitSet FOLLOW_identifierSuffix_in_primary3749 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_primitiveType_in_primary3761 = new BitSet(new long[]{0x0000020010000000L});
+ public static final BitSet FOLLOW_41_in_primary3764 = new BitSet(new long[]{0x0000040000000000L});
+ public static final BitSet FOLLOW_42_in_primary3766 = new BitSet(new long[]{0x0000020010000000L});
+ public static final BitSet FOLLOW_28_in_primary3770 = new BitSet(new long[]{0x0000000040000000L});
+ public static final BitSet FOLLOW_30_in_primary3772 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_40_in_primary3782 = new BitSet(new long[]{0x0000000010000000L});
+ public static final BitSet FOLLOW_28_in_primary3784 = new BitSet(new long[]{0x0000000040000000L});
+ public static final BitSet FOLLOW_30_in_primary3786 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_41_in_identifierSuffix3798 = new BitSet(new long[]{0x0000040000000000L});
+ public static final BitSet FOLLOW_42_in_identifierSuffix3800 = new BitSet(new long[]{0x0000020010000000L});
+ public static final BitSet FOLLOW_28_in_identifierSuffix3804 = new BitSet(new long[]{0x0000000040000000L});
+ public static final BitSet FOLLOW_30_in_identifierSuffix3806 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_41_in_identifierSuffix3812 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_expression_in_identifierSuffix3814 = new BitSet(new long[]{0x0000040000000000L});
+ public static final BitSet FOLLOW_42_in_identifierSuffix3816 = new BitSet(new long[]{0x0000020000000002L});
+ public static final BitSet FOLLOW_arguments_in_identifierSuffix3829 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_28_in_identifierSuffix3839 = new BitSet(new long[]{0x0000000040000000L});
+ public static final BitSet FOLLOW_30_in_identifierSuffix3841 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_28_in_identifierSuffix3851 = new BitSet(new long[]{0x0000000200000000L});
+ public static final BitSet FOLLOW_explicitGenericInvocation_in_identifierSuffix3853 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_28_in_identifierSuffix3863 = new BitSet(new long[]{0x0000000000000000L,0x0001000000000000L});
+ public static final BitSet FOLLOW_112_in_identifierSuffix3865 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_28_in_identifierSuffix3875 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L});
+ public static final BitSet FOLLOW_64_in_identifierSuffix3877 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
+ public static final BitSet FOLLOW_arguments_in_identifierSuffix3879 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_28_in_identifierSuffix3889 = new BitSet(new long[]{0x0000000000000000L,0x0002000000000000L});
+ public static final BitSet FOLLOW_113_in_identifierSuffix3891 = new BitSet(new long[]{0x0000000200000010L});
+ public static final BitSet FOLLOW_nonWildcardTypeArguments_in_identifierSuffix3894 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_innerCreator_in_identifierSuffix3898 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_nonWildcardTypeArguments_in_creator3910 = new BitSet(new long[]{0x7F80000000000010L});
+ public static final BitSet FOLLOW_createdName_in_creator3913 = new BitSet(new long[]{0x0000020000000000L,0x0000000000000002L});
+ public static final BitSet FOLLOW_arrayCreatorRest_in_creator3924 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_classCreatorRest_in_creator3928 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_Identifier_in_createdName3940 = new BitSet(new long[]{0x0000000210000002L});
+ public static final BitSet FOLLOW_typeArguments_in_createdName3942 = new BitSet(new long[]{0x0000000010000002L});
+ public static final BitSet FOLLOW_28_in_createdName3954 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_Identifier_in_createdName3956 = new BitSet(new long[]{0x0000000210000002L});
+ public static final BitSet FOLLOW_typeArguments_in_createdName3958 = new BitSet(new long[]{0x0000000010000002L});
+ public static final BitSet FOLLOW_primitiveType_in_createdName3969 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_Identifier_in_innerCreator3981 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
+ public static final BitSet FOLLOW_classCreatorRest_in_innerCreator3983 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_41_in_arrayCreatorRest3994 = new BitSet(new long[]{0x7F80050200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_42_in_arrayCreatorRest4008 = new BitSet(new long[]{0x0000022000000000L});
+ public static final BitSet FOLLOW_41_in_arrayCreatorRest4011 = new BitSet(new long[]{0x0000040000000000L});
+ public static final BitSet FOLLOW_42_in_arrayCreatorRest4013 = new BitSet(new long[]{0x0000022000000000L});
+ public static final BitSet FOLLOW_arrayInitializer_in_arrayCreatorRest4017 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_expression_in_arrayCreatorRest4031 = new BitSet(new long[]{0x0000040000000000L});
+ public static final BitSet FOLLOW_42_in_arrayCreatorRest4033 = new BitSet(new long[]{0x0000020000000002L});
+ public static final BitSet FOLLOW_41_in_arrayCreatorRest4036 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_expression_in_arrayCreatorRest4038 = new BitSet(new long[]{0x0000040000000000L});
+ public static final BitSet FOLLOW_42_in_arrayCreatorRest4040 = new BitSet(new long[]{0x0000020000000002L});
+ public static final BitSet FOLLOW_41_in_arrayCreatorRest4045 = new BitSet(new long[]{0x0000040000000000L});
+ public static final BitSet FOLLOW_42_in_arrayCreatorRest4047 = new BitSet(new long[]{0x0000020000000002L});
+ public static final BitSet FOLLOW_arguments_in_classCreatorRest4070 = new BitSet(new long[]{0x0000002000000002L});
+ public static final BitSet FOLLOW_classBody_in_classCreatorRest4072 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_nonWildcardTypeArguments_in_explicitGenericInvocation4085 = new BitSet(new long[]{0x0000000000000010L,0x0000000000000001L});
+ public static final BitSet FOLLOW_explicitGenericInvocationSuffix_in_explicitGenericInvocation4087 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_33_in_nonWildcardTypeArguments4099 = new BitSet(new long[]{0x7F80000000000010L});
+ public static final BitSet FOLLOW_typeList_in_nonWildcardTypeArguments4101 = new BitSet(new long[]{0x0000000800000000L});
+ public static final BitSet FOLLOW_35_in_nonWildcardTypeArguments4103 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_64_in_explicitGenericInvocationSuffix4115 = new BitSet(new long[]{0x0000000010000000L,0x0000000000000002L});
+ public static final BitSet FOLLOW_superSuffix_in_explicitGenericInvocationSuffix4117 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_Identifier_in_explicitGenericInvocationSuffix4124 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
+ public static final BitSet FOLLOW_arguments_in_explicitGenericInvocationSuffix4126 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_28_in_selector4138 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_Identifier_in_selector4140 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000002L});
+ public static final BitSet FOLLOW_arguments_in_selector4143 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_28_in_selector4152 = new BitSet(new long[]{0x0000000000000000L,0x0001000000000000L});
+ public static final BitSet FOLLOW_112_in_selector4154 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_28_in_selector4161 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L});
+ public static final BitSet FOLLOW_64_in_selector4163 = new BitSet(new long[]{0x0000000010000000L,0x0000000000000002L});
+ public static final BitSet FOLLOW_superSuffix_in_selector4165 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_28_in_selector4172 = new BitSet(new long[]{0x0000000000000000L,0x0002000000000000L});
+ public static final BitSet FOLLOW_113_in_selector4174 = new BitSet(new long[]{0x0000000200000010L});
+ public static final BitSet FOLLOW_nonWildcardTypeArguments_in_selector4177 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_innerCreator_in_selector4181 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_41_in_selector4188 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_expression_in_selector4190 = new BitSet(new long[]{0x0000040000000000L});
+ public static final BitSet FOLLOW_42_in_selector4192 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_arguments_in_superSuffix4204 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_28_in_superSuffix4211 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_Identifier_in_superSuffix4213 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000002L});
+ public static final BitSet FOLLOW_arguments_in_superSuffix4216 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_65_in_arguments4232 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000077L});
+ public static final BitSet FOLLOW_expressionList_in_arguments4234 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
+ public static final BitSet FOLLOW_66_in_arguments4237 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_annotations_in_synpred170 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_methodDeclaration_in_synpred38577 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_fieldDeclaration_in_synpred39582 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_28_in_synpred851363 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_Identifier_in_synpred851365 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_annotation_in_synpred1201867 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_classDeclaration_in_synpred1352097 = new BitSet(new long[]{0x0000000002000002L});
- public static final BitSet FOLLOW_25_in_synpred1352099 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_interfaceDeclaration_in_synpred1372107 = new BitSet(new long[]{0x0000000002000002L});
- public static final BitSet FOLLOW_25_in_synpred1372109 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_enumDeclaration_in_synpred1392117 = new BitSet(new long[]{0x0000000002000002L});
- public static final BitSet FOLLOW_25_in_synpred1392119 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_localVariableDeclaration_in_synpred1442234 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_classOrInterfaceDeclaration_in_synpred1452239 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_76_in_synpred1502320 = new BitSet(new long[]{0x7F88012202000FD0L,0x0003F300007DEA73L});
- public static final BitSet FOLLOW_statement_in_synpred1502322 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_catches_in_synpred1552388 = new BitSet(new long[]{0x0000000000000000L,0x0000000000020000L});
- public static final BitSet FOLLOW_81_in_synpred1552390 = new BitSet(new long[]{0x0000002000000000L});
- public static final BitSet FOLLOW_block_in_synpred1552392 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_catches_in_synpred1562402 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_88_in_synpred1732627 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_constantExpression_in_synpred1732629 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L});
- public static final BitSet FOLLOW_74_in_synpred1732631 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_88_in_synpred1742638 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_enumConstantName_in_synpred1742640 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L});
- public static final BitSet FOLLOW_74_in_synpred1742642 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_forVarControl_in_synpred1762687 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_variableModifier_in_synpred1812714 = new BitSet(new long[]{0x7F82000000000010L,0x0000000000000080L});
- public static final BitSet FOLLOW_type_in_synpred1812717 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_variableDeclarators_in_synpred1812719 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_assignmentOperator_in_synpred1842838 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_expression_in_synpred1842840 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_35_in_synpred1952958 = new BitSet(new long[]{0x0000000800000000L});
- public static final BitSet FOLLOW_35_in_synpred1952960 = new BitSet(new long[]{0x0000100000000000L});
- public static final BitSet FOLLOW_44_in_synpred1952962 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_relationalOp_in_synpred2053206 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_shiftExpression_in_synpred2053208 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_shiftOp_in_synpred2093261 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_additiveExpression_in_synpred2093263 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_35_in_synpred2113293 = new BitSet(new long[]{0x0000000800000000L});
- public static final BitSet FOLLOW_35_in_synpred2113295 = new BitSet(new long[]{0x0000000800000000L});
- public static final BitSet FOLLOW_35_in_synpred2113297 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_castExpression_in_synpred2233478 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_65_in_synpred2273516 = new BitSet(new long[]{0x7F80000000000000L});
- public static final BitSet FOLLOW_primitiveType_in_synpred2273518 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
- public static final BitSet FOLLOW_66_in_synpred2273520 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_unaryExpression_in_synpred2273522 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_type_in_synpred2283534 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_28_in_synpred2323601 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_Identifier_in_synpred2323603 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_identifierSuffix_in_synpred2333608 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_28_in_synpred2383661 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_Identifier_in_synpred2383663 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_identifierSuffix_in_synpred2393668 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_41_in_synpred2453731 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_expression_in_synpred2453733 = new BitSet(new long[]{0x0000040000000000L});
- public static final BitSet FOLLOW_42_in_synpred2453735 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_41_in_synpred2613955 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
- public static final BitSet FOLLOW_expression_in_synpred2613957 = new BitSet(new long[]{0x0000040000000000L});
- public static final BitSet FOLLOW_42_in_synpred2613959 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_28_in_synpred851385 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_Identifier_in_synpred851387 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_annotation_in_synpred1201889 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_classDeclaration_in_synpred1352119 = new BitSet(new long[]{0x0000000002000002L});
+ public static final BitSet FOLLOW_25_in_synpred1352121 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_interfaceDeclaration_in_synpred1372129 = new BitSet(new long[]{0x0000000002000002L});
+ public static final BitSet FOLLOW_25_in_synpred1372131 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_enumDeclaration_in_synpred1392139 = new BitSet(new long[]{0x0000000002000002L});
+ public static final BitSet FOLLOW_25_in_synpred1392141 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_localVariableDeclaration_in_synpred1442256 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_classOrInterfaceDeclaration_in_synpred1452261 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_76_in_synpred1502401 = new BitSet(new long[]{0x7F88012202000FD0L,0x0003F300007DEA73L});
+ public static final BitSet FOLLOW_statement_in_synpred1502403 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_catches_in_synpred1552469 = new BitSet(new long[]{0x0000000000000000L,0x0000000000020000L});
+ public static final BitSet FOLLOW_81_in_synpred1552471 = new BitSet(new long[]{0x0000002000000000L});
+ public static final BitSet FOLLOW_block_in_synpred1552473 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_catches_in_synpred1562483 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_88_in_synpred1732708 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_constantExpression_in_synpred1732710 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L});
+ public static final BitSet FOLLOW_74_in_synpred1732712 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_88_in_synpred1742719 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_enumConstantName_in_synpred1742721 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L});
+ public static final BitSet FOLLOW_74_in_synpred1742723 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_forVarControl_in_synpred1762768 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_variableModifier_in_synpred1812795 = new BitSet(new long[]{0x7F82000000000010L,0x0000000000000080L});
+ public static final BitSet FOLLOW_type_in_synpred1812798 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_variableDeclarators_in_synpred1812800 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_assignmentOperator_in_synpred1842919 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_expression_in_synpred1842921 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_35_in_synpred1953039 = new BitSet(new long[]{0x0000000800000000L});
+ public static final BitSet FOLLOW_35_in_synpred1953041 = new BitSet(new long[]{0x0000100000000000L});
+ public static final BitSet FOLLOW_44_in_synpred1953043 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_relationalOp_in_synpred2053287 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_shiftExpression_in_synpred2053289 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_shiftOp_in_synpred2093342 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_additiveExpression_in_synpred2093344 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_35_in_synpred2113374 = new BitSet(new long[]{0x0000000800000000L});
+ public static final BitSet FOLLOW_35_in_synpred2113376 = new BitSet(new long[]{0x0000000800000000L});
+ public static final BitSet FOLLOW_35_in_synpred2113378 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_castExpression_in_synpred2233559 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_65_in_synpred2273597 = new BitSet(new long[]{0x7F80000000000000L});
+ public static final BitSet FOLLOW_primitiveType_in_synpred2273599 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
+ public static final BitSet FOLLOW_66_in_synpred2273601 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_unaryExpression_in_synpred2273603 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_type_in_synpred2283615 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_28_in_synpred2323682 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_Identifier_in_synpred2323684 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_identifierSuffix_in_synpred2333689 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_28_in_synpred2383742 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_Identifier_in_synpred2383744 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_identifierSuffix_in_synpred2393749 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_41_in_synpred2453812 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_expression_in_synpred2453814 = new BitSet(new long[]{0x0000040000000000L});
+ public static final BitSet FOLLOW_42_in_synpred2453816 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_41_in_synpred2614036 = new BitSet(new long[]{0x7F80010200000FD0L,0x0003F30000000073L});
+ public static final BitSet FOLLOW_expression_in_synpred2614038 = new BitSet(new long[]{0x0000040000000000L});
+ public static final BitSet FOLLOW_42_in_synpred2614040 = new BitSet(new long[]{0x0000000000000002L});
}
\ No newline at end of file
Added: labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/mvel/MVELAnalysisResult.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/mvel/MVELAnalysisResult.java (rev 0)
+++ labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/mvel/MVELAnalysisResult.java 2007-06-19 23:25:34 UTC (rev 12695)
@@ -0,0 +1,62 @@
+/*
+ * Copyright 2006 JBoss Inc
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Created on Jun 18, 2007
+ */
+package org.drools.rule.builder.dialect.mvel;
+
+import java.util.Collections;
+import java.util.List;
+
+import org.drools.rule.builder.Dialect.AnalysisResult;
+
+/**
+ * An analysis result implementation for the MVEL dialect
+ *
+ * @author etirelli
+ */
+public class MVELAnalysisResult implements AnalysisResult {
+ private static final List[] EMPTY_ARRAY_OF_LISTS = new List[0];
+
+ private List[] boundIdentifiers = EMPTY_ARRAY_OF_LISTS;
+ private List identifiers = Collections.EMPTY_LIST;
+ private List localVariables = Collections.EMPTY_LIST;
+ private List notBoundedIdentifiers = Collections.EMPTY_LIST;
+
+ public List[] getBoundIdentifiers() {
+ return boundIdentifiers;
+ }
+ public void setBoundIdentifiers(List[] boundIdentifiers) {
+ this.boundIdentifiers = boundIdentifiers;
+ }
+ public List getIdentifiers() {
+ return identifiers;
+ }
+ public void setIdentifiers(List identifiers) {
+ this.identifiers = identifiers;
+ }
+ public List getLocalVariables() {
+ return this.localVariables;
+ }
+ public void setLocalVariables(List localVariables) {
+ this.localVariables = localVariables;
+ }
+ public List getNotBoundedIdentifiers() {
+ return notBoundedIdentifiers;
+ }
+ public void setNotBoundedIdentifiers(List notBoundedIdentifiers) {
+ this.notBoundedIdentifiers = notBoundedIdentifiers;
+ }
+}
Modified: labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/mvel/MVELDialect.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/mvel/MVELDialect.java 2007-06-19 17:44:42 UTC (rev 12694)
+++ labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/mvel/MVELDialect.java 2007-06-19 23:25:34 UTC (rev 12695)
@@ -202,12 +202,12 @@
public void compileAll() {
}
- public List[] getExpressionIdentifiers(RuleBuildContext context,
+ public Dialect.AnalysisResult analyzeExpression(RuleBuildContext context,
BaseDescr descr,
Object content) {
- List[] usedIdentifiers = null;
+ Dialect.AnalysisResult result = null;
try {
- usedIdentifiers = this.analyzer.analyzeExpression( (String) content,
+ result = this.analyzer.analyzeExpression( (String) content,
new Set[]{context.getDeclarationResolver().getDeclarations().keySet(), context.getPkg().getGlobals().keySet()} );
} catch ( final Exception e ) {
context.getErrors().add( new RuleError( context.getRule(),
@@ -215,15 +215,15 @@
null,
"Unable to determine the used declarations" ) );
}
- return usedIdentifiers;
+ return result;
}
- public List[] getBlockIdentifiers(RuleBuildContext context,
+ public Dialect.AnalysisResult analyzeBlock(RuleBuildContext context,
BaseDescr descr,
String text) {
- List[] usedIdentifiers = null;
+ Dialect.AnalysisResult result = null;
try {
- usedIdentifiers = this.analyzer.analyzeExpression( text,
+ result = this.analyzer.analyzeExpression( text,
new Set[]{context.getDeclarationResolver().getDeclarations().keySet(), context.getPkg().getGlobals().keySet()} );
} catch ( final Exception e ) {
context.getErrors().add( new RuleError( context.getRule(),
@@ -231,7 +231,7 @@
null,
"Unable to determine the used declarations" ) );
}
- return usedIdentifiers;
+ return result;
}
public Object getBuilder(final Class clazz) {
Modified: labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/mvel/MVELEvalBuilder.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/mvel/MVELEvalBuilder.java 2007-06-19 17:44:42 UTC (rev 12694)
+++ labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/mvel/MVELEvalBuilder.java 2007-06-19 23:25:34 UTC (rev 12695)
@@ -17,7 +17,6 @@
package org.drools.rule.builder.dialect.mvel;
import java.io.Serializable;
-import java.util.Iterator;
import java.util.List;
import org.drools.base.mvel.DroolsMVELFactory;
@@ -29,10 +28,9 @@
import org.drools.rule.Declaration;
import org.drools.rule.EvalCondition;
import org.drools.rule.Pattern;
+import org.drools.rule.builder.ConditionalElementBuilder;
+import org.drools.rule.builder.Dialect;
import org.drools.rule.builder.RuleBuildContext;
-import org.drools.rule.builder.PatternBuilder;
-import org.drools.rule.builder.ConditionalElementBuilder;
-import org.mvel.ExpressionCompiler;
import org.mvel.MVEL;
/**
@@ -45,9 +43,11 @@
public ConditionalElement build(final RuleBuildContext context,
final BaseDescr descr) {
- return build(context, descr, null);
- }
-
+ return build( context,
+ descr,
+ null );
+ }
+
/**
* Builds and returns an Eval Conditional Element
*
@@ -70,9 +70,10 @@
context.getPkg().getGlobals() );
factory.setNextFactory( ((MVELDialect) context.getDialect()).getClassImportResolverFactory() );
- final List[] usedIdentifiers = context.getDialect().getExpressionIdentifiers( context,
- evalDescr,
- evalDescr.getContent() );
+ Dialect.AnalysisResult analysis = context.getDialect().analyzeExpression( context,
+ evalDescr,
+ evalDescr.getContent() );
+ final List[] usedIdentifiers = analysis.getBoundIdentifiers();
final Declaration[] declarations = new Declaration[usedIdentifiers[0].size()];
for ( int i = 0, size = usedIdentifiers[0].size(); i < size; i++ ) {
Modified: labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/mvel/MVELExprAnalyzer.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/mvel/MVELExprAnalyzer.java 2007-06-19 17:44:42 UTC (rev 12694)
+++ labs/jbossrules/trunk/drools-compiler/src/main/java/org/drools/rule/builder/dialect/mvel/MVELExprAnalyzer.java 2007-06-19 23:25:34 UTC (rev 12695)
@@ -51,11 +51,11 @@
* @throws RecognitionException
* If an error occurs in the parser.
*/
- public List[] analyzeExpression(final String expr,
+ public MVELAnalysisResult analyzeExpression(final String expr,
final Set[] availableIdentifiers) throws RecognitionException {
ExpressionCompiler compiler = new ExpressionCompiler( expr);
- compiler.compile();
-
+ compiler.compile();
+
return analyze( compiler.getInputs(),
availableIdentifiers );
}
@@ -73,11 +73,15 @@
* @throws RecognitionException
* If an error occurs in the parser.
*/
- private List[] analyze(final Set identifiers,
+ private MVELAnalysisResult analyze(final Set identifiers,
final Set[] availableIdentifiers) throws RecognitionException {
+
+ MVELAnalysisResult result = new MVELAnalysisResult();
+ result.setIdentifiers( new ArrayList( identifiers ) );
+
final Set notBound = new HashSet( identifiers );
- final List[] used = new List[availableIdentifiers.length + 1];
- for ( int i = 0, length = used.length; i < length - 1; i++ ) {
+ final List[] used = new List[availableIdentifiers.length];
+ for ( int i = 0, length = used.length; i < length; i++ ) {
used[i] = new ArrayList();
}
@@ -91,8 +95,9 @@
}
}
}
- used[used.length - 1] = new ArrayList( notBound );
+ result.setBoundIdentifiers( used );
+ result.setNotBoundedIdentifiers( new ArrayList( notBound ) );
- return used;
+ return result;
}
}
\ No newline at end of file
Modified: labs/jbossrules/trunk/drools-compiler/src/main/resources/org/drools/rule/builder/dialect/java/javaInvokers.mvel
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/main/resources/org/drools/rule/builder/dialect/java/javaInvokers.mvel 2007-06-19 17:44:42 UTC (rev 12694)
+++ labs/jbossrules/trunk/drools-compiler/src/main/resources/org/drools/rule/builder/dialect/java/javaInvokers.mvel 2007-06-19 23:25:34 UTC (rev 12695)
@@ -162,35 +162,84 @@
import org.drools.asm.ClassReader;
import org.drools.asm.util.TraceMethodVisitor;
import org.drools.util.asm.MethodComparator.Tracer;
+import java.util.Collections;
public class @{invokerClassName} implements org.drools.spi.Accumulator, org.drools.spi.CompiledInvoker
{
- private static final long serialVersionUID = 320L;
+ private static final long serialVersionUID = 400L;
- public Object accumulate(org.drools.spi.Tuple tuple,
- java.util.List matchingObjects,
- org.drools.rule.Declaration[] declarations,
- org.drools.rule.Declaration[] innerDeclarations,
- org.drools.WorkingMemory workingMemory) throws Exception {
+ public Object createContext() {
+ return new @{ruleClassName}.@{className}();
+ }
+
+ public void init(java.lang.Object context,
+ org.drools.spi.Tuple leftTuple,
+ org.drools.rule.Declaration[] declarations,
+ org.drools.WorkingMemory workingMemory) throws Exception {
+ @foreach{declarationTypes, declarations as type, declr} @{type} @{declr.identifier} = ( @{type} ) declarations[@{i0}].@{declr.extractor.nativeReadMethod.name}( ( (org.drools.common.InternalFactHandle) leftTuple.get( declarations[@{i0}] ) ).getObject() );
+ @end{}
+ @foreach{globalTypes, globals as type, identifier} @{type} @{identifier} = ( @{type} ) workingMemory.getGlobal( "@{identifier}" );
+ @end{}
+
+ ((@{ruleClassName}.@{className})context).init(
+ @foreach{declarations as declr} @{declr.identifier}@end{","}@if{globals != empty}, at end{}
+ @foreach{globals as identifier} @{identifier}@end{","} );
+
+ }
- @foreach{declarationTypes, declarations as type, declr} @{type} @{declr.identifier} = ( @{type} ) declarations[@{i0}].@{declr.extractor.nativeReadMethod.name}( ( (org.drools.common.InternalFactHandle) tuple.get( declarations[@{i0}] ) ).getObject() );
+ public void accumulate(java.lang.Object context,
+ org.drools.spi.Tuple leftTuple,
+ org.drools.common.InternalFactHandle handle,
+ org.drools.rule.Declaration[] declarations,
+ org.drools.rule.Declaration[] innerDeclarations,
+ org.drools.WorkingMemory workingMemory) throws Exception {
+ @foreach{declarationTypes, declarations as type, declr} @{type} @{declr.identifier} = ( @{type} ) declarations[@{i0}].@{declr.extractor.nativeReadMethod.name}( ( (org.drools.common.InternalFactHandle) leftTuple.get( declarations[@{i0}] ) ).getObject() );
@end{}
@foreach{globalTypes, globals as type, identifier} @{type} @{identifier} = ( @{type} ) workingMemory.getGlobal( "@{identifier}" );
@end{}
- return @{ruleClassName}.@{methodName}(
+ ((@{ruleClassName}.@{className})context).accumulate(
innerDeclarations,
- matchingObjects at if{declarations != empty}, at end{}
- @foreach{declarations as declr} @{declr.identifier}
- @end{","}@if{globals != empty}, at end{}
- @foreach{globals as identifier} @{identifier}
- @end{","} );
+ handle.getObject()@if{declarations != empty}, at end{}
+ @foreach{declarations as declr} @{declr.identifier}@end{","}@if{globals != empty}, at end{}
+ @foreach{globals as identifier} @{identifier}@end{","} );
}
+ public Object getResult(java.lang.Object context,
+ org.drools.spi.Tuple leftTuple,
+ org.drools.rule.Declaration[] declarations,
+ org.drools.WorkingMemory workingMemory) throws Exception {
+ @foreach{declarationTypes, declarations as type, declr} @{type} @{declr.identifier} = ( @{type} ) declarations[@{i0}].@{declr.extractor.nativeReadMethod.name}( ( (org.drools.common.InternalFactHandle) leftTuple.get( declarations[@{i0}] ) ).getObject() );
+ @end{}
+ @foreach{globalTypes, globals as type, identifier} @{type} @{identifier} = ( @{type} ) workingMemory.getGlobal( "@{identifier}" );
+ @end{}
+
+ return ((@{ruleClassName}.@{className})context).getResult(
+ @foreach{declarations as declr} @{declr.identifier}@end{","}@if{globals != empty}, at end{}
+ @foreach{globals as identifier} @{identifier}@end{","} );
+ }
+
@includeByRef{hashCode(hashCode = hashCode)}
- @includeByRef{getMethodBytecode(package = package, ruleClassName = ruleClassName, methodName = methodName)}
-
- @includeByRef{equals()}
+ @includeByRef{equals()}
+
+ public java.util.List getMethodBytecode() {
+ java.io.InputStream is = @{ruleClassName}.class.getClassLoader().getResourceAsStream( "@{package}.@{ruleClassName}".replace( '.', '/' ) + "$@{className}" + ".class" );
+
+ java.io.ByteArrayOutputStream bos = new java.io.ByteArrayOutputStream();
+ byte[] data = new byte[1024];
+ int byteCount;
+ try {
+ while ( (byteCount = is.read( data,
+ 0,
+ 1024 )) > -1 )
+ {
+ bos.write(data, 0, byteCount);
+ }
+ } catch ( java.io.IOException e ) {
+ throw new org.drools.RuntimeDroolsException("Unable getResourceAsStream for Class '@{ruleClassName}$@{className}' ");
+ }
+ return Collections.singletonList( bos );
+ }
}
>>=::
Modified: labs/jbossrules/trunk/drools-compiler/src/main/resources/org/drools/rule/builder/dialect/java/javaRule.mvel
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/main/resources/org/drools/rule/builder/dialect/java/javaRule.mvel 2007-06-19 17:44:42 UTC (rev 12694)
+++ labs/jbossrules/trunk/drools-compiler/src/main/resources/org/drools/rule/builder/dialect/java/javaRule.mvel 2007-06-19 23:25:34 UTC (rev 12695)
@@ -21,19 +21,36 @@
}
>>=::
-accumulateMethod() ::=<<
-public static @{resultType} @{methodName}(org.drools.rule.Declaration[] innerDeclarations, java.util.List matchingObjects at if{declarations != empty}, @end{}
- @foreach{declarationTypes, declarations as type, declr} @{type} @{declr.identifier}@end{","}
- @if{globals != empty}, at end{} @foreach{globalTypes, globals as type, identifier} @{type} @{identifier} @end{","} ) throws Exception {
+accumulateInnerClass() ::=<<
+public static class @{className} {
- @{initCode}
- for( java.util.Iterator it = matchingObjects.iterator(); it.hasNext(); ) {
- Object __itNextElem__ = it.next();
- @foreach{innerDeclarations as declr} @{declr.extractor.extractToClass.getName()} @{declr.identifier} = (@{declr.extractor.extractToClass.getName()}) innerDeclarations[@{i0}].@{declr.extractor.nativeReadMethod.name}( __itNextElem__ );
- @end{}
- @{actionCode}
+ @foreach{attributesTypes, attributes as type, attr} private @{type} @{attr};
+ @end{}
+
+ public @{className}() {
}
- return ( @{resultCode} );
+
+ public void init(@foreach{declarationTypes, declarations as type, declr} @{type} @{declr.identifier}@end{","}@if{globals != empty}, at end{}
+ @foreach{globalTypes, globals as type, identifier} @{type} @{identifier} @end{","}
+ ) throws Exception {
+ @{initCode}
+ }
+
+ public void accumulate(org.drools.rule.Declaration[] innerDeclarations,
+ Object object @if{declarations != empty}, @end{}
+ @foreach{declarationTypes, declarations as type, declr} @{type} @{declr.identifier}@end{","}@if{globals != empty}, at end{}
+ @foreach{globalTypes, globals as type, identifier} @{type} @{identifier} @end{","}
+ ) throws Exception {
+ @foreach{innerDeclarations as declr} @{declr.extractor.extractToClass.getName()} @{declr.identifier} = (@{declr.extractor.extractToClass.getName()}) innerDeclarations[@{i0}].@{declr.extractor.nativeReadMethod.name}( object );
+ @end{}
+ @{actionCode}
+ }
+
+ public Object getResult(@foreach{declarationTypes, declarations as type, declr} @{type} @{declr.identifier}@end{","}@if{globals != empty}, at end{}
+ @foreach{globalTypes, globals as type, identifier}@{type} @{identifier} @end{","}
+ ) throws Exception {
+ return ( @{resultCode} );
+ }
}
>>=::
Modified: labs/jbossrules/trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g 2007-06-19 17:44:42 UTC (rev 12694)
+++ labs/jbossrules/trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g 2007-06-19 23:25:34 UTC (rev 12695)
@@ -85,6 +85,8 @@
@parser::members {
private List identifiers = new ArrayList();
public List getIdentifiers() { return identifiers; }
+ private List localDeclarations = new ArrayList();
+ public List getLocalDeclarations() { return localDeclarations; }
public static final CommonToken IGNORE_TOKEN = new CommonToken(null,0,99,0,0);
private List errors = new ArrayList();
@@ -144,7 +146,7 @@
else if ( e instanceof MismatchedTreeNodeException ) {
MismatchedTreeNodeException mtne = (MismatchedTreeNodeException)e;
message.append("mismatched tree node: "+
- mtne.foundNode+
+ mtne.node+
"; expecting type "+
tokenNames[mtne.expecting]);
}
@@ -383,7 +385,21 @@
;
variableDeclarator
- : Identifier variableDeclaratorRest
+ scope {
+ JavaLocalDeclarationDescr.IdentifierDescr ident;
+ }
+ @init {
+ $variableDeclarator::ident = new JavaLocalDeclarationDescr.IdentifierDescr();
+ }
+ @after {
+ $localVariableDeclaration::descr.addIdentifier( $variableDeclarator::ident );
+ }
+ : Identifier variableDeclaratorRest
+ {
+ $variableDeclarator::ident.setIdentifier( $Identifier.text );
+ $variableDeclarator::ident.setStart( ((CommonToken)$Identifier).getStartIndex() - 1 );
+ $variableDeclarator::ident.setEnd( ((CommonToken)$variableDeclaratorRest.stop).getStopIndex() );
+ }
;
variableDeclaratorRest
@@ -602,7 +618,29 @@
;
localVariableDeclaration
- : variableModifier* type variableDeclarators ';'
+scope {
+ JavaLocalDeclarationDescr descr;
+ }
+ @init {
+ $localVariableDeclaration::descr = new JavaLocalDeclarationDescr();
+ }
+ @after {
+ localDeclarations.add( $localVariableDeclaration::descr );
+ }
+ :
+ ( variableModifier
+ {
+ $localVariableDeclaration::descr.updateStart( ((CommonToken)$variableModifier.start).getStartIndex() - 1 );
+ $localVariableDeclaration::descr.addModifier( $variableModifier.text );
+ }
+ )*
+ type
+ {
+ $localVariableDeclaration::descr.updateStart( ((CommonToken)$type.start).getStartIndex() - 1 );
+ $localVariableDeclaration::descr.setType( $type.text );
+ $localVariableDeclaration::descr.setEnd( ((CommonToken)$type.stop).getStopIndex() );
+ }
+ variableDeclarators ';'
;
statement
Modified: labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/rule/builder/dialect/java/AccumulateTemplateTest.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/rule/builder/dialect/java/AccumulateTemplateTest.java 2007-06-19 17:44:42 UTC (rev 12694)
+++ labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/rule/builder/dialect/java/AccumulateTemplateTest.java 2007-06-19 23:25:34 UTC (rev 12695)
@@ -2,16 +2,22 @@
import java.io.InputStreamReader;
import java.util.Arrays;
+import java.util.HashMap;
import java.util.List;
+import java.util.Map;
import junit.framework.TestCase;
import org.drools.Cheese;
import org.drools.Person;
-import org.drools.base.ClassFieldExtractor;
+import org.drools.base.ClassFieldExtractorCache;
import org.drools.base.ClassObjectType;
import org.drools.rule.Declaration;
import org.drools.spi.PatternExtractor;
+import org.drools.util.StringUtils;
+import org.mvel.MVELTemplateRegistry;
+import org.mvel.TemplateInterpreter;
+import org.mvel.TemplateRegistry;
public class AccumulateTemplateTest extends TestCase {
@@ -22,92 +28,198 @@
protected void tearDown() throws Exception {
super.tearDown();
}
-
- public void testEmpty() {
-
+
+ public void testMethodGeneration() {
+ final String className = "accumulate0";
+
+ final String[] declarationTypes = new String[]{"String", "int"};
+ final Declaration[] declarations = new Declaration[]{new Declaration( "name",
+ null,
+ null ), new Declaration( "age",
+ null,
+ null )};
+ final Declaration[] inner = new Declaration[]{new Declaration( "cheese",
+ new PatternExtractor( new ClassObjectType( Cheese.class ) ),
+ null ), new Declaration( "price",
+ ClassFieldExtractorCache.getExtractor( Cheese.class,
+ "price" ),
+ null )};
+ final String[] globals = new String[]{"aGlobal", "anotherGlobal"};
+ final List globalTypes = Arrays.asList( new String[]{"String", "String"} );
+
+ final Map map = new HashMap();
+
+ map.put( "className",
+ StringUtils.ucFirst( className ) );
+
+ map.put( "instanceName",
+ className );
+
+ map.put( "package",
+ "org.drools" );
+
+ map.put( "ruleClassName",
+ "Rule0" );
+
+ map.put( "invokerClassName",
+ "Rule0" + StringUtils.ucFirst( className ) + "Invoker" );
+
+ map.put( "declarations",
+ declarations );
+
+ map.put( "declarationTypes",
+ declarationTypes );
+
+ map.put( "globals",
+ globals );
+
+ map.put( "globalTypes",
+ globalTypes );
+
+ map.put( "innerDeclarations",
+ inner );
+
+ map.put( "attributes",
+ new Attribute[]{new Attribute( "int",
+ "x" )} );
+ map.put( "initCode",
+ "x = 0;" );
+ map.put( "actionCode",
+ "x += 1;" );
+ map.put( "resultCode",
+ "x + 10" );
+
+ map.put( "resultType",
+ Integer.class );
+
+ map.put( "hashCode",
+ new Integer( 10 ) );
+
+ TemplateRegistry registry = getRuleTemplateRegistry();
+ Object method = TemplateInterpreter.parse( registry.getTemplate( "accummulateInnerClass" ),
+ null,
+ map,
+ registry );
+
+ System.out.println( method );
}
-// public void testMethodGeneration() {
-// final StringTemplateGroup ruleGroup = new StringTemplateGroup( new InputStreamReader( AccumulateTemplateTest.class.getResourceAsStream( "javaRule.stg" ) ),
-// AngleBracketTemplateLexer.class );
-// final StringTemplate accMethod = ruleGroup.getInstanceOf( "accumulateMethod" );
-//
-// final String[] declarationTypes = new String[]{"String", "int"};
-// final Declaration[] declarations = new Declaration[]{new Declaration( "name",
-// null,
-// null ), new Declaration( "age",
-// null,
-// null )};
-// final Declaration[] inner = new Declaration[]{new Declaration( "cheese",
-// new PatternExtractor( new ClassObjectType( Cheese.class ) ),
-// null ), new Declaration( "price",
-// new ClassFieldExtractor( Cheese.class,
-// "price" ),
-// null )};
-// final String[] globals = new String[]{"aGlobal", "anotherGlobal"};
-// final List globalTypes = Arrays.asList( new String[]{"String", "String"} );
-//
-// accMethod.setAttribute( "declarations",
-// declarations );
-// accMethod.setAttribute( "declarationTypes",
-// declarationTypes );
-// accMethod.setAttribute( "innerDeclarations",
-// inner );
-// accMethod.setAttribute( "globals",
-// globals );
-// accMethod.setAttribute( "globalTypes",
-// globalTypes );
-// accMethod.setAttribute( "methodName",
-// "accumulateTestMethod" );
-// accMethod.setAttribute( "patternType",
-// "MyClass" );
-// accMethod.setAttribute( "patternDeclaration",
-// "$myclass" );
-// accMethod.setAttribute( "initCode",
-// "int x = 0;" );
-// accMethod.setAttribute( "actionCode",
-// "x += 1;" );
-// accMethod.setAttribute( "resultCode",
-// "x + 10" );
-//
-// System.out.println( accMethod.toString() );
-// }
-//
-// public void testInvokerGeneration() {
-// final StringTemplateGroup ruleGroup = new StringTemplateGroup( new InputStreamReader( AccumulateTemplateTest.class.getResourceAsStream( "javaInvokers.stg" ) ),
-// AngleBracketTemplateLexer.class );
-// final StringTemplate accMethod = ruleGroup.getInstanceOf( "accumulateInvoker" );
-//
-// final String[] declarationTypes = new String[]{"String", "int"};
-// final Declaration[] declarations = new Declaration[]{new Declaration( "name",
-// new ClassFieldExtractor( Person.class,
-// "name" ),
-// null ), new Declaration( "age",
-// new ClassFieldExtractor( Person.class,
-// "age" ),
-// null )};
-// final String[] globals = new String[]{"aGlobal", "anotherGlobal"};
-// final List globalTypes = Arrays.asList( new String[]{"String", "String"} );
-//
-// accMethod.setAttribute( "declarations",
-// declarations );
-// accMethod.setAttribute( "declarationTypes",
-// declarationTypes );
-// accMethod.setAttribute( "globals",
-// globals );
-// accMethod.setAttribute( "globalTypes",
-// globalTypes );
-// accMethod.setAttribute( "package",
-// "org.drools.semantics.java" );
-// accMethod.setAttribute( "invokerClassName",
-// "AccumulateInvokerClass" );
-// accMethod.setAttribute( "ruleClassName",
-// "RuleWithAccumulate" );
-// accMethod.setAttribute( "methodName",
-// "accumulateTestMethod" );
-// accMethod.setAttribute( "hashCode",
-// new Integer( 13 ) );
-//
-// System.out.println( accMethod.toString() );
-// }
+ public void testInvokerGeneration() {
+ final String className = "accumulate0";
+
+ final String[] declarationTypes = new String[]{"String", "int"};
+ final Declaration[] declarations = new Declaration[]{new Declaration( "name",
+ ClassFieldExtractorCache.getExtractor( Person.class,
+ "name" ),
+ null ), new Declaration( "age",
+ ClassFieldExtractorCache.getExtractor( Person.class,
+ "age" ),
+ null )};
+ final Declaration[] inner = new Declaration[]{new Declaration( "cheese",
+ new PatternExtractor( new ClassObjectType( Cheese.class ) ),
+ null ), new Declaration( "price",
+ ClassFieldExtractorCache.getExtractor( Cheese.class,
+ "price" ),
+ null )};
+ final String[] globals = new String[]{"aGlobal", "anotherGlobal"};
+ final List globalTypes = Arrays.asList( new String[]{"String", "String"} );
+
+ final Map map = new HashMap();
+
+ map.put( "className",
+ StringUtils.ucFirst( className ) );
+
+ map.put( "instanceName",
+ className );
+
+ map.put( "package",
+ "org.drools" );
+
+ map.put( "ruleClassName",
+ "Rule0" );
+
+ map.put( "invokerClassName",
+ "Rule0" + StringUtils.ucFirst( className ) + "Invoker" );
+
+ map.put( "declarations",
+ declarations );
+
+ map.put( "declarationTypes",
+ declarationTypes );
+
+ map.put( "globals",
+ globals );
+
+ map.put( "globalTypes",
+ globalTypes );
+
+ map.put( "innerDeclarations",
+ inner );
+
+ map.put( "attributes",
+ new Attribute[]{new Attribute( "int",
+ "x" )} );
+ map.put( "initCode",
+ "x = 0;" );
+ map.put( "actionCode",
+ "x += 1;" );
+ map.put( "resultCode",
+ "x + 10" );
+
+ map.put( "resultType",
+ Integer.class );
+
+ map.put( "hashCode",
+ new Integer( 10 ) );
+
+ TemplateRegistry registry = getInvokerTemplateRegistry();
+ Object method = TemplateInterpreter.parse( registry.getTemplate( "accumulateInvoker" ),
+ null,
+ map,
+ registry );
+
+ System.out.println( method );
+ }
+
+ private TemplateRegistry getRuleTemplateRegistry() {
+ TemplateRegistry ruleRegistry = new MVELTemplateRegistry();
+ ruleRegistry.registerTemplate( new InputStreamReader( AbstractJavaBuilder.class.getResourceAsStream( "javaRule.mvel" ) ) );
+
+ return ruleRegistry;
+ }
+
+ private TemplateRegistry getInvokerTemplateRegistry() {
+ TemplateRegistry invokerRegistry = new MVELTemplateRegistry();
+ invokerRegistry.registerTemplate( new InputStreamReader( AbstractJavaBuilder.class.getResourceAsStream( "javaInvokers.mvel" ) ) );
+
+ return invokerRegistry;
+ }
+
+ public static class Attribute {
+ private String type;
+ private String name;
+
+ public Attribute(String type,
+ String name) {
+ this.type = type;
+ this.name = name;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+ }
+
}
Added: labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/rule/builder/dialect/java/JavaAccumulateBuilderTest.java
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/rule/builder/dialect/java/JavaAccumulateBuilderTest.java (rev 0)
+++ labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/rule/builder/dialect/java/JavaAccumulateBuilderTest.java 2007-06-19 23:25:34 UTC (rev 12695)
@@ -0,0 +1,89 @@
+package org.drools.rule.builder.dialect.java;
+
+import java.util.Set;
+
+import org.drools.compiler.DialectRegistry;
+import org.drools.compiler.PackageBuilder;
+import org.drools.lang.descr.AccumulateDescr;
+import org.drools.lang.descr.DescrFactory;
+import org.drools.lang.descr.FieldBindingDescr;
+import org.drools.lang.descr.PatternDescr;
+import org.drools.lang.descr.RuleDescr;
+import org.drools.reteoo.InitialFactHandle;
+import org.drools.reteoo.ReteTuple;
+import org.drools.rule.Accumulate;
+import org.drools.rule.ConditionalElement;
+import org.drools.rule.builder.Dialect;
+import org.drools.rule.builder.RuleBuildContext;
+
+import junit.framework.TestCase;
+
+public class JavaAccumulateBuilderTest extends TestCase {
+
+ private JavaAccumulateBuilder builder;
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ builder = new JavaAccumulateBuilder();
+ }
+
+ protected void tearDown() throws Exception {
+ super.tearDown();
+ }
+
+ public void testBuildRuleBuildContextBaseDescr() {
+ // $total : Integer() from accumulate( Cheese( $price : price ) init( int x = 0; ) action( x += $price ) result( new Integer( x ) ) )
+ AccumulateDescr accumDescr = new DescrFactory().createAccumulate();
+
+ FieldBindingDescr price = new FieldBindingDescr( "price", "$price" );
+ PatternDescr cheeseDescr = new PatternDescr( "org.drools.Cheese" );
+ cheeseDescr.addConstraint( price );
+ accumDescr.setSourcePattern( cheeseDescr );
+
+ PatternDescr totalDescr = new PatternDescr( "java.lang.Integer", "$total" );
+ accumDescr.setResultPattern( totalDescr );
+
+ accumDescr.setInitCode( "int x = 0;" );
+ accumDescr.setActionCode( "x += $price;" );
+ accumDescr.setResultCode( "new Integer( x )" );
+
+ org.drools.rule.Package pkg = new org.drools.rule.Package( "org.drools" );
+ PackageBuilder pkgBuilder = new PackageBuilder( pkg );
+ DialectRegistry registry = new DialectRegistry();
+ Dialect java = new JavaDialect(pkgBuilder);
+ registry.addDialect( "java", java );
+ RuleDescr ruleDescr = new RuleDescr("test rule");
+ RuleBuildContext context = new RuleBuildContext( pkg, ruleDescr, registry, java);
+
+ Accumulate accumulate = (Accumulate) builder.build( context, accumDescr );
+
+ assertTrue( context.getErrors().toString(), context.getErrors().isEmpty() );
+// System.out.println( context.getInvokers() );
+// System.out.println( context.getMethods() );
+ }
+
+ public void testFixInitCode() throws Exception {
+ JavaExprAnalyzer analyzer = new JavaExprAnalyzer();
+ JavaAccumulateBuilder builder = new JavaAccumulateBuilder();
+
+ String code = "int x = 0;";
+ String expected = "x = 0;";
+ JavaAnalysisResult analysis = analyzer.analyzeBlock( code, new Set[0]);
+ String result = builder.fixInitCode( analysis, code );
+ assertEquals( expected, result );
+
+ code = "$anExternalVar.method(); \nint aVar = 0, anotherVar=10 ;Integer bla = new Integer( 25);functionCall();\n";
+ expected = "$anExternalVar.method(); \naVar = 0;anotherVar=10;bla = new Integer( 25);functionCall();\n";;
+ analysis = analyzer.analyzeBlock( code, new Set[0]);
+ result = builder.fixInitCode( analysis, code );
+ assertEquals( expected, result );
+
+ code = "$anExternalVar.method(); String[] aVar = new String[] { \"a\", \"b\" }, anotherVar=new String[] { someStringVar } ;final Integer bla = new Integer( 25);functionCall();\n";
+ expected = "$anExternalVar.method(); aVar = new String[] { \"a\", \"b\" };anotherVar=new String[] { someStringVar };bla = new Integer( 25);functionCall();\n";
+ analysis = analyzer.analyzeBlock( code, new Set[0]);
+ result = builder.fixInitCode( analysis, code );
+ assertEquals( expected, result );
+
+ }
+
+}
Modified: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/base/ClassFieldExtractor.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/base/ClassFieldExtractor.java 2007-06-19 17:44:42 UTC (rev 12694)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/base/ClassFieldExtractor.java 2007-06-19 23:25:34 UTC (rev 12695)
@@ -21,7 +21,6 @@
import java.lang.reflect.Method;
import org.drools.RuntimeDroolsException;
-import org.drools.common.ObjectInputStreamWithLoader;
import org.drools.spi.FieldExtractor;
/**
Modified: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/reteoo/AccumulateNode.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/reteoo/AccumulateNode.java 2007-06-19 17:44:42 UTC (rev 12694)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/reteoo/AccumulateNode.java 2007-06-19 23:25:34 UTC (rev 12695)
@@ -16,9 +16,7 @@
package org.drools.reteoo;
-import java.util.ArrayList;
import java.util.Arrays;
-import java.util.List;
import org.drools.common.BetaConstraints;
import org.drools.common.EmptyBetaConstraints;
@@ -118,8 +116,18 @@
memory.getTupleMemory().add( leftTuple );
- final List matchingObjects = new ArrayList();
+ AccumulateResult accresult = new AccumulateResult();
+ memory.getCreatedHandles().put( leftTuple,
+ accresult,
+ false );
+ final Object accContext = this.accumulate.createContext();
+
+ accresult.context = accContext;
+ this.accumulate.init( accContext,
+ leftTuple,
+ workingMemory );
+
final Iterator it = memory.getFactHandleMemory().iterator( leftTuple );
this.constraints.updateFromTuple( workingMemory,
leftTuple );
@@ -127,13 +135,17 @@
for ( FactEntry entry = (FactEntry) it.next(); entry != null; entry = (FactEntry) it.next() ) {
final InternalFactHandle handle = entry.getFactHandle();
if ( this.constraints.isAllowedCachedLeft( handle.getObject() ) ) {
- matchingObjects.add( handle.getObject() );
+ this.accumulate.accumulate( accContext,
+ leftTuple,
+ handle,
+ workingMemory );
}
}
- final Object result = this.accumulate.accumulate( leftTuple,
- matchingObjects,
- workingMemory );
+ final Object result = this.accumulate.getResult( accContext,
+ leftTuple,
+ workingMemory );
+
// First alpha node filters
boolean isAllowed = true;
for ( int i = 0, length = this.resultConstraints.length; i < length; i++ ) {
@@ -148,14 +160,12 @@
leftTuple );
if ( this.resultBinder.isAllowedCachedLeft( result ) ) {
final InternalFactHandle handle = workingMemory.getFactHandleFactory().newFactHandle( result );
- memory.getCreatedHandles().put( leftTuple,
- handle,
- false );
+ accresult.handle = handle;
this.sink.propagateAssertTuple( leftTuple,
- handle,
- context,
- workingMemory );
+ handle,
+ context,
+ workingMemory );
}
}
@@ -173,19 +183,19 @@
final InternalWorkingMemory workingMemory) {
final BetaMemory memory = (BetaMemory) workingMemory.getNodeMemory( this );
memory.getTupleMemory().remove( leftTuple );
- final InternalFactHandle handle = (InternalFactHandle) memory.getCreatedHandles().remove( leftTuple );
+ final AccumulateResult accresult = (AccumulateResult) memory.getCreatedHandles().remove( leftTuple );
// if tuple was propagated
- if ( handle != null ) {
-
+ if ( accresult.handle != null ) {
this.sink.propagateRetractTuple( leftTuple,
- handle,
+ accresult.handle,
context,
workingMemory );
// Destroying the acumulate result object
- workingMemory.getFactHandleFactory().destroyFactHandle( handle );
+ workingMemory.getFactHandleFactory().destroyFactHandle( accresult.handle );
}
+
}
/**
@@ -212,14 +222,75 @@
for ( int i = 0; i < tuples.length; i++ ) {
ReteTuple tuple = (ReteTuple) tuples[i];
if ( this.constraints.isAllowedCachedRight( tuple ) ) {
- this.retractTuple( tuple,
+ modifyTupleAssert( tuple,
+ handle,
context,
workingMemory );
- this.assertTuple( tuple,
- context,
+ }
+ }
+ }
+
+ public void modifyTupleAssert(final ReteTuple leftTuple,
+ final InternalFactHandle handle,
+ final PropagationContext context,
+ final InternalWorkingMemory workingMemory) {
+
+ final BetaMemory memory = (BetaMemory) workingMemory.getNodeMemory( this );
+ AccumulateResult accresult = (AccumulateResult) memory.getCreatedHandles().get( leftTuple );
+
+ // if tuple was propagated
+ if ( accresult.handle != null ) {
+ this.sink.propagateRetractTuple( leftTuple,
+ accresult.handle,
+ context,
+ workingMemory );
+
+ // Destroying the acumulate result object
+ workingMemory.getFactHandleFactory().destroyFactHandle( accresult.handle );
+ accresult.handle = null;
+ }
+
+ if( accresult.context == null ) {
+ final Object accContext = this.accumulate.createContext();
+
+ this.accumulate.init( accContext,
+ leftTuple,
workingMemory );
+
+ accresult.context = accContext;
+ }
+
+ this.accumulate.accumulate( accresult.context,
+ leftTuple,
+ handle,
+ workingMemory );
+
+ final Object result = this.accumulate.getResult( accresult.context,
+ leftTuple,
+ workingMemory );
+
+ // First alpha node filters
+ boolean isAllowed = true;
+ for ( int i = 0, length = this.resultConstraints.length; i < length; i++ ) {
+ if ( !this.resultConstraints[i].isAllowed( result,
+ workingMemory ) ) {
+ isAllowed = false;
+ break;
}
}
+ if ( isAllowed ) {
+ this.resultBinder.updateFromTuple( workingMemory,
+ leftTuple );
+ if ( this.resultBinder.isAllowedCachedLeft( result ) ) {
+ final InternalFactHandle createdHandle = workingMemory.getFactHandleFactory().newFactHandle( result );
+ accresult.handle = createdHandle;
+
+ this.sink.propagateAssertTuple( leftTuple,
+ createdHandle,
+ context,
+ workingMemory );
+ }
+ }
}
/**
@@ -261,19 +332,19 @@
final Iterator it = memory.getCreatedHandles().iterator();
for ( ObjectEntry entry = (ObjectEntry) it.next(); entry != null; entry = (ObjectEntry) it.next() ) {
+ AccumulateResult accresult = (AccumulateResult) entry.getValue();
sink.assertTuple( new ReteTuple( (ReteTuple) entry.getKey(),
- (InternalFactHandle) entry.getValue() ),
+ accresult.handle ),
context,
workingMemory );
}
}
-
+
/* (non-Javadoc)
* @see org.drools.reteoo.BaseNode#hashCode()
*/
public int hashCode() {
- return this.leftInput.hashCode() ^ this.rightInput.hashCode() ^ this.accumulate.hashCode() ^ this.resultBinder.hashCode() ^
- ArrayUtils.hashCode( this.resultConstraints );
+ return this.leftInput.hashCode() ^ this.rightInput.hashCode() ^ this.accumulate.hashCode() ^ this.resultBinder.hashCode() ^ ArrayUtils.hashCode( this.resultConstraints );
}
/* (non-Javadoc)
@@ -289,19 +360,22 @@
}
final AccumulateNode other = (AccumulateNode) object;
-
- if( this.getClass() != other.getClass() || ( ! this.leftInput.equals( other.leftInput ) ) ||
- ( ! this.rightInput.equals( other.rightInput ) ) || (! this.constraints.equals( other.constraints )) ) {
+
+ if ( this.getClass() != other.getClass() || (!this.leftInput.equals( other.leftInput )) || (!this.rightInput.equals( other.rightInput )) || (!this.constraints.equals( other.constraints )) ) {
return false;
}
-
- return this.accumulate.equals( other.accumulate ) && resultBinder.equals( other.resultBinder ) && Arrays.equals( this.resultConstraints, other.resultConstraints );
+
+ return this.accumulate.equals( other.accumulate ) && resultBinder.equals( other.resultBinder ) && Arrays.equals( this.resultConstraints,
+ other.resultConstraints );
}
-
-
public String toString() {
return "[ " + this.getClass().getName() + "(" + this.id + ") ]";
}
+ private static class AccumulateResult {
+ public InternalFactHandle handle;
+ public Object context;
+
+ }
}
Modified: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/rule/Accumulate.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/rule/Accumulate.java 2007-06-19 17:44:42 UTC (rev 12694)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/rule/Accumulate.java 2007-06-19 23:25:34 UTC (rev 12695)
@@ -16,24 +16,24 @@
package org.drools.rule;
-import java.util.List;
import java.util.Map;
import org.drools.RuntimeDroolsException;
import org.drools.WorkingMemory;
+import org.drools.common.InternalFactHandle;
import org.drools.spi.Accumulator;
import org.drools.spi.Tuple;
/**
- * A class to represent a Accumulate CE
+ * A class to represent the Accumulate CE
*/
public class Accumulate extends ConditionalElement {
private static final long serialVersionUID = 4608000398919355806L;
private Accumulator accumulator;
- private Pattern sourcePattern;
- private Pattern resultPattern;
+ private Pattern sourcePattern;
+ private Pattern resultPattern;
private Declaration[] requiredDeclarations;
private Declaration[] innerDeclarations;
@@ -80,20 +80,79 @@
this.accumulator = accumulator;
}
- public Object accumulate(final Tuple leftTuple,
- final List matchingObjects,
- final WorkingMemory workingMemory) {
+ public Object createContext() {
+ return this.accumulator.createContext();
+ }
+
+ /**
+ * Executes the initialization block of code
+ *
+ * @param leftTuple tuple causing the rule fire
+ * @param declarations previous declarations
+ * @param workingMemory
+ * @throws Exception
+ */
+ public void init(final Object context,
+ final Tuple leftTuple,
+ final WorkingMemory workingMemory) {
try {
- return this.accumulator.accumulate( leftTuple,
- matchingObjects,
- this.requiredDeclarations,
- this.innerDeclarations,
- workingMemory );
+ this.accumulator.init( context,
+ leftTuple,
+ this.requiredDeclarations,
+ workingMemory );
} catch ( final Exception e ) {
throw new RuntimeDroolsException( e );
}
}
+ /**
+ * Executes the accumulate (action) code for the given fact handle
+ *
+ * @param leftTuple
+ * @param handle
+ * @param declarations
+ * @param innerDeclarations
+ * @param workingMemory
+ * @throws Exception
+ */
+ public void accumulate(final Object context,
+ final Tuple leftTuple,
+ final InternalFactHandle handle,
+ final WorkingMemory workingMemory) {
+ try {
+ this.accumulator.accumulate( context,
+ leftTuple,
+ handle,
+ this.requiredDeclarations,
+ this.innerDeclarations,
+ workingMemory );
+ } catch ( final Exception e ) {
+ throw new RuntimeDroolsException( e );
+ }
+ }
+
+ /**
+ * Gets the result of the accummulation
+ *
+ * @param leftTuple
+ * @param declarations
+ * @param workingMemory
+ * @return
+ * @throws Exception
+ */
+ public Object getResult(final Object context,
+ final Tuple leftTuple,
+ final WorkingMemory workingMemory) {
+ try {
+ return this.accumulator.getResult( context,
+ leftTuple,
+ this.requiredDeclarations,
+ workingMemory );
+ } catch ( final Exception e ) {
+ throw new RuntimeDroolsException( e );
+ }
+ }
+
public Object clone() {
return new Accumulate( this.sourcePattern,
this.resultPattern,
Modified: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/spi/Accumulator.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/spi/Accumulator.java 2007-06-19 17:44:42 UTC (rev 12694)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/spi/Accumulator.java 2007-06-19 23:25:34 UTC (rev 12695)
@@ -16,9 +16,8 @@
package org.drools.spi;
-import java.util.List;
-
import org.drools.WorkingMemory;
+import org.drools.common.InternalFactHandle;
import org.drools.rule.Declaration;
/**
@@ -32,11 +31,58 @@
public interface Accumulator
extends
Invoker {
+
+ /**
+ * Creates the context object for an accumulator session.
+ * The context is passed as a parameter to every subsequent accumulator
+ * method call in the same session.
+ *
+ * @return
+ */
+ public Object createContext();
- public Object accumulate(Tuple leftTuple,
- List matchingObjects,
- Declaration[] declarations,
- Declaration[] innerDeclarations,
- WorkingMemory workingMemory) throws Exception;
+ /**
+ * Executes the initialization block of code
+ *
+ * @param leftTuple tuple causing the rule fire
+ * @param declarations previous declarations
+ * @param workingMemory
+ * @throws Exception
+ */
+ public void init(Object context,
+ Tuple leftTuple,
+ Declaration[] declarations,
+ WorkingMemory workingMemory) throws Exception;
+ /**
+ * Executes the accumulate (action) code for the given fact handle
+ *
+ * @param leftTuple
+ * @param handle
+ * @param declarations
+ * @param innerDeclarations
+ * @param workingMemory
+ * @throws Exception
+ */
+ public void accumulate(Object context,
+ Tuple leftTuple,
+ InternalFactHandle handle,
+ Declaration[] declarations,
+ Declaration[] innerDeclarations,
+ WorkingMemory workingMemory) throws Exception;
+
+ /**
+ * Gets the result of the accummulation
+ *
+ * @param leftTuple
+ * @param declarations
+ * @param workingMemory
+ * @return
+ * @throws Exception
+ */
+ public Object getResult(Object context,
+ Tuple leftTuple,
+ Declaration[] declarations,
+ WorkingMemory workingMemory) throws Exception;
+
}
Modified: labs/jbossrules/trunk/drools-core/src/test/java/org/drools/reteoo/MockAccumulator.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/test/java/org/drools/reteoo/MockAccumulator.java 2007-06-19 17:44:42 UTC (rev 12694)
+++ labs/jbossrules/trunk/drools-core/src/test/java/org/drools/reteoo/MockAccumulator.java 2007-06-19 23:25:34 UTC (rev 12695)
@@ -15,10 +15,12 @@
*/
package org.drools.reteoo;
+import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.drools.WorkingMemory;
+import org.drools.common.InternalFactHandle;
import org.drools.rule.Declaration;
import org.drools.spi.Accumulator;
import org.drools.spi.Tuple;
@@ -39,20 +41,6 @@
private List matchingObjects = Collections.EMPTY_LIST;
private WorkingMemory workingMemory = null;
- /* (non-Javadoc)
- * @see org.drools.reteoo.Accumulator#accumulate(org.drools.reteoo.ReteTuple, java.util.List, org.drools.WorkingMemory)
- */
- public Object accumulate(final Tuple leftTuple,
- final List matchingObjects,
- final Declaration[] declarations,
- final Declaration[] inner,
- final WorkingMemory workingMemory) {
- this.leftTuple = leftTuple;
- this.matchingObjects = matchingObjects;
- this.workingMemory = workingMemory;
- return matchingObjects;
- }
-
public Tuple getLeftTuple() {
return this.leftTuple;
}
@@ -64,5 +52,34 @@
public WorkingMemory getWorkingMemory() {
return this.workingMemory;
}
+
+ public Object createContext() {
+ return this;
+ }
+ public void init(Object context,
+ Tuple leftTuple,
+ Declaration[] declarations,
+ WorkingMemory workingMemory) throws Exception {
+ this.leftTuple = leftTuple;
+ this.matchingObjects = new ArrayList();
+ this.workingMemory = workingMemory;
+ }
+
+ public void accumulate(Object context,
+ Tuple leftTuple,
+ InternalFactHandle handle,
+ Declaration[] declarations,
+ Declaration[] innerDeclarations,
+ WorkingMemory workingMemory) throws Exception {
+ this.matchingObjects.add( handle.getObject() );
+ }
+
+ public Object getResult(Object context,
+ Tuple leftTuple,
+ Declaration[] declarations,
+ WorkingMemory workingMemory) throws Exception {
+ return this.matchingObjects;
+ }
+
}
More information about the jboss-svn-commits
mailing list