Open vkhozov opened 6 years ago
Will look into this during X-mas.
Sorry for not acting on this earlier (but this is a hobby project, even though I use it for production in work projects).
I think I have fixed the problem now. It seems like this was not supported even in the original version (tried to check the history) or I just messed up a refactoring somewhere before I managed to add tests. There are tests for this now.
If you still use this project there is a 0.6.9-RC1 release on maven central now. I hopefully fixes that rather serious issue (have a unit test based on you code).
PS Therelease might not be visible on the web but I just verified that it is there.
The RC1 release still had some bugs I think the 0.6.9-RC2 release should work though.
Would be great if you get a release done. For me 0.6.7 works, but 0.6.8 still fails due to this issue.
Hi, again late reply (I need help maintaining this). Does it work for 0.6.9-RC2 or 1.0.0 (released Sunday)?
I do have a test that verifies it in 0.6.9-RC2 but want to hear from you. (Sorry for closing issue)
Create an inner class constructor with 1st parameter annotated as
@Nullable
, and 2nd parameter annotated as@NotNull
and passnull
in first argument there. You should end up having something like:Now running this in a small test using jUnit4/5 and maven will produce the following error:
You can also check my test project attached here playground.zip