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 14 forks source link

Add initial checker framework configuration #690

Open koppor opened 2 weeks ago

koppor commented 2 weeks 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