public class JavaFormatter extends GeneratedJavaFormatter
Modifier and Type | Field and Description |
---|---|
protected static int |
LENGTH_PREFIX |
protected static boolean |
TRACE |
protected static int |
TRACE_DEPTH |
CONST_0, CONST_1, CONST_10, CONST_100, CONST_101, CONST_102, CONST_103, CONST_104, CONST_105, CONST_106, CONST_107, CONST_108, CONST_109, CONST_11, CONST_110, CONST_111, CONST_112, CONST_113, CONST_114, CONST_115, CONST_116, CONST_117, CONST_118, CONST_119, CONST_12, CONST_120, CONST_121, CONST_13, CONST_14, CONST_15, CONST_16, CONST_17, CONST_18, CONST_19, CONST_2, CONST_20, CONST_21, CONST_22, CONST_23, CONST_24, CONST_25, CONST_26, CONST_27, CONST_28, CONST_29, CONST_3, CONST_30, CONST_31, CONST_32, CONST_33, CONST_34, CONST_35, CONST_36, CONST_37, CONST_38, CONST_39, CONST_4, CONST_40, CONST_41, CONST_42, CONST_43, CONST_44, CONST_45, CONST_46, CONST_47, CONST_48, CONST_49, CONST_5, CONST_50, CONST_51, CONST_52, CONST_53, CONST_54, CONST_55, CONST_56, CONST_57, CONST_58, CONST_59, CONST_6, CONST_60, CONST_61, CONST_62, CONST_63, CONST_64, CONST_65, CONST_66, CONST_67, CONST_68, CONST_69, CONST_7, CONST_70, CONST_71, CONST_72, CONST_73, CONST_74, CONST_75, CONST_76, CONST_77, CONST_78, CONST_79, CONST_8, CONST_80, CONST_81, CONST_82, CONST_83, CONST_84, CONST_85, CONST_86, CONST_87, CONST_88, CONST_89, CONST_9, CONST_90, CONST_91, CONST_92, CONST_93, CONST_94, CONST_95, CONST_96, CONST_97, CONST_98, CONST_99, default_delimiter, default_indent, format_empty, mode, result
validating
Constructor and Description |
---|
JavaFormatter() |
Modifier and Type | Method and Description |
---|---|
protected int |
count() |
protected int |
count(Format f) |
static String |
quoteJava(String content) |
protected void |
rotateLeft() |
protected void |
rotateLeftList() |
protected void |
rotateRight() |
static String |
show(Format f,
int depth) |
protected void |
unindent(int... path) |
void |
visit(eu.bandm.tools.metajava.tdom.Element_charLiteral el) |
void |
visit(eu.bandm.tools.metajava.tdom.Element_decl el) |
void |
visit(eu.bandm.tools.metajava.tdom.Element_file el) |
void |
visit(eu.bandm.tools.metajava.tdom.Element_ifStmt el) |
void |
visit(eu.bandm.tools.metajava.tdom.Element_memberDeclarator el) |
void |
visit(eu.bandm.tools.metajava.tdom.Element_meta el) |
void |
visit(eu.bandm.tools.metajava.tdom.Element_methodDeclarator el) |
void |
visit(eu.bandm.tools.metajava.tdom.Element_newExpr el) |
void |
visit(eu.bandm.tools.metajava.tdom.Element_placeholderIndex el) |
void |
visit(eu.bandm.tools.metajava.tdom.Element_placeholderName el) |
void |
visit(eu.bandm.tools.metajava.tdom.Element_stringLiteral el) |
__throwIt, toFormat_array, toFormat_throwing, toFormat, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
visit
protected static final boolean TRACE
protected static final int TRACE_DEPTH
protected static final int LENGTH_PREFIX
public void visit(eu.bandm.tools.metajava.tdom.Element_stringLiteral el)
visit
in class GeneratedJavaFormatter
public void visit(eu.bandm.tools.metajava.tdom.Element_charLiteral el)
visit
in class GeneratedJavaFormatter
protected void rotateRight()
protected void rotateLeft()
protected void rotateLeftList()
public void visit(eu.bandm.tools.metajava.tdom.Element_memberDeclarator el)
visit
in class GeneratedJavaFormatter
public void visit(eu.bandm.tools.metajava.tdom.Element_methodDeclarator el)
visit
in class GeneratedJavaFormatter
public void visit(eu.bandm.tools.metajava.tdom.Element_decl el)
visit
in class GeneratedJavaFormatter
public void visit(eu.bandm.tools.metajava.tdom.Element_newExpr el)
visit
in class GeneratedJavaFormatter
protected void unindent(int... path)
public void visit(eu.bandm.tools.metajava.tdom.Element_ifStmt el)
visit
in class GeneratedJavaFormatter
protected int count()
protected int count(Format f)
public void visit(eu.bandm.tools.metajava.tdom.Element_file el)
visit
in class GeneratedJavaFormatter
public void visit(eu.bandm.tools.metajava.tdom.Element_placeholderIndex el)
visit
in class eu.bandm.tools.metajava.tdom.Visitor
public void visit(eu.bandm.tools.metajava.tdom.Element_placeholderName el)
visit
in class eu.bandm.tools.metajava.tdom.Visitor
public void visit(eu.bandm.tools.metajava.tdom.Element_meta el)
visit
in class eu.bandm.tools.metajava.tdom.Visitor
see also the complete user documentation .