docs: public WindowDeclarationDescr windowDeclaration(DeclareDescrBuilder ddb) throws RecognitionException {
          WindowDeclarationDescrBuilder declare = null;
          try {
              declare = helper.start(ddb,
                      WindowDeclarationDescrBuilder.class,
                      null);
  
              setAnnotationsOn(declare);
  
              String window = "";
  
              match(input,
                      DRL6Lexer.ID,
                      DroolsSoftKeywords.WINDOW,
                      null,
                      DroolsEditorType.KEYWORD);
              if (state.failed)
                  return null;
  
              Token id = match(input,
                      DRL6Lexer.ID,
                      null,
                      null,
                      DroolsEditorType.IDENTIFIER);
              if (state.failed)
                  return null;
              window = id.getText();
  
              if (state.backtracking == 0) {
                  declare.name(window);
              }
  
              lhsPatternBind(declare, false);
  
              match(input,
                      DRL6Lexer.ID,
                      DroolsSoftKeywords.END,
                      null,
                      DroolsEditorType.KEYWORD);
  
              if (state.failed)
                  return null;
  
          } catch (RecognitionException re) {
              reportError(re);
          } finally {
              helper.end(WindowDeclarationDescrBuilder.class,
                      declare);
          }
          return (declare != null) ? declare.getDescr() : null;
      }