tabs= visualLength / tabSize; spaces= visualLength % tabSize;
if (tabSize > 0) { tabs= visualLength / tabSize; spaces= visualLength % tabSize; } else { tabs= 0; spaces= 0; }
	private StringBuffer createIndentOfLength(int visualLength) {		StringBuffer buf= new StringBuffer();		final int tabs, spaces;		if (JavaCore.SPACE.equals(getCoreFormatterOption(DefaultCodeFormatterConstants.FORMATTER_TAB_CHAR))) {			tabs= 0;			spaces= visualLength;		} else if (JavaCore.TAB.equals(getCoreFormatterOption(DefaultCodeFormatterConstants.FORMATTER_TAB_CHAR))) {			int tabSize= prefTabSize();			tabs= visualLength / tabSize;			spaces= visualLength % tabSize;		} else {			tabs= visualLength / prefIndentationSize();			spaces= 0;		}		for(int i= 0; i < tabs; i++)			buf.append('\t');		for(int i= 0; i < spaces; i++)			buf.append(' ');		return buf;	}