SyntaxFix
Write A Post
Hire A Developer
Questions
If you want this for unit testing I just use the hasNoNullFieldsOrProperties() method from assertj
hasNoNullFieldsOrProperties()
assertj
assertThat(myObj).hasNoNullFieldsOrProperties();