How to disable the "Optional used as field or parameter type" warning in IntelliJ?

Viewed 20508

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...

1 Answers
Related