MCPcopy
hub / github.com/jOOQ/jOOQ / castNull

Method castNull

jOOQ/src/main/java/org/jooq/impl/DSL.java:18805–18809  ·  view source on GitHub ↗

Cast null to the type of another field. @param The generic type of the cast field @param as The field whose type is used for the cast @return The cast field

(Field<T> as)

Source from the content-addressed store, hash-verified

18803 * @return The cast field
18804 */
18805 @NotNull
18806 @Support
18807 public static <T> Field<T> castNull(Field<T> as) {
18808 return inline((Object) null).cast(as);
18809 }
18810
18811 /**
18812 * Cast a value to another type.

Callers 1

acceptMethod · 0.80

Calls 2

inlineMethod · 0.95
castMethod · 0.65

Tested by

no test coverage detected