mozilla-mobile / gradle-apilint

Gradle Plugin that tracks the API of an Android library and helps maintain backward compatibility.
Mozilla Public License 2.0
8 stars 9 forks source link

Add a lint to infer when a return value is not null to add the NonNull annotation #97

Open jonalmeida opened 2 years ago

jonalmeida commented 2 years ago

Reference: https://phabricator.services.mozilla.com/D146245#inline-808465

When the return type is a non-null GeckoResult<> we should catch that with the linter.