Specifically a class annotation to apply a NotNull annotations(like those presented in Which @NotNull Java annotation should I use?) by default to all fields, method return and parameters in the class.
Or a package annotation to apply NotNull annotations to every fields, method return and parameters in every class in the package.