()
| 2596 | } |
| 2597 | |
| 2598 | final public void AllocationExpression() throws ParseException { |
| 2599 | /*@bgen(jjtree) AllocationExpression */ |
| 2600 | BSHAllocationExpression jjtn000 = new BSHAllocationExpression(JJTALLOCATIONEXPRESSION); |
| 2601 | boolean jjtc000 = true; |
| 2602 | jjtree.openNodeScope(jjtn000); |
| 2603 | jjtreeOpenNodeScope(jjtn000); |
| 2604 | try { |
| 2605 | if (jj_2_18(2)) { |
| 2606 | jj_consume_token(NEW); |
| 2607 | PrimitiveType(); |
| 2608 | ArrayDimensions(); |
| 2609 | } else { |
| 2610 | switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { |
| 2611 | case NEW: |
| 2612 | jj_consume_token(NEW); |
| 2613 | AmbiguousName(); |
| 2614 | switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { |
| 2615 | case LT: |
| 2616 | TypeArguments(); |
| 2617 | break; |
| 2618 | default: |
| 2619 | jj_la1[68] = jj_gen; |
| 2620 | ; |
| 2621 | } |
| 2622 | switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { |
| 2623 | case LBRACKET: |
| 2624 | ArrayDimensions(); |
| 2625 | break; |
| 2626 | case LPAREN: |
| 2627 | Arguments(); |
| 2628 | if (jj_2_17(2)) { |
| 2629 | Block(); |
| 2630 | } else { |
| 2631 | ; |
| 2632 | } |
| 2633 | break; |
| 2634 | default: |
| 2635 | jj_la1[69] = jj_gen; |
| 2636 | jj_consume_token(-1); |
| 2637 | throw new ParseException(); |
| 2638 | } |
| 2639 | break; |
| 2640 | default: |
| 2641 | jj_la1[70] = jj_gen; |
| 2642 | jj_consume_token(-1); |
| 2643 | throw new ParseException(); |
| 2644 | } |
| 2645 | } |
| 2646 | } catch (Throwable jjte000) { |
| 2647 | if (jjtc000) { |
| 2648 | jjtree.clearNodeScope(jjtn000); |
| 2649 | jjtc000 = false; |
| 2650 | } else { |
| 2651 | jjtree.popNode(); |
| 2652 | } |
| 2653 | if (jjte000 instanceof RuntimeException) { |
| 2654 | {if (true) throw (RuntimeException)jjte000;} |
| 2655 | } |
no test coverage detected