-
Enhancement
-
Resolution: Fixed
-
P3
-
None
-
None
-
b07
-
generic
-
generic
There are currently 30+ enum values in jdk.javadoc.internal.doclets.formats.html.HtmlLinkInfo.Kind to determine the format of a link to a documented element in JavaDoc. The constant names are very specific, but their use in 100+ places in the code sometimes do not match the name. What's more, the actual format for a link is determined in ways that are sometimes hard to understand and depend on other conditions.
The goal of this task is to reduce the number of constants in HtmlLinkInfo.Kind to the minimum and simplify the code to determine the format of a generated link.
The goal of this task is to reduce the number of constants in HtmlLinkInfo.Kind to the minimum and simplify the code to determine the format of a generated link.