JSR-305 Support
Open
P3
- Dominant language
- Java
- Stars
- 10.6k
- Forks
- 1.2k
- Avg merge
- 6h 32m
- Merged PRs (30d)
- 13
Description
AutoValue have @Nullable support which is great. But what about other JSR-305 capabilities.
For example, I could define annotation like
```
@Documented
@Nullable
@TypeQualifierDefault(ElementType.METHOD)
@Retention(RetentionPolicy.SOURCE)
public @interface MethodsReturnNullableByDefault {}
```
To remove repetitive @Nullable annotations for POJO's
This annotation will work perfectly with many tools which have JSR-305 support but AutoValue will still generate guard checks for nulls which will behave inconsistently with lint/IDE checks.
Contributor guide
Assessment
This issue has not been assessed yet.