[jOOQ/jOOQ#13147] Context::scopeMapping should return @NotNull QueryPart
This commit is contained in:
parent
c8213fd308
commit
d360820fb8
@ -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);
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user