Bug 86579 [content assist] guessing parameters is very slow
Eclipse : 3.1M5a Guessing the parameter values in JDT has gone very slow. I have noticed this since 3.1M4. My settings are : Java Editor Code Assist Advanced [x] fill argument names [x] guess names When I turn-off 'guess' method completion & filing in input-parameter name is faster. The plugin project has about 150 Java files and depends on about 20 plugins (not a large one). What other data I can provide to debug this help?
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ParameterGuesser.java
/**
	 * Returns <code>true</code> if <code>typeName</code> is the name of a primitive type.
	 * 
	 * @param typeName the type to check
	 * @return <code>true</code> if <code>typeName</code> is the name of a primitive type
	 */
	private static boolean isPrimitive(char[] typeName) {
		String s= new String(typeName);
		return "boolean".equals(s) || "byte".equals(s) || "short".equals(s) || "int".equals(s) || "long".equals(s) || "float".equals(s) || "double".equals(s) || "char".equals(s); 
	}
	private static int getCompletionOffset(String source, int start) {
		int index= start;
		char c;
		while (index > 0 && (c= source.charAt(index - 1)) != '{' && c != ';')
			index--;
		return Math.min(index + 1, source.length());
	}
	
	private static String getFQN(String typePackage, String typeName) {
		StringBuffer buffer= new StringBuffer();
		if (typePackage.length() != 0) {
			buffer.append(typePackage);
			buffer.append('.');
		}
		buffer.append(typeName);
		return buffer.toString();
	}
}