Skip to content

Java enum items are not catch by simple patterns #3789

@tilperion2

Description

@tilperion2

Describe the bug
Enum items are not matched by semgrep patterns properly.

To Reproduce
https://semgrep.dev/playground/s/wpwwB

Expected behavior
Rule able to match enum item per its name, pattern or method type/pattern

Priority
How important is this to you?

  • P0: blocking me from making progress
  • [x ] P1: this will block me in the near future
  • P2: annoying but not blocking me

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions