mozilla-mobile / gradle-apilint

Gradle Plugin that tracks the API of an Android library and helps maintain backward compatibility.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

jonalmeida opened this issue · comments

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.