public static void addProjection(final ProjectionEntityQuery.Builder builder, final List<String> projection) {
		if (!projection.isEmpty()) {
			builder.addProjection(projection.get(0), projection.subList(1, projection.size()).toArray(new String[projection.size() - 1]));
		}
	}
public static void addProjection(final ProjectionEntityQuery.Builder builder, final List<String> projection) {
		if (!projection.isEmpty()) {
			builder.addProjection(projection.get(0), projection.subList(1, projection.size()).toArray(new String[projection.size() - 1]));
		}
	}
public static void addProjection ( final ProjectionEntityQuery . Builder builder , final List < String > projection ) { if ( ! projection . isEmpty ( ) ) { builder . addProjection ( projection . get ( 0 ) , projection . subList ( 1 , projection . size ( ) ) . toArray ( new String [ projection . size ( ) - 1 ] ) ) ; } }
The Builder api is programmer-hostile
The Builder api is programmer - hostile