RFR: 8336754: Remodel TypeAnnotation to "has" instead of "be" an Annotation

Chen Liang liach at openjdk.org
Fri Jul 19 02:01:52 UTC 2024


`TypeAnnotation` is not an annotation, as it should not be used in places like `AnnotationValue.ofAnnotation`. Thus it's remodeled to contain an annotation at a given location instead of to be an annotation.

Depends on #20205.

-------------

Depends on: https://git.openjdk.org/jdk/pull/20205

Commit messages:
 - 8336754: Remodel TypeAnnotation to "has" instead of "be" an Annotation

Changes: https://git.openjdk.org/jdk/pull/20247/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20247&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8336754
  Stats: 218 lines in 18 files changed: 60 ins; 116 del; 42 mod
  Patch: https://git.openjdk.org/jdk/pull/20247.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20247/head:pull/20247

PR: https://git.openjdk.org/jdk/pull/20247


More information about the compiler-dev mailing list