/* */ throws CompileError
/* */ {
/* 107 */ if (this.lex.get() != 40) {
/* 108 */ throw new SyntaxError(this.lex);
/* */ }
/* 110 */ ASTList parms = null;
/* 111 */ if (this.lex.lookAhead() != 41) {
/* */ while (true) {
/* 113 */ parms = ASTList.append(parms, parseFormalParam(tbl));
/* 114 */ int t = this.lex.lookAhead();
/* 115 */ if (t == 44)
/* 116 */ this.lex.get();
/* 117 */ else if (t == 41)
/* */ break;
/* */ }
/* */ }
/* 121 */ this.lex.get();
/* 122 */ d.addArrayDim(parseArrayDimension());
/* 123 */ if ((isConstructor) && (d.getArrayDim() > 0)) {
/* 124 */ throw new SyntaxError(this.lex);
/* */ }
/* 126 */ ASTList throwsList = null;
/* 127 */ if (this.lex.lookAhead() == 341) {
/* 128 */ this.lex.get();
/* */ while (true) {
/* 130 */ throwsList = ASTList.append(throwsList, parseClassType(tbl));
/* 131 */ if (this.lex.lookAhead() != 44) break;
/* 132 */ this.lex.get();
/* */ }
/* */
/* */ }
/* */
/* 138 */ return new MethodDecl(mods, new ASTList(d, ASTList.make(parms, throwsList, null)));
/* */ }