Cleaner

Cleaner is a Java beautifier that transforms ugly syntax into beautiful syntax.
Download

Cleaner Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Jon Rafkind
  • Publisher web site:
  • http://www.rafkind.com/jon/showproject.php?id=36

Cleaner Tags


Cleaner Description

Cleaner is a Java beautifier that transforms ugly syntax into beautiful syntax. Cleaner is a Java beautifier that transforms ugly syntax into beautiful syntax. The Java code syntax is parsed using ANTLR and then printed to standard output.Source is included. Something like this: public void foo(String bar) { for(int x=0; x < 9; x++ ) { System.out.println ("X = " + x); } } Will become public void foo( String bar ){ for ( int x = 0; x < 9; x++ ){ System.out.println( "X = " + x ); } }Compile:$ antRun:$ java -classpath cleaner.jar:lib/antlr.jar cleaner.Cleaner < some-file >


Cleaner Related Software