presto-main/src/main/java/io/prestosql/operator/aggregation/state/BlockStateSerializer.java/BlockStateSerializer/getSerializedType
class BlockStateSerializer:    @Override
    public Type getSerializedType()
    {
        return type;
    }