getAnnotationsByType should search for inherited annotations whenever no declared annotations are found.
Currently the supertype is *not* searched if an empty container is found.
Currently the supertype is *not* searched if an empty container is found.