Skip to content

[core] Apply the new PropertyDescriptor<Pattern> type where applicable #1027

@jsotuyod

Description

@jsotuyod

The newly introduced PropertyDescriptor<Pattern> type should be applied to several properties that are currently being treated as plain String properties.

A couple of examples:

  • Rule.VIOLATION_SUPPRESS_REGEX_DESCRIPTOR
  • Java's EmptyCatchBlock.allowExceptionNameRegex

There are probably other cases, we need to look them up and change their types accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    an:enhancementAn improvement on existing features / rulesin:pmd-internalsAffects PMD's internals

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions