docs: public void addAssertions(Assertions asserts) {
      if (getCommandline().getAssertions() != null) {
          throw new BuildException("Only one assertion declaration is allowed");
      }
      getCommandline().setAssertions(asserts);
    }