in safeguard-impl/src/main/java/org/apache/safeguard/impl/cdi/SafeguardExtension.java [300:308]
private void customizePriority(final ProcessAnnotatedType<?> type) {
if (priorityBase == null) {
return;
}
final int offset = type.getAnnotatedType().getAnnotation(Priority.class).value() - Interceptor.Priority.PLATFORM_AFTER;
type.configureAnnotatedType()
.remove(it -> it.annotationType() == Priority.class)
.add(new PriorityBinding(priorityBase + offset));
}