In any case, that's not what Java's optional is there for[1]. Solving the safety problem is the job of Java 8's pluggable type systems[2] that are both more powerful than the static-analysis tools listed in the article and had Oracle's official support (in the form of JSR-308).
[0]: https://twitter.com/BrianGoetz/status/656860771196887040
[1]: http://stackoverflow.com/a/26328555/750563
[2]: http://types.cs.washington.edu/checker-framework/current/che...