spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/build/BuildpackResolvers.java
/**
	 * Resolve a collection of {@link BuildpackReference BuildpackReferences} to a
	 * {@link Buildpacks} instance.
	 * @param context the resolver context
	 * @param references the references to resolve
	 * @return a {@link Buildpacks} instance
	 */
Resolve a collection of  BuildpackReference BuildpackReferences to a
Buildpacks instance.
@param context the resolver context
@param references the references to resolve
@return a  Buildpacks instance
Resolve a collection of BuildpackReference BuildpackReferences to a Buildpacks instance . @param context the resolver context @param references the references to resolve @return a Buildpacks instance
static Buildpacks resolveAll(BuildpackResolverContext context, Collection<BuildpackReference> references) {
		Assert.notNull(context, "Context must not be null");
		if (CollectionUtils.isEmpty(references)) {
			return Buildpacks.EMPTY;
		}
		List<Buildpack> buildpacks = new ArrayList<>(references.size());
		for (BuildpackReference reference : references) {
			buildpacks.add(resolve(context, reference));
		}
		return Buildpacks.of(buildpacks);
	}
static Buildpacks resolveAll ( BuildpackResolverContext context , Collection < BuildpackReference > references ) { Assert . notNull ( context , "Context must not be null" ) ; if ( CollectionUtils . isEmpty ( references ) ) { return Buildpacks . EMPTY ; } List < Buildpack > buildpacks = new ArrayList < > ( references . size ( ) ) ; for ( BuildpackReference reference : references ) { buildpacks . add ( resolve ( context , reference ) ) ; } return Buildpacks . of ( buildpacks ) ; }
Resolve a collection of {@link BuildpackReference BuildpackReferences} to a
 {@link Buildpacks} instance.
Resolve a collection of { @link BuildpackReference BuildpackReferences } to a { @link Buildpacks } instance .