Annotation Interface Nonnull


The @Nonnull annotation declares that a type or the return value of a method is never null.

This is the case by default in all Identity Server SDK declarations. However, it is necessary in some cases to override a method marked with Nullable with an implementation which never returns null. This annotation is useful in such cases.