Beispiel #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());
  }
Beispiel #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());
  }
Beispiel #3
0
  @Override
  public void provideRepository(GeneratorRepository provided) {
    super.provideRepository(provided);

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

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