public static <T> PathMetadata forDelegate(Path<T> delegate) {
        return new PathMetadata(delegate, delegate, PathType.DELEGATE);
    }
Create a new PathMetadata instance for delegate access

@param delegate delegate path
@return wrapped path
querydsl-core/src/main/java/com/querydsl/core/types/PathMetadataFactory.java