Skip to content

A simple compile-time validator for JetBrains @contract annotations

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

zml2008/contract-validator

Repository files navigation

@Contract Validator for JetBrains Annotations

GitHub Workflow Status (branch) LGPL v3.0 or later License Maven Central Sonatype Nexus (Snapshots)

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.

About

A simple compile-time validator for JetBrains @contract annotations

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Stars

Watchers

Forks

Packages

No packages published