}
public Class<?> resolveActualType(AnnotatedElement overrides, Class<?> type) {
if (overrides != null && overrides.isAnnotationPresent(BoundNumber.class)) {
BoundNumber numericMetadata = overrides.getAnnotation(BoundNumber.class);
Class<?> typeOverride = numericMetadata.type();
if (typeOverride != Number.class) {
return typeOverride;
}
}
return type;