@@ -134,7 +134,7 @@ public abstract class AbstractCompilerMojo implements Mojo {
134134 protected String encoding ;
135135
136136 /**
137- * {@return the character set used for decoding bytes, or null for the platform default}.
137+ * {@return the character set used for decoding bytes, or null for the platform default}
138138 * No warning is emitted in the latter case because as of Java 18, the default is UTF-8,
139139 * i.e. the encoding is no longer platform-dependent.
140140 */
@@ -947,31 +947,31 @@ protected AbstractCompilerMojo(PathScope compileScope) {
947947 }
948948
949949 /**
950- * {@return the inclusion filters for the compiler, or an empty list for all Java source files}.
950+ * {@return the inclusion filters for the compiler, or an empty list for all Java source files}
951951 * The filter patterns are described in {@link java.nio.file.FileSystem#getPathMatcher(String)}.
952952 * If no syntax is specified, the default syntax is a derivative of "glob" compatible with the
953953 * behavior of Maven 3.
954954 */
955955 protected abstract Set <String > getIncludes ();
956956
957957 /**
958- * {@return the exclusion filters for the compiler, or an empty list if none}.
958+ * {@return the exclusion filters for the compiler, or an empty list if none}
959959 * The filter patterns are described in {@link java.nio.file.FileSystem#getPathMatcher(String)}.
960960 * If no syntax is specified, the default syntax is a derivative of "glob" compatible with the
961961 * behavior of Maven 3.
962962 */
963963 protected abstract Set <String > getExcludes ();
964964
965965 /**
966- * {@return the exclusion filters for the incremental calculation}.
966+ * {@return the exclusion filters for the incremental calculation}
967967 * Updated source files, if excluded by this filter, will not cause the project to be rebuilt.
968968 *
969969 * @see SourceFile#ignoreModification
970970 */
971971 protected abstract Set <String > getIncrementalExcludes ();
972972
973973 /**
974- * {@return whether all includes/excludes matchers specified in the plugin configuration are empty}.
974+ * {@return whether all includes/excludes matchers specified in the plugin configuration are empty}
975975 * This method checks only the plugin configuration. It does not check the {@code <source>} elements.
976976 */
977977 final boolean hasNoFileMatchers () {
@@ -981,14 +981,14 @@ && getExcludes().isEmpty()
981981 }
982982
983983 /**
984- * {@return the destination directory (or class output directory) for class files}.
984+ * {@return the destination directory (or class output directory) for class files}
985985 * This directory will be given to the {@code -d} Java compiler option.
986986 */
987987 @ Nonnull
988988 protected abstract Path getOutputDirectory ();
989989
990990 /**
991- * {@return the {@code --source} argument for the Java compiler}.
991+ * {@return the {@code --source} argument for the Java compiler}
992992 * The default implementation returns the {@link #source} value.
993993 */
994994 @ Nullable
@@ -997,7 +997,7 @@ protected String getSource() {
997997 }
998998
999999 /**
1000- * {@return the {@code --target} argument for the Java compiler}.
1000+ * {@return the {@code --target} argument for the Java compiler}
10011001 * The default implementation returns the {@link #target} value.
10021002 */
10031003 @ Nullable
@@ -1006,7 +1006,7 @@ protected String getTarget() {
10061006 }
10071007
10081008 /**
1009- * {@return the {@code --release} argument for the Java compiler}.
1009+ * {@return the {@code --release} argument for the Java compiler}
10101010 * The default implementation returns the {@link #release} value.
10111011 */
10121012 @ Nullable
@@ -1015,7 +1015,7 @@ protected String getRelease() {
10151015 }
10161016
10171017 /**
1018- * {@return the root directories of Java source code for the given scope}.
1018+ * {@return the root directories of Java source code for the given scope}
10191019 * This method ignores the deprecated {@link #compileSourceRoots} element.
10201020 *
10211021 * @param scope whether to get the directories for main code or for the test code
@@ -1025,7 +1025,7 @@ final Stream<SourceRoot> getSourceRoots(ProjectScope scope) {
10251025 }
10261026
10271027 /**
1028- * {@return the root directories of the Java source files to compile, excluding empty directories}.
1028+ * {@return the root directories of the Java source files to compile, excluding empty directories}
10291029 * The list needs to be modifiable for allowing the addition of generated source directories.
10301030 * This is determined from the {@link #compileSourceRoots} plugin configuration if non-empty,
10311031 * or from {@code <source>} elements otherwise.
@@ -1044,7 +1044,7 @@ final List<SourceDirectory> getSourceDirectories(final Path outputDirectory) thr
10441044 }
10451045
10461046 /**
1047- * {@return the path where to place generated source files created by annotation processing}.
1047+ * {@return the path where to place generated source files created by annotation processing}
10481048 */
10491049 @ Nullable
10501050 protected abstract Path getGeneratedSourcesDirectory ();
@@ -1072,7 +1072,7 @@ String moduleOfPreviousExecution() throws IOException {
10721072 }
10731073
10741074 /**
1075- * {@return whether the sources contain at least one {@code module-info.java} file}.
1075+ * {@return whether the sources contain at least one {@code module-info.java} file}
10761076 * Note that the sources may contain more than one {@code module-info.java} file
10771077 * if compiling a project with Module Source Hierarchy.
10781078 *
@@ -1101,7 +1101,7 @@ boolean hasModuleDeclaration(final List<SourceDirectory> roots) throws IOExcepti
11011101 }
11021102
11031103 /**
1104- * {@return the file where to dump the command-line when debug logging is enabled or when the compilation failed}.
1104+ * {@return the file where to dump the command-line when debug logging is enabled or when the compilation failed}
11051105 * For example, if the value is {@code "javac"}, then the Java compiler can be launched
11061106 * from the command-line by typing {@code javac @target/javac.args}.
11071107 * The debug file will contain the compiler options together with the list of source files to compile.
@@ -1115,7 +1115,7 @@ boolean hasModuleDeclaration(final List<SourceDirectory> roots) throws IOExcepti
11151115 protected abstract String getDebugFileName ();
11161116
11171117 /**
1118- * {@return the debug file name with its path, or null if none}.
1118+ * {@return the debug file name with its path, or null if none}
11191119 * This method does not check if the debug file will be written, as the compilation result is not yet known.
11201120 */
11211121 final Path getDebugFilePath () {
@@ -1222,7 +1222,7 @@ public ToolExecutor createExecutor(DiagnosticListener<? super JavaFileObject> li
12221222 }
12231223
12241224 /**
1225- * {@return the compiler to use for compiling the code}.
1225+ * {@return the compiler to use for compiling the code}
12261226 * If {@link #fork} is {@code true}, the returned compiler will be a wrapper for a command line.
12271227 * Otherwise, it will be the compiler identified by {@link #compilerId} if a value was supplied,
12281228 * or the standard compiler provided with the Java platform otherwise.
@@ -1452,7 +1452,7 @@ private boolean isVersionEqualOrNewer(String sourceVersion) {
14521452 }
14531453
14541454 /**
1455- * {@return the tool chain specified by the user in plugin parameters}.
1455+ * {@return the tool chain specified by the user in plugin parameters}
14561456 */
14571457 private Optional <Toolchain > getToolchain () {
14581458 if (jdkToolchain != null ) {
@@ -1498,8 +1498,9 @@ final String parseModuleInfoName(Path source) throws IOException {
14981498 }
14991499
15001500 /**
1501- * {@return all dependencies grouped by the path types where to place them}. If the module-path contains
1502- * any filename-based dependency and this MOJO is compiling the main code, then a warning will be logged.
1501+ * {@return all dependencies grouped by the path types where to place them}
1502+ * If the module-path contains any filename-based dependency and this <abbr>MOJO</abbr>
1503+ * is compiling the main code, then a warning will be logged.
15031504 *
15041505 * @param hasModuleDeclaration whether to allow placement of dependencies on the module-path.
15051506 * @throws IOException if an I/O error occurred while fetching dependencies
@@ -1606,7 +1607,7 @@ final void resolveProcessorPathEntries(Map<PathType, List<Path>> addTo) throws M
16061607 }
16071608
16081609 /**
1609- * {@return whether an annotation processor seems to be present}.
1610+ * {@return whether an annotation processor seems to be present}
16101611 * This method is invoked if the user did not specified explicit incremental compilation options.
16111612 *
16121613 * @param strict whether to be conservative if the current Java version is older than 23
0 commit comments