Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
jdk.compiler/com.sun.tools.doclint.DocLint - DocLint Tool
How to run "jdk.compiler/com.sun.tools.doclint.DocLint" tool from JDK lib\modules JImage file?
✍: FYIcenter
"jdk.compiler/com.sun.tools.doclint.DocLint" tool allows you
to detect errors in Javadoc comments early in the development cycle.
"jdk.compiler/com.sun.tools.doclint.DocLint" tool is supported by the jmods\jdk.compiler.agent.jmod module file, which is also linked into the lib\modules JImage file in JDK 9, 10, and 11.
jdk.compiler/com.sun.tools.doclint.DocLint" tool using the lib\modules JImage file as described below using JDK 11 as an example:
fyicenter> set JDK_HOME=\fyicenter\jdk-11.0.1
fyicenter> %JDK_HOME%\bin\java --module jdk.compiler/com.sun.tools.doclint.DocLint
Usage:
doclint [options] source-files...
Options:
-Xmsgs
Same as -Xmsgs:all
-Xmsgs:values
Specify categories of issues to be checked, where 'values'
is a comma-separated list of any of the following:
reference show places where comments contain incorrect
references to Java source code elements
syntax show basic syntax errors within comments
html show issues with HTML tags and attributes
accessibility show issues for accessibility
missing show issues with missing documentation
all all of the above
Precede a value with '-' to negate it
Categories may be qualified by one of:
/public /protected /package /private
For positive categories (not beginning with '-')
the qualifier applies to that access level and above.
For negative categories (beginning with '-')
the qualifier applies to that access level and below.
If a qualifier is missing, the category applies to
all access levels.
For example, -Xmsgs:all,-syntax/private
This will enable all messages, except syntax errors
in the doc comments of private methods.
If no -Xmsgs options are provided, the default is
equivalent to -Xmsgs:all/protected, meaning that
all messages are reported for protected and public
declarations only.
-XcheckPackage:<packages>
Enable or disable checks in specific packages.
<packages> is a comma separated list of package specifiers.
Package specifier is either a qualified name of a package
or a package name prefix followed by '.*', which expands to
all sub-packages of the given package. Prefix the package specifier
with '-' to disable checks for the specified packages.
-stats
Report statistics on the reported issues.
-h -help --help -usage -?
Show this message.
The following javac options are also supported
-bootclasspath, -classpath, -cp, -sourcepath, -Xmaxerrs, -Xmaxwarns
To run doclint on part of a project, put the compiled classes for your
project on the classpath (or bootclasspath), then specify the source files
to be checked on the command line.
Note that DocLint tool is removed from JDK 17.
⇒ jdk.compiler/com.sun.tools.javac.launcher.Main - Java Launcher
⇐ java.xml/com.sun.org.apache.xerces.internal.impl.xpath.regex.REUtil - Regular Expression Tool
2019-09-27, ∼2405🔥, 0💬
Popular Posts:
Apache Neethi provides general framework for the programmers to use WS Policy. It is compliant with ...
Apache Commons Codec library provides implementations of common encoders and decoders such as Base64...
The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms, it was develo...
MP3SPI is a Java Service Provider Interface that adds MP3 (MPEG 1/2/2.5 Layer 1/2/3) audio format su...
Where to get the Java source code for Connector/J 8.0 Core API module? Java source code files for Co...