code: private IQ mergeDefinitions(Collection<IQ> queries) {
          return queryMerger.mergeDefinitions(queries)
                  .orElseThrow(() -> new MappingMergingException("The query should be present"));
      }
docs: Due to a Java compiler bug (hiding .orElseThrow() in a sub-method does the trick)