• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

uber / NullAway / #1077
93%

Build:
DEFAULT BRANCH: master
Ran 20 Mar 2023 07:49PM UTC
Jobs 1
Files 78
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
#1077

push

github-actions

web-flow
Generics checks for parameter passing (#746)

For method calls, the nullability annotations of the type parameters for formal parameter types and actual parameter types should be exactly the same. 
This pull request adds code to compare nullability annotations of actual and formal parameters of generic type and reports an error if the annotations don't match. example:
  ```
    static class A<T extends @Nullable Object> { }
    static A<String> sampleMethod(A<A<String>> a1, A<String> a2) {
       return a2;
    }
    static void methodCall(A<A<@Nullable String>> a1, A<String> a2) {

   // **_here the code will report an error as the annotations of formal and actual parameters don't match_**

         A<String> a = sampleMethod(a1, a2);

    }
```

5516 of 5924 relevant lines covered (93.11%)

0.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #1077.1 20 Mar 2023 07:49PM UTC 0
93.11
Source Files on build #1077
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #1077
  • a1d1eedb on github
  • Prev Build on master
  • Next Build on master
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc