Skip to content

Annotation and javadoc support for JModule #1565

@virtual-machinist

Description

@virtual-machinist

Right now module-info file generation supports only adding requires and exports directives.

Since java.lang.Module implements java.lang.reflect.AnnotatedElement and thus can in theory be annotated, so should com.sun.codemodel.JModule implement com.sun.codemodel.JAnnotatable.

Besides that module-info files can contain JavaDoc, so they should probably implement com.sun.codemodel.JDocCommentable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions