title: Guava equivalent for Apache commons.lang3 StringEscapeUtils.escapeJava()
body: <p>Currently I'm using <code>StringEscapeUtils.escapeJava()</code> from Apache Commons, but this is marked as deprecated since 3.6 and the suggestion is to move to the <code>commons-text</code> package. Since I'm currently not depending on that, and don't feel the need to add another dependency for just this one package, I was looking into the escaping functionality that one of my other included libraries (Guava) provides.</p>
  
  <p>However, I could not find an equivalent to the <code>escapeJava()</code> method. Since Guava seems to work a little differently, I was wondering if someone could point out how I could achieve the same result using Guava? (or using non-deprecated classes from <code>commons-lang3</code>)</p>