127 | | Note that Nonnull is NOT inherited by subclasses (was decided so by Java engineers). Therefore the has to be repeated in the derived classes. |
| 127 | {{{#!td style="background: #fee" |
| 128 | @Nonnull can be used by the java compiler to do extra checks on your code. You may need to enable this. For instance in Eclipse check Preferences/Java/Compiler/Errors/Warnings and scroll down to "Null Analysis" |
| 129 | }}} |
| 130 | |
| 131 | {{{#!td style="background: #eef" |
| 132 | @Nonnull is NOT inherited by subclasses (was decided so by Java engineers). Therefore the has to be repeated in the derived classes. |
| 133 | }}} |
| 134 | |
| 135 | |