/**
* Reads the generators that will be used, by looking the annotations.
*/
protected void collectGenerators() {
UseGenerators useGenerators = this.method
.getAnnotation(UseGenerators.class);
if (useGenerators != null) {
for (Generator generator : useGenerators.value()) {
this.collectGenerator(generator);
}
}
Generator generator = this.method.getAnnotation(Generator.class);
this.collectGenerator(generator);