Sorted Java source file (with Separator comments)
class TypePrinter
extends AbstractPrinter
{
//~ Instance/static variables ----------------------------------------------
/** Singleton. */
private final static Printer INSTANCE = new TypePrinter();
//~ Constructors -----------------------------------------------------------
/**
* Creates a new TypePrinter object.
*/
protected TypePrinter()
{
}
//~ Methods ----------------------------------------------------------------
public static Printer getInstance()
{
return INSTANCE;
}
public void print(AST node, ASTWriter out)
throws IOException
{
AST child = node.getFirstChild();
PrinterFactory.create(child).print(child, out);
}
}