title: Retrieve source code at runtime
body: <p>I wish to print java code to console at runtime. I am not expecting exactly the same code, but the logic to be there.</p>
  
  <p>Given the following:</p>
  
  <p><code>Predicate&lt;String&gt; predicate = (s) -&gt; s.equals("yes");</code></p>
  
  <p>I would like to call:</p>
  
  <p><code>String javaCode = getCodeString(predicate);</code></p>
  
  <p>And have <code>javaCode</code> logically equal to: <code>(s) -&gt; s.equals(\"yes\")")</code>.</p>
  
  <p>Is this possible?</p>