docs: public final void literal() throws RecognitionException {
  		int literal_StartIndex = input.index();
  
  		try {
  			if ( state.backtracking>0 && alreadyParsedRule(input, 61) ) { return; }
  
  			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:587:5: ( integerLiteral | FloatingPointLiteral | CharacterLiteral | StringLiteral | booleanLiteral | 'null' )
  			int alt84=6;
  			switch ( input.LA(1) ) {
  			case DecimalLiteral:
  			case HexLiteral:
  			case OctalLiteral:
  				{
  				alt84=1;
  				}
  				break;
  			case FloatingPointLiteral:
  				{
  				alt84=2;
  				}
  				break;
  			case CharacterLiteral:
  				{
  				alt84=3;
  				}
  				break;
  			case StringLiteral:
  				{
  				alt84=4;
  				}
  				break;
  			case 82:
  			case 115:
  				{
  				alt84=5;
  				}
  				break;
  			case 98:
  				{
  				alt84=6;
  				}
  				break;
  			default:
  				if (state.backtracking>0) {state.failed=true; return;}
  				NoViableAltException nvae =
  					new NoViableAltException("", 84, 0, input);
  				throw nvae;
  			}
  			switch (alt84) {
  				case 1 :
  					// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:587:9: integerLiteral
  					{
  					pushFollow(FOLLOW_integerLiteral_in_literal2150);
  					integerLiteral();
  					state._fsp--;
  					if (state.failed) return;
  					}
  					break;
  				case 2 :
  					// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:588:9: FloatingPointLiteral
  					{
  					match(input,FloatingPointLiteral,FOLLOW_FloatingPointLiteral_in_literal2160); if (state.failed) return;
  					}
  					break;
  				case 3 :
  					// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:589:9: CharacterLiteral
  					{
  					match(input,CharacterLiteral,FOLLOW_CharacterLiteral_in_literal2170); if (state.failed) return;
  					}
  					break;
  				case 4 :
  					// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:590:9: StringLiteral
  					{
  					match(input,StringLiteral,FOLLOW_StringLiteral_in_literal2180); if (state.failed) return;
  					}
  					break;
  				case 5 :
  					// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:591:9: booleanLiteral
  					{
  					pushFollow(FOLLOW_booleanLiteral_in_literal2190);
  					booleanLiteral();
  					state._fsp--;
  					if (state.failed) return;
  					}
  					break;
  				case 6 :
  					// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:592:9: 'null'
  					{
  					match(input,98,FOLLOW_98_in_literal2200); 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, 61, literal_StartIndex); }
  
  		}
  	}