uber/NullAway
View on GitHub ↗ ★ 4,127 Java
A tool to help eliminate NullPointerExceptions (NPEs) in your Java code with low build-time overhead
14 mentions on Hacker News by 11 people: 1 story, 13 comments · first 2017-10-30 · latest 2024-08-02
20082026
-
…the code focused on the actual logic instead of putting everything in a map/flatMap railway. [1] https://github.com/uber/NullAway
comment by dtech · 2024-08-02 · in Null-Restricted and Nullable Types -
Fortunately, Uber made tooling for languages with broken type systems * https://github.com/uber/NullAway * https://github.com/uber-go/nilaway
comment by jflwyasdf · 2024-04-28 · in What if null was an Object in Java? -
…Open the Lock anyway, just find out at runtime that the Key was null, rather than at compile time. https://github.com/uber/NullAway and bunch of rest.
comment by wiseowise · 2023-10-18 · in The Oracle Java Platform Extension for Visual Studio Code -
FWIW, it is not difficult to set up NullAway: https://github.com/uber/NullAway
comment by jdm2212 · 2023-06-11 · in A compact overview of JDK 21’s “frozen” feature list -
…I know someone will reply about Java's null annotation checking options, so here is one of them: https://github.com/uber/NullAway .
comment by end_my_own_ · 2023-03-18 · in My thoughts on “bad code” -
Does anyone have experience using this at Meta who can compare to https://github.com/uber/NullAway ?
comment by __float · 2022-11-23 · in Retrofitting null-safety onto Java at Meta -
Did you try https://github.com/uber/NullAway ?
comment by za3faran · 2022-11-22 · in Retrofitting null-safety onto Java at Meta -
…Nullaway: Java linting/static analysis (https://pmd.github.io, https://spotbugs.github.io, https://github.com/uber/NullAway)
comment by gavinray · 2022-03-29 · in Ask HN: What is a modern Java environment? -
…degrees of null safety to Java. Disclaimer: I am one of the maintainers of one such tool, namely https://github.com/uber/NullAway It certainly won't help with verbosity (in fact, it does the opposite to at least a small degree :)), but it…
comment by lazaroclapp · 2021-05-17 · in Can I get some reasons to use Java instead of Kotlin? -
A couple of options for handling nulls: * https://checkerframework.org/ * https://github.com/uber/NullAway
comment by apta · 2020-08-18 · in Kotlin 1.4 -
…any case, there already exist solutions in place: https://checkerframework.org/manual/#example-use https://github.com/uber/NullAway
comment by apta · 2020-06-16 · in The Next Step for Generics -
…and not even as their full time job. For example, I am the sole internal maintainer[1] for https://github.com/uber/NullAway and also have 3-4 other projects internally on my plate, most of which are in earlier stages and need more frequent…
comment by lazaroclapp · 2020-02-22 · in M3DB, a distributed timeseries database -
…can be achieved in Java via annotation processors. For example, by a tool such as NullAway ( https://github.com/uber/NullAway ). Yes, adding '@Nullable' is more verbose than '?' (thus is the Java way :) ). But there are plenty of projects…
comment by lazaroclapp · 2017-10-30 · in Kotlin Features I miss most in Java