Skip to content

[java] Improve consistency of utility class detection across rules #1102

@oowekyala

Description

@oowekyala

UseUtilityClass's documentation doesn't define "utility class", which makes it uncertain what we're talking about. ClassNamingConventions doesn't either, and in effect the two implementations are separate, and inconsistent.

If we agree on a single definition, we could make sure that ClassNamingConventions and UseUtilityClass (and possibly other rules) stay synchronized in their definition, and reuse implementations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    an:enhancementAn improvement on existing features / rulesin:documentationAffects the documentation [doc]in: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