check-api-annotations checks for annotation preceding its span