class MapReferMetadataCreator implements ReferMetadataCreator {

    @Override
    public ReferMetadata getReferMetadata(Type type, String path) {
        Type refType = getMapValueGeneric(type);
        String ref = String.format("get(\"%s\")", path.replace("[*]", ""));
        return new ReferMetadata(refType, ref, path);
    }

}