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
if ((typePackage == null || typePackage.length() == 0) && typeName != null) {
			
			String unboxedVariable= getAutoUnboxedType(variable.getFQN());
			return isPrimitiveAssignable(typeName, unboxedVariable);
		}
		
		if ((variable.typePackage == null || variable.typePackage.length() == 0) && variable.typeName != null) {
			String unboxedType= getAutoUnboxedType(getFQN(typePackage, typeName));
			return isPrimitiveAssignable(unboxedType, variable.typeName);
		}
		
		return false;
	}
	
	/**
	 * Returns true if variable is assignable to a type, false otherwise.
	 */
	private boolean isAssignable(Variable variable, String typePackage, String typeName) throws JavaModelException {
		IJavaProject project= fCompilationUnit.getJavaProject();
		IType paramType= project.findType(getFQN(typePackage, typeName));
		IType varType= project.findType(variable.getFQN());
		if (varType == null || paramType == null)
			return false;
		ITypeHierarchy hierarchy= SuperTypeHierarchyCache.getTypeHierarchy(varType);
		return hierarchy.contains(paramType);
	}
	/**
	 * Returns the longest common substring of two strings.
	 */