@SuppressWarnings("unused") public static FlowletId fromIdParts(Iterable<String> idString) { Iterator<String> iterator = idString.iterator(); return new FlowletId( new ApplicationId(next(iterator, "namespace"), next(iterator, "application"), next(iterator, "version")), next(iterator, "flow"), nextAndEnd(iterator, "flowlet")); }