}
@Override
public void invoke(@NotNull Project project, Editor editor, PsiFile file) throws IncorrectOperationException {
final VirtualFile virtualFile = file.getVirtualFile();
final ReadonlyStatusHandler readonlyStatusHandler = ReadonlyStatusHandler.getInstance(project);
final ReadonlyStatusHandler.OperationStatus operationStatus = readonlyStatusHandler.ensureFilesWritable(virtualFile);
if (operationStatus.hasReadonlyFiles()) {
return;
}
PsiElement element = findMatchingElement(file, editor);