@Override
    public Class<?> getParameter(int index) {
        if (index == 0) {
            return keyType;
        } else if (index == 1) {
            return valueType;
        } else {
            throw new IndexOutOfBoundsException(String.valueOf(index));
        }
    }
Get the value type

@return value type
querydsl-core/src/main/java/com/querydsl/core/types/dsl/MapPath.java