The 70th refactoring rule is shipped with jSparrow 3.14.0. It improves your java.util.Optionals.
jSparrow Eclipse Plugin and Maven Plugin
New Rule - Use Optional::filter This rule extracts an Optional::filter from the consumer used in Optional::ifPresent. This simplifies the lambda expression used with Optional operations.