clasifiers = new ClassifyResults[this.method.getMethod().getParameterAnnotations().length];
int index = 0;
for (Annotation[] annotations:this.method.getMethod().getParameterAnnotations()){
for (Annotation annotation:annotations){
if (annotation.annotationType().equals(Classify.class)){
Classify collectAnnotation = (Classify) annotation;
Classifier[] classifiers = new Classifier[collectAnnotation.classifiers().length];
int i = 0;
for (Class<? extends Classifier> classifierClass: collectAnnotation.classifiers()){
try {
classifiers[i] = classifierClass.newInstance();
} catch (Exception e) {
throw new RuntimeException(e);
}
i++;
}
clasifiers[index] = new ClassifyResults(collectAnnotation.name(), classifiers);
}
}
index++;
}
}