koppor / jabref

Collection of simple for JabRef issues. Please submit PRs to https://github.com/jabRef/jabref/.
https://github.com/jabRef/jabref/
MIT License
8 stars 15 forks source link

Add initial checker framework configuration #690

Open koppor opened 5 months ago

koppor commented 5 months ago

To check @NonNull, there is the checker-framework

There is a gradle plugin.

When using, I get

java.lang.Error: Backtrace:
        at org.checkerframework.javacutil.AnnotationBuilder.fromClass(AnnotationBuilder.java:188)
        at org.checkerframework.javacutil.AnnotationBuilder.fromClass(AnnotationBuilder.java:156)
...
error: AnnotationBuilder: fromClass can't load class org.checkerframework.dataflow.qual.Deterministic
  Is the class in checker-qual.jar?
...
> Task :compileJava FAILED

FAILURE: Build failed with an exception.

Mandatory checks