tr-pc icon indicating copy to clipboard operation
tr-pc copied to clipboard

Introduce a validation library like jetbrains.annotations

Open ursjoss opened this issue 2 years ago • 1 comments

It would be very helpful if we can use some annotation based approach to hint to the compiler about nullability of variables/parameters. See here for an overview on such frameworks.

Personally, I like the ones from org.jetbrains.annotation (see e.g. here), but I don't have a strong oppinion.

ursjoss avatar Mar 03 '23 13:03 ursjoss

Personally, I like the ones from org.jetbrains.annotation (see e.g. here), but I don't have a strong oppinion.

I remember nothing more about this library than I liked usage of it. :)

In this light it seems like a good idea to me.

RadekCap avatar Mar 06 '23 20:03 RadekCap