Reflection based AnnotatedTypeMetadata implementations only support @RetentionPolicy(RetentionPolicy.RUNTIME) annotations. ASM implementations however currently ignore the visible attribute and will read both RetentionPolicy.CLASS and RetentionPolicy.RUNTIME annotations.
I would like to unify the two implementations if possible.