public final void enumBody() throws RecognitionException {
		int enumBody_StartIndex = input.index();

		try {
			if ( state.backtracking>0 && alreadyParsedRule(input, 12) ) { return; }

			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:322:5: ( '{' ( enumConstants )? ( ',' )? ( enumBodyDeclarations )? '}' )
			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:322:7: '{' ( enumConstants )? ( ',' )? ( enumBodyDeclarations )? '}'
			{
			match(input,121,FOLLOW_121_in_enumBody439); if (state.failed) return;
			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:322:11: ( enumConstants )?
			int alt19=2;
			int LA19_0 = input.LA(1);
			if ( (LA19_0==Identifier||LA19_0==58) ) {
				alt19=1;
			}
			switch (alt19) {
				case 1 :
					// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:322:11: enumConstants
					{
					pushFollow(FOLLOW_enumConstants_in_enumBody441);
					enumConstants();
					state._fsp--;
					if (state.failed) return;
					}
					break;

			}

			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:322:26: ( ',' )?
			int alt20=2;
			int LA20_0 = input.LA(1);
			if ( (LA20_0==43) ) {
				alt20=1;
			}
			switch (alt20) {
				case 1 :
					// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:322:26: ','
					{
					match(input,43,FOLLOW_43_in_enumBody444); if (state.failed) return;
					}
					break;

			}

			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:322:31: ( enumBodyDeclarations )?
			int alt21=2;
			int LA21_0 = input.LA(1);
			if ( (LA21_0==52) ) {
				alt21=1;
			}
			switch (alt21) {
				case 1 :
					// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:322:31: enumBodyDeclarations
					{
					pushFollow(FOLLOW_enumBodyDeclarations_in_enumBody447);
					enumBodyDeclarations();
					state._fsp--;
					if (state.failed) return;
					}
					break;

			}

			match(input,125,FOLLOW_125_in_enumBody450); if (state.failed) return;
			}

		}
		catch (RecognitionException re) {
			reportError(re);
			recover(input,re);
		}
		finally {
			// do for sure before leaving
			if ( state.backtracking>0 ) { memoize(input, 12, enumBody_StartIndex); }

		}
	}
public final void enumBody ( ) throws RecognitionException { int enumBody_StartIndex = input . index ( ) ; try { if ( state . backtracking > 0 && alreadyParsedRule ( input , 12 ) ) { return ; } { match ( input , 121 , FOLLOW_121_in_enumBody439 ) ; if ( state . failed ) return ; int alt19 = 2 ; int LA19_0 = input . LA ( 1 ) ; if ( ( LA19_0 == Identifier || LA19_0 == 58 ) ) { alt19 = 1 ; } switch ( alt19 ) { case 1 : { pushFollow ( FOLLOW_enumConstants_in_enumBody441 ) ; enumConstants ( ) ; state . _fsp -- ; if ( state . failed ) return ; } break ; } int alt20 = 2 ; int LA20_0 = input . LA ( 1 ) ; if ( ( LA20_0 == 43 ) ) { alt20 = 1 ; } switch ( alt20 ) { case 1 : { match ( input , 43 , FOLLOW_43_in_enumBody444 ) ; if ( state . failed ) return ; } break ; } int alt21 = 2 ; int LA21_0 = input . LA ( 1 ) ; if ( ( LA21_0 == 52 ) ) { alt21 = 1 ; } switch ( alt21 ) { case 1 : { pushFollow ( FOLLOW_enumBodyDeclarations_in_enumBody447 ) ; enumBodyDeclarations ( ) ; state . _fsp -- ; if ( state . failed ) return ; } break ; } match ( input , 125 , FOLLOW_125_in_enumBody450 ) ; if ( state . failed ) return ; } } catch ( RecognitionException re ) { reportError ( re ) ; recover ( input , re ) ; } finally { if ( state . backtracking > 0 ) { memoize ( input , 12 , enumBody_StartIndex ) ; } } }
src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:321:1: enumBody : '{' ( enumConstants )? ( ',' )? ( enumBodyDeclarations )? '}' ;