if (trigger == (char) 0)
if (trigger == (char) 0) {
	public void apply(IDocument document, char trigger) {		try {						if (trigger == (char) 0)				document.replace(fReplacementOffset, fReplacementLength, fReplacementString);			else {				StringBuffer buffer= new StringBuffer(fReplacementString);				buffer.insert(fCursorPosition, trigger);				++fCursorPosition;				document.replace(fReplacementOffset, fReplacementLength, buffer.toString());			}						int oldLen= document.getLength();			applyImports(document);			fReplacementOffset += document.getLength() - oldLen;					} catch (BadLocationException x) {			// ignore		}		}