Skip to content

Introduce custom @Contract annotation to aid data flow analysis #3880

@scordio

Description

@scordio

Although we plan to introduce support for nullability constraints in version 4, fail methods could already benefit from a custom @Contract annotation when inspected by tools that perform data flow analysis like NullAway.

Originally discussed at uber/NullAway#1222 (comment).

CC @jonatan-ivanov

References

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions