docs: public final void formalParameters() throws RecognitionException {
  		int formalParameters_StartIndex = input.index();
  
  		try {
  			if ( state.backtracking>0 && alreadyParsedRule(input, 56) ) { return; }
  
  			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:566:5: ( '(' ( formalParameterDecls )? ')' )
  			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:566:7: '(' ( formalParameterDecls )? ')'
  			{
  			match(input,36,FOLLOW_36_in_formalParameters2025); if (state.failed) return;
  			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:566:11: ( formalParameterDecls )?
  			int alt78=2;
  			int LA78_0 = input.LA(1);
  			if ( (LA78_0==Identifier||LA78_0==58||LA78_0==65||LA78_0==67||LA78_0==71||LA78_0==77||LA78_0==83||LA78_0==85||LA78_0==92||LA78_0==94||LA78_0==105) ) {
  				alt78=1;
  			}
  			switch (alt78) {
  				case 1 :
  					// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:566:11: formalParameterDecls
  					{
  					pushFollow(FOLLOW_formalParameterDecls_in_formalParameters2027);
  					formalParameterDecls();
  					state._fsp--;
  					if (state.failed) return;
  					}
  					break;
  
  			}
  
  			match(input,37,FOLLOW_37_in_formalParameters2030); if (state.failed) return;
  			}
  
  		}
  		catch (RecognitionException re) {
  			reportError(re);
  			recover(input,re);
  		}
  		finally {
  			// do for sure before leaving
  			if ( state.backtracking>0 ) { memoize(input, 56, formalParameters_StartIndex); }
  
  		}
  	}