Пример #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)));
    }
  }