format(buffer, (JavaContext) context);
try { format(buffer, (JavaContext) context); } catch (BadLocationException e) { indent(buffer); } catch (MalformedTreeException e) { indent(buffer); }
	public void format(TemplateBuffer buffer, TemplateContext context) throws BadLocationException {		try {			if (fUseCodeFormatter)				format(buffer, (JavaContext) context);			else				indentate(buffer);			trimBegin(buffer);		} catch (CoreException e) {			// TODO: handle exception			throw new BadLocationException();		}	}