Skip to content

Filter implicit annotations from our implementation of TypeMirror.getAnnotationMirrors() #5043

@stephan-herrmann

Description

@stephan-herrmann

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).

Metadata

Metadata

Labels

nullIssues related to null pointer analysis

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions