a plugin which ensures nullness annotations on methods and constructors
Java Shell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config/checkstyle
gradle/wrapper
src
.checkstyle
.gitignore
.travis.yml
Dockerfile
README.md
build.gradle
dist
gradlew
gradlew.bat

README.md

JSR 305 Checkstyle Plugin Build Status

A checkstyle plugin which ensures nullness annotations on methods and constructors.

Requirements

  • JDK 8
  • checkstyle 6.16.1+

Usage

Copy JSR305Checkstyle-x.x.x.jar into your eclipse dropins directory or add it to the classpath of your checkstyle task.

Add this to your checkstyle.xml:

<module name="Jsr305Annotations">
    <property name="packages" value="your.package.path.to.check,another.package.path.to.check"/>
</module>

and enjoy

Development

It is a gradle project with included gradle wrapper.

To develop, import project to eclipse with default settings after typing:

./gradlew eclipse

To build the jar type:

./gradlew jar

Release

This project uses an annotated git tag to get the version number. To release you have to: