contract-validator

A simple compile-time validator for JetBrains @Contract annotations

LGPL-3.0 License

Stars
0

@Contract Validator for JetBrains Annotations

This is a simple annotation processor to validate the syntax used for @Contract annotations.

This does not validate the contracts themselves.

Usage

The contract validator requires Java 8 or later, and is published on maven central. It runs as an annotation processor at compile time.

Gradle

dependencies {
  annotationProcessor("ca.stellardrift:contract-validator:1.0.1")
}

It should work, if you use another build tool feel free to help fill out this section

License

contract-validator is released under the terms of the GNU Lesser General Public License version 3 or later.

Contributing

Pull requests are accepted. Please open an issue to discuss any larger feature changes before starting. This helps ensure your design direction does not conflict with the goals of this tool.

Package Rankings
Top 40.74% on Repo1.maven.org
Badges
Extracted from project README
LGPL v3.0 or later License Maven Central