Meta
Meta logoMeta · Feature trail

Static Analysis for Null Safety

1 post · Mar 2022 – Nov 2022

What this trail covers

Meta has developed and deployed Nullsafe, a static analysis tool for Java that detects NullPointerException (NPE) errors. This tool integrates into the developer workflow and has been used to make millions of lines of Java code null-safe, significantly reducing production NPE crashes and improving developer productivity. The system leverages compiler APIs, abstract syntax trees (AST), and control flow graphs (CFG) for type inference and checking, with a focus on ergonomic, scalable, and Kotlin-c

All Meta trails