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

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

Build:
DEFAULT BRANCH: master
Ran 05 May 2022 07:20PM UTC
Files 73
Run time 13s
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

05 May 2022 07:16PM UTC coverage: 92.059% (+0.004%) from 92.055%
#839.1

push

github-actions

web-flow
Using flatNames for LocalType/Anonymous classes in fix serialization (#592)

Unfortunately, `Symbol.toString()` and even `Symbol.getEnclosingElement()` produce
unqualified names when dealing with local types (e.g. class declarations within methods).
That causes a problem for the NullAwayInfer injector, which will fail to parse any enclosing
classes without at least a package name. We fix it by using flat names (`flatName()`) instead,
which are unique for anonymous inner classes and local classes at any level of nesting.

This change will require a corresponding change on the auto-annotator to add logic to find
such classes by their flat name (e.g. `Foo$3` or `Foo$1Bar$1Baz`).

4788 of 5201 relevant lines covered (92.06%)

0.92 hits per line

Source Files on job #839.1
  • Tree
  • List 0
  • Changed 5
  • Source Changed 5
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 839
  • fdd74605 on github
  • Prev Job for on master (##836.1)
  • Next Job for on master (##843.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