Integrated: 8323698: Class use page does not include extends/implements type arguments

Chen Liang liach at openjdk.org
Mon Feb 26 12:13:58 UTC 2024


On Sun, 14 Jan 2024 01:00:36 GMT, Chen Liang <liach at openjdk.org> wrote:

> 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

This pull request has now been integrated.

Changeset: 3a00fc73
Author:    Chen Liang <liach at openjdk.org>
Committer: Pavel Rappo <prappo at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/3a00fc732a959300a558d5062e5486220ea75192
Stats:     145 lines in 4 files changed: 133 ins; 0 del; 12 mod

8323698: Class use page does not include extends/implements type arguments

Reviewed-by: prappo, hannesw

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

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


More information about the javadoc-dev mailing list