docs: public final void typeParameter() throws RecognitionException {
  		int typeParameter_StartIndex = input.index();
  
  		try {
  			if ( state.backtracking>0 && alreadyParsedRule(input, 9) ) { return; }
  
  			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:310:5: ( Identifier ( 'extends' bound )? )
  			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:310:7: Identifier ( 'extends' bound )?
  			{
  			match(input,Identifier,FOLLOW_Identifier_in_typeParameter363); if (state.failed) return;
  			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:310:18: ( 'extends' bound )?
  			int alt16=2;
  			int LA16_0 = input.LA(1);
  			if ( (LA16_0==81) ) {
  				alt16=1;
  			}
  			switch (alt16) {
  				case 1 :
  					// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:310:19: 'extends' bound
  					{
  					match(input,81,FOLLOW_81_in_typeParameter366); if (state.failed) return;
  					pushFollow(FOLLOW_bound_in_typeParameter368);
  					bound();
  					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, 9, typeParameter_StartIndex); }
  
  		}
  	}