What are "non-null fields"?
The third step in the "Generate equals() and hashCode()" dialog box asks you
to "Select all non-null fields". What is a non-null field? It is a field
that is guaranteed to not be null? (The documentation doesn't explain it.)
请先登录再写评论。
Yes, these are fields that are not supposed to be null. There won't be null checks generated for such fields.
--
Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"
"Erik Hanson" <ehanson@comsys.com> wrote in message news:av4em5$7ho$1@is.intellij.net...
>
>