RFR: 8295653: Add a graph of the sealed class hierarchy for marked classes
Magnus Ihse Bursie
ihse at openjdk.org
Wed Oct 19 20:43:59 UTC 2022
On Wed, 19 Oct 2022 18:11:59 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:
>> It would be possible to mark classes with `@sealedGraph` to indicate that the sealed hierarchy should be rendered graphically in the JavaDocs. Classes not marked would be unaffected, creating an opt-in approach.
>>
>> [Here](https://bugs.openjdk.org/secure/attachment/101126/Screen%20Shot%202022-10-19%20at%2012.47.47%20PM.png) is an example of MemoryLayout class rendering.
>>
>> This feature has been developed in cooperation with Per Minborg.
>
> src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/stylesheet.css line 855:
>
>> 853: margin: -100px 0 0 100px;
>> 854: z-index: 1;
>> 855: }
>
> These lines could be merged with the preceding lines, using the `,` syntax
I'm not that familiar with css syntax. Can you be more concrete on how you wish this written?
-------------
PR: https://git.openjdk.org/jdk/pull/10761
More information about the build-dev
mailing list