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:
User-visible changes:
The Optional Checker is more precise for Optional
values resulting from operations on container types (e.g., List
, Map
, Iterable
). It supports two new annotations:
@NonEmpty
@UnknownNonEmpty
The Signature Checker no longer supports @BinaryNameWithoutPackage
because it is equivalent to @Identifier
; use @Identifier
instead.
The JavaStubifier implementation now appears in package org.checkerframework.framework.stubifier.JavaStubifier
.
Closed issues:
#6935, #6936, #6939.