Module Nullsafe__ModelTables

type model_table_t = (string, bool * bool list) IStdlib.IStd.Caml.Hashtbl.t
val annotated_table_nullability : model_table_t
val check_not_null_table : model_table_t

List of methods known to perform a non-nullable assertion

val check_not_null_parameter_table : (string, int) IStdlib.IStd.Caml.Hashtbl.t

The key is a string representation of a method known to perform a non-nullable assertion. The value is an index (starting from 1) of an argument which nullability is being asserted.

val check_state_table : model_table_t
val check_argument_table : model_table_t
val containsKey_table : model_table_t
val mapPut_table : model_table_t
val noreturn_table : model_table_t
val true_on_null_table : model_table_t
type nonnull_alternative_method = {
package_name : string;
class_name : string;
method_name : string;
}

Used to describe a method complementary to a given one. Contains information needed for reporting (hence does not describe the whole signature).

val nonnull_alternatives_table : (string, nonnull_alternative_method) IStdlib.IStd.Caml.Hashtbl.t

The key is a string representation of a @Nullable method. The value is the description of non-nullable alternative: a method does the same, but never returns null (does a null check inside).