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
if (definedType.isPrimitive()) {
				return false;
			}
			String definedTypeName= definedType.getQualifiedName();
			if (typeToAssign.isArray()) {
				return isArrayCompatible(definedTypeName);
			}
			if ("java.lang.Object".equals(definedTypeName)) { 
				return true;
			}
			return Bindings.isSuperType(definedType, typeToAssign);
		}
	}
	
	private static boolean isArrayCompatible(String definedType) {
		return "java.lang.Object".equals(definedType) || "java.io.Serializable".equals(definedType) || "java.lang.Cloneable".equals(definedType); 
	}
	
	
	public static MethodDeclaration findParentMethodDeclaration(ASTNode node) {
		while ((node != null) && (node.getNodeType() != ASTNode.METHOD_DECLARATION)) {
			node= node.getParent();
		}
		return (MethodDeclaration) node;
	}
	
	public static BodyDeclaration findParentBodyDeclaration(ASTNode node) {
		while ((node != null) && (!(node instanceof BodyDeclaration))) {
			node= node.getParent();
		}