/** * @param spec the {@link AnnotationSpecs} for this creator. * @param itemCreator the {@link ObjectCreator} for the generic parameter of this class. * @param clazz the {@link Class} of the items in the array. */ public ArrayCreator(AnnotationSpecs spec, ObjectCreator<T> itemCreator, Class<T> clazz) { this.clazz = clazz; createArrays(spec, itemCreator); }
/** * @param spec the {@link AnnotationSpecs} for this creator. * @param itemCreator the {@link ObjectCreator} for the generic parameter of this class. * @param clazz the {@link Class} of the items in the array. */ public ArrayCreator(AnnotationSpecs spec, ObjectCreator<T> itemCreator, Class<T> clazz) { this.clazz = clazz; createArrays(spec, itemCreator); }