Add an annotation to each (non-void) verifyExistence method in KiwiResources to tell callers and static code analysis tools that they should never return null.
This means we should add a direct dependency (possible with provided scope) on the annotation library. Since kiwi already is using Checker's @NonNull and @Nullable annotations, we should use @NonNull and avoid adding another dependency.
Add an annotation to each (non-
void
)verifyExistence
method inKiwiResources
to tell callers and static code analysis tools that they should never returnnull
.This means we should add a direct dependency (possible with
provided
scope) on the annotation library. Since kiwi already is using Checker's@NonNull
and@Nullable
annotations, we should use@NonNull
and avoid adding another dependency.