Jetbrains has recently decided that java.util.Optional (as well as Guava's com.google.common.base.Optional) shouldn't be used as field or parameter type... thanks, but no thanks... How can this warning be disabled?
As a side note: triggering warnings on this specific usage of Optional seems completely unjustified...