From 077685fbd224034e60dc583b378d3079a89ed908 Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Wed, 31 Mar 2021 09:27:23 +0200 Subject: [PATCH] [jOOQ/jOOQ#11718] Change retention to CLASS and make it @Internal --- jOOQ/src/main/java/org/jooq/CheckReturnValue.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/jOOQ/src/main/java/org/jooq/CheckReturnValue.java b/jOOQ/src/main/java/org/jooq/CheckReturnValue.java index 7d6d748445..18085a53d7 100644 --- a/jOOQ/src/main/java/org/jooq/CheckReturnValue.java +++ b/jOOQ/src/main/java/org/jooq/CheckReturnValue.java @@ -7,10 +7,16 @@ import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.Target; +import org.jetbrains.annotations.Contract; + /** * Simple version of the JSR 305 annotation that allows for inspecting jOOQ code * and detect accidentally omitted calls to {@link Query#execute()} and the * likes in IntelliJ. + *

+ * This annotation is {@link Internal}. Clients should not rely on its presence. + * The annotation may be replaced with a more suitable one by JetBrains, e.g. + * the {@link Contract} annotation, when a favourable use-case can be found. * * @author Lukas Eder * @see