Package org.checkerframework.checker.optional.qual
package org.checkerframework.checker.optional.qual
-
ClassDescriptionIndicates that the expression evaluates to a non-empty Optional, if the method terminates successfully.Indicates that the given expressions of type Optional<T> are present, if the method returns the given result (either true or false).A wrapper annotation that makes the
EnsuresPresentIf
annotation repeatable.TheOptional
container may or may not contain a value.The bottom type qualifier for the Optional Checker.An method annotation for methods that create anOptional
Methods whose receiver is anOptional
and return a non-optional.Methods whose receiver is anOptional
and return anOptional
.A polymorphic qualifier for the Optional type system.TheOptional
container definitely contains a (non-null) value.Indicates a method precondition: the specified expressions of type Optional must be present (i.e., non-empty) when the annotated method is invoked.A wrapper annotation that makes theRequiresPresent
annotation repeatable.