Suppress false positives by adding the suppression annotation @SuppressWarnings("ThrowNull") to the enclosing element.
@SuppressWarnings("ThrowNull")