title: Java Code Formatting
body: <p>I'm using FreeMarker to generate java code, but as most of it is dynamically generated it's difficult to control the code formation. </p>
  
  <p>I want to get code well formatted. Does anyone knows a lib or something like a pretty printer for java code?</p>