mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 08:51:02 +07:00
[java-refactoring] Convert local classes to inner ones
Fixes IDEA-218207 Move refactoring doesn't work for local classes Also: Convert anonymous to inner -> do not create fields used in other field initializers only Also: Convert anonymous to inner -> capture implicitly referred type parameters (mentioned in types of captured variables) GitOrigin-RevId: 5d326e0b6fdff4de850ce48582cc3ca0fe003b43
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5079e599ff
commit
c718b21cc1
@@ -602,6 +602,12 @@ public abstract class QuickFixFactory {
|
||||
*/
|
||||
public abstract @NotNull IntentionAction createConvertAnonymousToInnerAction(@NotNull PsiAnonymousClass anonymousClass);
|
||||
|
||||
/**
|
||||
* @param localClass class to convert
|
||||
* @return a fix that converts a local class to an inner class
|
||||
*/
|
||||
public abstract @NotNull IntentionAction createConvertLocalToInnerAction(@NotNull PsiClass localClass);
|
||||
|
||||
public abstract @NotNull IntentionAction createSplitSwitchBranchWithSeveralCaseValuesAction();
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user