Force non-null by default project-wide?

Using SL with Java and both the VS Code and Eclipse plugins. I know that I can use @NonNullByDefault at the package level and it will apply that default to everything in the package. Is there a way to set that as the default for the project (or a multi-project build) so we can just set it once, and don’t need to annotate every package?


Hello @starkos ,

Unfortunately, this is not possible. Our java analyzer is only able to read annotations at package level and do not provide ways to set such property at module/project levels.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.