docs: public final void methodDeclaratorRest() throws RecognitionException {
  		int methodDeclaratorRest_StartIndex = input.index();
  
  		try {
  			if ( state.backtracking>0 && alreadyParsedRule(input, 31) ) { return; }
  
  			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:415:5: ( formalParameters ( '[' ']' )* ( 'throws' qualifiedNameList )? ( methodBody | ';' ) )
  			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:415:7: formalParameters ( '[' ']' )* ( 'throws' qualifiedNameList )? ( methodBody | ';' )
  			{
  			pushFollow(FOLLOW_formalParameters_in_methodDeclaratorRest1023);
  			formalParameters();
  			state._fsp--;
  			if (state.failed) return;
  			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:415:24: ( '[' ']' )*
  			loop43:
  			while (true) {
  				int alt43=2;
  				int LA43_0 = input.LA(1);
  				if ( (LA43_0==59) ) {
  					alt43=1;
  				}
  
  				switch (alt43) {
  				case 1 :
  					// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:415:25: '[' ']'
  					{
  					match(input,59,FOLLOW_59_in_methodDeclaratorRest1026); if (state.failed) return;
  					match(input,60,FOLLOW_60_in_methodDeclaratorRest1028); if (state.failed) return;
  					}
  					break;
  
  				default :
  					break loop43;
  				}
  			}
  
  			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:416:9: ( 'throws' qualifiedNameList )?
  			int alt44=2;
  			int LA44_0 = input.LA(1);
  			if ( (LA44_0==113) ) {
  				alt44=1;
  			}
  			switch (alt44) {
  				case 1 :
  					// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:416:10: 'throws' qualifiedNameList
  					{
  					match(input,113,FOLLOW_113_in_methodDeclaratorRest1041); if (state.failed) return;
  					pushFollow(FOLLOW_qualifiedNameList_in_methodDeclaratorRest1043);
  					qualifiedNameList();
  					state._fsp--;
  					if (state.failed) return;
  					}
  					break;
  
  			}
  
  			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:417:9: ( methodBody | ';' )
  			int alt45=2;
  			int LA45_0 = input.LA(1);
  			if ( (LA45_0==121) ) {
  				alt45=1;
  			}
  			else if ( (LA45_0==52) ) {
  				alt45=2;
  			}
  
  			else {
  				if (state.backtracking>0) {state.failed=true; return;}
  				NoViableAltException nvae =
  					new NoViableAltException("", 45, 0, input);
  				throw nvae;
  			}
  
  			switch (alt45) {
  				case 1 :
  					// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:417:13: methodBody
  					{
  					pushFollow(FOLLOW_methodBody_in_methodDeclaratorRest1059);
  					methodBody();
  					state._fsp--;
  					if (state.failed) return;
  					}
  					break;
  				case 2 :
  					// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:418:13: ';'
  					{
  					match(input,52,FOLLOW_52_in_methodDeclaratorRest1073); 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, 31, methodDeclaratorRest_StartIndex); }
  
  		}
  	}