UnnecessaryOptionalGet
This code can be simplified by directly using the lambda parameters instead of calling get..() on optional.
Suppression
Suppress false positives by adding the suppression annotation @SuppressWarnings("UnnecessaryOptionalGet")
to the enclosing element.