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