Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • briar briar
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 788
    • Issues 788
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • briar
  • briarbriar
  • Issues
  • #1996

Closed
Open
Created Apr 14, 2021 by Sebastian@sebkurDeveloper

Improve animal sniffer profile / get Android Studio to check non-Android modules

Apparently the animal sniffer profile/signature is being a bit more strict when it comes to detecting what can be used and what cannot be used when compared to what Android Studio does. As a result, for example Long#compare() cannot be used in the non-Android modules, even though it is desugarable, but animal sniffer doesn't seem to know that.

We discussed two ideas:

  • either find a different animal sniffer profile that knows better what works and what doesn't
  • try to make Android Studio check desugarability (which is needed for somer lower Android versions) for the non-Android modules, too

Either way it would also be good to test this somehow, i.e. identify some candidates that should pass and some that should be rejected. Apparently those are examples that should pass:

  • Long#compare()
  • Objects#requireNonNull()

What are examples that should fail, i.e. ones that are known not to be desugarable?

Edited Apr 14, 2021 by Sebastian
Assignee
Assign to
Time tracking