@Override
        public Type visitArray(ArrayType arrayType, Boolean p) {
            if (arrayType.getComponentType() instanceof PrimitiveType) {
                Type type = getPrimitive((PrimitiveType) arrayType.getComponentType());
                if (type != null) {
                    return type.asArrayType();
                }
            }
            return visit(arrayType.getComponentType(), p).asArrayType();
        }
{@code ExtendedTypeFactory} is a factory for APT-based inspection {@link Type} creation

@author tiwe
querydsl-apt/src/main/java/com/querydsl/apt/ExtendedTypeFactory.java