processMethodAnnotations(descriptorPolicy);
processPropertyAnnotations(descriptorPolicy);
}
private void processSolutionAnnotations(DescriptorPolicy descriptorPolicy) {
PlanningSolution solutionAnnotation = solutionClass.getAnnotation(PlanningSolution.class);
if (solutionAnnotation == null) {
throw new IllegalStateException("The solutionClass (" + solutionClass
+ ") has been specified as a solution in the configuration," +
" but does not have a " + PlanningSolution.class.getSimpleName() + " annotation.");
}