Miha Anžiček (2011) Java source code formatter. EngD thesis.
The goal of this thesis is proper ordering of Java syntax code. The program is being run from command prompt with two parametres. First one includes Java source code in which Java syntax is in dissordered form and the second one includes maximum line length . The second parameter is not necessary. It works only for Java syntax and after being started it does not need user interaction. It covers all basic code parser functions like getting into a new line, proper spacing, etc. and it also includes line breaking of overlength lines according to the given maximum line length. If maximum line length is not given, default value is used (40 characters). Printed code is syntactically correct and is prepared for further use.
Actions (login required)