mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-36088 - PIEAE: PsiElementBase.getContainingFile
This commit is contained in:
@@ -537,6 +537,7 @@ public class OverrideImplementUtil {
|
||||
final List<PsiMethodMember> selectedElements = chooser.getSelectedElements();
|
||||
if (selectedElements == null || selectedElements.isEmpty()) return;
|
||||
|
||||
LOG.assertTrue(aClass.isValid());
|
||||
new WriteCommandAction(project, aClass.getContainingFile()) {
|
||||
protected void run(final Result result) throws Throwable {
|
||||
overrideOrImplementMethodsInRightPlace(editor, aClass, selectedElements, chooser.isCopyJavadoc(), chooser.isInsertOverrideAnnotation());
|
||||
|
||||
Reference in New Issue
Block a user