Skip to content

Commit

Permalink
Add package-info.java with null-safety annotations
Browse files Browse the repository at this point in the history
This new file includes annotations to enforce non-null default behavior for types, fields, methods, and parameters. It improves code robustness by ensuring that null values are not implicitly allowed.
  • Loading branch information
NonSwag committed Oct 2, 2024
1 parent 63d3423 commit 12f0ef8
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@TypesAreNotNullByDefault
@FieldsAreNotNullByDefault
@MethodsReturnNotNullByDefault
@ParametersAreNotNullByDefault
package net.thenextlvl.arkitektonika.version;

import core.annotation.FieldsAreNotNullByDefault;
import core.annotation.MethodsReturnNotNullByDefault;
import core.annotation.ParametersAreNotNullByDefault;
import core.annotation.TypesAreNotNullByDefault;

0 comments on commit 12f0ef8

Please sign in to comment.