docs: public final void classBodyDeclaration() throws RecognitionException {
  		int classBodyDeclaration_StartIndex = input.index();
  
  		try {
  			if ( state.backtracking>0 && alreadyParsedRule(input, 21) ) { return; }
  
  			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:359:5: ( ';' | ( 'static' )? block | ( modifier )* memberDecl )
  			int alt35=3;
  			switch ( input.LA(1) ) {
  			case 52:
  				{
  				alt35=1;
  				}
  				break;
  			case 106:
  				{
  				int LA35_2 = input.LA(2);
  				if ( (LA35_2==121) ) {
  					alt35=2;
  				}
  				else if ( (LA35_2==ENUM||LA35_2==Identifier||LA35_2==53||LA35_2==58||LA35_2==63||LA35_2==65||LA35_2==67||(LA35_2 >= 71 && LA35_2 <= 72)||LA35_2==77||LA35_2==83||LA35_2==85||(LA35_2 >= 92 && LA35_2 <= 94)||LA35_2==96||(LA35_2 >= 100 && LA35_2 <= 102)||(LA35_2 >= 105 && LA35_2 <= 107)||LA35_2==110||LA35_2==114||(LA35_2 >= 118 && LA35_2 <= 119)) ) {
  					alt35=3;
  				}
  
  				else {
  					if (state.backtracking>0) {state.failed=true; return;}
  					int nvaeMark = input.mark();
  					try {
  						input.consume();
  						NoViableAltException nvae =
  							new NoViableAltException("", 35, 2, input);
  						throw nvae;
  					} finally {
  						input.rewind(nvaeMark);
  					}
  				}
  
  				}
  				break;
  			case 121:
  				{
  				alt35=2;
  				}
  				break;
  			case ENUM:
  			case Identifier:
  			case 53:
  			case 58:
  			case 63:
  			case 65:
  			case 67:
  			case 71:
  			case 72:
  			case 77:
  			case 83:
  			case 85:
  			case 92:
  			case 93:
  			case 94:
  			case 96:
  			case 100:
  			case 101:
  			case 102:
  			case 105:
  			case 107:
  			case 110:
  			case 114:
  			case 118:
  			case 119:
  				{
  				alt35=3;
  				}
  				break;
  			default:
  				if (state.backtracking>0) {state.failed=true; return;}
  				NoViableAltException nvae =
  					new NoViableAltException("", 35, 0, input);
  				throw nvae;
  			}
  			switch (alt35) {
  				case 1 :
  					// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:359:7: ';'
  					{
  					match(input,52,FOLLOW_52_in_classBodyDeclaration671); if (state.failed) return;
  					}
  					break;
  				case 2 :
  					// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:360:7: ( 'static' )? block
  					{
  					// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:360:7: ( 'static' )?
  					int alt33=2;
  					int LA33_0 = input.LA(1);
  					if ( (LA33_0==106) ) {
  						alt33=1;
  					}
  					switch (alt33) {
  						case 1 :
  							// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:360:7: 'static'
  							{
  							match(input,106,FOLLOW_106_in_classBodyDeclaration679); if (state.failed) return;
  							}
  							break;
  
  					}
  
  					pushFollow(FOLLOW_block_in_classBodyDeclaration682);
  					block();
  					state._fsp--;
  					if (state.failed) return;
  					}
  					break;
  				case 3 :
  					// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:361:7: ( modifier )* memberDecl
  					{
  					// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:361:7: ( modifier )*
  					loop34:
  					while (true) {
  						int alt34=2;
  						int LA34_0 = input.LA(1);
  						if ( (LA34_0==58) ) {
  							int LA34_6 = input.LA(2);
  							if ( (LA34_6==Identifier) ) {
  								alt34=1;
  							}
  
  						}
  						else if ( (LA34_0==63||LA34_0==83||LA34_0==96||(LA34_0 >= 100 && LA34_0 <= 102)||(LA34_0 >= 106 && LA34_0 <= 107)||LA34_0==110||LA34_0==114||LA34_0==119) ) {
  							alt34=1;
  						}
  
  						switch (alt34) {
  						case 1 :
  							// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:361:7: modifier
  							{
  							pushFollow(FOLLOW_modifier_in_classBodyDeclaration690);
  							modifier();
  							state._fsp--;
  							if (state.failed) return;
  							}
  							break;
  
  						default :
  							break loop34;
  						}
  					}
  
  					pushFollow(FOLLOW_memberDecl_in_classBodyDeclaration693);
  					memberDecl();
  					state._fsp--;
  					if (state.failed) return;
  					}
  					break;
  
  			}
  		}
  		catch (RecognitionException re) {
  			reportError(re);
  			recover(input,re);
  		}
  		finally {
  			// do for sure before leaving
  			if ( state.backtracking>0 ) { memoize(input, 21, classBodyDeclaration_StartIndex); }
  
  		}
  	}