> `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 incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 12 additional commits since the last revision: - remove compile, use element-value, break long sentences - Merge branch 'master' of https://github.com/openjdk/jdk into fix/typeanno-model - Improve docs for repeating, default, and value name - Merge branch 'master' of https://github.com/openjdk/jdk into fix/typeanno-model - Merge branch 'master' of https://github.com/openjdk/jdk into fix/typeanno-model - More refinements from alex - Artifact -> construct - More about Annotation, add equals note - Further refine wording - Refine the spec of TypeAnnotation per Alex feedback - ... and 2 more: https://git.openjdk.org/jdk/compare/cfd1bb21...3a91a3a5 ------------- Changes: - all: https://git.openjdk.org/jdk/pull/20247/files - new: https://git.openjdk.org/jdk/pull/20247/files/d45c35fc..3a91a3a5 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=20247&range=07 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20247&range=06-07 Stats: 531 lines in 22 files changed: 322 ins; 11 del; 198 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