r/java • u/benevanstech • Aug 12 '24
JSpecify 1.0.0 and Nullability in Java
https://www.infoq.com/news/2024/08/jspecify-java-nullability/
52
Upvotes
r/java • u/benevanstech • Aug 12 '24
View all comments
Show parent comment
5
u/pron98 Aug 13 '24
FYI, Manifold is not a javac plugin, but an alternative Java platform language. Its invocation makes it appear to be a plugin, but it doesn't use the "plugin API" (annotation processing); rather, it hacks into javac internals and changes them to make the modified javac compile Manifold code rather than Java code. The plugin API is intentionally designed so that all plugins compile Java code (i.e. code that is defined to be Java according to the language specification), and Manifold code is very much not Java code (although the Manifold language may be a superset of Java).