NullAway

 NullAway is a Java tool designed to reduce NullPointerExceptions (NPEs) by enforcing nullability checks. By adding `@Nullable` annotations to fields, method parameters, or return values that can be null, NullAway ensures that any dereferenced pointers are not null. It operates similarly to Kotlin and Swift's nullability checks, as well as Java's Checker Framework and Eradicate null checkers.

NullAway is efficient, with a build-time overhead typically under 10%, as it integrates with Error Prone and runs during builds. While not eliminating all NPEs, it catches most in production with minimal annotation effort.

https://github.com/uber/NullAway

Comments

Popular posts from this blog

Endor Labs Announces Integrated SAST Offerings

The Hidden Cost of DevSecOps: Time and Financial Burden of Security on Developers

OWASP Releases Enhanced Dependency-Check Tool with Advanced Tagging and Policy Management Features