public final InterfaceDeclarationContext interfaceDeclaration() throws RecognitionException {
		InterfaceDeclarationContext _localctx = new InterfaceDeclarationContext(_ctx, getState());
		enterRule(_localctx, 30, RULE_interfaceDeclaration);
		int _la;
		try {
			enterOuterAlt(_localctx, 1);
			{
			setState(372); match(INTERFACE);
			setState(373); match(Identifier);
			setState(375);
			_la = _input.LA(1);
			if (_la==LT) {
				{
				setState(374); typeParameters();
				}
			}

			setState(379);
			_la = _input.LA(1);
			if (_la==EXTENDS) {
				{
				setState(377); match(EXTENDS);
				setState(378); typeList();
				}
			}

			setState(381); interfaceBody();
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}