public static <KT> PathMetadata forMapAccess(Path<?> parent, KT key) {
        return new PathMetadata(parent, key, PathType.MAPVALUE_CONSTANT);
    }
Create a new PathMetadata instance for for key based map access

@param parent parent path
@param key key for map access
@return map access path
querydsl-core/src/main/java/com/querydsl/core/types/PathMetadataFactory.java