docs: public final void instanceOfExpression() throws RecognitionException {
  		int instanceOfExpression_StartIndex = input.index();
  
  		try {
  			if ( state.backtracking>0 && alreadyParsedRule(input, 117) ) { return; }
  
  			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:1166:5: ( relationalExpression ( 'instanceof' type )? )
  			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:1166:9: relationalExpression ( 'instanceof' type )?
  			{
  			pushFollow(FOLLOW_relationalExpression_in_instanceOfExpression5248);
  			relationalExpression();
  			state._fsp--;
  			if (state.failed) return;
  			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:1166:30: ( 'instanceof' type )?
  			int alt149=2;
  			int LA149_0 = input.LA(1);
  			if ( (LA149_0==91) ) {
  				alt149=1;
  			}
  			switch (alt149) {
  				case 1 :
  					// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:1166:31: 'instanceof' type
  					{
  					match(input,91,FOLLOW_91_in_instanceOfExpression5251); if (state.failed) return;
  					pushFollow(FOLLOW_type_in_instanceOfExpression5253);
  					type();
  					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, 117, instanceOfExpression_StartIndex); }
  
  		}
  	}