code: public final void methodDeclaration() throws RecognitionException {
  		VarDecl_stack.push(new VarDecl_scope());
  
  		int methodDeclaration_StartIndex = input.index();
  
  		try {
  			if ( state.backtracking>0 && alreadyParsedRule(input, 25) ) { return; }
  
  			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:385:5: ( type Identifier methodDeclaratorRest )
  			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:385:7: type Identifier methodDeclaratorRest
  			{
  			pushFollow(FOLLOW_type_in_methodDeclaration842);
  			type();
  			state._fsp--;
  			if (state.failed) return;
  			match(input,Identifier,FOLLOW_Identifier_in_methodDeclaration844); if (state.failed) return;
  			pushFollow(FOLLOW_methodDeclaratorRest_in_methodDeclaration846);
  			methodDeclaratorRest();
  			state._fsp--;
  			if (state.failed) return;
  			}
  
  		}
  		catch (RecognitionException re) {
  			reportError(re);
  			recover(input,re);
  		}
  		finally {
  			// do for sure before leaving
  			if ( state.backtracking>0 ) { memoize(input, 25, methodDeclaration_StartIndex); }
  
  			VarDecl_stack.pop();
  
  		}
  	}
docs: src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:383:1: methodDeclaration : type Identifier methodDeclaratorRest ;