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