Bug 96748 [content assist] invalid positioning of parameter hints
build 200505250010 1) have the following code snippet class A { boolean method1(String arg1, String arg2) { return true; } boolean method2() { return method1("dsds",); } } 2) invoke content assist at directly after the opening '(' in the method1 call --> parameter hint comes up, OK 3) move caret behind the ',' --> parameter hint updates, highlighting the second parameter, OK 4) invoke content assist --> new parameter hint comes up, incorrectly placed and incorrectly initialized
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/MethodProposalInfo.java
for (int i= 0; i < typeParameters.length; i++) {
			String variable= typeParameters[i].getElementName();
			if (concreteParameters.length > i)
				
				map.put(variable, SignatureUtil.getLowerBound(concreteParameters[i]));
			else
				
				map.put(variable, "Ljava.lang.Object;".toCharArray()); 
		}
		return map;
	}
	/**
	 * Finds a method by name. This searches for a method with a name and
	 * signature. Parameter types are only compared by the simple name, no
	 * resolving for the fully qualified type name is done. Constructors are
	 * only compared by parameters, not the name.
	 *
	 * @param name The name of the method to find
	 * @param paramTypes The type signatures of the parameters e.g.
	 *        <code>{"QString;","I"}</code>
	 * @param isConstructor If the method is a constructor
	 * @param methods The methods to search in
	 * @param typeVariables a map from type variables to concretely used types
	 * @return The found method or <code>null</code>, if nothing found
	 */
	private IMethod findMethod(String name, String[] paramTypes, boolean isConstructor, IMethod[] methods, Map typeVariables) throws JavaModelException {
		for (int i= methods.length - 1; i >= 0; i--) {
			if (isSameMethodSignature(name, paramTypes, isConstructor, methods[i], typeVariables)) {
				return methods[i];
			}