Java Code Formating
        Posted  
        
            by the qwerty
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by the qwerty
        
        
        
        Published on 2010-05-20T17:21:01Z
        Indexed on 
            2010/05/21
            17:10 UTC
        
        
        Read the original article
        Hit count: 321
        
I'm using FreeMarker to generate java code, but as most of it is dynamically generated it's difficult to control the code formation.
I want to get code well formatted. Does anyone knows a lib or something like a pretty printer for java code?
© Stack Overflow or respective owner