mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 10:18:46 +00:00
9fb31973757a3ad4509c024ea50e77295c61cf89
Currently, the following code triggers a warning in IntelliJ.
(I'm using the current version, 2016.3.4.)
throw Lombok.sneakyThrow(e);
> Dereference of 'Lombok.sneakyThrow(e)' may produce 'java.lang.NullPointerException'.
This change eliminates the warning.
All tests pass. I ran:
ant setupJavaOpenJDK6TestEnvironment
ant test
ant setupJavaOpenJDK7TestEnvironment
ant test
ant setupJavaOracle7TestEnvironment
ant test
ant setupJavaOracle8TestEnvironment
ant test
Project Lombok makes java a spicier language by adding 'handlers' that know how to build and compile simple, boilerplate-free, not-quite-java code. See LICENSE for the Project Lombok license. To start, run: ant -projecthelp HINT: If you'd like to develop lombok in eclipse, run 'ant eclipse' first. It creates the necessary project infrastructure and downloads dependencies. Note that, in order to run "LombokizedEclipse.launch", you need to have "Eclipse SDK" installed. For a list of all authors, see the AUTHORS file. Project Lombok was started by: Reinier Zwitserloot twitter: @surial home: http://zwitserloot.com/ Roel Spilker
Description
Very spicy additions to the Java programming language.
83 MiB
0 Stars
1 Watchers
0 Forks
Languages
Java
94.6%
HTML
4.8%
JavaScript
0.2%
CSS
0.2%