Skip to content

[Feature] namespace BugPatterns and allow wildcard/patterns #1942

@xenoterracide

Description

@xenoterracide

Description of the problem / feature request:

partial proposed solution this would help

-xep:Equals:*:ERROR

where Equals:* is basically

Equals:ArrayEquals
Equals:EqualsHashCode
Equals:EqualsNaN
Equals:EqualsReference
Equals:EqualsWrongThing
Equals:SelfEquals
Equals:BigDecimalEquals
Equals:EqualsUsingHashCode
Equals:...

and so on

Feature requests: what underlying problem are you trying to solve with this feature?

I'd like to be able to quickly and concisely set up my changes to error prone's defaults, as I switch a LOT of things to error

What version of Error Prone are you using?

com.google.errorprone:error_prone_core:2.4.0

Have you found anything relevant by searching the web?

no, I know this does not exist.

other categories I can think of Inject Test Dagger

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions