title: Optional conversion from Guava to Java
body: <p>How to make conversion from Guava Optional to Java Optional, without usage of any if statements? </p>
  
  <pre><code>if (maybeSomething.isPresent()) {
      return java.util.Optional.of(maybeSomething.get())
  } else {
      return java.util.Optional.empty()
  }
  </code></pre>