A simple compile-time validator for JetBrains @Contract annotations
LGPL-3.0 License
This is a simple annotation processor to validate the syntax used for @Contract
annotations.
This does not validate the contracts themselves.
The contract validator requires Java 8 or later, and is published on maven central. It runs as an annotation processor at compile time.
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
contract-validator
is released under the terms of the GNU Lesser General Public License version 3 or later.
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.