Jared Jacobs 9fb3197375 Avoid "possible NPE" warnings for throw Lombok.sneakyThrow(e)
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
2017-07-28 17:35:45 -07:00
2017-07-04 02:19:10 +02:00
2011-11-07 22:04:40 +01:00
2015-04-14 22:38:35 +02:00
2016-05-24 00:38:34 +02:00

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
S
Description
Very spicy additions to the Java programming language.
Readme BSD-3-Clause, MIT
83 MiB
0 Stars 1 Watchers 0 Forks
Languages
Java 94.6%
HTML 4.8%
JavaScript 0.2%
CSS 0.2%