Update documentation
https://github.com/pmd/pmd/actions/runs/2249346453
1d2b40b3c0...ec64315ad7
This commit is contained in:
4
404.html
4
404.html
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1546,7 +1546,7 @@
|
||||
<div class="col-lg-12 footer">
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
Site last generated: Apr 29, 2022 <br />
|
||||
Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
4
feed.xml
4
feed.xml
@ -5,8 +5,8 @@
|
||||
<description>Intended as a documentation theme based on Jekyll for technical writers documenting software and other technical products, this theme has all the elements you would need to handle multiple products with both multi-level sidebar navigation, tags, and other documentation features.</description>
|
||||
<link>https://pmd.github.io/pmd/</link>
|
||||
<atom:link href="https://pmd.github.io/pmd/feed.xml" rel="self" type="application/rss+xml"/>
|
||||
<pubDate>Fri, 29 Apr 2022 10:51:46 +0000</pubDate>
|
||||
<lastBuildDate>Fri, 29 Apr 2022 10:51:46 +0000</lastBuildDate>
|
||||
<pubDate>Sat, 30 Apr 2022 07:51:51 +0000</pubDate>
|
||||
<lastBuildDate>Sat, 30 Apr 2022 07:51:51 +0000</lastBuildDate>
|
||||
<generator>Jekyll v3.9.2</generator>
|
||||
|
||||
</channel>
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -6809,7 +6809,7 @@ $('#filter a').click(function (e) {
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
<span>Page last updated:</span>
|
||||
August 2017<br /> Site last generated: Apr 29, 2022 <br />
|
||||
August 2017<br /> Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1781,7 +1781,7 @@ $('#small-box-links').localScroll({
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
<span>Page last updated:</span>
|
||||
November 30, 2015<br /> Site last generated: Apr 29, 2022 <br />
|
||||
November 30, 2015<br /> Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1790,7 +1790,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
<div class="col-lg-12 footer">
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
Site last generated: Apr 29, 2022 <br />
|
||||
Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1555,7 +1555,7 @@
|
||||
<div class="col-lg-12 footer">
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
Site last generated: Apr 29, 2022 <br />
|
||||
Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1556,7 +1556,7 @@
|
||||
<div class="col-lg-12 footer">
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
Site last generated: Apr 29, 2022 <br />
|
||||
Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1567,7 +1567,7 @@ through the archives (<a href="http://java-pmd.30631.n5.nabble.com/">archive1</a
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
<span>Page last updated:</span>
|
||||
January 2021<br /> Site last generated: Apr 29, 2022 <br />
|
||||
January 2021<br /> Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1635,7 +1635,7 @@ flow statement.</li>
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
<span>Page last updated:</span>
|
||||
July 20, 2017<br /> Site last generated: Apr 29, 2022 <br />
|
||||
July 20, 2017<br /> Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1528,22 +1528,22 @@
|
||||
|
||||
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[tom@hal building]$ ls -l
|
||||
total 5716
|
||||
-rw-rw-r-- 1 tom tom 5837216 Jul 17 13:09 pmd-src-6.45.0-SNAPSHOT.zip
|
||||
[tom@hal building]$ unzip -q pmd-src-6.45.0-SNAPSHOT.zip
|
||||
-rw-rw-r-- 1 tom tom 5837216 Jul 17 13:09 pmd-src-6.45.0.zip
|
||||
[tom@hal building]$ unzip -q pmd-src-6.45.0.zip
|
||||
[tom@hal building]$
|
||||
</code></pre></div></div>
|
||||
|
||||
<p>Now cd down into the <code class="language-plaintext highlighter-rouge">pmd</code> directory:</p>
|
||||
|
||||
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[tom@hal building]$ cd pmd-src-6.45.0-SNAPSHOT
|
||||
[tom@hal pmd-src-6.45.0-SNAPSHOT]$ ls -l | grep pom.xml
|
||||
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[tom@hal building]$ cd pmd-src-6.45.0
|
||||
[tom@hal pmd-src-6.45.0]$ ls -l | grep pom.xml
|
||||
-rw-rw-r-- 1 tom tom 36482 14\. Nov 17:36 pom.xml
|
||||
[tom@hal pmd-src-6.45.0-SNAPSHOT]$
|
||||
[tom@hal pmd-src-6.45.0]$
|
||||
</code></pre></div></div>
|
||||
|
||||
<p>That’s the project configuration for maven… let’s compile!</p>
|
||||
|
||||
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[tom@hal pmd-src-6.45.0-SNAPSHOT]$ ./mvnw clean verify
|
||||
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[tom@hal pmd-src-6.45.0]$ ./mvnw clean verify
|
||||
[INFO] Scanning for projects...
|
||||
[INFO] ------------------------------------------------------------------------
|
||||
[INFO] Reactor Build Order:
|
||||
@ -1583,7 +1583,7 @@ total 5716
|
||||
[INFO] Finished at: 2015-11-14T17:46:06+01:00
|
||||
[INFO] Final Memory: 63M/765M
|
||||
[INFO] ------------------------------------------------------------------------
|
||||
[tom@hal pmd-src-6.45.0-SNAPSHOT]$
|
||||
[tom@hal pmd-src-6.45.0]$
|
||||
</code></pre></div></div>
|
||||
|
||||
<p>Now the source and binary distribution zip files can be found in the folder <code class="language-plaintext highlighter-rouge">pmd-dist/target</code>.</p>
|
||||
@ -1634,7 +1634,7 @@ They’re also in the jar file that’s included with both the source and binary
|
||||
<div class="col-lg-12 footer">
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
Site last generated: Apr 29, 2022 <br />
|
||||
Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1585,7 +1585,7 @@ every push. Each pull request is built as well.</p>
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
<span>Page last updated:</span>
|
||||
August 2017<br /> Site last generated: Apr 29, 2022 <br />
|
||||
August 2017<br /> Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1655,7 +1655,7 @@ with the name “a”.</p>
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
<span>Page last updated:</span>
|
||||
January 17, 2020 (6.21.0)<br /> Site last generated: Apr 29, 2022 <br />
|
||||
January 17, 2020 (6.21.0)<br /> Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1601,7 +1601,7 @@ type resolution information and DFA nodes.</li>
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
<span>Page last updated:</span>
|
||||
September 2017<br /> Site last generated: Apr 29, 2022 <br />
|
||||
September 2017<br /> Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1700,7 +1700,7 @@ call the method <code class="language-plaintext highlighter-rouge">doTest</code>
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
<span>Page last updated:</span>
|
||||
March 18, 2019 (6.13.0)<br /> Site last generated: Apr 29, 2022 <br />
|
||||
March 18, 2019 (6.13.0)<br /> Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1747,7 +1747,7 @@ This can be achieved with Rule Designer:</p>
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
<span>Page last updated:</span>
|
||||
October 5, 2019<br /> Site last generated: Apr 29, 2022 <br />
|
||||
October 5, 2019<br /> Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1517,7 +1517,7 @@
|
||||
<h2 id="internal-architecture-of-the-metrics-framework">Internal architecture of the metrics framework</h2>
|
||||
|
||||
<p>The framework is pretty simple. On a high level, a <code class="language-plaintext highlighter-rouge">Metric<N></code> describes some numeric computation on a node of type <code class="language-plaintext highlighter-rouge">N</code>.
|
||||
You should wrap it into a <code class="language-plaintext highlighter-rouge">MetricKey<N></code>, so that it can be cached on nodes (implemented by <a href="https://docs.pmd-code.org/apidocs/pmd-core/6.45.0-SNAPSHOT/net/sourceforge/pmd/lang/metrics/MetricsUtil.html#"><code>MetricsUtil</code></a>).</p>
|
||||
You should wrap it into a <code class="language-plaintext highlighter-rouge">MetricKey<N></code>, so that it can be cached on nodes (implemented by <a href="https://docs.pmd-code.org/apidocs/pmd-core/6.45.0/net/sourceforge/pmd/lang/metrics/MetricsUtil.html#"><code>MetricsUtil</code></a>).</p>
|
||||
|
||||
<p>At the very least, a metrics framework has those two components and is just a convenient way to compute and memoize
|
||||
metrics on a single file. The expressive power of metrics can be improved by implementing <em>signature matching</em> capabilities,
|
||||
@ -1530,8 +1530,8 @@ harder than it looks, and has been rescheduled to another project.</p>
|
||||
<ul>
|
||||
<li>Implement metrics (typically in an internal package)</li>
|
||||
<li>Create some public enums/ utility classes to expose metric keys</li>
|
||||
<li>Implement a <a href="https://docs.pmd-code.org/apidocs/pmd-core/6.45.0-SNAPSHOT/net/sourceforge/pmd/lang/metrics/LanguageMetricsProvider.html#"><code>LanguageMetricsProvider</code></a>, to expose your metrics to the designer</li>
|
||||
<li>Use your metric keys in rules with <a href="https://docs.pmd-code.org/apidocs/pmd-core/6.45.0-SNAPSHOT/net/sourceforge/pmd/lang/metrics/MetricsUtil.html#"><code>MetricsUtil</code></a></li>
|
||||
<li>Implement a <a href="https://docs.pmd-code.org/apidocs/pmd-core/6.45.0/net/sourceforge/pmd/lang/metrics/LanguageMetricsProvider.html#"><code>LanguageMetricsProvider</code></a>, to expose your metrics to the designer</li>
|
||||
<li>Use your metric keys in rules with <a href="https://docs.pmd-code.org/apidocs/pmd-core/6.45.0/net/sourceforge/pmd/lang/metrics/MetricsUtil.html#"><code>MetricsUtil</code></a></li>
|
||||
</ul>
|
||||
|
||||
<h3 id="optional-signature-matching">Optional: Signature matching</h3>
|
||||
@ -1600,7 +1600,7 @@ build a <code class="language-plaintext highlighter-rouge">Signature<N></c
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
<span>Page last updated:</span>
|
||||
February 2020<br /> Site last generated: Apr 29, 2022 <br />
|
||||
February 2020<br /> Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1651,7 +1651,7 @@ non-private”).</li>
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
<span>Page last updated:</span>
|
||||
August, 2021<br /> Site last generated: Apr 29, 2022 <br />
|
||||
August, 2021<br /> Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1568,7 +1568,7 @@ Regression difference reports are commented back to the PR for the reviewer’s
|
||||
<div class="col-lg-12 footer">
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
Site last generated: Apr 29, 2022 <br />
|
||||
Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1689,7 +1689,7 @@ This should be configurable on per Rule basis similar to TR and SymbolTable.</p>
|
||||
<div class="col-lg-12 footer">
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
Site last generated: Apr 29, 2022 <br />
|
||||
Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1659,7 +1659,7 @@ major release of PMD.</p>
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
<span>Page last updated:</span>
|
||||
November 15, 2019<br /> Site last generated: Apr 29, 2022 <br />
|
||||
November 15, 2019<br /> Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1586,43 +1586,43 @@ all formatting inside the delimiters, and allow to write code samples without
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left"><code class="language-plaintext highlighter-rouge">{% jdoc core::Rule %}</code></td>
|
||||
<td style="text-align: left"><a href="https://docs.pmd-code.org/apidocs/pmd-core/6.45.0-SNAPSHOT/net/sourceforge/pmd/Rule.html#"><code>Rule</code></a></td>
|
||||
<td style="text-align: left"><a href="https://docs.pmd-code.org/apidocs/pmd-core/6.45.0/net/sourceforge/pmd/Rule.html#"><code>Rule</code></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left"><code class="language-plaintext highlighter-rouge">{% jdoc !q!core::Rule %}</code></td>
|
||||
<td style="text-align: left"><a href="https://docs.pmd-code.org/apidocs/pmd-core/6.45.0-SNAPSHOT/net/sourceforge/pmd/Rule.html#"><code>net.sourceforge.pmd.Rule</code></a></td>
|
||||
<td style="text-align: left"><a href="https://docs.pmd-code.org/apidocs/pmd-core/6.45.0/net/sourceforge/pmd/Rule.html#"><code>net.sourceforge.pmd.Rule</code></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left"><code class="language-plaintext highlighter-rouge">{% jdoc core::Rule#setName(java.lang.String) %}</code></td>
|
||||
<td style="text-align: left"><a href="https://docs.pmd-code.org/apidocs/pmd-core/6.45.0-SNAPSHOT/net/sourceforge/pmd/Rule.html#setName(java.lang.String)"><code>setName</code></a></td>
|
||||
<td style="text-align: left"><a href="https://docs.pmd-code.org/apidocs/pmd-core/6.45.0/net/sourceforge/pmd/Rule.html#setName(java.lang.String)"><code>setName</code></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left"><code class="language-plaintext highlighter-rouge">{% jdoc !c!core::Rule#setName(java.lang.String) %}</code></td>
|
||||
<td style="text-align: left"><a href="https://docs.pmd-code.org/apidocs/pmd-core/6.45.0-SNAPSHOT/net/sourceforge/pmd/Rule.html#setName(java.lang.String)"><code>Rule#setName</code></a></td>
|
||||
<td style="text-align: left"><a href="https://docs.pmd-code.org/apidocs/pmd-core/6.45.0/net/sourceforge/pmd/Rule.html#setName(java.lang.String)"><code>Rule#setName</code></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left"><code class="language-plaintext highlighter-rouge">{% jdoc !a!core::Rule#setName(java.lang.String) %}</code></td>
|
||||
<td style="text-align: left"><a href="https://docs.pmd-code.org/apidocs/pmd-core/6.45.0-SNAPSHOT/net/sourceforge/pmd/Rule.html#setName(java.lang.String)"><code>setName(String)</code></a></td>
|
||||
<td style="text-align: left"><a href="https://docs.pmd-code.org/apidocs/pmd-core/6.45.0/net/sourceforge/pmd/Rule.html#setName(java.lang.String)"><code>setName(String)</code></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left"><code class="language-plaintext highlighter-rouge">{% jdoc !ac!core::Rule#setName(java.lang.String) %}</code></td>
|
||||
<td style="text-align: left"><a href="https://docs.pmd-code.org/apidocs/pmd-core/6.45.0-SNAPSHOT/net/sourceforge/pmd/Rule.html#setName(java.lang.String)"><code>Rule#setName(String)</code></a></td>
|
||||
<td style="text-align: left"><a href="https://docs.pmd-code.org/apidocs/pmd-core/6.45.0/net/sourceforge/pmd/Rule.html#setName(java.lang.String)"><code>Rule#setName(String)</code></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left"><code class="language-plaintext highlighter-rouge">{% jdoc core::properties.PropertyDescriptor %}</code></td>
|
||||
<td style="text-align: left"><a href="https://docs.pmd-code.org/apidocs/pmd-core/6.45.0-SNAPSHOT/net/sourceforge/pmd/properties/PropertyDescriptor.html#"><code>PropertyDescriptor</code></a></td>
|
||||
<td style="text-align: left"><a href="https://docs.pmd-code.org/apidocs/pmd-core/6.45.0/net/sourceforge/pmd/properties/PropertyDescriptor.html#"><code>PropertyDescriptor</code></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left"><code class="language-plaintext highlighter-rouge">{% jdoc_nspace :jast java::lang.java.ast %}{% jdoc jast::ASTAnyTypeDeclaration %}</code></td>
|
||||
<td style="text-align: left"><a href="https://docs.pmd-code.org/apidocs/pmd-java/6.45.0-SNAPSHOT/net/sourceforge/pmd/lang/java/ast/ASTAnyTypeDeclaration.html#"><code>ASTAnyTypeDeclaration</code></a></td>
|
||||
<td style="text-align: left"><a href="https://docs.pmd-code.org/apidocs/pmd-java/6.45.0/net/sourceforge/pmd/lang/java/ast/ASTAnyTypeDeclaration.html#"><code>ASTAnyTypeDeclaration</code></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left"><code class="language-plaintext highlighter-rouge">{% jdoc_nspace :jast java::lang.java.ast %}{% jdoc_package :jast %}</code></td>
|
||||
<td style="text-align: left"><a href="https://docs.pmd-code.org/apidocs/pmd-java/6.45.0-SNAPSHOT/net/sourceforge/pmd/lang/java/ast/package-summary.html#"><code>net.sourceforge.pmd.lang.java.ast</code></a></td>
|
||||
<td style="text-align: left"><a href="https://docs.pmd-code.org/apidocs/pmd-java/6.45.0/net/sourceforge/pmd/lang/java/ast/package-summary.html#"><code>net.sourceforge.pmd.lang.java.ast</code></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left"><code class="language-plaintext highlighter-rouge">{% jdoc_nspace :PrD core::properties.PropertyDescriptor %}{% jdoc !ac!:PrD#uiOrder() %}</code></td>
|
||||
<td style="text-align: left"><a href="https://docs.pmd-code.org/apidocs/pmd-core/6.45.0-SNAPSHOT/net/sourceforge/pmd/properties/PropertyDescriptor.html#uiOrder()"><code>PropertyDescriptor#uiOrder()</code></a></td>
|
||||
<td style="text-align: left"><a href="https://docs.pmd-code.org/apidocs/pmd-core/6.45.0/net/sourceforge/pmd/properties/PropertyDescriptor.html#uiOrder()"><code>PropertyDescriptor#uiOrder()</code></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left"><code class="language-plaintext highlighter-rouge">{% jdoc_old core::Rule %}</code></td>
|
||||
@ -1805,7 +1805,7 @@ by specifying <code class="language-plaintext highlighter-rouge">-Dpmd.doc.check
|
||||
<div class="col-lg-12 footer">
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
Site last generated: Apr 29, 2022 <br />
|
||||
Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1978,7 +1978,7 @@ In Proceedings ACM Symposium on Software Reusability, 1995.</p>
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
<span>Page last updated:</span>
|
||||
July 20, 2017<br /> Site last generated: Apr 29, 2022 <br />
|
||||
July 20, 2017<br /> Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1556,7 +1556,7 @@ text nodes are normal nodes. This might change in the future.</p>
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
<span>Page last updated:</span>
|
||||
April 2022 (6.45.0)<br /> Site last generated: Apr 29, 2022 <br />
|
||||
April 2022 (6.45.0)<br /> Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1659,7 +1659,7 @@ it via the environment variable <code class="language-plaintext highlighter-roug
|
||||
<div class="col-lg-12 footer">
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
Site last generated: Apr 29, 2022 <br />
|
||||
Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1599,7 +1599,7 @@ contains only “.java” files, JSP files obviously will not be checked.</p>
|
||||
<div class="col-lg-12 footer">
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
Site last generated: Apr 29, 2022 <br />
|
||||
Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1587,7 +1587,7 @@ a custom XPath rule with the following expression:</p>
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
<span>Page last updated:</span>
|
||||
March 2021 (6.33.0)<br /> Site last generated: Apr 29, 2022 <br />
|
||||
March 2021 (6.33.0)<br /> Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1586,7 +1586,7 @@ the needed data.</p>
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
<span>Page last updated:</span>
|
||||
October 2021<br /> Site last generated: Apr 29, 2022 <br />
|
||||
October 2021<br /> Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1565,9 +1565,9 @@ for more examples.</p>
|
||||
|
||||
<h3 id="xpath-rules-in-xml">XPath rules in XML</h3>
|
||||
|
||||
<p>While other languages use <a href="https://docs.pmd-code.org/apidocs/pmd-core/6.45.0-SNAPSHOT/net/sourceforge/pmd/lang/rule/XPathRule.html#"><code>XPathRule</code></a> to create XPath rules,
|
||||
<p>While other languages use <a href="https://docs.pmd-code.org/apidocs/pmd-core/6.45.0/net/sourceforge/pmd/lang/rule/XPathRule.html#"><code>XPathRule</code></a> to create XPath rules,
|
||||
the use of this class is not recommended for XML languages. Instead, since 6.44.0, you
|
||||
are advised to use <a href="https://docs.pmd-code.org/apidocs/pmd-xml/6.45.0-SNAPSHOT/net/sourceforge/pmd/lang/xml/rule/DomXPathRule.html#"><code>DomXPathRule</code></a>. This rule class interprets
|
||||
are advised to use <a href="https://docs.pmd-code.org/apidocs/pmd-xml/6.45.0/net/sourceforge/pmd/lang/xml/rule/DomXPathRule.html#"><code>DomXPathRule</code></a>. This rule class interprets
|
||||
XPath queries exactly as regular XPath, while <code class="language-plaintext highlighter-rouge">XPathRule</code> works on a wrapper for the
|
||||
DOM which is inconsistent with the XPath spec. Since <code class="language-plaintext highlighter-rouge">DomXPathRule</code> conforms to the
|
||||
XPath spec, you can</p>
|
||||
@ -1597,7 +1597,7 @@ to help you write XPath queries.</li>
|
||||
<span class="nt"></rule></span>
|
||||
</code></pre></div></div>
|
||||
<p>The most important change is the <code class="language-plaintext highlighter-rouge">class</code> attribute, which doesn’t point to <code class="language-plaintext highlighter-rouge">XPathRule</code>
|
||||
but to <code class="language-plaintext highlighter-rouge">DomXPathRule</code>. Please see the Javadoc for <a href="https://docs.pmd-code.org/apidocs/pmd-xml/6.45.0-SNAPSHOT/net/sourceforge/pmd/lang/xml/rule/DomXPathRule.html#"><code>DomXPathRule</code></a>
|
||||
but to <code class="language-plaintext highlighter-rouge">DomXPathRule</code>. Please see the Javadoc for <a href="https://docs.pmd-code.org/apidocs/pmd-xml/6.45.0/net/sourceforge/pmd/lang/xml/rule/DomXPathRule.html#"><code>DomXPathRule</code></a>
|
||||
for more info about the differences with <code class="language-plaintext highlighter-rouge">XPathRule</code>.</p>
|
||||
|
||||
|
||||
@ -1632,7 +1632,7 @@ for more info about the differences with <code class="language-plaintext highlig
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
<span>Page last updated:</span>
|
||||
March 2022 (6.44.0)<br /> Site last generated: Apr 29, 2022 <br />
|
||||
March 2022 (6.44.0)<br /> Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -174,7 +174,7 @@
|
||||
|
||||
|
||||
<ul id="mysidebar" class="nav">
|
||||
<li class="sidebarTitle">PMD 6.45.0-SNAPSHOT</li>
|
||||
<li class="sidebarTitle">PMD 6.45.0</li>
|
||||
<div class="sidebarTitleDate">Release date: 30-April-2022</div>
|
||||
|
||||
|
||||
@ -1631,7 +1631,7 @@ Login is via github.</li>
|
||||
©2022 PMD Open Source Project. All rights
|
||||
reserved. <br />
|
||||
<span>Page last updated:</span>
|
||||
April 2021<br /> Site last generated: Apr 29, 2022 <br />
|
||||
April 2021<br /> Site last generated: Apr 30, 2022 <br />
|
||||
<p>
|
||||
<img src="images/pmd-logo-small.png" alt="Company
|
||||
logo"/>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user