Package org.neo4j.cypherdsl.core.utils
Annotation Type CheckReturnValue
-
@Documented @Target(METHOD) @Retention(CLASS) @API(status=INTERNAL, since="2021.1.1") public @interface CheckReturnValue
Simple version of the JSR 305 annotation that allows detecting accidentally omitted calls toCypher.match(org.neo4j.cypherdsl.core.PatternElement...)()} and the likes in IntelliJ.This annotation is
API.Status.INTERNAL. Clients should not rely on its presence. The annotation may be replaced with a more suitable one by JetBrains, e.g. theContractannotation, when a favourable use-case can be found.- Author:
- Lukas Eder, Michael J. Simons
- See Also:
- https://github.com/jOOQ/jOOQ/issues/11718, https://youtrack.jetbrains.com/issue/IDEA-265263