Skip to content

ClassUtils: is subclass incl. primitive-reference equivalents #99

@ljacqu

Description

@ljacqu

ClassUtils#asSubclass should have an overload where primitive types are considered equal to each other. Might also be interesting as a dedicated method returning boolean as it's kind of a gotcha moment.
Important not to equate array types to each other, as int[] and Integer[] cannot be assigned to each other.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions