return getBundle().getString("ambiguous-strategy-resolution", type.getCanonicalName(), classes.toString());
}
private static <T> int getPriority(Class<T> type) {
int result = Priority.MAX_PRIORITY;
Priority priority = type.getAnnotation(Priority.class);
if (priority != null) {
result = priority.value();
}
return result;
}