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
for (ListIterator iterator= variables.listIterator(variables.size()); iterator.hasPrevious(); ) {
			Variable variable= (Variable) iterator.previous();
			variable.isAutoboxingMatch= false;
			if (isTypeMatch(variable, typePackage, typeName))
				matches.add(variable);
			if (isArrayType && isAssignable(variable, "java.util", "Collection")) { 
				fIsTemplateMatch= true;
				isArrayType= false;
			}
		}
		
		if (!isPrimitive(typeName.toCharArray()))
			matches.add(new Variable(typePackage, typeName, "null", Variable.FIELD, 2, new char[0], null)); 		
				
		return matches.isEmpty() ? null : matches;
	}
	private boolean isArrayType(String typeName) {
		
		return typeName.endsWith("[]"); 
	}
	/**
	 * Return true if variable is a match for the given type.  This method will search the SuperTypeHierarchy
	 * of the vairable's type and see if the argument's type is included. This method is approximately 
	 * the same as:  if (argumentVar.getClass().isAssignableFrom(field.getClass()))
	 */
	private boolean isTypeMatch(Variable variable, String typePackage, String typeName) throws JavaModelException {