Пример #1
0
  @Override
  public void configure(AnnotatedType annotatedType) {
    super.configure(annotatedType);

    for (int i = 0; i < parameters.length; ++i)
      parameterGenerators.get(i).configure(parameters[i].getAnnotatedType());
  }
Пример #2
0
  @Override
  public void configure(AnnotatedType annotatedType) {
    super.configure(annotatedType);

    for (int i = 0; i < fields.size(); ++i)
      fieldGenerators.get(i).configure(fields.get(i).getAnnotatedType());
  }
Пример #3
0
  @Override
  public void provideRepository(GeneratorRepository provided) {
    super.provideRepository(provided);

    parameterGenerators.clear();
    for (Parameter each : parameters) {
      parameterGenerators.add(generatorFor(parameterContext(each)));
    }
  }
Пример #4
0
  @Override
  public void provideRepository(GeneratorRepository provided) {
    super.provideRepository(provided);

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