Bug 122052 [content assist] Common prefix temporarily inserted when inserting constructor
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaMethodCompletionProposal.java
buf.append(name);
		buf.append('\0'); 
		buf.append(parameterCount);
		buf.append(parameterList);
		return buf.toString();
	}
	
	/*
	 * @see org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal#isValidPrefix(java.lang.String)
	 */
	protected boolean isValidPrefix(String prefix) {
		if (super.isValidPrefix(prefix))
			return true;
		
		String word= getDisplayString();
		if (isInJavadoc()) {
			int idx = word.indexOf("{@link "); 
			if (idx==0) {
				word = word.substring(7);
			} else {
				idx = word.indexOf("{@value "); 
				if (idx==0) {
					word = word.substring(8);
				}
			}
		}
		return isPrefix(prefix, word);
	}
}