public final EnumConstantsContext enumConstants() throws RecognitionException {
		EnumConstantsContext _localctx = new EnumConstantsContext(_ctx, getState());
		enterRule(_localctx, 22, RULE_enumConstants);
		int _la;
		try {
			int _alt;
			setState(322);
			switch (_input.LA(1)) {
			case 24:
			case Identifier:
				enterOuterAlt(_localctx, 1);
				{
				setState(310); enumConstant();
				setState(315);
				_errHandler.sync(this);
				_alt = getInterpreter().adaptivePredict(_input,20,_ctx);
				while ( _alt!=2 && _alt!=-1 ) {
					if ( _alt==1 ) {
						{
						{
						setState(311); match(42);
						setState(312); enumConstant();
						}
						} 
					}
					setState(317);
					_errHandler.sync(this);
					_alt = getInterpreter().adaptivePredict(_input,20,_ctx);
				}
				setState(319);
				_la = _input.LA(1);
				if (_la==42) {
					{
					setState(318); match(42);
					}
				}

				}
				break;
			case 42:
				enterOuterAlt(_localctx, 2);
				{
				setState(321); match(42);
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}