This class prints the lines of code and the affiliated comments of the output from
the JavaCodeAnalyzer class.
It makes line wrapping with splitting levels, correct indentation and comment creation. .
This all is done after the
Apache Source Conventions
from SUN and therefore the ASF..
TODO:
- trailling comments
- more documentation
- doc comment cration for classes, constructors, fields, methods
BUGS
- comment items in "" are extracted to real comments
getObligateSplitLevel() If it present in a line and the line is longer then LINE_LENGTH
then line must wrapped on this place.
Useful for correct indentation of e.g.
If it present in a line and the line is longer then LINE_LENGTH
then line must wrapped on this place.
Useful for correct indentation of e.g. ternary expressions.
The obligation splitting level with splitting characters.
Splitting levels were used by the JavaCodeAnalyzer to set marker into the lines of
code, were line wrapping is recommended.
Miscellaneous split level should give a priority were line wrapping is good or bad.
A high level means a good place to wrap the line.
The splitting level with splitting characters.