Changes between Version 65 and Version 66 of j2p


Ignore:
Timestamp:
05/15/24 10:13:16 (6 months ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • j2p

    v65 v66  
    125125{{{@Nonnull String val}}} or {{{@Nonnull String f() { ... } }}}. Java primitive types like {{{boolean}}} and {{{int}}} can never be null and do not need @Nonnull
    126126
     127{{{#!td style="background: #efe"
     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
    127131{{{#!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"
    132132@Nonnull is NOT inherited by subclasses (was decided so by Java engineers). Therefore the has to be repeated in the derived classes.
    133133}}}