JPretty is a Java source beautifier. It takes a syntactically correct Java program and reformats it according to specified options. The following formatting categories are currently supported:

  • Smart indentation of statements
  • Rearranging members of a class
  • Control of braces
  • Method parameter alignment
  • Control of spaces between local variable and its type
  • Control of spaces between field name and its type across multiple lines
  • Parameter alignment of a method
  • Ordering of class elements

Licence: Proprietary