Skip to content

RemoveUnused(Local)Parameter/RemoveUnusedParameters #780

@Pankraz76

Description

@Pankraz76

What problem are you trying to solve?

It seems this one the missing in the "gang of four" handling all unused stuff.

Checking into localvars and fields it seems parameters are not taken care yet.

It should simply remove as happy path. Maybe some hybrid mode via opt in switch would help to keep public api stable by changing the name to unused to pass inspection and dont make a breaking change on top lvl.

Describe the solution you'd like

Have you considered any alternatives or workarounds?

Additional context

Are you interested in contributing this feature to OpenRewrite?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions