On Fri, 30 Oct 2020 20:11:49 GMT, Hannes Wallnöfer <hann...@openjdk.org> wrote:

> This PR adds a dedicated signature to module and package overview pages and 
> moves all code for generating signatures to a new 
> `doclets.formats.html.Signatures` utility class. The `Signatures` class 
> contains two public static methods for module and package signatures as well 
> as two inner classes for type and member signatures. 
> 
> Signatures are rendered as `<div>` elements with top level CSS classes that 
> identify the kind of signature: `module-signature`, `package-signature`, 
> `type-signature` and `member-signature`. Signature components are rendered as 
> `<span>` elements with CSS classes that identify the component, e.g.: 
> `modifiers`, `annotations`, `element-name`, `exceptions`. 
> 
> As a side benefit, this PR reduces the number of methods in 
> `HtmlDocletWriter` used to generate annotation information.

This pull request has now been integrated.

Changeset: 5be4de85
Author:    Hannes Wallnöfer <hann...@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/5be4de85
Stats:     1540 lines in 53 files changed: 610 ins; 446 del; 484 mod

8245058: improve presentation of annotations for modules and packages

Reviewed-by: jjg

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

PR: https://git.openjdk.java.net/jdk/pull/966

Reply via email to