private Type newArrayElementType(Expression[] exprs,
                                         int start, int increment) {
            Type elementType = null;

            for (int i = start; i < exprs.length; i += increment) {
                Type type = exprs[i].getType();

                if (elementType == null) {
                    elementType = type;
                }
                else {
                    elementType = elementType.getCompatibleType(type);
                }
            }

            if (elementType == null) {
                elementType = Type.NULL_TYPE;
            }

            return elementType;
        }