attempting a scan-foward approach in the usage scenario where $multiple = false and $inherited = true
Simplifying the code of `AnnotationManager::applyConstraints`