|
Cobertura example source code file (JavaParser15Debug.java)
The Cobertura JavaParser15Debug.java source code/* * Cobertura - http://cobertura.sourceforge.net/ * * This file was taken from JavaNCSS * http://www.kclee.com/clemens/java/javancss/ * Copyright (C) 2000 Chr. Clemens Lee <clemens a.t kclee d.o.t com> * * Cobertura is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published * by the Free Software Foundation; either version 2 of the License, * or (at your option) any later version. * * Cobertura is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Cobertura; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA */ /* * * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING * * WARNING TO COBERTURA DEVELOPERS * * DO NOT MODIFY THIS FILE! * * MODIFY THE FILES UNDER THE JAVANCSS DIRECTORY LOCATED AT THE ROOT OF THE COBERTURA PROJECT. * * FOLLOW THE PROCEDURE FOR MERGING THE LATEST JAVANCSS INTO COBERTURA LOCATED AT * javancss/coberturaREADME.txt * * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING */ /* Generated By:JavaCC: Do not edit this line. JavaParser15Debug.java */ package net.sourceforge.cobertura.javancss.parser.java15.debug; import java.io.*; import net.sourceforge.cobertura.javancss.parser.JavaParserInterface; import java.util.*; import net.sourceforge.cobertura.javancss.FunctionMetric; import net.sourceforge.cobertura.javancss.ObjectMetric; import net.sourceforge.cobertura.javancss.PackageMetric; /** * Grammar to parse Java version 1.5 * @author Sreenivasa Viswanadha - Simplified and enhanced for 1.5 */ public class JavaParser15Debug implements JavaParserInterface, JavaParser15DebugConstants { private boolean _bReturn = false; private int _ncss = 0; // general counter private int _loc = 0; private int _cyc = 1; private int _localCases = 0; private String _sName = ""; // name of last token private String _sParameter = ""; private String _sPackage = ""; private String _sClass = ""; private String _sFunction = ""; private int _functions = 0; // number of functions in this class //private int _topLevelClasses = 0; private int _classes = 0; private int _classLevel = 0; private int _anonClassCount = 1; private int _jvdcLines = 0; // added by SMS private int _jvdc = 0; private boolean _bPrivate = true;//false; // added by SMS private boolean _bPublic = true; // added by SMS /** * For each class the number of formal * comments in toplevel methods, constructors, inner * classes, and for the class itself are counted. * The top level comment has to be directly before * the class definition, not before the package or * import statement as it is often seen in source code * examples (at the beginning of your source files you * should instead put your copyright notice). */ private int _javadocs = 0; // global javadocs private List/*<FunctionMetric>*/ _vFunctions = new ArrayList(); // holds the statistics for each method /** * Metrics for each class/interface are stored in this * vector. */ private List/*<ObjectMetric>*/ _vClasses = new ArrayList(); private List _vImports = new ArrayList(); private Object[] _aoPackage = null; private Map/*<String,PackageMetric>*/ _htPackage = new HashMap(); private PackageMetric _pPackageMetric; private Token _tmpToken = null; /** Argh, too much of a state machine. */ private Token _tmpResultToken = null; private String _formatPackage(String sPackage_) { if (sPackage_.equals("")) { return "."; } return sPackage_.substring(0, sPackage_.length() - 1); } public void parse() throws Exception { CompilationUnit(); } public void parseImportUnit() throws Exception { ImportUnit(); } public int getNcss() { return _ncss; } public int getLOC() { return _loc; } // added by SMS public int getJvdc() { return _jvdc; } /*public int getTopLevelClasses() { return _topLevelClasses; }*/ public List/*<FunctionMetric>*/ getFunction() { return _vFunctions; } /** * @return Top level classes in sorted order */ public List/*<ObjectMetric>*/ getObject() { Collections.sort(_vClasses); return _vClasses; } /** * @return The empty package consists of the name ".". */ public Map/*<String,PackageMetric>*/ getPackage() { return _htPackage; } public List getImports() { return _vImports; } /** * name, beginLine, ... */ public Object[] getPackageObjects() { return _aoPackage; } /** * if javancss is used with cat *.java a long * input stream might get generated, so line * number information in case of an parse exception * is not very useful. */ public String getLastFunction() { return _sPackage + _sClass + _sFunction; } /** * Class to hold modifiers. */ static public final class ModifierSet { /* Definitions of the bits in the modifiers field. */ public static final int PUBLIC = 0x0001; public static final int PROTECTED = 0x0002; public static final int PRIVATE = 0x0004; public static final int ABSTRACT = 0x0008; public static final int STATIC = 0x0010; public static final int FINAL = 0x0020; public static final int SYNCHRONIZED = 0x0040; public static final int NATIVE = 0x0080; public static final int TRANSIENT = 0x0100; public static final int VOLATILE = 0x0200; public static final int STRICTFP = 0x1000; /** A set of accessors that indicate whether the specified modifier is in the set. */ public boolean isPublic(int modifiers) { return (modifiers & PUBLIC) != 0; } public boolean isProtected(int modifiers) { return (modifiers & PROTECTED) != 0; } public boolean isPrivate(int modifiers) { return (modifiers & PRIVATE) != 0; } public boolean isStatic(int modifiers) { return (modifiers & STATIC) != 0; } public boolean isAbstract(int modifiers) { return (modifiers & ABSTRACT) != 0; } public boolean isFinal(int modifiers) { return (modifiers & FINAL) != 0; } public boolean isNative(int modifiers) { return (modifiers & NATIVE) != 0; } public boolean isStrictfp(int modifiers) { return (modifiers & STRICTFP) != 0; } public boolean isSynchronized(int modifiers) { return (modifiers & SYNCHRONIZED) != 0; } public boolean isTransient(int modifiers) { return (modifiers & TRANSIENT) != 0; } public boolean isVolatile(int modifiers) { return (modifiers & VOLATILE) != 0; } /** * Removes the given modifier. */ static int removeModifier(int modifiers, int mod) { return modifiers & ~mod; } } public JavaParser15Debug(String fileName) { this(System.in); try { ReInit(new FileInputStream(new File(fileName))); } catch(Exception e) { e.printStackTrace(); } } public static void main(String args[]) { JavaParser15Debug parser; if (args.length == 0) { System.out.println("Java Parser Version 1.5: Reading from standard input . . ."); parser = new JavaParser15Debug(System.in); } else if (args.length == 1) { System.out.println("Java Parser Version 1.5: Reading from file " + args[0] + " . . ."); try { parser = new JavaParser15Debug(new java.io.FileInputStream(args[0])); } catch (java.io.FileNotFoundException e) { System.out.println("Java Parser Version 1.5: File " + args[0] + " not found."); return; } } else { System.out.println("Java Parser Version 1.5: Usage is one of:"); System.out.println(" java javancss.parser.java15.debug.JavaParser15Debug < inputfile"); System.out.println("OR"); System.out.println(" java javancss.parser.java15.debug.JavaParser15Debug inputfile"); return; } try { parser.CompilationUnit(); System.out.println("Java Parser Version 1.1: Java program parsed successfully."); } catch (ParseException e) { System.out.println(e.getMessage()); System.out.println("Java Parser Version 1.1: Encountered errors during parse."); } } /***************************************** * THE JAVA LANGUAGE GRAMMAR STARTS HERE * *****************************************/ /* * Program structuring syntax follows. */ final public void CompilationUnit() throws ParseException { trace_call("CompilationUnit"); try { if (jj_2_1(2147483647)) { PackageDeclaration(); } else { ; } label_1: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case IMPORT: ; break; default: break label_1; } ImportDeclaration(); } label_2: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ABSTRACT: case CLASS: case ENUM: case FINAL: case INTERFACE: case NATIVE: case PRIVATE: case PROTECTED: case PUBLIC: case STATIC: case STRICTFP: case SYNCHRONIZED: case TRANSIENT: case VOLATILE: case SEMICOLON: case AT: ; break; default: break label_2; } TypeDeclaration(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case 127: jj_consume_token(127); break; default: ; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STUFF_TO_IGNORE: jj_consume_token(STUFF_TO_IGNORE); break; default: ; } jj_consume_token(0); } finally { trace_return("CompilationUnit"); } } final public void PackageDeclaration() throws ParseException { trace_call("PackageDeclaration"); try { Modifiers(); jj_consume_token(PACKAGE); Name(); jj_consume_token(SEMICOLON); } finally { trace_return("PackageDeclaration"); } } final public void ImportUnit() throws ParseException { trace_call("ImportUnit"); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ABSTRACT: case FINAL: case NATIVE: case PACKAGE: case PRIVATE: case PROTECTED: case PUBLIC: case STATIC: case STRICTFP: case SYNCHRONIZED: case TRANSIENT: case VOLATILE: case AT: PackageDeclaration(); break; default: ; } label_3: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case IMPORT: ; break; default: break label_3; } ImportDeclaration(); } label_4: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ABSTRACT: case FINAL: case PUBLIC: case STRICTFP: case SYNCHRONIZED: ; break; default: break label_4; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ABSTRACT: jj_consume_token(ABSTRACT); break; case FINAL: jj_consume_token(FINAL); break; case PUBLIC: jj_consume_token(PUBLIC); break; case SYNCHRONIZED: jj_consume_token(SYNCHRONIZED); break; case STRICTFP: jj_consume_token(STRICTFP); break; default: jj_consume_token(-1); throw new ParseException(); } } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case CLASS: jj_consume_token(CLASS); break; case INTERFACE: jj_consume_token(INTERFACE); break; default: jj_consume_token(-1); throw new ParseException(); } } finally { trace_return("ImportUnit"); } } final public void ImportDeclaration() throws ParseException { trace_call("ImportDeclaration"); try { jj_consume_token(IMPORT); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STATIC: jj_consume_token(STATIC); break; default: ; } Name(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case DOT: jj_consume_token(DOT); jj_consume_token(STAR); break; default: ; } jj_consume_token(SEMICOLON); } finally { trace_return("ImportDeclaration"); } } /* * Modifiers. We match all modifiers in a single rule to reduce the chances of * syntax errors for simple modifier mistakes. It will also enable us to give * better error messages. */ final public int Modifiers() throws ParseException { trace_call("Modifiers"); try { int modifiers = 0; label_5: while (true) { if (jj_2_2(2)) { ; } else { break label_5; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case PUBLIC: jj_consume_token(PUBLIC); modifiers |= ModifierSet.PUBLIC; break; case STATIC: jj_consume_token(STATIC); modifiers |= ModifierSet.STATIC; break; case PROTECTED: jj_consume_token(PROTECTED); modifiers |= ModifierSet.PROTECTED; break; case PRIVATE: jj_consume_token(PRIVATE); modifiers |= ModifierSet.PRIVATE; break; case FINAL: jj_consume_token(FINAL); modifiers |= ModifierSet.FINAL; break; case ABSTRACT: jj_consume_token(ABSTRACT); modifiers |= ModifierSet.ABSTRACT; break; case SYNCHRONIZED: jj_consume_token(SYNCHRONIZED); modifiers |= ModifierSet.SYNCHRONIZED; break; case NATIVE: jj_consume_token(NATIVE); modifiers |= ModifierSet.NATIVE; break; case TRANSIENT: jj_consume_token(TRANSIENT); modifiers |= ModifierSet.TRANSIENT; break; case VOLATILE: jj_consume_token(VOLATILE); modifiers |= ModifierSet.VOLATILE; break; case STRICTFP: jj_consume_token(STRICTFP); modifiers |= ModifierSet.STRICTFP; break; case AT: Annotation(); break; default: jj_consume_token(-1); throw new ParseException(); } } {if (true) return modifiers;} throw new Error("Missing return statement in function"); } finally { trace_return("Modifiers"); } } /* * Declaration syntax follows. */ final public void TypeDeclaration() throws ParseException { trace_call("TypeDeclaration"); try { int modifiers; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SEMICOLON: jj_consume_token(SEMICOLON); break; case ABSTRACT: case CLASS: case ENUM: case FINAL: case INTERFACE: case NATIVE: case PRIVATE: case PROTECTED: case PUBLIC: case STATIC: case STRICTFP: case SYNCHRONIZED: case TRANSIENT: case VOLATILE: case AT: modifiers = Modifiers(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case CLASS: case INTERFACE: ClassOrInterfaceDeclaration(modifiers); break; case ENUM: EnumDeclaration(modifiers); break; case AT: AnnotationTypeDeclaration(modifiers); break; default: jj_consume_token(-1); throw new ParseException(); } break; default: jj_consume_token(-1); throw new ParseException(); } } finally { trace_return("TypeDeclaration"); } } final public void ClassOrInterfaceDeclaration(int modifiers) throws ParseException { trace_call("ClassOrInterfaceDeclaration"); try { boolean isInterface = false; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case CLASS: jj_consume_token(CLASS); break; case INTERFACE: jj_consume_token(INTERFACE); isInterface = true; break; default: jj_consume_token(-1); throw new ParseException(); } jj_consume_token(IDENTIFIER); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LT: TypeParameters(); break; default: ; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case EXTENDS: ExtendsList(isInterface); break; default: ; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case IMPLEMENTS: ImplementsList(isInterface); break; default: ; } ClassOrInterfaceBody(isInterface); } finally { trace_return("ClassOrInterfaceDeclaration"); } } final public void ExtendsList(boolean isInterface) throws ParseException { trace_call("ExtendsList"); try { boolean extendsMoreThanOne = false; jj_consume_token(EXTENDS); ClassOrInterfaceType(); label_6: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: break label_6; } jj_consume_token(COMMA); ClassOrInterfaceType(); extendsMoreThanOne = true; } if (extendsMoreThanOne && !isInterface) {if (true) throw new ParseException("A class cannot extend more than one other class");} } finally { trace_return("ExtendsList"); } } final public void ImplementsList(boolean isInterface) throws ParseException { trace_call("ImplementsList"); try { jj_consume_token(IMPLEMENTS); ClassOrInterfaceType(); label_7: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: break label_7; } jj_consume_token(COMMA); ClassOrInterfaceType(); } if (isInterface) {if (true) throw new ParseException("An interface cannot implement other interfaces");} } finally { trace_return("ImplementsList"); } } final public void EnumDeclaration(int modifiers) throws ParseException { trace_call("EnumDeclaration"); try { jj_consume_token(ENUM); jj_consume_token(IDENTIFIER); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case IMPLEMENTS: ImplementsList(false); break; default: ; } EnumBody(); } finally { trace_return("EnumDeclaration"); } } final public void EnumBody() throws ParseException { trace_call("EnumBody"); try { jj_consume_token(LBRACE); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ABSTRACT: case FINAL: case NATIVE: case PRIVATE: case PROTECTED: case PUBLIC: case STATIC: case STRICTFP: case SYNCHRONIZED: case TRANSIENT: case VOLATILE: case IDENTIFIER: case AT: EnumConstant(); label_8: while (true) { if (jj_2_3(2)) { ; } else { break label_8; } jj_consume_token(COMMA); EnumConstant(); } break; default: ; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: jj_consume_token(COMMA); break; default: ; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SEMICOLON: jj_consume_token(SEMICOLON); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ABSTRACT: case BOOLEAN: case BYTE: case CHAR: case CLASS: case DOUBLE: case ENUM: case FINAL: case FLOAT: case INT: case INTERFACE: case LONG: case NATIVE: case PRIVATE: case PROTECTED: case PUBLIC: case SHORT: case STATIC: case STRICTFP: case SYNCHRONIZED: case TRANSIENT: case VOID: case VOLATILE: case IDENTIFIER: case LBRACE: case SEMICOLON: case AT: case LT: ; break; default: break label_9; } ClassOrInterfaceBodyDeclaration(false); } break; default: ; } jj_consume_token(RBRACE); } finally { trace_return("EnumBody"); } } final public void EnumConstant() throws ParseException { trace_call("EnumConstant"); try { Modifiers(); jj_consume_token(IDENTIFIER); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LPAREN: Arguments(); break; default: ; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: ClassOrInterfaceBody(false); break; default: ; } } finally { trace_return("EnumConstant"); } } final public void TypeParameters() throws ParseException { trace_call("TypeParameters"); try { jj_consume_token(LT); TypeParameter(); label_10: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: break label_10; } jj_consume_token(COMMA); TypeParameter(); } jj_consume_token(GT); } finally { trace_return("TypeParameters"); } } final public void TypeParameter() throws ParseException { trace_call("TypeParameter"); try { jj_consume_token(IDENTIFIER); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case EXTENDS: TypeBound(); break; default: ; } } finally { trace_return("TypeParameter"); } } final public void TypeBound() throws ParseException { trace_call("TypeBound"); try { jj_consume_token(EXTENDS); ClassOrInterfaceType(); label_11: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BIT_AND: ; break; default: break label_11; } jj_consume_token(BIT_AND); ClassOrInterfaceType(); } } finally { trace_return("TypeBound"); } } final public void ClassOrInterfaceBody(boolean isInterface) throws ParseException { trace_call("ClassOrInterfaceBody"); try { jj_consume_token(LBRACE); label_12: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ABSTRACT: case BOOLEAN: case BYTE: case CHAR: case CLASS: case DOUBLE: case ENUM: case FINAL: case FLOAT: case INT: case INTERFACE: case LONG: case NATIVE: case PRIVATE: case PROTECTED: case PUBLIC: case SHORT: case STATIC: case STRICTFP: case SYNCHRONIZED: case TRANSIENT: case VOID: case VOLATILE: case IDENTIFIER: case LBRACE: case SEMICOLON: case AT: case LT: ; break; default: break label_12; } ClassOrInterfaceBodyDeclaration(isInterface); } jj_consume_token(RBRACE); } finally { trace_return("ClassOrInterfaceBody"); } } final public void ClassOrInterfaceBodyDeclaration(boolean isInterface) throws ParseException { trace_call("ClassOrInterfaceBodyDeclaration"); try { boolean isNestedInterface = false; int modifiers; if (jj_2_6(2)) { Initializer(); if (isInterface) {if (true) throw new ParseException("An interface cannot have initializers");} } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ABSTRACT: case BOOLEAN: case BYTE: case CHAR: case CLASS: case DOUBLE: case ENUM: case FINAL: case FLOAT: case INT: case INTERFACE: case LONG: case NATIVE: case PRIVATE: case PROTECTED: case PUBLIC: case SHORT: case STATIC: case STRICTFP: case SYNCHRONIZED: case TRANSIENT: case VOID: case VOLATILE: case IDENTIFIER: case AT: case LT: modifiers = Modifiers(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case CLASS: case INTERFACE: ClassOrInterfaceDeclaration(modifiers); break; case ENUM: EnumDeclaration(modifiers); break; default: if (jj_2_4(2147483647)) { ConstructorDeclaration(); } else if (jj_2_5(2147483647)) { FieldDeclaration(modifiers); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FLOAT: case INT: case LONG: case SHORT: case VOID: case IDENTIFIER: case LT: MethodDeclaration(modifiers); break; default: jj_consume_token(-1); throw new ParseException(); } } } break; case SEMICOLON: jj_consume_token(SEMICOLON); break; default: jj_consume_token(-1); throw new ParseException(); } } } finally { trace_return("ClassOrInterfaceBodyDeclaration"); } } final public void FieldDeclaration(int modifiers) throws ParseException { trace_call("FieldDeclaration"); try { Type(); VariableDeclarator(); label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: break label_13; } jj_consume_token(COMMA); VariableDeclarator(); } jj_consume_token(SEMICOLON); } finally { trace_return("FieldDeclaration"); } } final public void VariableDeclarator() throws ParseException { trace_call("VariableDeclarator"); try { VariableDeclaratorId(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ASSIGN: jj_consume_token(ASSIGN); VariableInitializer(); break; default: ; } } finally { trace_return("VariableDeclarator"); } } final public void VariableDeclaratorId() throws ParseException { trace_call("VariableDeclaratorId"); try { jj_consume_token(IDENTIFIER); label_14: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACKET: ; break; default: break label_14; } jj_consume_token(LBRACKET); jj_consume_token(RBRACKET); } } finally { trace_return("VariableDeclaratorId"); } } final public void VariableInitializer() throws ParseException { trace_call("VariableInitializer"); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: ArrayInitializer(); break; case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case BANG: case TILDE: case INCR: case DECR: case PLUS: case MINUS: Expression(); break; default: jj_consume_token(-1); throw new ParseException(); } } finally { trace_return("VariableInitializer"); } } final public void ArrayInitializer() throws ParseException { trace_call("ArrayInitializer"); try { jj_consume_token(LBRACE); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case LBRACE: case BANG: case TILDE: case INCR: case DECR: case PLUS: case MINUS: VariableInitializer(); label_15: while (true) { if (jj_2_7(2)) { ; } else { break label_15; } jj_consume_token(COMMA); VariableInitializer(); } break; default: ; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: jj_consume_token(COMMA); break; default: ; } jj_consume_token(RBRACE); } finally { trace_return("ArrayInitializer"); } } final public void MethodDeclaration(int modifiers) throws ParseException { trace_call("MethodDeclaration"); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LT: TypeParameters(); break; default: ; } ResultType(); MethodDeclarator(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case THROWS: jj_consume_token(THROWS); NameList(); break; default: ; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: Block(); break; case SEMICOLON: jj_consume_token(SEMICOLON); break; default: jj_consume_token(-1); throw new ParseException(); } } finally { trace_return("MethodDeclaration"); } } final public void MethodDeclarator() throws ParseException { trace_call("MethodDeclarator"); try { jj_consume_token(IDENTIFIER); FormalParameters(); label_16: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACKET: ; break; default: break label_16; } jj_consume_token(LBRACKET); jj_consume_token(RBRACKET); } } finally { trace_return("MethodDeclarator"); } } final public void FormalParameters() throws ParseException { trace_call("FormalParameters"); try { jj_consume_token(LPAREN); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ABSTRACT: case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FINAL: case FLOAT: case INT: case LONG: case NATIVE: case PRIVATE: case PROTECTED: case PUBLIC: case SHORT: case STATIC: case STRICTFP: case SYNCHRONIZED: case TRANSIENT: case VOLATILE: case IDENTIFIER: case AT: FormalParameter(); label_17: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: break label_17; } jj_consume_token(COMMA); FormalParameter(); } break; default: ; } jj_consume_token(RPAREN); } finally { trace_return("FormalParameters"); } } final public void FormalParameter() throws ParseException { trace_call("FormalParameter"); try { Modifiers(); Type(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ELLIPSIS: jj_consume_token(ELLIPSIS); break; default: ; } VariableDeclaratorId(); } finally { trace_return("FormalParameter"); } } final public void ConstructorDeclaration() throws ParseException { trace_call("ConstructorDeclaration"); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LT: TypeParameters(); break; default: ; } jj_consume_token(IDENTIFIER); FormalParameters(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case THROWS: jj_consume_token(THROWS); NameList(); break; default: ; } jj_consume_token(LBRACE); if (jj_2_8(2147483647)) { ExplicitConstructorInvocation(); } else { ; } label_18: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ABSTRACT: case ASSERT: case BOOLEAN: case BREAK: case BYTE: case CHAR: case CLASS: case CONTINUE: case DO: case DOUBLE: case FALSE: case FINAL: case FLOAT: case FOR: case IF: case INT: case INTERFACE: case LONG: case NATIVE: case NEW: case NULL: case PRIVATE: case PROTECTED: case PUBLIC: case RETURN: case SHORT: case STATIC: case STRICTFP: case SUPER: case SWITCH: case SYNCHRONIZED: case THIS: case THROW: case TRANSIENT: case TRUE: case TRY: case VOID: case VOLATILE: case WHILE: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case LBRACE: case SEMICOLON: case AT: case INCR: case DECR: ; break; default: break label_18; } BlockStatement(); } jj_consume_token(RBRACE); } finally { trace_return("ConstructorDeclaration"); } } final public void ExplicitConstructorInvocation() throws ParseException { trace_call("ExplicitConstructorInvocation"); try { label_19: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case IDENTIFIER: ; break; default: break label_19; } jj_consume_token(IDENTIFIER); jj_consume_token(DOT); } if (jj_2_9(2)) { jj_consume_token(THIS); jj_consume_token(DOT); } else { ; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LT: TypeArguments(); break; default: ; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case THIS: jj_consume_token(THIS); break; case SUPER: jj_consume_token(SUPER); break; default: jj_consume_token(-1); throw new ParseException(); } Arguments(); jj_consume_token(SEMICOLON); } finally { trace_return("ExplicitConstructorInvocation"); } } final public void Initializer() throws ParseException { trace_call("Initializer"); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STATIC: jj_consume_token(STATIC); break; default: ; } Block(); } finally { trace_return("Initializer"); } } /* * Type, name and expression syntax follows. */ final public void Type() throws ParseException { trace_call("Type"); try { if (jj_2_10(2)) { ReferenceType(); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FLOAT: case INT: case LONG: case SHORT: PrimitiveType(); break; default: jj_consume_token(-1); throw new ParseException(); } } } finally { trace_return("Type"); } } final public void ReferenceType() throws ParseException { trace_call("ReferenceType"); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FLOAT: case INT: case LONG: case SHORT: PrimitiveType(); label_20: while (true) { jj_consume_token(LBRACKET); jj_consume_token(RBRACKET); if (jj_2_11(2)) { ; } else { break label_20; } } break; case IDENTIFIER: ClassOrInterfaceType(); label_21: while (true) { if (jj_2_12(2)) { ; } else { break label_21; } jj_consume_token(LBRACKET); jj_consume_token(RBRACKET); } break; default: jj_consume_token(-1); throw new ParseException(); } } finally { trace_return("ReferenceType"); } } final public void ClassOrInterfaceType() throws ParseException { trace_call("ClassOrInterfaceType"); try { jj_consume_token(IDENTIFIER); if (jj_2_13(2)) { TypeArguments(); } else { ; } label_22: while (true) { if (jj_2_14(2)) { ; } else { break label_22; } jj_consume_token(DOT); jj_consume_token(IDENTIFIER); if (jj_2_15(2)) { TypeArguments(); } else { ; } } } finally { trace_return("ClassOrInterfaceType"); } } final public void TypeArguments() throws ParseException { trace_call("TypeArguments"); try { jj_consume_token(LT); TypeArgument(); label_23: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: break label_23; } jj_consume_token(COMMA); TypeArgument(); } jj_consume_token(GT); } finally { trace_return("TypeArguments"); } } final public void TypeArgument() throws ParseException { trace_call("TypeArgument"); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FLOAT: case INT: case LONG: case SHORT: case IDENTIFIER: ReferenceType(); break; case HOOK: jj_consume_token(HOOK); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case EXTENDS: case SUPER: WildcardBounds(); break; default: ; } break; default: jj_consume_token(-1); throw new ParseException(); } } finally { trace_return("TypeArgument"); } } final public void WildcardBounds() throws ParseException { trace_call("WildcardBounds"); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case EXTENDS: jj_consume_token(EXTENDS); ReferenceType(); break; case SUPER: jj_consume_token(SUPER); ReferenceType(); break; default: jj_consume_token(-1); throw new ParseException(); } } finally { trace_return("WildcardBounds"); } } final public void PrimitiveType() throws ParseException { trace_call("PrimitiveType"); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BOOLEAN: jj_consume_token(BOOLEAN); break; case CHAR: jj_consume_token(CHAR); break; case BYTE: jj_consume_token(BYTE); break; case SHORT: jj_consume_token(SHORT); break; case INT: jj_consume_token(INT); break; case LONG: jj_consume_token(LONG); break; case FLOAT: jj_consume_token(FLOAT); break; case DOUBLE: jj_consume_token(DOUBLE); break; default: jj_consume_token(-1); throw new ParseException(); } } finally { trace_return("PrimitiveType"); } } final public void ResultType() throws ParseException { trace_call("ResultType"); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case VOID: jj_consume_token(VOID); break; case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FLOAT: case INT: case LONG: case SHORT: case IDENTIFIER: Type(); break; default: jj_consume_token(-1); throw new ParseException(); } } finally { trace_return("ResultType"); } } final public void Name() throws ParseException { trace_call("Name"); try { jj_consume_token(IDENTIFIER); label_24: while (true) { if (jj_2_16(2)) { ; } else { break label_24; } jj_consume_token(DOT); jj_consume_token(IDENTIFIER); } } finally { trace_return("Name"); } } final public void NameList() throws ParseException { trace_call("NameList"); try { Name(); label_25: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: break label_25; } jj_consume_token(COMMA); Name(); } } finally { trace_return("NameList"); } } /* * Expression syntax follows. */ final public void Expression() throws ParseException { trace_call("Expression"); try { ConditionalExpression(); if (jj_2_17(2)) { AssignmentOperator(); Expression(); } else { ; } } finally { trace_return("Expression"); } } final public void AssignmentOperator() throws ParseException { trace_call("AssignmentOperator"); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ASSIGN: jj_consume_token(ASSIGN); break; case STARASSIGN: jj_consume_token(STARASSIGN); break; case SLASHASSIGN: jj_consume_token(SLASHASSIGN); break; case REMASSIGN: jj_consume_token(REMASSIGN); break; case PLUSASSIGN: jj_consume_token(PLUSASSIGN); break; case MINUSASSIGN: jj_consume_token(MINUSASSIGN); break; case LSHIFTASSIGN: jj_consume_token(LSHIFTASSIGN); break; case RSIGNEDSHIFTASSIGN: jj_consume_token(RSIGNEDSHIFTASSIGN); break; case RUNSIGNEDSHIFTASSIGN: jj_consume_token(RUNSIGNEDSHIFTASSIGN); break; case ANDASSIGN: jj_consume_token(ANDASSIGN); break; case XORASSIGN: jj_consume_token(XORASSIGN); break; case ORASSIGN: jj_consume_token(ORASSIGN); break; default: jj_consume_token(-1); throw new ParseException(); } } finally { trace_return("AssignmentOperator"); } } final public void ConditionalExpression() throws ParseException { trace_call("ConditionalExpression"); try { ConditionalOrExpression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case HOOK: jj_consume_token(HOOK); Expression(); jj_consume_token(COLON); Expression(); break; default: ; } } finally { trace_return("ConditionalExpression"); } } final public void ConditionalOrExpression() throws ParseException { trace_call("ConditionalOrExpression"); try { ConditionalAndExpression(); label_26: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SC_OR: ; break; default: break label_26; } jj_consume_token(SC_OR); ConditionalAndExpression(); } } finally { trace_return("ConditionalOrExpression"); } } final public void ConditionalAndExpression() throws ParseException { trace_call("ConditionalAndExpression"); try { InclusiveOrExpression(); label_27: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SC_AND: ; break; default: break label_27; } jj_consume_token(SC_AND); InclusiveOrExpression(); } } finally { trace_return("ConditionalAndExpression"); } } final public void InclusiveOrExpression() throws ParseException { trace_call("InclusiveOrExpression"); try { ExclusiveOrExpression(); label_28: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BIT_OR: ; break; default: break label_28; } jj_consume_token(BIT_OR); ExclusiveOrExpression(); } } finally { trace_return("InclusiveOrExpression"); } } final public void ExclusiveOrExpression() throws ParseException { trace_call("ExclusiveOrExpression"); try { AndExpression(); label_29: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case XOR: ; break; default: break label_29; } jj_consume_token(XOR); AndExpression(); } } finally { trace_return("ExclusiveOrExpression"); } } final public void AndExpression() throws ParseException { trace_call("AndExpression"); try { EqualityExpression(); label_30: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BIT_AND: ; break; default: break label_30; } jj_consume_token(BIT_AND); EqualityExpression(); } } finally { trace_return("AndExpression"); } } final public void EqualityExpression() throws ParseException { trace_call("EqualityExpression"); try { InstanceOfExpression(); label_31: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case EQ: case NE: ; break; default: break label_31; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case EQ: jj_consume_token(EQ); break; case NE: jj_consume_token(NE); break; default: jj_consume_token(-1); throw new ParseException(); } InstanceOfExpression(); } } finally { trace_return("EqualityExpression"); } } final public void InstanceOfExpression() throws ParseException { trace_call("InstanceOfExpression"); try { RelationalExpression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case INSTANCEOF: jj_consume_token(INSTANCEOF); Type(); break; default: ; } } finally { trace_return("InstanceOfExpression"); } } final public void RelationalExpression() throws ParseException { trace_call("RelationalExpression"); try { ShiftExpression(); label_32: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LT: case LE: case GE: case GT: ; break; default: break label_32; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LT: jj_consume_token(LT); break; case GT: jj_consume_token(GT); break; case LE: jj_consume_token(LE); break; case GE: jj_consume_token(GE); break; default: jj_consume_token(-1); throw new ParseException(); } ShiftExpression(); } } finally { trace_return("RelationalExpression"); } } final public void ShiftExpression() throws ParseException { trace_call("ShiftExpression"); try { AdditiveExpression(); label_33: while (true) { if (jj_2_18(1)) { ; } else { break label_33; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LSHIFT: jj_consume_token(LSHIFT); break; default: if (jj_2_19(1)) { RSIGNEDSHIFT(); } else if (jj_2_20(1)) { RUNSIGNEDSHIFT(); } else { jj_consume_token(-1); throw new ParseException(); } } AdditiveExpression(); } } finally { trace_return("ShiftExpression"); } } final public void AdditiveExpression() throws ParseException { trace_call("AdditiveExpression"); try { MultiplicativeExpression(); label_34: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case PLUS: case MINUS: ; break; default: break label_34; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case PLUS: jj_consume_token(PLUS); break; case MINUS: jj_consume_token(MINUS); break; default: jj_consume_token(-1); throw new ParseException(); } MultiplicativeExpression(); } } finally { trace_return("AdditiveExpression"); } } final public void MultiplicativeExpression() throws ParseException { trace_call("MultiplicativeExpression"); try { UnaryExpression(); label_35: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STAR: case SLASH: case REM: ; break; default: break label_35; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STAR: jj_consume_token(STAR); break; case SLASH: jj_consume_token(SLASH); break; case REM: jj_consume_token(REM); break; default: jj_consume_token(-1); throw new ParseException(); } UnaryExpression(); } } finally { trace_return("MultiplicativeExpression"); } } final public void UnaryExpression() throws ParseException { trace_call("UnaryExpression"); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case PLUS: case MINUS: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case PLUS: jj_consume_token(PLUS); break; case MINUS: jj_consume_token(MINUS); break; default: jj_consume_token(-1); throw new ParseException(); } UnaryExpression(); break; case INCR: PreIncrementExpression(); break; case DECR: PreDecrementExpression(); break; case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case BANG: case TILDE: UnaryExpressionNotPlusMinus(); break; default: jj_consume_token(-1); throw new ParseException(); } } finally { trace_return("UnaryExpression"); } } final public void PreIncrementExpression() throws ParseException { trace_call("PreIncrementExpression"); try { jj_consume_token(INCR); PrimaryExpression(); } finally { trace_return("PreIncrementExpression"); } } final public void PreDecrementExpression() throws ParseException { trace_call("PreDecrementExpression"); try { jj_consume_token(DECR); PrimaryExpression(); } finally { trace_return("PreDecrementExpression"); } } final public void UnaryExpressionNotPlusMinus() throws ParseException { trace_call("UnaryExpressionNotPlusMinus"); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BANG: case TILDE: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case TILDE: jj_consume_token(TILDE); break; case BANG: jj_consume_token(BANG); break; default: jj_consume_token(-1); throw new ParseException(); } UnaryExpression(); break; default: if (jj_2_21(2147483647)) { CastExpression(); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: PostfixExpression(); break; default: jj_consume_token(-1); throw new ParseException(); } } } } finally { trace_return("UnaryExpressionNotPlusMinus"); } } // This production is to determine lookahead only. The LOOKAHEAD specifications // below are not used, but they are there just to indicate that we know about // this. final public void CastLookahead() throws ParseException { trace_call("CastLookahead"); try { if (jj_2_22(2)) { jj_consume_token(LPAREN); PrimitiveType(); } else if (jj_2_23(2147483647)) { jj_consume_token(LPAREN); Type(); jj_consume_token(LBRACKET); jj_consume_token(RBRACKET); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LPAREN: jj_consume_token(LPAREN); Type(); jj_consume_token(RPAREN); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case TILDE: jj_consume_token(TILDE); break; case BANG: jj_consume_token(BANG); break; case LPAREN: jj_consume_token(LPAREN); break; case IDENTIFIER: jj_consume_token(IDENTIFIER); break; case THIS: jj_consume_token(THIS); break; case SUPER: jj_consume_token(SUPER); break; case NEW: jj_consume_token(NEW); break; case FALSE: case NULL: case TRUE: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: Literal(); break; default: jj_consume_token(-1); throw new ParseException(); } break; default: jj_consume_token(-1); throw new ParseException(); } } } finally { trace_return("CastLookahead"); } } final public void PostfixExpression() throws ParseException { trace_call("PostfixExpression"); try { PrimaryExpression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case INCR: case DECR: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case INCR: jj_consume_token(INCR); break; case DECR: jj_consume_token(DECR); break; default: jj_consume_token(-1); throw new ParseException(); } break; default: ; } } finally { trace_return("PostfixExpression"); } } final public void CastExpression() throws ParseException { trace_call("CastExpression"); try { if (jj_2_24(2147483647)) { jj_consume_token(LPAREN); Type(); jj_consume_token(RPAREN); UnaryExpression(); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LPAREN: jj_consume_token(LPAREN); Type(); jj_consume_token(RPAREN); UnaryExpressionNotPlusMinus(); break; default: jj_consume_token(-1); throw new ParseException(); } } } finally { trace_return("CastExpression"); } } final public void PrimaryExpression() throws ParseException { trace_call("PrimaryExpression"); try { PrimaryPrefix(); label_36: while (true) { if (jj_2_25(2)) { ; } else { break label_36; } PrimarySuffix(); } } finally { trace_return("PrimaryExpression"); } } final public void MemberSelector() throws ParseException { trace_call("MemberSelector"); try { jj_consume_token(DOT); TypeArguments(); jj_consume_token(IDENTIFIER); } finally { trace_return("MemberSelector"); } } final public void PrimaryPrefix() throws ParseException { trace_call("PrimaryPrefix"); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case FALSE: case NULL: case TRUE: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: Literal(); break; default: if (jj_2_26(2147483647)) { label_37: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case IDENTIFIER: ; break; default: break label_37; } jj_consume_token(IDENTIFIER); jj_consume_token(DOT); } jj_consume_token(THIS); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SUPER: jj_consume_token(SUPER); jj_consume_token(DOT); jj_consume_token(IDENTIFIER); break; case LPAREN: jj_consume_token(LPAREN); Expression(); jj_consume_token(RPAREN); break; case NEW: AllocationExpression(); break; default: if (jj_2_27(2147483647)) { ResultType(); jj_consume_token(DOT); jj_consume_token(CLASS); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case IDENTIFIER: Name(); break; default: jj_consume_token(-1); throw new ParseException(); } } } } } } finally { trace_return("PrimaryPrefix"); } } final public void PrimarySuffix() throws ParseException { trace_call("PrimarySuffix"); try { if (jj_2_28(2147483647)) { jj_consume_token(DOT); jj_consume_token(SUPER); } else if (jj_2_29(2147483647)) { jj_consume_token(DOT); jj_consume_token(THIS); } else if (jj_2_30(2)) { jj_consume_token(DOT); AllocationExpression(); } else if (jj_2_31(3)) { MemberSelector(); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACKET: jj_consume_token(LBRACKET); Expression(); jj_consume_token(RBRACKET); break; case DOT: jj_consume_token(DOT); jj_consume_token(IDENTIFIER); break; case LPAREN: Arguments(); break; default: jj_consume_token(-1); throw new ParseException(); } } } finally { trace_return("PrimarySuffix"); } } final public void Literal() throws ParseException { trace_call("Literal"); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case INTEGER_LITERAL: jj_consume_token(INTEGER_LITERAL); break; case FLOATING_POINT_LITERAL: jj_consume_token(FLOATING_POINT_LITERAL); break; case CHARACTER_LITERAL: jj_consume_token(CHARACTER_LITERAL); break; case STRING_LITERAL: jj_consume_token(STRING_LITERAL); break; case FALSE: case TRUE: BooleanLiteral(); break; case NULL: NullLiteral(); break; default: jj_consume_token(-1); throw new ParseException(); } } finally { trace_return("Literal"); } } final public void BooleanLiteral() throws ParseException { trace_call("BooleanLiteral"); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case TRUE: jj_consume_token(TRUE); break; case FALSE: jj_consume_token(FALSE); break; default: jj_consume_token(-1); throw new ParseException(); } } finally { trace_return("BooleanLiteral"); } } final public void NullLiteral() throws ParseException { trace_call("NullLiteral"); try { jj_consume_token(NULL); } finally { trace_return("NullLiteral"); } } final public void Arguments() throws ParseException { trace_call("Arguments"); try { jj_consume_token(LPAREN); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case BANG: case TILDE: case INCR: case DECR: case PLUS: case MINUS: ArgumentList(); break; default: ; } jj_consume_token(RPAREN); } finally { trace_return("Arguments"); } } final public void ArgumentList() throws ParseException { trace_call("ArgumentList"); try { Expression(); label_38: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: break label_38; } jj_consume_token(COMMA); Expression(); } } finally { trace_return("ArgumentList"); } } final public void AllocationExpression() throws ParseException { trace_call("AllocationExpression"); try { if (jj_2_32(2)) { jj_consume_token(NEW); PrimitiveType(); ArrayDimsAndInits(); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case NEW: jj_consume_token(NEW); ClassOrInterfaceType(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LT: TypeArguments(); break; default: ; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACKET: ArrayDimsAndInits(); break; case LPAREN: Arguments(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: ClassOrInterfaceBody(false); break; default: ; } break; default: jj_consume_token(-1); throw new ParseException(); } break; default: jj_consume_token(-1); throw new ParseException(); } } } finally { trace_return("AllocationExpression"); } } /* * The third LOOKAHEAD specification below is to parse to PrimarySuffix * if there is an expression between the "[...]". */ final public void ArrayDimsAndInits() throws ParseException { trace_call("ArrayDimsAndInits"); try { if (jj_2_35(2)) { label_39: while (true) { jj_consume_token(LBRACKET); Expression(); jj_consume_token(RBRACKET); if (jj_2_33(2)) { ; } else { break label_39; } } label_40: while (true) { if (jj_2_34(2)) { ; } else { break label_40; } jj_consume_token(LBRACKET); jj_consume_token(RBRACKET); } } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACKET: label_41: while (true) { jj_consume_token(LBRACKET); jj_consume_token(RBRACKET); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACKET: ; break; default: break label_41; } } ArrayInitializer(); break; default: jj_consume_token(-1); throw new ParseException(); } } } finally { trace_return("ArrayDimsAndInits"); } } /* * Statement syntax follows. */ final public void Statement() throws ParseException { trace_call("Statement"); try { if (jj_2_36(2)) { LabeledStatement(); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ASSERT: AssertStatement(); break; case LBRACE: Block(); break; case SEMICOLON: EmptyStatement(); break; case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case INCR: case DECR: StatementExpression(); jj_consume_token(SEMICOLON); break; case SWITCH: SwitchStatement(); break; case IF: IfStatement(); break; case WHILE: WhileStatement(); break; case DO: DoStatement(); break; case FOR: ForStatement(); break; case BREAK: BreakStatement(); break; case CONTINUE: ContinueStatement(); break; case RETURN: ReturnStatement(); break; case THROW: ThrowStatement(); break; case SYNCHRONIZED: SynchronizedStatement(); break; case TRY: TryStatement(); break; default: jj_consume_token(-1); throw new ParseException(); } } } finally { trace_return("Statement"); } } final public void AssertStatement() throws ParseException { trace_call("AssertStatement"); try { jj_consume_token(ASSERT); Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COLON: jj_consume_token(COLON); Expression(); break; default: ; } jj_consume_token(SEMICOLON); } finally { trace_return("AssertStatement"); } } final public void LabeledStatement() throws ParseException { trace_call("LabeledStatement"); try { jj_consume_token(IDENTIFIER); jj_consume_token(COLON); Statement(); } finally { trace_return("LabeledStatement"); } } final public void Block() throws ParseException { trace_call("Block"); try { jj_consume_token(LBRACE); label_42: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ABSTRACT: case ASSERT: case BOOLEAN: case BREAK: case BYTE: case CHAR: case CLASS: case CONTINUE: case DO: case DOUBLE: case FALSE: case FINAL: case FLOAT: case FOR: case IF: case INT: case INTERFACE: case LONG: case NATIVE: case NEW: case NULL: case PRIVATE: case PROTECTED: case PUBLIC: case RETURN: case SHORT: case STATIC: case STRICTFP: case SUPER: case SWITCH: case SYNCHRONIZED: case THIS: case THROW: case TRANSIENT: case TRUE: case TRY: case VOID: case VOLATILE: case WHILE: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case LBRACE: case SEMICOLON: case AT: case INCR: case DECR: ; break; default: break label_42; } BlockStatement(); } jj_consume_token(RBRACE); } finally { trace_return("Block"); } } final public void BlockStatement() throws ParseException { trace_call("BlockStatement"); try { if (jj_2_37(2147483647)) { LocalVariableDeclaration(); jj_consume_token(SEMICOLON); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ASSERT: case BOOLEAN: case BREAK: case BYTE: case CHAR: case CONTINUE: case DO: case DOUBLE: case FALSE: case FLOAT: case FOR: case IF: case INT: case LONG: case NEW: case NULL: case RETURN: case SHORT: case SUPER: case SWITCH: case SYNCHRONIZED: case THIS: case THROW: case TRUE: case TRY: case VOID: case WHILE: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case LBRACE: case SEMICOLON: case INCR: case DECR: Statement(); break; case CLASS: case INTERFACE: ClassOrInterfaceDeclaration(0); break; default: jj_consume_token(-1); throw new ParseException(); } } } finally { trace_return("BlockStatement"); } } final public void LocalVariableDeclaration() throws ParseException { trace_call("LocalVariableDeclaration"); try { Modifiers(); Type(); VariableDeclarator(); label_43: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: break label_43; } jj_consume_token(COMMA); VariableDeclarator(); } } finally { trace_return("LocalVariableDeclaration"); } } final public void EmptyStatement() throws ParseException { trace_call("EmptyStatement"); try { jj_consume_token(SEMICOLON); } finally { trace_return("EmptyStatement"); } } final public void StatementExpression() throws ParseException { trace_call("StatementExpression"); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case INCR: PreIncrementExpression(); break; case DECR: PreDecrementExpression(); break; case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: PrimaryExpression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ASSIGN: case INCR: case DECR: case PLUSASSIGN: case MINUSASSIGN: case STARASSIGN: case SLASHASSIGN: case ANDASSIGN: case ORASSIGN: case XORASSIGN: case REMASSIGN: case LSHIFTASSIGN: case RSIGNEDSHIFTASSIGN: case RUNSIGNEDSHIFTASSIGN: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case INCR: jj_consume_token(INCR); break; case DECR: jj_consume_token(DECR); break; case ASSIGN: case PLUSASSIGN: case MINUSASSIGN: case STARASSIGN: case SLASHASSIGN: case ANDASSIGN: case ORASSIGN: case XORASSIGN: case REMASSIGN: case LSHIFTASSIGN: case RSIGNEDSHIFTASSIGN: case RUNSIGNEDSHIFTASSIGN: AssignmentOperator(); Expression(); break; default: jj_consume_token(-1); throw new ParseException(); } break; default: ; } break; default: jj_consume_token(-1); throw new ParseException(); } } finally { trace_return("StatementExpression"); } } final public void SwitchStatement() throws ParseException { trace_call("SwitchStatement"); try { jj_consume_token(SWITCH); jj_consume_token(LPAREN); Expression(); jj_consume_token(RPAREN); jj_consume_token(LBRACE); label_44: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case CASE: case _DEFAULT: ; break; default: break label_44; } SwitchLabel(); label_45: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ABSTRACT: case ASSERT: case BOOLEAN: case BREAK: case BYTE: case CHAR: case CLASS: case CONTINUE: case DO: case DOUBLE: case FALSE: case FINAL: case FLOAT: case FOR: case IF: case INT: case INTERFACE: case LONG: case NATIVE: case NEW: case NULL: case PRIVATE: case PROTECTED: case PUBLIC: case RETURN: case SHORT: case STATIC: case STRICTFP: case SUPER: case SWITCH: case SYNCHRONIZED: case THIS: case THROW: case TRANSIENT: case TRUE: case TRY: case VOID: case VOLATILE: case WHILE: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case LBRACE: case SEMICOLON: case AT: case INCR: case DECR: ; break; default: break label_45; } BlockStatement(); } } jj_consume_token(RBRACE); } finally { trace_return("SwitchStatement"); } } final public void SwitchLabel() throws ParseException { trace_call("SwitchLabel"); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case CASE: jj_consume_token(CASE); Expression(); jj_consume_token(COLON); break; case _DEFAULT: jj_consume_token(_DEFAULT); jj_consume_token(COLON); break; default: jj_consume_token(-1); throw new ParseException(); } } finally { trace_return("SwitchLabel"); } } final public void IfStatement() throws ParseException { trace_call("IfStatement"); try { jj_consume_token(IF); jj_consume_token(LPAREN); Expression(); jj_consume_token(RPAREN); Statement(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ELSE: jj_consume_token(ELSE); Statement(); break; default: ; } } finally { trace_return("IfStatement"); } } final public void WhileStatement() throws ParseException { trace_call("WhileStatement"); try { jj_consume_token(WHILE); jj_consume_token(LPAREN); Expression(); jj_consume_token(RPAREN); Statement(); } finally { trace_return("WhileStatement"); } } final public void DoStatement() throws ParseException { trace_call("DoStatement"); try { jj_consume_token(DO); Statement(); jj_consume_token(WHILE); jj_consume_token(LPAREN); Expression(); jj_consume_token(RPAREN); jj_consume_token(SEMICOLON); } finally { trace_return("DoStatement"); } } final public void ForStatement() throws ParseException { trace_call("ForStatement"); try { jj_consume_token(FOR); jj_consume_token(LPAREN); if (jj_2_38(2147483647)) { Modifiers(); Type(); jj_consume_token(IDENTIFIER); jj_consume_token(COLON); Expression(); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ABSTRACT: case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FINAL: case FLOAT: case INT: case LONG: case NATIVE: case NEW: case NULL: case PRIVATE: case PROTECTED: case PUBLIC: case SHORT: case STATIC: case STRICTFP: case SUPER: case SYNCHRONIZED: case THIS: case TRANSIENT: case TRUE: case VOID: case VOLATILE: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case SEMICOLON: case AT: case INCR: case DECR: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ABSTRACT: case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FINAL: case FLOAT: case INT: case LONG: case NATIVE: case NEW: case NULL: case PRIVATE: case PROTECTED: case PUBLIC: case SHORT: case STATIC: case STRICTFP: case SUPER: case SYNCHRONIZED: case THIS: case TRANSIENT: case TRUE: case VOID: case VOLATILE: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case AT: case INCR: case DECR: ForInit(); break; default: ; } jj_consume_token(SEMICOLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case BANG: case TILDE: case INCR: case DECR: case PLUS: case MINUS: Expression(); break; default: ; } jj_consume_token(SEMICOLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case INCR: case DECR: ForUpdate(); break; default: ; } break; default: jj_consume_token(-1); throw new ParseException(); } } jj_consume_token(RPAREN); Statement(); } finally { trace_return("ForStatement"); } } final public void ForInit() throws ParseException { trace_call("ForInit"); try { if (jj_2_39(2147483647)) { LocalVariableDeclaration(); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case INCR: case DECR: StatementExpressionList(); break; default: jj_consume_token(-1); throw new ParseException(); } } } finally { trace_return("ForInit"); } } final public void StatementExpressionList() throws ParseException { trace_call("StatementExpressionList"); try { StatementExpression(); label_46: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: break label_46; } jj_consume_token(COMMA); StatementExpression(); } } finally { trace_return("StatementExpressionList"); } } final public void ForUpdate() throws ParseException { trace_call("ForUpdate"); try { StatementExpressionList(); } finally { trace_return("ForUpdate"); } } final public void BreakStatement() throws ParseException { trace_call("BreakStatement"); try { jj_consume_token(BREAK); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case IDENTIFIER: jj_consume_token(IDENTIFIER); break; default: ; } jj_consume_token(SEMICOLON); } finally { trace_return("BreakStatement"); } } final public void ContinueStatement() throws ParseException { trace_call("ContinueStatement"); try { jj_consume_token(CONTINUE); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case IDENTIFIER: jj_consume_token(IDENTIFIER); break; default: ; } jj_consume_token(SEMICOLON); } finally { trace_return("ContinueStatement"); } } final public void ReturnStatement() throws ParseException { trace_call("ReturnStatement"); try { jj_consume_token(RETURN); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case BANG: case TILDE: case INCR: case DECR: case PLUS: case MINUS: Expression(); break; default: ; } jj_consume_token(SEMICOLON); } finally { trace_return("ReturnStatement"); } } final public void ThrowStatement() throws ParseException { trace_call("ThrowStatement"); try { jj_consume_token(THROW); Expression(); jj_consume_token(SEMICOLON); } finally { trace_return("ThrowStatement"); } } final public void SynchronizedStatement() throws ParseException { trace_call("SynchronizedStatement"); try { jj_consume_token(SYNCHRONIZED); jj_consume_token(LPAREN); Expression(); jj_consume_token(RPAREN); Block(); } finally { trace_return("SynchronizedStatement"); } } final public void TryStatement() throws ParseException { trace_call("TryStatement"); try { jj_consume_token(TRY); Block(); label_47: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case CATCH: ; break; default: break label_47; } jj_consume_token(CATCH); jj_consume_token(LPAREN); FormalParameter(); jj_consume_token(RPAREN); Block(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case FINALLY: jj_consume_token(FINALLY); Block(); break; default: ; } } finally { trace_return("TryStatement"); } } /* We use productions to match >>>, >> and > so that we can keep the * type declaration syntax with generics clean */ final public void RUNSIGNEDSHIFT() throws ParseException { trace_call("RUNSIGNEDSHIFT"); try { if (getToken(1).kind == GT && ((Token.GTToken)getToken(1)).realKind == RUNSIGNEDSHIFT) { } else { jj_consume_token(-1); throw new ParseException(); } jj_consume_token(GT); jj_consume_token(GT); jj_consume_token(GT); } finally { trace_return("RUNSIGNEDSHIFT"); } } final public void RSIGNEDSHIFT() throws ParseException { trace_call("RSIGNEDSHIFT"); try { if (getToken(1).kind == GT && ((Token.GTToken)getToken(1)).realKind == RSIGNEDSHIFT) { } else { jj_consume_token(-1); throw new ParseException(); } jj_consume_token(GT); jj_consume_token(GT); } finally { trace_return("RSIGNEDSHIFT"); } } /* Annotation syntax follows. */ final public void Annotation() throws ParseException { trace_call("Annotation"); try { if (jj_2_40(2147483647)) { NormalAnnotation(); } else if (jj_2_41(2147483647)) { SingleMemberAnnotation(); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case AT: MarkerAnnotation(); break; default: jj_consume_token(-1); throw new ParseException(); } } } finally { trace_return("Annotation"); } } final public void NormalAnnotation() throws ParseException { trace_call("NormalAnnotation"); try { jj_consume_token(AT); Name(); jj_consume_token(LPAREN); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case IDENTIFIER: MemberValuePairs(); break; default: ; } jj_consume_token(RPAREN); } finally { trace_return("NormalAnnotation"); } } final public void MarkerAnnotation() throws ParseException { trace_call("MarkerAnnotation"); try { jj_consume_token(AT); Name(); } finally { trace_return("MarkerAnnotation"); } } final public void SingleMemberAnnotation() throws ParseException { trace_call("SingleMemberAnnotation"); try { jj_consume_token(AT); Name(); jj_consume_token(LPAREN); MemberValue(); jj_consume_token(RPAREN); } finally { trace_return("SingleMemberAnnotation"); } } final public void MemberValuePairs() throws ParseException { trace_call("MemberValuePairs"); try { MemberValuePair(); label_48: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: break label_48; } jj_consume_token(COMMA); MemberValuePair(); } } finally { trace_return("MemberValuePairs"); } } final public void MemberValuePair() throws ParseException { trace_call("MemberValuePair"); try { jj_consume_token(IDENTIFIER); jj_consume_token(ASSIGN); MemberValue(); } finally { trace_return("MemberValuePair"); } } final public void MemberValue() throws ParseException { trace_call("MemberValue"); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case AT: Annotation(); break; case LBRACE: MemberValueArrayInitializer(); break; case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case BANG: case TILDE: case INCR: case DECR: case PLUS: case MINUS: ConditionalExpression(); break; default: jj_consume_token(-1); throw new ParseException(); } } finally { trace_return("MemberValue"); } } final public void MemberValueArrayInitializer() throws ParseException { trace_call("MemberValueArrayInitializer"); try { jj_consume_token(LBRACE); MemberValue(); label_49: while (true) { if (jj_2_42(2)) { ; } else { break label_49; } jj_consume_token(COMMA); MemberValue(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: jj_consume_token(COMMA); break; default: ; } jj_consume_token(RBRACE); } finally { trace_return("MemberValueArrayInitializer"); } } /* Annotation Types. */ final public void AnnotationTypeDeclaration(int modifiers) throws ParseException { trace_call("AnnotationTypeDeclaration"); try { jj_consume_token(AT); jj_consume_token(INTERFACE); jj_consume_token(IDENTIFIER); AnnotationTypeBody(); } finally { trace_return("AnnotationTypeDeclaration"); } } final public void AnnotationTypeBody() throws ParseException { trace_call("AnnotationTypeBody"); try { jj_consume_token(LBRACE); label_50: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ABSTRACT: case BOOLEAN: case BYTE: case CHAR: case CLASS: case DOUBLE: case ENUM: case FINAL: case FLOAT: case INT: case INTERFACE: case LONG: case NATIVE: case PRIVATE: case PROTECTED: case PUBLIC: case SHORT: case STATIC: case STRICTFP: case SYNCHRONIZED: case TRANSIENT: case VOLATILE: case IDENTIFIER: case SEMICOLON: case AT: ; break; default: break label_50; } AnnotationTypeMemberDeclaration(); } jj_consume_token(RBRACE); } finally { trace_return("AnnotationTypeBody"); } } final public void AnnotationTypeMemberDeclaration() throws ParseException { trace_call("AnnotationTypeMemberDeclaration"); try { int modifiers; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ABSTRACT: case BOOLEAN: case BYTE: case CHAR: case CLASS: case DOUBLE: case ENUM: case FINAL: case FLOAT: case INT: case INTERFACE: case LONG: case NATIVE: case PRIVATE: case PROTECTED: case PUBLIC: case SHORT: case STATIC: case STRICTFP: case SYNCHRONIZED: case TRANSIENT: case VOLATILE: case IDENTIFIER: case AT: modifiers = Modifiers(); if (jj_2_43(2147483647)) { Type(); jj_consume_token(IDENTIFIER); jj_consume_token(LPAREN); jj_consume_token(RPAREN); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case _DEFAULT: DefaultValue(); break; default: ; } jj_consume_token(SEMICOLON); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case CLASS: case INTERFACE: ClassOrInterfaceDeclaration(modifiers); break; case ENUM: EnumDeclaration(modifiers); break; case AT: AnnotationTypeDeclaration(modifiers); break; case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FLOAT: case INT: case LONG: case SHORT: case IDENTIFIER: FieldDeclaration(modifiers); break; default: jj_consume_token(-1); throw new ParseException(); } } break; case SEMICOLON: jj_consume_token(SEMICOLON); break; default: jj_consume_token(-1); throw new ParseException(); } } finally { trace_return("AnnotationTypeMemberDeclaration"); } } final public void DefaultValue() throws ParseException { trace_call("DefaultValue"); try { jj_consume_token(_DEFAULT); MemberValue(); } finally { trace_return("DefaultValue"); } } private boolean jj_2_1(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_1(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_2(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_2(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_3(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_3(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_4(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_4(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_5(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_5(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_6(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_6(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_7(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_7(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_8(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_8(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_9(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_9(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_10(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_10(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_11(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_11(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_12(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_12(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_13(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_13(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_14(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_14(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_15(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_15(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_16(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_16(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_17(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_17(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_18(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_18(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_19(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_19(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_20(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_20(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_21(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_21(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_22(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_22(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_23(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_23(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_24(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_24(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_25(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_25(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_26(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_26(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_27(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_27(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_28(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_28(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_29(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_29(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_30(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_30(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_31(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_31(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_32(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_32(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_33(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_33(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_34(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_34(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_35(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_35(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_36(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_36(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_37(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_37(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_38(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_38(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_39(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_39(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_40(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_40(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_41(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_41(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_42(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_42(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_2_43(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_43(); } catch(LookaheadSuccess ls) { return true; } } private boolean jj_3R_124() { if (jj_scan_token(IDENTIFIER)) return true; Token xsp; xsp = jj_scanpos; if (jj_3_13()) jj_scanpos = xsp; while (true) { xsp = jj_scanpos; if (jj_3_14()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_99() { if (jj_3R_124()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3_12()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_98() { if (jj_3R_78()) return true; Token xsp; if (jj_3_11()) return true; while (true) { xsp = jj_scanpos; if (jj_3_11()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_71() { Token xsp; xsp = jj_scanpos; if (jj_3R_98()) { jj_scanpos = xsp; if (jj_3R_99()) return true; } return false; } private boolean jj_3_9() { if (jj_scan_token(THIS)) return true; if (jj_scan_token(DOT)) return true; return false; } private boolean jj_3R_263() { if (jj_scan_token(THROWS)) return true; if (jj_3R_277()) return true; return false; } private boolean jj_3R_91() { if (jj_3R_78()) return true; return false; } private boolean jj_3_10() { if (jj_3R_71()) return true; return false; } private boolean jj_3R_66() { Token xsp; xsp = jj_scanpos; if (jj_3_10()) { jj_scanpos = xsp; if (jj_3R_91()) return true; } return false; } private boolean jj_3R_68() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(51)) jj_scanpos = xsp; if (jj_3R_92()) return true; return false; } private boolean jj_3_8() { if (jj_3R_70()) return true; return false; } private boolean jj_3R_96() { if (jj_3R_72()) return true; return false; } private boolean jj_3R_280() { if (jj_scan_token(LBRACKET)) return true; if (jj_scan_token(RBRACKET)) return true; return false; } private boolean jj_3R_95() { if (jj_scan_token(IDENTIFIER)) return true; if (jj_scan_token(DOT)) return true; return false; } private boolean jj_3R_285() { if (jj_scan_token(COMMA)) return true; if (jj_3R_284()) return true; return false; } private boolean jj_3R_70() { Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_95()) { jj_scanpos = xsp; break; } } xsp = jj_scanpos; if (jj_3_9()) jj_scanpos = xsp; xsp = jj_scanpos; if (jj_3R_96()) jj_scanpos = xsp; xsp = jj_scanpos; if (jj_scan_token(56)) { jj_scanpos = xsp; if (jj_scan_token(53)) return true; } if (jj_3R_97()) return true; if (jj_scan_token(SEMICOLON)) return true; return false; } private boolean jj_3R_265() { if (jj_3R_134()) return true; return false; } private boolean jj_3R_264() { if (jj_3R_70()) return true; return false; } private boolean jj_3R_261() { if (jj_3R_90()) return true; return false; } private boolean jj_3R_253() { Token xsp; xsp = jj_scanpos; if (jj_3R_261()) jj_scanpos = xsp; if (jj_scan_token(IDENTIFIER)) return true; if (jj_3R_262()) return true; xsp = jj_scanpos; if (jj_3R_263()) jj_scanpos = xsp; if (jj_scan_token(LBRACE)) return true; xsp = jj_scanpos; if (jj_3R_264()) jj_scanpos = xsp; while (true) { xsp = jj_scanpos; if (jj_3R_265()) { jj_scanpos = xsp; break; } } if (jj_scan_token(RBRACE)) return true; return false; } private boolean jj_3R_270() { if (jj_scan_token(THROWS)) return true; if (jj_3R_277()) return true; return false; } private boolean jj_3_7() { if (jj_scan_token(COMMA)) return true; if (jj_3R_69()) return true; return false; } private boolean jj_3R_284() { if (jj_3R_85()) return true; if (jj_3R_66()) return true; Token xsp; xsp = jj_scanpos; if (jj_scan_token(123)) jj_scanpos = xsp; if (jj_3R_278()) return true; return false; } private boolean jj_3R_276() { if (jj_3R_284()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_285()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_262() { if (jj_scan_token(LPAREN)) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_276()) jj_scanpos = xsp; if (jj_scan_token(RPAREN)) return true; return false; } private boolean jj_3R_269() { if (jj_scan_token(IDENTIFIER)) return true; if (jj_3R_262()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_280()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3_43() { if (jj_3R_66()) return true; if (jj_scan_token(IDENTIFIER)) return true; if (jj_scan_token(LPAREN)) return true; return false; } private boolean jj_3R_271() { if (jj_3R_92()) return true; return false; } private boolean jj_3R_268() { if (jj_3R_90()) return true; return false; } private boolean jj_3R_255() { Token xsp; xsp = jj_scanpos; if (jj_3R_268()) jj_scanpos = xsp; if (jj_3R_81()) return true; if (jj_3R_269()) return true; xsp = jj_scanpos; if (jj_3R_270()) jj_scanpos = xsp; xsp = jj_scanpos; if (jj_3R_271()) { jj_scanpos = xsp; if (jj_scan_token(85)) return true; } return false; } private boolean jj_3R_243() { if (jj_3R_69()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3_7()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_279() { if (jj_scan_token(ASSIGN)) return true; if (jj_3R_69()) return true; return false; } private boolean jj_3R_267() { if (jj_scan_token(COMMA)) return true; if (jj_3R_266()) return true; return false; } private boolean jj_3R_287() { if (jj_scan_token(LBRACKET)) return true; if (jj_scan_token(RBRACKET)) return true; return false; } private boolean jj_3R_122() { if (jj_scan_token(LBRACE)) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_243()) jj_scanpos = xsp; xsp = jj_scanpos; if (jj_scan_token(86)) jj_scanpos = xsp; if (jj_scan_token(RBRACE)) return true; return false; } private boolean jj_3_42() { if (jj_scan_token(COMMA)) return true; if (jj_3R_88()) return true; return false; } private boolean jj_3R_67() { if (jj_scan_token(LBRACKET)) return true; if (jj_scan_token(RBRACKET)) return true; return false; } private boolean jj_3R_94() { if (jj_3R_74()) return true; return false; } private boolean jj_3R_93() { if (jj_3R_122()) return true; return false; } private boolean jj_3R_69() { Token xsp; xsp = jj_scanpos; if (jj_3R_93()) { jj_scanpos = xsp; if (jj_3R_94()) return true; } return false; } private boolean jj_3R_278() { if (jj_scan_token(IDENTIFIER)) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_287()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_266() { if (jj_3R_278()) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_279()) jj_scanpos = xsp; return false; } private boolean jj_3R_129() { if (jj_scan_token(LBRACE)) return true; if (jj_3R_88()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3_42()) { jj_scanpos = xsp; break; } } xsp = jj_scanpos; if (jj_scan_token(86)) jj_scanpos = xsp; if (jj_scan_token(RBRACE)) return true; return false; } private boolean jj_3R_156() { if (jj_scan_token(COMMA)) return true; if (jj_3R_155()) return true; return false; } private boolean jj_3_5() { if (jj_3R_66()) return true; if (jj_scan_token(IDENTIFIER)) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_67()) { jj_scanpos = xsp; break; } } xsp = jj_scanpos; if (jj_scan_token(86)) { jj_scanpos = xsp; if (jj_scan_token(89)) { jj_scanpos = xsp; if (jj_scan_token(85)) return true; } } return false; } private boolean jj_3R_65() { if (jj_3R_90()) return true; return false; } private boolean jj_3R_115() { if (jj_3R_101()) return true; return false; } private boolean jj_3R_254() { if (jj_3R_66()) return true; if (jj_3R_266()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_267()) { jj_scanpos = xsp; break; } } if (jj_scan_token(SEMICOLON)) return true; return false; } private boolean jj_3_4() { Token xsp; xsp = jj_scanpos; if (jj_3R_65()) jj_scanpos = xsp; if (jj_scan_token(IDENTIFIER)) return true; if (jj_scan_token(LPAREN)) return true; return false; } private boolean jj_3R_114() { if (jj_3R_129()) return true; return false; } private boolean jj_3R_113() { if (jj_3R_89()) return true; return false; } private boolean jj_3R_88() { Token xsp; xsp = jj_scanpos; if (jj_3R_113()) { jj_scanpos = xsp; if (jj_3R_114()) { jj_scanpos = xsp; if (jj_3R_115()) return true; } } return false; } private boolean jj_3R_251() { if (jj_3R_255()) return true; return false; } private boolean jj_3R_155() { if (jj_scan_token(IDENTIFIER)) return true; if (jj_scan_token(ASSIGN)) return true; if (jj_3R_88()) return true; return false; } private boolean jj_3R_148() { if (jj_scan_token(BIT_AND)) return true; if (jj_3R_124()) return true; return false; } private boolean jj_3R_250() { if (jj_3R_254()) return true; return false; } private boolean jj_3R_249() { if (jj_3R_253()) return true; return false; } private boolean jj_3R_248() { if (jj_3R_252()) return true; return false; } private boolean jj_3R_147() { if (jj_3R_155()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_156()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_247() { if (jj_3R_151()) return true; return false; } private boolean jj_3R_139() { if (jj_3R_147()) return true; return false; } private boolean jj_3R_87() { if (jj_scan_token(IDENTIFIER)) return true; if (jj_scan_token(ASSIGN)) return true; return false; } private boolean jj_3R_289() { if (jj_3R_242()) return true; return false; } private boolean jj_3R_131() { if (jj_scan_token(AT)) return true; if (jj_3R_86()) return true; if (jj_scan_token(LPAREN)) return true; if (jj_3R_88()) return true; if (jj_scan_token(RPAREN)) return true; return false; } private boolean jj_3R_246() { if (jj_3R_85()) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_247()) { jj_scanpos = xsp; if (jj_3R_248()) { jj_scanpos = xsp; if (jj_3R_249()) { jj_scanpos = xsp; if (jj_3R_250()) { jj_scanpos = xsp; if (jj_3R_251()) return true; } } } } return false; } private boolean jj_3R_132() { if (jj_scan_token(AT)) return true; if (jj_3R_86()) return true; return false; } private boolean jj_3_6() { if (jj_3R_68()) return true; return false; } private boolean jj_3R_245() { Token xsp; xsp = jj_scanpos; if (jj_3_6()) { jj_scanpos = xsp; if (jj_3R_246()) { jj_scanpos = xsp; if (jj_scan_token(85)) return true; } } return false; } private boolean jj_3_41() { if (jj_scan_token(AT)) return true; if (jj_3R_86()) return true; if (jj_scan_token(LPAREN)) return true; return false; } private boolean jj_3R_244() { if (jj_3R_245()) return true; return false; } private boolean jj_3R_130() { if (jj_scan_token(AT)) return true; if (jj_3R_86()) return true; if (jj_scan_token(LPAREN)) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_139()) jj_scanpos = xsp; if (jj_scan_token(RPAREN)) return true; return false; } private boolean jj_3R_120() { if (jj_scan_token(COMMA)) return true; if (jj_3R_119()) return true; return false; } private boolean jj_3_40() { if (jj_scan_token(AT)) return true; if (jj_3R_86()) return true; if (jj_scan_token(LPAREN)) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_87()) { jj_scanpos = xsp; if (jj_scan_token(80)) return true; } return false; } private boolean jj_3R_133() { if (jj_3R_140()) return true; return false; } private boolean jj_3R_288() { if (jj_3R_97()) return true; return false; } private boolean jj_3R_242() { if (jj_scan_token(LBRACE)) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_244()) { jj_scanpos = xsp; break; } } if (jj_scan_token(RBRACE)) return true; return false; } private boolean jj_3R_118() { if (jj_3R_132()) return true; return false; } private boolean jj_3R_117() { if (jj_3R_131()) return true; return false; } private boolean jj_3R_140() { if (jj_scan_token(EXTENDS)) return true; if (jj_3R_124()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_148()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_116() { if (jj_3R_130()) return true; return false; } private boolean jj_3R_102() { return false; } private boolean jj_3R_89() { Token xsp; xsp = jj_scanpos; if (jj_3R_116()) { jj_scanpos = xsp; if (jj_3R_117()) { jj_scanpos = xsp; if (jj_3R_118()) return true; } } return false; } private boolean jj_3R_119() { if (jj_scan_token(IDENTIFIER)) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_133()) jj_scanpos = xsp; return false; } private boolean jj_3_3() { if (jj_scan_token(COMMA)) return true; if (jj_3R_64()) return true; return false; } private boolean jj_3R_103() { return false; } private boolean jj_3R_90() { if (jj_scan_token(LT)) return true; if (jj_3R_119()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_120()) { jj_scanpos = xsp; break; } } if (jj_scan_token(GT)) return true; return false; } private boolean jj_3R_75() { jj_lookingAhead = true; jj_semLA = getToken(1).kind == GT && ((Token.GTToken)getToken(1)).realKind == RSIGNEDSHIFT; jj_lookingAhead = false; if (!jj_semLA || jj_3R_102()) return true; if (jj_scan_token(GT)) return true; if (jj_scan_token(GT)) return true; return false; } private boolean jj_3R_283() { if (jj_3R_245()) return true; return false; } private boolean jj_3R_64() { if (jj_3R_85()) return true; if (jj_scan_token(IDENTIFIER)) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_288()) jj_scanpos = xsp; xsp = jj_scanpos; if (jj_3R_289()) jj_scanpos = xsp; return false; } private boolean jj_3R_76() { jj_lookingAhead = true; jj_semLA = getToken(1).kind == GT && ((Token.GTToken)getToken(1)).realKind == RUNSIGNEDSHIFT; jj_lookingAhead = false; if (!jj_semLA || jj_3R_103()) return true; if (jj_scan_token(GT)) return true; if (jj_scan_token(GT)) return true; if (jj_scan_token(GT)) return true; return false; } private boolean jj_3R_275() { if (jj_scan_token(SEMICOLON)) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_283()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_274() { if (jj_3R_64()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3_3()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_260() { if (jj_scan_token(LBRACE)) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_274()) jj_scanpos = xsp; xsp = jj_scanpos; if (jj_scan_token(86)) jj_scanpos = xsp; xsp = jj_scanpos; if (jj_3R_275()) jj_scanpos = xsp; if (jj_scan_token(RBRACE)) return true; return false; } private boolean jj_3R_298() { if (jj_scan_token(FINALLY)) return true; if (jj_3R_92()) return true; return false; } private boolean jj_3R_297() { if (jj_scan_token(CATCH)) return true; if (jj_scan_token(LPAREN)) return true; if (jj_3R_284()) return true; if (jj_scan_token(RPAREN)) return true; if (jj_3R_92()) return true; return false; } private boolean jj_3R_259() { if (jj_3R_273()) return true; return false; } private boolean jj_3R_187() { if (jj_scan_token(TRY)) return true; if (jj_3R_92()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_297()) { jj_scanpos = xsp; break; } } xsp = jj_scanpos; if (jj_3R_298()) jj_scanpos = xsp; return false; } private boolean jj_3R_252() { if (jj_scan_token(ENUM)) return true; if (jj_scan_token(IDENTIFIER)) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_259()) jj_scanpos = xsp; if (jj_3R_260()) return true; return false; } private boolean jj_3R_282() { if (jj_scan_token(COMMA)) return true; if (jj_3R_124()) return true; return false; } private boolean jj_3R_186() { if (jj_scan_token(SYNCHRONIZED)) return true; if (jj_scan_token(LPAREN)) return true; if (jj_3R_74()) return true; if (jj_scan_token(RPAREN)) return true; if (jj_3R_92()) return true; return false; } private boolean jj_3R_296() { if (jj_3R_74()) return true; return false; } private boolean jj_3R_273() { if (jj_scan_token(IMPLEMENTS)) return true; if (jj_3R_124()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_282()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_185() { if (jj_scan_token(THROW)) return true; if (jj_3R_74()) return true; if (jj_scan_token(SEMICOLON)) return true; return false; } private boolean jj_3R_304() { if (jj_3R_309()) return true; return false; } private boolean jj_3R_281() { if (jj_scan_token(COMMA)) return true; if (jj_3R_124()) return true; return false; } private boolean jj_3R_313() { if (jj_scan_token(COMMA)) return true; if (jj_3R_176()) return true; return false; } private boolean jj_3R_184() { if (jj_scan_token(RETURN)) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_296()) jj_scanpos = xsp; if (jj_scan_token(SEMICOLON)) return true; return false; } private boolean jj_3R_272() { if (jj_scan_token(EXTENDS)) return true; if (jj_3R_124()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_281()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_171() { if (jj_scan_token(INTERFACE)) return true; return false; } private boolean jj_3R_183() { if (jj_scan_token(CONTINUE)) return true; Token xsp; xsp = jj_scanpos; if (jj_scan_token(76)) jj_scanpos = xsp; if (jj_scan_token(SEMICOLON)) return true; return false; } private boolean jj_3R_258() { if (jj_3R_273()) return true; return false; } private boolean jj_3R_257() { if (jj_3R_272()) return true; return false; } private boolean jj_3R_256() { if (jj_3R_90()) return true; return false; } private boolean jj_3R_182() { if (jj_scan_token(BREAK)) return true; Token xsp; xsp = jj_scanpos; if (jj_scan_token(76)) jj_scanpos = xsp; if (jj_scan_token(SEMICOLON)) return true; return false; } private boolean jj_3R_151() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(20)) { jj_scanpos = xsp; if (jj_3R_171()) return true; } if (jj_scan_token(IDENTIFIER)) return true; xsp = jj_scanpos; if (jj_3R_256()) jj_scanpos = xsp; xsp = jj_scanpos; if (jj_3R_257()) jj_scanpos = xsp; xsp = jj_scanpos; if (jj_3R_258()) jj_scanpos = xsp; if (jj_3R_242()) return true; return false; } private boolean jj_3R_309() { if (jj_3R_312()) return true; return false; } private boolean jj_3R_303() { if (jj_3R_74()) return true; return false; } private boolean jj_3_39() { if (jj_3R_85()) return true; if (jj_3R_66()) return true; if (jj_scan_token(IDENTIFIER)) return true; return false; } private boolean jj_3R_312() { if (jj_3R_176()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_313()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_293() { if (jj_scan_token(ELSE)) return true; if (jj_3R_150()) return true; return false; } private boolean jj_3R_311() { if (jj_3R_312()) return true; return false; } private boolean jj_3_38() { if (jj_3R_85()) return true; if (jj_3R_66()) return true; if (jj_scan_token(IDENTIFIER)) return true; if (jj_scan_token(COLON)) return true; return false; } private boolean jj_3R_310() { if (jj_3R_149()) return true; return false; } private boolean jj_3R_308() { Token xsp; xsp = jj_scanpos; if (jj_3R_310()) { jj_scanpos = xsp; if (jj_3R_311()) return true; } return false; } private boolean jj_3R_302() { if (jj_3R_308()) return true; return false; } private boolean jj_3R_295() { Token xsp; xsp = jj_scanpos; if (jj_3R_302()) jj_scanpos = xsp; if (jj_scan_token(SEMICOLON)) return true; xsp = jj_scanpos; if (jj_3R_303()) jj_scanpos = xsp; if (jj_scan_token(SEMICOLON)) return true; xsp = jj_scanpos; if (jj_3R_304()) jj_scanpos = xsp; return false; } private boolean jj_3R_294() { if (jj_3R_85()) return true; if (jj_3R_66()) return true; if (jj_scan_token(IDENTIFIER)) return true; if (jj_scan_token(COLON)) return true; if (jj_3R_74()) return true; return false; } private boolean jj_3R_181() { if (jj_scan_token(FOR)) return true; if (jj_scan_token(LPAREN)) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_294()) { jj_scanpos = xsp; if (jj_3R_295()) return true; } if (jj_scan_token(RPAREN)) return true; if (jj_3R_150()) return true; return false; } private boolean jj_3R_63() { if (jj_3R_89()) return true; return false; } private boolean jj_3R_62() { if (jj_scan_token(STRICTFP)) return true; return false; } private boolean jj_3R_61() { if (jj_scan_token(VOLATILE)) return true; return false; } private boolean jj_3R_180() { if (jj_scan_token(DO)) return true; if (jj_3R_150()) return true; if (jj_scan_token(WHILE)) return true; if (jj_scan_token(LPAREN)) return true; if (jj_3R_74()) return true; if (jj_scan_token(RPAREN)) return true; if (jj_scan_token(SEMICOLON)) return true; return false; } private boolean jj_3R_60() { if (jj_scan_token(TRANSIENT)) return true; return false; } private boolean jj_3R_59() { if (jj_scan_token(NATIVE)) return true; return false; } private boolean jj_3R_58() { if (jj_scan_token(SYNCHRONIZED)) return true; return false; } private boolean jj_3R_179() { if (jj_scan_token(WHILE)) return true; if (jj_scan_token(LPAREN)) return true; if (jj_3R_74()) return true; if (jj_scan_token(RPAREN)) return true; if (jj_3R_150()) return true; return false; } private boolean jj_3R_57() { if (jj_scan_token(ABSTRACT)) return true; return false; } private boolean jj_3R_56() { if (jj_scan_token(FINAL)) return true; return false; } private boolean jj_3R_301() { if (jj_3R_134()) return true; return false; } private boolean jj_3R_55() { if (jj_scan_token(PRIVATE)) return true; return false; } private boolean jj_3R_178() { if (jj_scan_token(IF)) return true; if (jj_scan_token(LPAREN)) return true; if (jj_3R_74()) return true; if (jj_scan_token(RPAREN)) return true; if (jj_3R_150()) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_293()) jj_scanpos = xsp; return false; } private boolean jj_3R_54() { if (jj_scan_token(PROTECTED)) return true; return false; } private boolean jj_3R_53() { if (jj_scan_token(STATIC)) return true; return false; } private boolean jj_3R_52() { if (jj_scan_token(PUBLIC)) return true; return false; } private boolean jj_3_2() { Token xsp; xsp = jj_scanpos; if (jj_3R_52()) { jj_scanpos = xsp; if (jj_3R_53()) { jj_scanpos = xsp; if (jj_3R_54()) { jj_scanpos = xsp; if (jj_3R_55()) { jj_scanpos = xsp; if (jj_3R_56()) { jj_scanpos = xsp; if (jj_3R_57()) { jj_scanpos = xsp; if (jj_3R_58()) { jj_scanpos = xsp; if (jj_3R_59()) { jj_scanpos = xsp; if (jj_3R_60()) { jj_scanpos = xsp; if (jj_3R_61()) { jj_scanpos = xsp; if (jj_3R_62()) { jj_scanpos = xsp; if (jj_3R_63()) return true; } } } } } } } } } } } return false; } private boolean jj_3R_307() { if (jj_scan_token(_DEFAULT)) return true; if (jj_scan_token(COLON)) return true; return false; } private boolean jj_3R_85() { Token xsp; while (true) { xsp = jj_scanpos; if (jj_3_2()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_306() { if (jj_scan_token(CASE)) return true; if (jj_3R_74()) return true; if (jj_scan_token(COLON)) return true; return false; } private boolean jj_3R_300() { Token xsp; xsp = jj_scanpos; if (jj_3R_306()) { jj_scanpos = xsp; if (jj_3R_307()) return true; } return false; } private boolean jj_3R_290() { if (jj_scan_token(COMMA)) return true; if (jj_3R_266()) return true; return false; } private boolean jj_3R_292() { if (jj_3R_300()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_301()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_177() { if (jj_scan_token(SWITCH)) return true; if (jj_scan_token(LPAREN)) return true; if (jj_3R_74()) return true; if (jj_scan_token(RPAREN)) return true; if (jj_scan_token(LBRACE)) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_292()) { jj_scanpos = xsp; break; } } if (jj_scan_token(RBRACE)) return true; return false; } private boolean jj_3R_305() { if (jj_3R_73()) return true; if (jj_3R_74()) return true; return false; } private boolean jj_3R_299() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(101)) { jj_scanpos = xsp; if (jj_scan_token(102)) { jj_scanpos = xsp; if (jj_3R_305()) return true; } } return false; } private boolean jj_3R_194() { if (jj_3R_199()) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_299()) jj_scanpos = xsp; return false; } private boolean jj_3R_51() { if (jj_3R_89()) return true; return false; } private boolean jj_3R_193() { if (jj_3R_198()) return true; return false; } private boolean jj_3_1() { Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_51()) { jj_scanpos = xsp; break; } } if (jj_scan_token(PACKAGE)) return true; return false; } private boolean jj_3R_176() { Token xsp; xsp = jj_scanpos; if (jj_3R_192()) { jj_scanpos = xsp; if (jj_3R_193()) { jj_scanpos = xsp; if (jj_3R_194()) return true; } } return false; } private boolean jj_3R_192() { if (jj_3R_197()) return true; return false; } private boolean jj_3_37() { if (jj_3R_85()) return true; if (jj_3R_66()) return true; if (jj_scan_token(IDENTIFIER)) return true; return false; } private boolean jj_3R_149() { if (jj_3R_85()) return true; if (jj_3R_66()) return true; if (jj_3R_266()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_290()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_291() { if (jj_scan_token(COLON)) return true; if (jj_3R_74()) return true; return false; } private boolean jj_3R_143() { if (jj_3R_151()) return true; return false; } private boolean jj_3R_142() { if (jj_3R_150()) return true; return false; } private boolean jj_3R_141() { if (jj_3R_149()) return true; if (jj_scan_token(SEMICOLON)) return true; return false; } private boolean jj_3R_134() { Token xsp; xsp = jj_scanpos; if (jj_3R_141()) { jj_scanpos = xsp; if (jj_3R_142()) { jj_scanpos = xsp; if (jj_3R_143()) return true; } } return false; } private boolean jj_3R_121() { if (jj_3R_134()) return true; return false; } private boolean jj_3R_92() { if (jj_scan_token(LBRACE)) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_121()) { jj_scanpos = xsp; break; } } if (jj_scan_token(RBRACE)) return true; return false; } private boolean jj_3R_84() { if (jj_scan_token(IDENTIFIER)) return true; if (jj_scan_token(COLON)) return true; if (jj_3R_150()) return true; return false; } private boolean jj_3R_175() { if (jj_scan_token(ASSERT)) return true; if (jj_3R_74()) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_291()) jj_scanpos = xsp; if (jj_scan_token(SEMICOLON)) return true; return false; } private boolean jj_3R_170() { if (jj_3R_187()) return true; return false; } private boolean jj_3R_169() { if (jj_3R_186()) return true; return false; } private boolean jj_3_34() { if (jj_scan_token(LBRACKET)) return true; if (jj_scan_token(RBRACKET)) return true; return false; } private boolean jj_3R_168() { if (jj_3R_185()) return true; return false; } private boolean jj_3R_167() { if (jj_3R_184()) return true; return false; } private boolean jj_3R_166() { if (jj_3R_183()) return true; return false; } private boolean jj_3R_165() { if (jj_3R_182()) return true; return false; } private boolean jj_3R_164() { if (jj_3R_181()) return true; return false; } private boolean jj_3R_163() { if (jj_3R_180()) return true; return false; } private boolean jj_3R_162() { if (jj_3R_179()) return true; return false; } private boolean jj_3R_161() { if (jj_3R_178()) return true; return false; } private boolean jj_3R_160() { if (jj_3R_177()) return true; return false; } private boolean jj_3R_159() { if (jj_3R_176()) return true; if (jj_scan_token(SEMICOLON)) return true; return false; } private boolean jj_3R_158() { if (jj_3R_92()) return true; return false; } private boolean jj_3R_157() { if (jj_3R_175()) return true; return false; } private boolean jj_3R_236() { if (jj_3R_72()) return true; return false; } private boolean jj_3_36() { if (jj_3R_84()) return true; return false; } private boolean jj_3R_150() { Token xsp; xsp = jj_scanpos; if (jj_3_36()) { jj_scanpos = xsp; if (jj_3R_157()) { jj_scanpos = xsp; if (jj_3R_158()) { jj_scanpos = xsp; if (jj_scan_token(85)) { jj_scanpos = xsp; if (jj_3R_159()) { jj_scanpos = xsp; if (jj_3R_160()) { jj_scanpos = xsp; if (jj_3R_161()) { jj_scanpos = xsp; if (jj_3R_162()) { jj_scanpos = xsp; if (jj_3R_163()) { jj_scanpos = xsp; if (jj_3R_164()) { jj_scanpos = xsp; if (jj_3R_165()) { jj_scanpos = xsp; if (jj_3R_166()) { jj_scanpos = xsp; if (jj_3R_167()) { jj_scanpos = xsp; if (jj_3R_168()) { jj_scanpos = xsp; if (jj_3R_169()) { jj_scanpos = xsp; if (jj_3R_170()) return true; } } } } } } } } } } } } } } } return false; } private boolean jj_3R_240() { if (jj_3R_242()) return true; return false; } private boolean jj_3R_241() { if (jj_scan_token(LBRACKET)) return true; if (jj_scan_token(RBRACKET)) return true; return false; } private boolean jj_3_33() { if (jj_scan_token(LBRACKET)) return true; if (jj_3R_74()) return true; if (jj_scan_token(RBRACKET)) return true; return false; } private boolean jj_3R_239() { Token xsp; if (jj_3R_241()) return true; while (true) { xsp = jj_scanpos; if (jj_3R_241()) { jj_scanpos = xsp; break; } } if (jj_3R_122()) return true; return false; } private boolean jj_3_35() { Token xsp; if (jj_3_33()) return true; while (true) { xsp = jj_scanpos; if (jj_3_33()) { jj_scanpos = xsp; break; } } while (true) { xsp = jj_scanpos; if (jj_3_34()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_235() { Token xsp; xsp = jj_scanpos; if (jj_3_35()) { jj_scanpos = xsp; if (jj_3R_239()) return true; } return false; } private boolean jj_3R_238() { if (jj_3R_97()) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_240()) jj_scanpos = xsp; return false; } private boolean jj_3R_144() { if (jj_scan_token(COMMA)) return true; if (jj_3R_74()) return true; return false; } private boolean jj_3R_237() { if (jj_3R_235()) return true; return false; } private boolean jj_3R_112() { if (jj_scan_token(NEW)) return true; if (jj_3R_124()) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_236()) jj_scanpos = xsp; xsp = jj_scanpos; if (jj_3R_237()) { jj_scanpos = xsp; if (jj_3R_238()) return true; } return false; } private boolean jj_3R_82() { Token xsp; xsp = jj_scanpos; if (jj_3_32()) { jj_scanpos = xsp; if (jj_3R_112()) return true; } return false; } private boolean jj_3_32() { if (jj_scan_token(NEW)) return true; if (jj_3R_78()) return true; if (jj_3R_235()) return true; return false; } private boolean jj_3R_136() { if (jj_3R_74()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_144()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_123() { if (jj_3R_136()) return true; return false; } private boolean jj_3R_97() { if (jj_scan_token(LPAREN)) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_123()) jj_scanpos = xsp; if (jj_scan_token(RPAREN)) return true; return false; } private boolean jj_3R_154() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(60)) { jj_scanpos = xsp; if (jj_scan_token(29)) return true; } return false; } private boolean jj_3R_146() { if (jj_3R_154()) return true; return false; } private boolean jj_3R_128() { if (jj_3R_138()) return true; return false; } private boolean jj_3R_138() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(65)) { jj_scanpos = xsp; if (jj_scan_token(69)) { jj_scanpos = xsp; if (jj_scan_token(74)) { jj_scanpos = xsp; if (jj_scan_token(75)) { jj_scanpos = xsp; if (jj_3R_146()) { jj_scanpos = xsp; if (jj_scan_token(44)) return true; } } } } } return false; } private boolean jj_3R_110() { if (jj_3R_97()) return true; return false; } private boolean jj_3R_109() { if (jj_scan_token(DOT)) return true; if (jj_scan_token(IDENTIFIER)) return true; return false; } private boolean jj_3_29() { if (jj_scan_token(DOT)) return true; if (jj_scan_token(THIS)) return true; return false; } private boolean jj_3R_108() { if (jj_scan_token(LBRACKET)) return true; if (jj_3R_74()) return true; if (jj_scan_token(RBRACKET)) return true; return false; } private boolean jj_3_28() { if (jj_scan_token(DOT)) return true; if (jj_scan_token(SUPER)) return true; if (jj_scan_token(DOT)) return true; return false; } private boolean jj_3_31() { if (jj_3R_83()) return true; return false; } private boolean jj_3_30() { if (jj_scan_token(DOT)) return true; if (jj_3R_82()) return true; return false; } private boolean jj_3R_107() { if (jj_scan_token(DOT)) return true; if (jj_scan_token(THIS)) return true; return false; } private boolean jj_3_27() { if (jj_3R_81()) return true; if (jj_scan_token(DOT)) return true; if (jj_scan_token(CLASS)) return true; return false; } private boolean jj_3R_106() { if (jj_scan_token(DOT)) return true; if (jj_scan_token(SUPER)) return true; return false; } private boolean jj_3R_79() { Token xsp; xsp = jj_scanpos; if (jj_3R_106()) { jj_scanpos = xsp; if (jj_3R_107()) { jj_scanpos = xsp; if (jj_3_30()) { jj_scanpos = xsp; if (jj_3_31()) { jj_scanpos = xsp; if (jj_3R_108()) { jj_scanpos = xsp; if (jj_3R_109()) { jj_scanpos = xsp; if (jj_3R_110()) return true; } } } } } } return false; } private boolean jj_3R_80() { if (jj_scan_token(IDENTIFIER)) return true; if (jj_scan_token(DOT)) return true; return false; } private boolean jj_3R_211() { if (jj_3R_86()) return true; return false; } private boolean jj_3_26() { Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_80()) { jj_scanpos = xsp; break; } } if (jj_scan_token(THIS)) return true; return false; } private boolean jj_3R_210() { if (jj_3R_81()) return true; if (jj_scan_token(DOT)) return true; if (jj_scan_token(CLASS)) return true; return false; } private boolean jj_3R_209() { if (jj_3R_82()) return true; return false; } private boolean jj_3R_208() { if (jj_scan_token(LPAREN)) return true; if (jj_3R_74()) return true; if (jj_scan_token(RPAREN)) return true; return false; } private boolean jj_3_25() { if (jj_3R_79()) return true; return false; } private boolean jj_3R_207() { if (jj_scan_token(SUPER)) return true; if (jj_scan_token(DOT)) return true; if (jj_scan_token(IDENTIFIER)) return true; return false; } private boolean jj_3R_214() { if (jj_scan_token(IDENTIFIER)) return true; if (jj_scan_token(DOT)) return true; return false; } private boolean jj_3R_206() { Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_214()) { jj_scanpos = xsp; break; } } if (jj_scan_token(THIS)) return true; return false; } private boolean jj_3R_202() { Token xsp; xsp = jj_scanpos; if (jj_3R_205()) { jj_scanpos = xsp; if (jj_3R_206()) { jj_scanpos = xsp; if (jj_3R_207()) { jj_scanpos = xsp; if (jj_3R_208()) { jj_scanpos = xsp; if (jj_3R_209()) { jj_scanpos = xsp; if (jj_3R_210()) { jj_scanpos = xsp; if (jj_3R_211()) return true; } } } } } } return false; } private boolean jj_3R_205() { if (jj_3R_138()) return true; return false; } private boolean jj_3R_234() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(101)) { jj_scanpos = xsp; if (jj_scan_token(102)) return true; } return false; } private boolean jj_3R_83() { if (jj_scan_token(DOT)) return true; if (jj_3R_72()) return true; if (jj_scan_token(IDENTIFIER)) return true; return false; } private boolean jj_3_24() { if (jj_scan_token(LPAREN)) return true; if (jj_3R_78()) return true; return false; } private boolean jj_3R_199() { if (jj_3R_202()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3_25()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_233() { if (jj_scan_token(LPAREN)) return true; if (jj_3R_66()) return true; if (jj_scan_token(RPAREN)) return true; if (jj_3R_224()) return true; return false; } private boolean jj_3R_230() { Token xsp; xsp = jj_scanpos; if (jj_3R_232()) { jj_scanpos = xsp; if (jj_3R_233()) return true; } return false; } private boolean jj_3R_232() { if (jj_scan_token(LPAREN)) return true; if (jj_3R_66()) return true; if (jj_scan_token(RPAREN)) return true; if (jj_3R_218()) return true; return false; } private boolean jj_3_23() { if (jj_scan_token(LPAREN)) return true; if (jj_3R_66()) return true; if (jj_scan_token(LBRACKET)) return true; return false; } private boolean jj_3R_231() { if (jj_3R_199()) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_234()) jj_scanpos = xsp; return false; } private boolean jj_3R_105() { if (jj_scan_token(LPAREN)) return true; if (jj_3R_66()) return true; if (jj_scan_token(RPAREN)) return true; Token xsp; xsp = jj_scanpos; if (jj_scan_token(92)) { jj_scanpos = xsp; if (jj_scan_token(91)) { jj_scanpos = xsp; if (jj_scan_token(79)) { jj_scanpos = xsp; if (jj_scan_token(76)) { jj_scanpos = xsp; if (jj_scan_token(56)) { jj_scanpos = xsp; if (jj_scan_token(53)) { jj_scanpos = xsp; if (jj_scan_token(43)) { jj_scanpos = xsp; if (jj_3R_128()) return true; } } } } } } } return false; } private boolean jj_3R_104() { if (jj_scan_token(LPAREN)) return true; if (jj_3R_66()) return true; if (jj_scan_token(LBRACKET)) return true; if (jj_scan_token(RBRACKET)) return true; return false; } private boolean jj_3_22() { if (jj_scan_token(LPAREN)) return true; if (jj_3R_78()) return true; return false; } private boolean jj_3R_77() { Token xsp; xsp = jj_scanpos; if (jj_3_22()) { jj_scanpos = xsp; if (jj_3R_104()) { jj_scanpos = xsp; if (jj_3R_105()) return true; } } return false; } private boolean jj_3_21() { if (jj_3R_77()) return true; return false; } private boolean jj_3_20() { if (jj_3R_76()) return true; return false; } private boolean jj_3R_228() { if (jj_3R_231()) return true; return false; } private boolean jj_3R_227() { if (jj_3R_230()) return true; return false; } private boolean jj_3R_224() { Token xsp; xsp = jj_scanpos; if (jj_3R_226()) { jj_scanpos = xsp; if (jj_3R_227()) { jj_scanpos = xsp; if (jj_3R_228()) return true; } } return false; } private boolean jj_3R_226() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(92)) { jj_scanpos = xsp; if (jj_scan_token(91)) return true; } if (jj_3R_218()) return true; return false; } private boolean jj_3R_198() { if (jj_scan_token(DECR)) return true; if (jj_3R_199()) return true; return false; } private boolean jj_3R_225() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(103)) { jj_scanpos = xsp; if (jj_scan_token(104)) return true; } if (jj_3R_216()) return true; return false; } private boolean jj_3_19() { if (jj_3R_75()) return true; return false; } private boolean jj_3R_229() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(105)) { jj_scanpos = xsp; if (jj_scan_token(106)) { jj_scanpos = xsp; if (jj_scan_token(110)) return true; } } if (jj_3R_218()) return true; return false; } private boolean jj_3R_197() { if (jj_scan_token(INCR)) return true; if (jj_3R_199()) return true; return false; } private boolean jj_3R_223() { if (jj_3R_224()) return true; return false; } private boolean jj_3_18() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(111)) { jj_scanpos = xsp; if (jj_3_19()) { jj_scanpos = xsp; if (jj_3_20()) return true; } } if (jj_3R_213()) return true; return false; } private boolean jj_3R_222() { if (jj_3R_198()) return true; return false; } private boolean jj_3R_221() { if (jj_3R_197()) return true; return false; } private boolean jj_3R_218() { Token xsp; xsp = jj_scanpos; if (jj_3R_220()) { jj_scanpos = xsp; if (jj_3R_221()) { jj_scanpos = xsp; if (jj_3R_222()) { jj_scanpos = xsp; if (jj_3R_223()) return true; } } } return false; } private boolean jj_3R_220() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(103)) { jj_scanpos = xsp; if (jj_scan_token(104)) return true; } if (jj_3R_218()) return true; return false; } private boolean jj_3R_219() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(90)) { jj_scanpos = xsp; if (jj_scan_token(126)) { jj_scanpos = xsp; if (jj_scan_token(96)) { jj_scanpos = xsp; if (jj_scan_token(97)) return true; } } } if (jj_3R_204()) return true; return false; } private boolean jj_3R_217() { if (jj_scan_token(INSTANCEOF)) return true; if (jj_3R_66()) return true; return false; } private boolean jj_3R_216() { if (jj_3R_218()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_229()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_215() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(95)) { jj_scanpos = xsp; if (jj_scan_token(98)) return true; } if (jj_3R_196()) return true; return false; } private boolean jj_3R_213() { if (jj_3R_216()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_225()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_204() { if (jj_3R_213()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3_18()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_212() { if (jj_scan_token(BIT_AND)) return true; if (jj_3R_191()) return true; return false; } private boolean jj_3R_201() { if (jj_3R_204()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_219()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_200() { if (jj_scan_token(BIT_OR)) return true; if (jj_3R_153()) return true; return false; } private boolean jj_3R_196() { if (jj_3R_201()) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_217()) jj_scanpos = xsp; return false; } private boolean jj_3R_203() { if (jj_scan_token(XOR)) return true; if (jj_3R_174()) return true; return false; } private boolean jj_3R_195() { if (jj_scan_token(SC_AND)) return true; if (jj_3R_145()) return true; return false; } private boolean jj_3R_191() { if (jj_3R_196()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_215()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_190() { if (jj_scan_token(SC_OR)) return true; if (jj_3R_137()) return true; return false; } private boolean jj_3R_174() { if (jj_3R_191()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_212()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_173() { if (jj_scan_token(HOOK)) return true; if (jj_3R_74()) return true; if (jj_scan_token(COLON)) return true; if (jj_3R_74()) return true; return false; } private boolean jj_3R_153() { if (jj_3R_174()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_203()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_145() { if (jj_3R_153()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_200()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_137() { if (jj_3R_145()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_195()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_127() { if (jj_3R_137()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_190()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_101() { if (jj_3R_127()) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_173()) jj_scanpos = xsp; return false; } private boolean jj_3R_73() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(89)) { jj_scanpos = xsp; if (jj_scan_token(114)) { jj_scanpos = xsp; if (jj_scan_token(115)) { jj_scanpos = xsp; if (jj_scan_token(119)) { jj_scanpos = xsp; if (jj_scan_token(112)) { jj_scanpos = xsp; if (jj_scan_token(113)) { jj_scanpos = xsp; if (jj_scan_token(120)) { jj_scanpos = xsp; if (jj_scan_token(121)) { jj_scanpos = xsp; if (jj_scan_token(122)) { jj_scanpos = xsp; if (jj_scan_token(116)) { jj_scanpos = xsp; if (jj_scan_token(118)) { jj_scanpos = xsp; if (jj_scan_token(117)) return true; } } } } } } } } } } } return false; } private boolean jj_3_17() { if (jj_3R_73()) return true; if (jj_3R_74()) return true; return false; } private boolean jj_3R_74() { if (jj_3R_101()) return true; Token xsp; xsp = jj_scanpos; if (jj_3_17()) jj_scanpos = xsp; return false; } private boolean jj_3R_286() { if (jj_scan_token(COMMA)) return true; if (jj_3R_86()) return true; return false; } private boolean jj_3R_277() { if (jj_3R_86()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_286()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3_16() { if (jj_scan_token(DOT)) return true; if (jj_scan_token(IDENTIFIER)) return true; return false; } private boolean jj_3R_86() { if (jj_scan_token(IDENTIFIER)) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3_16()) { jj_scanpos = xsp; break; } } return false; } private boolean jj_3R_111() { if (jj_3R_66()) return true; return false; } private boolean jj_3R_81() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(62)) { jj_scanpos = xsp; if (jj_3R_111()) return true; } return false; } private boolean jj_3_15() { if (jj_3R_72()) return true; return false; } private boolean jj_3R_78() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(14)) { jj_scanpos = xsp; if (jj_scan_token(19)) { jj_scanpos = xsp; if (jj_scan_token(16)) { jj_scanpos = xsp; if (jj_scan_token(50)) { jj_scanpos = xsp; if (jj_scan_token(39)) { jj_scanpos = xsp; if (jj_scan_token(41)) { jj_scanpos = xsp; if (jj_scan_token(32)) { jj_scanpos = xsp; if (jj_scan_token(25)) return true; } } } } } } } return false; } private boolean jj_3R_135() { if (jj_scan_token(COMMA)) return true; if (jj_3R_100()) return true; return false; } private boolean jj_3_12() { if (jj_scan_token(LBRACKET)) return true; if (jj_scan_token(RBRACKET)) return true; return false; } private boolean jj_3R_189() { if (jj_scan_token(SUPER)) return true; if (jj_3R_71()) return true; return false; } private boolean jj_3R_152() { if (jj_3R_172()) return true; return false; } private boolean jj_3R_172() { Token xsp; xsp = jj_scanpos; if (jj_3R_188()) { jj_scanpos = xsp; if (jj_3R_189()) return true; } return false; } private boolean jj_3R_188() { if (jj_scan_token(EXTENDS)) return true; if (jj_3R_71()) return true; return false; } private boolean jj_3R_126() { if (jj_scan_token(HOOK)) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_152()) jj_scanpos = xsp; return false; } private boolean jj_3_13() { if (jj_3R_72()) return true; return false; } private boolean jj_3R_125() { if (jj_3R_71()) return true; return false; } private boolean jj_3R_100() { Token xsp; xsp = jj_scanpos; if (jj_3R_125()) { jj_scanpos = xsp; if (jj_3R_126()) return true; } return false; } private boolean jj_3_11() { if (jj_scan_token(LBRACKET)) return true; if (jj_scan_token(RBRACKET)) return true; return false; } private boolean jj_3R_72() { if (jj_scan_token(LT)) return true; if (jj_3R_100()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_135()) { jj_scanpos = xsp; break; } } if (jj_scan_token(GT)) return true; return false; } private boolean jj_3_14() { if (jj_scan_token(DOT)) return true; if (jj_scan_token(IDENTIFIER)) return true; Token xsp; xsp = jj_scanpos; if (jj_3_15()) jj_scanpos = xsp; return false; } /** Generated Token Manager. */ public JavaParser15DebugTokenManager token_source; JavaCharStream jj_input_stream; /** Current token. */ public Token token; /** Next token. */ public Token jj_nt; private int jj_ntk; private Token jj_scanpos, jj_lastpos; private int jj_la; /** Whether we are looking ahead. */ private boolean jj_lookingAhead = false; private boolean jj_semLA; /** Constructor with InputStream. */ public JavaParser15Debug(java.io.InputStream stream) { this(stream, null); } /** Constructor with InputStream and supplied encoding */ public JavaParser15Debug(java.io.InputStream stream, String encoding) { try { jj_input_stream = new JavaCharStream(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); } token_source = new JavaParser15DebugTokenManager(jj_input_stream); token = new Token(); jj_ntk = -1; } /** Reinitialise. */ public void ReInit(java.io.InputStream stream) { ReInit(stream, null); } /** Reinitialise. */ public void ReInit(java.io.InputStream stream, String encoding) { try { jj_input_stream.ReInit(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); } token_source.ReInit(jj_input_stream); token = new Token(); jj_ntk = -1; } /** Constructor. */ public JavaParser15Debug(java.io.Reader stream) { jj_input_stream = new JavaCharStream(stream, 1, 1); token_source = new JavaParser15DebugTokenManager(jj_input_stream); token = new Token(); jj_ntk = -1; } /** Reinitialise. */ public void ReInit(java.io.Reader stream) { jj_input_stream.ReInit(stream, 1, 1); token_source.ReInit(jj_input_stream); token = new Token(); jj_ntk = -1; } /** Constructor with generated Token Manager. */ public JavaParser15Debug(JavaParser15DebugTokenManager tm) { token_source = tm; token = new Token(); jj_ntk = -1; } /** Reinitialise. */ public void ReInit(JavaParser15DebugTokenManager tm) { token_source = tm; token = new Token(); jj_ntk = -1; } private Token jj_consume_token(int kind) throws ParseException { Token oldToken; if ((oldToken = token).next != null) token = token.next; else token = token.next = token_source.getNextToken(); jj_ntk = -1; if (token.kind == kind) { trace_token(token, ""); return token; } token = oldToken; throw generateParseException(); } static private final class LookaheadSuccess extends java.lang.Error { } final private LookaheadSuccess jj_ls = new LookaheadSuccess(); private boolean jj_scan_token(int kind) { if (jj_scanpos == jj_lastpos) { jj_la--; if (jj_scanpos.next == null) { jj_lastpos = jj_scanpos = jj_scanpos.next = token_source.getNextToken(); } else { jj_lastpos = jj_scanpos = jj_scanpos.next; } } else { jj_scanpos = jj_scanpos.next; } if (jj_scanpos.kind != kind) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) throw jj_ls; return false; } /** Get the next Token. */ final public Token getNextToken() { if (token.next != null) token = token.next; else token = token.next = token_source.getNextToken(); jj_ntk = -1; trace_token(token, " (in getNextToken)"); return token; } /** Get the specific Token. */ final public Token getToken(int index) { Token t = jj_lookingAhead ? jj_scanpos : token; for (int i = 0; i < index; i++) { if (t.next != null) t = t.next; else t = t.next = token_source.getNextToken(); } return t; } private int jj_ntk() { if ((jj_nt=token.next) == null) return (jj_ntk = (token.next=token_source.getNextToken()).kind); else return (jj_ntk = jj_nt.kind); } /** Generate ParseException. */ public ParseException generateParseException() { Token errortok = token.next; int line = errortok.beginLine, column = errortok.beginColumn; String mess = (errortok.kind == 0) ? tokenImage[0] : errortok.image; return new ParseException("Parse error at line " + line + ", column " + column + ". Encountered: " + mess); } private int trace_indent = 0; private boolean trace_enabled = true; /** Enable tracing. */ final public void enable_tracing() { trace_enabled = true; } /** Disable tracing. */ final public void disable_tracing() { trace_enabled = false; } private void trace_call(String s) { if (trace_enabled) { for (int i = 0; i < trace_indent; i++) { System.out.print(" "); } System.out.println("Call: " + s); } trace_indent = trace_indent + 2; } private void trace_return(String s) { trace_indent = trace_indent - 2; if (trace_enabled) { for (int i = 0; i < trace_indent; i++) { System.out.print(" "); } System.out.println("Return: " + s); } } private void trace_token(Token t, String where) { if (trace_enabled) { for (int i = 0; i < trace_indent; i++) { System.out.print(" "); } System.out.print("Consumed token: <" + tokenImage[t.kind]); if (t.kind != 0 && !tokenImage[t.kind].equals("\"" + t.image + "\"")) { System.out.print(": \"" + t.image + "\""); } System.out.println(" at line " + t.beginLine + " column " + t.beginColumn + ">" + where); } } private void trace_scan(Token t1, int t2) { if (trace_enabled) { for (int i = 0; i < trace_indent; i++) { System.out.print(" "); } System.out.print("Visited token: <" + tokenImage[t1.kind]); if (t1.kind != 0 && !tokenImage[t1.kind].equals("\"" + t1.image + "\"")) { System.out.print(": \"" + t1.image + "\""); } System.out.println(" at line " + t1.beginLine + " column " + t1.beginColumn + ">; Expected token: <" + tokenImage[t2] + ">"); } } } Other Cobertura examples (source code examples)Here is a short list of links related to this Cobertura JavaParser15Debug.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.