FromAnnotationsRuleSet ruleSet) {
if (annotation.annotationType().isAnnotationPresent(DigesterRule.class)
&& annotation.annotationType().isAnnotationPresent(CreationRule.class)) {
ruleSet.addRules(type);
DigesterRule digesterRule = methodAnnotation.annotationType().getAnnotation(DigesterRule.class);
Class<? extends AnnotationRuleProvider<A, Method, R>> providerType =
(Class<? extends AnnotationRuleProvider<A, Method, R>>) digesterRule.providedBy();
ruleSet.addRuleProvider(AnnotationUtils.getAnnotationPattern(annotation),
providerType,
methodAnnotation,
method);
} else if (annotation.annotationType().isAnnotationPresent(DigesterRuleList.class)) {