mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Well, hopefully fixed transforming code fragments' chameleons
This commit is contained in:
@@ -43,6 +43,9 @@ public class AnonymousToInnerHandler implements RefactoringActionHandler {
|
||||
private boolean myMakeStatic;
|
||||
|
||||
public void invoke(Project project, PsiElement[] elements, DataContext dataContext) {
|
||||
if (elements != null && elements.length == 1 && elements[0] instanceof PsiAnonymousClass) {
|
||||
invoke(project, (PsiAnonymousClass)elements[0]);
|
||||
}
|
||||
}
|
||||
|
||||
public void invoke(final Project project, Editor editor, final PsiFile file, DataContext dataContext) {
|
||||
|
||||
Reference in New Issue
Block a user