RFR: 8323698: Class use page does not include extends/implements type arguments [v6]

Chen Liang liach at openjdk.org
Fri Feb 23 05:33:07 UTC 2024


> Currently in the javadoc tool, the generated class use page does not track the occurrences of a class in the type arguments of the extends or implements list, where they can appear. (See more details on the JBS issue) For example:
> 
> public class One {}
> 
> 
> import java.util.*;
> public class Two extends ArrayList<One> implements Comparator<One> {
> }
> 
> 
> This patch proposes to add new 2 usage categories, "Classes that extend types with arguments of type" and "Classes that implement types with arguments of type" to describe the missing usage scenarios.
> 
> A preview of the new use page with the 2 new categories, generated based on the example above, can be found here: https://cr.openjdk.org/~liach/8323698-javadocuse/doc/class-use/One.html

Chen Liang has updated the pull request incrementally with one additional commit since the last revision:

  Apply suggestions from code review
  
  Co-authored-by: Pavel Rappo <32523691+pavelrappo at users.noreply.github.com>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17414/files
  - new: https://git.openjdk.org/jdk/pull/17414/files/bdd03743..e18aec67

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=17414&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17414&range=04-05

  Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/17414.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17414/head:pull/17414

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


More information about the javadoc-dev mailing list