protected <F> ForeignKey<F> createInvForeignKey(List<? extends Path<?>> local,
            List<String> foreign) {
        ForeignKey<F> foreignKey = new ForeignKey<F>(this, new ArrayList<>(local), new ArrayList<>(foreign));
        inverseForeignKeys.add(foreignKey);
        return foreignKey;
    }
{@code RelationalPathBase} is a base class for {@link RelationalPath} implementations

@author tiwe

@param <T>
           entity type
querydsl-sql/src/main/java/com/querydsl/sql/RelationalPathBase.java