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

Chen Liang liach at openjdk.org
Tue Jul 23 15:43:58 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.

Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains two commits:

 - SealedGraph now redundant
 - 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=02
  Stats: 245 lines in 20 files changed: 81 ins; 115 del; 49 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 core-libs-dev mailing list