Skip to content

override-method for records should suggest all overridable methods #7167

@homberghp

Description

@homberghp

Description

When I want to override toString in a class, Netbeans supports that with a suggestion to override toString, with all the
trimmings like the annotation, the method signature and visibility. The is nice.

For record that does not happen.

Use case/motivation

I would like to get the suggestion to also override toString, equals, and hashCode for those cases where the default for
record does not cut it.

Related issues

No

Are you willing to submit a pull request?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    Java[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)kind:featureA feature requestnb-javacRun nb-javac integration tests

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions