Class NullabilityAnalyzer


  • public final class NullabilityAnalyzer
    extends Object
    • Method Detail

      • mayReturnNullOnNonNullInput

        public static boolean mayReturnNullOnNonNullInput​(Expression expression)
        TODO: this currently produces a very conservative estimate. We need to narrow down the conditions under which certain constructs can return null (e.g., if(a, b, c) might return null for non-null a only if b or c can be null.