[jOOQ/jOOQ#13147] Context::scopeMapping should return @NotNull QueryPart

This commit is contained in:
Lukas Eder 2022-02-24 14:46:22 +01:00
parent c8213fd308
commit d360820fb8

View File

@ -343,10 +343,12 @@ public interface Context<C extends Context<C>> extends Scope {
C scopeRegister(QueryPart part, boolean forceNew, QueryPart mapped);
/**
* Retrieve the registered mapping for a query part in the current scope, or
* <code>null</code> if no such mapping exists.
* Retrieve the registered mapping for a query part in the current scope.
* <p>
* If no such mapping exists, the argument {@link QueryPart} itself is
* returned.
*/
@Nullable
@NotNull
QueryPart scopeMapping(QueryPart part);
/**