public static PathMetadata forVariable(String variable) {
        return new PathMetadata(null, variable, PathType.VARIABLE);
    }
Create a new PathMetadata instance for a variable

@param variable variable name
@return variable path
querydsl-core/src/main/java/com/querydsl/core/types/PathMetadataFactory.java