class Builder {

		private Predicate<Build> buildPredicate = (build) -> true;

		private Consumer<Build> buildCustomizer;

		private Consumer<HelpDocument> helpDocumentCustomizer;

		/**
		 * For the implicit dependency created by this builder to be enabled, any of the
		 * specified {@code dependencies} must be present in the build. May be combined
		 * with other matches.
		 * @param dependencies the dependencies to match
		 * @return this for method chaining
		 * @see #match(Predicate)
		 */
		public Builder matchAnyDependencyIds(String... dependencies) {
			return match((build) -> matchAny(build, dependencies));
		}

		/**
		 * For the implicit dependency created by this builder to be enabled, all of the
		 * specified {@code dependencies} must be present in the build. May be combined
		 * with other matches.
		 * @param dependencies the dependencies to match
		 * @return this for method chaining
		 * @see #match(Predicate)
		 */
		public Builder matchAllDependencyIds(String... dependencies) {
			return match((build) -> matchAll(build, dependencies));
		}

		/**
		 * For the implicit dependency created by this builder to be enabled, the
		 * specified {@link Predicate} must pass. May be combined with other matches.
		 * @param buildPredicate the predicate to use to enable the dependency
		 * @return this for method chaining
		 */
		public Builder match(Predicate<Build> buildPredicate) {
			this.buildPredicate = this.buildPredicate.and(buildPredicate);
			return this;
		}

		/**
		 * Set the {@link Build} customizer to use.
		 * @param buildCustomizer the build customizer to use
		 * @return this for method chaining
		 */
		public Builder customizeBuild(Consumer<Build> buildCustomizer) {
			this.buildCustomizer = buildCustomizer;
			return this;
		}

		/**
		 * Set the {@link HelpDocument} customizer to use.
		 * @param helpDocumentCustomizer the help document customizer to use
		 * @return this for method chaining
		 */
		public Builder customizeHelpDocument(Consumer<HelpDocument> helpDocumentCustomizer) {
			this.helpDocumentCustomizer = helpDocumentCustomizer;
			return this;
		}

		/**
		 * Create an {@link ImplicitDependency} based on the state of this builder.
		 * @return an implicit dependency
		 */
		public ImplicitDependency build() {
			return new ImplicitDependency(this);
		}

		private static boolean matchAny(Build build, String... dependencies) {
			for (String dependency : dependencies) {
				if (build.dependencies().has(dependency)) {
					return true;
				}
			}
			return false;
		}

		private static boolean matchAll(Build build, String... dependencies) {<FILL_FUNCTION_BODY>}

	}

			for (String dependency : dependencies) {
				if (!build.dependencies().has(dependency)) {
					return false;
				}
			}
			return true;
		
<no_super_class>