Annotation Interface Nullable


The @Nullable annotation, when applied to a type or the return value of a method, declares that the annotated element might be null in some cases, therefore client code must check for null before using ditto value.

The Identity Server SDK never uses null for a value unless this annotation is present. In other words, by default, everything in the SDK is non-null unless annotated with @Nullable.