Bug 36990 Quickfix for generating missing method ignores array dimension [quick fix]
Build 20030422 When activating quickfix on: Object ob[] = tabList.getSelectedValues(); where #getSelectedValues is missing, it will generate a method of type Object, where it should have been typed with Object[]
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ASTResolving.java
return false;
		}
		return getTypeOrder(definedTypeCode) > getTypeOrder(toAssignCode);		
	}
	/**
	 * Tests if a two types are assign compatible
	 * @param typeToAssign The binding of the type to assign
	 * @param definedType The type of the object that is assigned
	 * @return boolean Returns true if definedType = typeToAssign is true
	 */
	public static boolean canAssign(ITypeBinding typeToAssign, String definedType) {
		
		
		int arrStart= definedType.indexOf('[');
		if (arrStart != -1) {
			if (!typeToAssign.isArray()) {
				return false;  
			}
			int definedDim= definedType.length() - arrStart;
			int toAssignDim= typeToAssign.getDimensions() * 2;
			if (definedDim == toAssignDim) {
				definedType= definedType.substring(0, arrStart);
				typeToAssign= typeToAssign.getElementType();
				if (typeToAssign.isPrimitive() && !definedType.equals(typeToAssign.getName())) {
					return false; 
				}
				return canAssign(typeToAssign, definedType);				
			} else if (definedDim < toAssignDim) {
				return isArrayCompatible(definedType.substring(0, arrStart));
			}