public Builder() { StringCreator forCollectionStringCreator = StringCreator.getBasicStringCreator(); AnnotationSpecs spec = new AnnotationSpecs.Builder().setSize(1, 5, 1).setIsNullable(true).build(); names = new CollectionCreator<String>(spec, forCollectionStringCreator); mIncrementer = new ObjectCreatorIncrementer(nonAnnotatedString, notNullFieldCreator, canBeNullFieldCreator, betweenOneAndFive, mustBeTrue, names); } @Override
public Builder() { StringCreator forCollectionStringCreator = StringCreator.getBasicStringCreator(); AnnotationSpecs spec = new AnnotationSpecs.Builder().setSize(1, 5, 1).setIsNullable(true).build(); names = new CollectionCreator<String>(spec, forCollectionStringCreator); mIncrementer = new ObjectCreatorIncrementer(nonAnnotatedString, notNullFieldCreator, canBeNullFieldCreator, betweenOneAndFive, mustBeTrue, names); } @Override
public Builder() { StringCreator forCollectionStringCreator = StringCreator.getBasicStringCreator(); AnnotationSpecs spec = new AnnotationSpecs.Builder().setSize(5, 20, 1).setIsNullable(false).build(); stringArrayCreator = new ArrayCreator<>(spec, forCollectionStringCreator, String.class); AnnotationSpecs spec2 = new AnnotationSpecs.Builder().setSize(1, 3, 1).setIsNullable(false).build(); mSinglesCreator = new CollectionCreator<>(spec2, new SingleMethodSampleModel.Builder()); mIncrementer = new ObjectCreatorIncrementer(stringArrayCreator, mSinglesCreator); }
public Builder() { StringCreator forCollectionStringCreator = StringCreator.getBasicStringCreator(); AnnotationSpecs spec = new AnnotationSpecs.Builder().setSize(5, 20, 1).setIsNullable(false).build(); mStringArrayCreator = new ArrayCreator<>(spec, forCollectionStringCreator, String.class); AnnotationSpecs spec2 = new AnnotationSpecs.Builder().setSize(1, 3, 1).setIsNullable(false).build(); mSinglesCreator = new CollectionCreator<>(spec2, new SingleMethodSampleModel.Builder()); mIncrementer = new ObjectCreatorIncrementer(mStringArrayCreator, mSinglesCreator); }