code: public final void typeList() throws RecognitionException {
  		int typeList_StartIndex = input.index();
  
  		try {
  			if ( state.backtracking>0 && alreadyParsedRule(input, 18) ) { return; }
  
  			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:347:5: ( type ( ',' type )* )
  			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:347:7: type ( ',' type )*
  			{
  			pushFollow(FOLLOW_type_in_typeList603);
  			type();
  			state._fsp--;
  			if (state.failed) return;
  			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:347:12: ( ',' type )*
  			loop30:
  			while (true) {
  				int alt30=2;
  				int LA30_0 = input.LA(1);
  				if ( (LA30_0==43) ) {
  					alt30=1;
  				}
  
  				switch (alt30) {
  				case 1 :
  					// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:347:13: ',' type
  					{
  					match(input,43,FOLLOW_43_in_typeList606); if (state.failed) return;
  					pushFollow(FOLLOW_type_in_typeList608);
  					type();
  					state._fsp--;
  					if (state.failed) return;
  					}
  					break;
  
  				default :
  					break loop30;
  				}
  			}
  
  			}
  
  		}
  		catch (RecognitionException re) {
  			reportError(re);
  			recover(input,re);
  		}
  		finally {
  			// do for sure before leaving
  			if ( state.backtracking>0 ) { memoize(input, 18, typeList_StartIndex); }
  
  		}
  	}
docs: src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:346:1: typeList : type ( ',' type )* ;