<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Checkstyle on Erwähnenswert</title><link>https://blog.lgohlke.de/tags/checkstyle/</link><description>Recent content in Checkstyle on Erwähnenswert</description><generator>Hugo</generator><language>de-de</language><lastBuildDate>Wed, 01 May 2013 13:36:53 +0000</lastBuildDate><atom:link href="https://blog.lgohlke.de/tags/checkstyle/index.xml" rel="self" type="application/rss+xml"/><item><title>easily exploring Java AbstractSyntaxTree</title><link>https://blog.lgohlke.de/posts/2013-05-01-easily-exploring-java-abstractsyntaxtree/</link><pubDate>Wed, 01 May 2013 13:36:53 +0000</pubDate><guid>https://blog.lgohlke.de/posts/2013-05-01-easily-exploring-java-abstractsyntaxtree/</guid><description>&lt;p&gt;If you ever need to deal with the AST in java here I&amp;rsquo;d like to this small tool I&amp;rsquo;ve found some time ago.&lt;/p&gt;
&lt;p&gt;Start it with:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;java -cp checkstyle-5.6-all.jar com.puppycrawl.tools.checkstyle.gui.Main PomSourceImporter.java
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;It shows this file [de/lgohlke/sonar/PomSourceImporter]&lt;code&gt;https://github.com/SonarCommunity/sonar-maven-checks/blob/master/src/main/java/de/lgohlke/sonar/PomSourceImporter.java&lt;/code&gt; (💀link)&lt;/p&gt;
&lt;p&gt;A nice feature is typing ENTER on an ast node and the corresponding source code will be highlighted as well.&lt;/p&gt;
&lt;p&gt;You can get it with checkstyle from &lt;a href="http://checkstyle.sourceforge.net" class="external-link" target="_blank" rel="noopener"&gt;checkstyle.sourceforge.net&lt;/a&gt;, it is also described here &lt;a href="http://checkstyle.sourceforge.net/writingchecks.html" class="external-link" target="_blank" rel="noopener"&gt;The Checkstyle SDK Gui&lt;/a&gt;.&lt;/p&gt;</description></item></channel></rss>