docs: public final void classDeclaration() throws RecognitionException {
  		int classDeclaration_StartIndex = input.index();
  
  		try {
  			if ( state.backtracking>0 && alreadyParsedRule(input, 6) ) { return; }
  
  			// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:294:5: ( normalClassDeclaration | enumDeclaration )
  			int alt11=2;
  			int LA11_0 = input.LA(1);
  			if ( (LA11_0==72) ) {
  				alt11=1;
  			}
  			else if ( (LA11_0==ENUM) ) {
  				alt11=2;
  			}
  
  			else {
  				if (state.backtracking>0) {state.failed=true; return;}
  				NoViableAltException nvae =
  					new NoViableAltException("", 11, 0, input);
  				throw nvae;
  			}
  
  			switch (alt11) {
  				case 1 :
  					// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:294:7: normalClassDeclaration
  					{
  					pushFollow(FOLLOW_normalClassDeclaration_in_classDeclaration244);
  					normalClassDeclaration();
  					state._fsp--;
  					if (state.failed) return;
  					}
  					break;
  				case 2 :
  					// src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:295:9: enumDeclaration
  					{
  					pushFollow(FOLLOW_enumDeclaration_in_classDeclaration254);
  					enumDeclaration();
  					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, 6, classDeclaration_StartIndex); }
  
  		}
  	}