Class UnnecessaryOptionalGet

java.lang.Object
com.google.errorprone.bugpatterns.BugChecker
com.google.errorprone.bugpatterns.UnnecessaryOptionalGet
All Implemented Interfaces:
BugChecker.MethodInvocationTreeMatcher, Suppressible, Serializable

public final class UnnecessaryOptionalGet extends BugChecker implements BugChecker.MethodInvocationTreeMatcher
A refactoring to replace Optional.get() with lambda arg in expressions passed as arg to member functions of Optionals.
See Also: