Follow-up from #5042 (comment)
We should probably exclude all "implicit" annotations from our implementation of https://docs.oracle.com/en/java/javase/16/docs/api/java.compiler/javax/lang/model/type/TypeMirror.html#getAnnotationMirrors()
As implicit we should see all annotations internally added
- due to
@NonNullByDefault
- based on inheritance (if that option is enabled).
Follow-up from #5042 (comment)
We should probably exclude all "implicit" annotations from our implementation of https://docs.oracle.com/en/java/javase/16/docs/api/java.compiler/javax/lang/model/type/TypeMirror.html#getAnnotationMirrors()
As implicit we should see all annotations internally added
@NonNullByDefault