jarnotator - Docs

Finding and annotating code returning null

Last Updated on Monday, 06 September 2010 18:19 Written by jarnotator Sunday, 05 September 2010 07:42

Since version 1.0 the jarnotator (jar annotator) static analysis tool features return null; detection. Meaning that it analyzes bytecode for this pattern and annotates the method with the jsr-305 @javax.annotation.CheckForNull annotation. The excellent static analysis tool findbugs (TM) uses these annotations and can report possible NullPointerException-s.

Read more: Finding and annotating code returning null

 

What jarnotator does in less than 1 minute

Last Updated on Friday, 27 August 2010 06:12 Written by jarnotator Thursday, 19 August 2010 09:33

jarnotator-logoNullPointerException-s still plague the java world. Commercial programs that throw such exceptions from time to time are unfortunately not so rare. It is here that jarnotator steps in to help addressing this problem. Described in what should amount to less than a minute worth of reading follows what jarnatotor does. 

Read more: What jarnotator does in less than 1 minute

jarnotator on the command line

Last Updated on Tuesday, 24 August 2010 20:14 Written by jarnotator Monday, 16 August 2010 10:01

The jarnotator tool aims at being easy to use. To that end it is also possible to invoke jarnotator on the command line. The command line tools support all the parameters as its ant task and maven2 plugin counterparts.

The command line tool is ideally suited to analyse third party jars since you are less likely to build those from source.

Read more: jarnotator on the command line

 

jarnotator parameters explained

Last Updated on Monday, 06 September 2010 20:38 Written by jarnotator Monday, 16 August 2010 09:53

The analysis and subsequent annotation performed by jarnotator can be control by set of parameters. This document describes these different parameters. Each of these options are available whether the standalone jar, Ant task or maven plugin is used. The actual names may differ slightly in the case of the standalone jar. Please refer to the dedicated documentation for the correct values.

Read more: jarnotator parameters explained

Using jarnotator in ant builds

Last Updated on Tuesday, 31 August 2010 20:46 Written by jarnotator Saturday, 14 August 2010 11:17

Using jarnotator in an Ant build

Since jarnotator provides a Ant task it can be used directly from within Apache Ant build scripts. The Ant task provides all the jarnotator options. All in all the Ant task fairly easy to use. Analyzing your classes as part of a build is trivial.

The necessary setup to use the jarnotator task is that of any other external Ant task. The remainder of this page briefly outlines how to get started. For more detailed information please refer to the Apache Ant documentation related to the use of external Ant tasks.

Read more: Using jarnotator in ant builds

 

Follow Me

Follow us on Twitter

Feed Display

Linux Today
Linux Today News Service
Linux Today
  • Linux File System Fsck Testing -- The Results Are In
    EnterpriseStorageForum: "It has been a while since we started the fsck project to test fsck (file system check) times on Linux file systems. After an extended delay, the Linux File System fsck testing results can now be presented."
  • Firefox 11 Gets SPDY
    Datamation: Google's speed-enhancing SPDY protocol lands in upcoming version of Mozilla's open source browser.
  • Piracy and the value of freedom
    Linux User & Developer: "If I were a victim of actual piracy while sailing the seas, I would probably consider the word's rampant misuse in technology circles as massively insulting."

Phoca - Google AdSense Easy

Google Search

Webwww.biggerbytes.be

RSS socialnet

Add to MyYahoo!
Subscribe in NewsGator Online
Add to Newsburst
Add to Google
Add to My AOL
Add to Pluck
Subscribe in FeedLounge
Add to Windows Live
Add to NetVibes
Subscribe in Rojo
Subscribe in Bloglines
Add to MyMSN
Add to Plusmo for your cellphone
Add to PageFlakes
Add to Technorati
Add to BlinkBits
Copyright © 2012 BiggerBytes.Be. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.