@Documented @Target(value=METHOD) @Retention(value=RUNTIME) public @interface CheckReturnValue
Used to annotate methods in the
which return an instance of LoggingEventBuilder (usually as
methods should be followed by one of the terminating
log() methods returning
IntelliJ IDEA supports a check for annotations named as
regardless of the containing package. For more information on this feature in IntelliJ IDEA,
select File → Setting → Editor → Inspections and then Java → Probable Bugs →
Result of method call ignored.
As for Eclipse, this feature has been requested in bug 572496
Copyright © 2005–2022 QOS.ch. All rights reserved.