private static final String HEADER_FORMAT = loadFormat("header");
protected void appendHeader(Root root) {
super.appendHeader(root);
TemplateName name = root.getName();
String sourceName = root.getSourcePosition().getSourceName();
String packageName = (name == null) ? "" : name.getPackageName();
// passing a null SourcePosition insures that we never get tail comments
formatLine((SourcePosition)null, HEADER_FORMAT, sourceName, packageName);
}