Skip to content

feat: support printing module import declarations - #1080

Merged
jtkiesel merged 1 commit into
jhipster:mainfrom
jtkiesel:feat/module-import-declaration
Sep 27, 2026
Merged

jtkiesel merged 1 commit into
jhipster:mainfrom
jtkiesel:feat/module-import-declaration

Conversation

@jtkiesel

Copy link
Copy Markdown
Contributor

What changed with this PR:

Module import declarations are now printed appropriately, and are grouped above static and non-static imports.

Example

Input

import f.F;
import static d.D.D;
import module b.b;
import static c.C.C;
import module a.a;
import e.E;

Output

import module a.a;
import module b.b;

import static c.C.C;
import static d.D.D;

import e.E;
import f.F;

Relative issues or prs:

Closes #1077

@jtkiesel
jtkiesel merged commit 165e709 into jhipster:main Sep 27, 2026
6 checks passed
@jtkiesel
jtkiesel deleted the feat/module-import-declaration branch September 27, 2026 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support JEP 511 import module of Java 25

1 participant