Commit Graph

1 Commits

Author SHA1 Message Date
Tagir Valeev
98e7ca52f1 [java-inspections] IDEA-301083 "Replace lambda with method reference" doesn't work for constructor calls in nested Enum
Copied enum was created always at top-level. In fact, as we copy the whole file anyway, there's no need to do something additional with enum. Just find it in copy and return.

GitOrigin-RevId: d85c21acfc879c02be0ef85eff4264faf0c99ffb
2022-09-05 20:08:11 +00:00