-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement
Milestone
Description
@CheckReturnValue
currently only targets ElementType.METHOD
. IDEs, however, also consider a type-level @CheckReturnValue
to express that all methods' return values should be checked. I would appreciate it if our annotation could be used that way, too.
It would also make sense to allow the usage of the annotation on constructors and packages, the latter implying all methods in the package having to be checked.
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement