2 ms·
> I oppose all use of annotations. It's metaprogramming (aka magic). Don't conflate annotations (a compile time construct) with how they can be used. They can
by pron 11y ago
> I oppose all use of annotations. It's metaprogramming (aka magic).
Don't conflate annotations (a compile time construct) with how they can be used. They can be used in many ways. When used as runtime metadata they can be "magic". But @Nullable/@NonNull is (or rather, can be used as) one of Java 8's pluggable type systems, inferred and and checked at compile time[1].
[1]: http://types.cs.washington.edu/checker-framework/current/checker-framework-manual.html#nullness-checker http://types.cs.washington.edu/checker-framework/current/che...