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

uber / NullAway / #1077 / 1
93%
master: 93%

Build:
DEFAULT BRANCH: master
Ran 20 Mar 2023 07:49PM UTC
Files 78
Run time 2s
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

20 Mar 2023 07:49PM UTC coverage: 93.113% (+0.08%) from 93.038%
#1077.1

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

Source Files on job #1077.1
  • Tree
  • List 0
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1077
  • a1d1eedb on github
  • Prev Job for on master (##1076.1)
  • Next Job for on master (##1078.1)
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