public PredicateBuilder begin() {
    checkDone();
    return new PredicateBuilder(this);
  }
Allow for chaining of already constructed predicates
ambari-server/src/main/java/org/apache/ambari/server/controller/utilities/PredicateBuilder.java