Skip to content

Commit

Permalink
Include 'parameter' and 'preview' describe log
Browse files Browse the repository at this point in the history
The -parameter and --enable-preview compiler options affect the output of the generated classes, so it's helpful to see if those options are enabled.

Signed-off-by: Jorge Solórzano <jorsol@gmail.com>
  • Loading branch information
jorsol authored and slachiewicz committed Nov 12, 2023
1 parent 6bcabd2 commit 0692cb4
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -688,15 +688,18 @@ public String describe() {
params.add("debug");
}
}
if (isOptimize()) {
params.add("optimize");
}
if (isVerbose()) {
params.add("verbose");
}
if (isShowDeprecation()) {
params.add("deprecation");
}
if (isParameters()) {
params.add("parameters");
}
if (isEnablePreview()) {
params.add("preview");
}

// target bytecode options: release or target, module-path
if (!StringUtils.isEmpty(getReleaseVersion())) {
Expand Down

0 comments on commit 0692cb4

Please sign in to comment.