Skip to content

"Create missing overrides" and "Create field" fixes not available for enums #55264

Closed
@srawlins

Description

@srawlins

In this code:

abstract class C {
  void M();
}
enum E implements C {
  one, two;
}

The "create missing overrides" refactoring is not offered.

In this code:

enum E {
  one, two;
}
int f(E e) {
  return e.x;
}

The "create field" refactoring is not offered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestdevexp-refactoringIssues with analysis server refactoringslegacy-area-analyzerUse area-devexp instead.type-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions