예제 #1
0
  @Override
  public void provideRepository(GeneratorRepository provided) {
    super.provideRepository(provided);

    parameterGenerators.clear();
    for (Parameter each : parameters) {
      parameterGenerators.add(generatorFor(parameterContext(each)));
    }
  }
예제 #2
0
  @Override
  public void provideRepository(GeneratorRepository provided) {
    super.provideRepository(provided);

    fieldGenerators.clear();
    for (Field each : fields) {
      fieldGenerators.add(generatorFor(parameterContext(each)));
    }
  }