docs: public Object getResult(Object workingMemoryContext,
                              Object context,
                              Tuple leftTuple,
                              Declaration[] declarations,
                              WorkingMemory workingMemory) throws Exception {
          return ((CollectContext) context).result;
      }