We have released a new version of the Checker Framework.
The Checker Framework lets you create and/or run pluggable type checkers, in order to detect and prevent bugs in your code.
You can find documentation and download links at:
Changes for Checker Framework version 3.54.0
Command-line arguments:
-AinferOutputDirectory.-Alint=forbidnonnullarraycomponents.New command-line argument -Aonelinemsg puts error messages on a single line. This is useful when using a tool that only shows the first line of the error.
The command-line argument -Anomsgtext surrounds the error key with brackets instead of parenthesis. This matches Java error messages.
In AnnotatedTypeFactory, canonicalAnnotation() returns a non-null value.
In AnnotationClassLoader:
hasWellDefinedTargetMetaAnnotation() to isTypeQualifierAnnotation(). The method now returns true for annotations bearing @InvisibleQualifier or @SubtypeOf, in addition to the existing @Target(TYPE_USE) check.In TestDiagnostic:
message to key.message for the full message without the key.Removed classes and methods that have been deprecated for more than two years.
#6874, #7471, #7475, #7486.