public class CodeInsightUtilBase extends CodeInsightUtilCore
Modifier and Type | Method and Description |
---|---|
static boolean |
prepareEditorForWrite(Editor editor)
Deprecated.
|
boolean |
prepareFileForWrite(PsiFile psiFile) |
boolean |
preparePsiElementForWrite(PsiElement element) |
boolean |
preparePsiElementsForWrite(java.util.Collection<? extends PsiElement> elements) |
boolean |
preparePsiElementsForWrite(PsiElement... elements) |
boolean |
prepareVirtualFilesForWrite(Project project,
java.util.Collection<? extends VirtualFile> files) |
findElementInRange, forcePsiPostprocessAndRestoreElement, forcePsiPostprocessAndRestoreElement, parseStringCharacters, parseStringCharacters
getInstance
public boolean prepareFileForWrite(PsiFile psiFile)
prepareFileForWrite
in class FileModificationService
public boolean preparePsiElementForWrite(PsiElement element)
preparePsiElementForWrite
in class FileModificationService
public boolean preparePsiElementsForWrite(PsiElement... elements)
preparePsiElementsForWrite
in class FileModificationService
public boolean preparePsiElementsForWrite(java.util.Collection<? extends PsiElement> elements)
preparePsiElementsForWrite
in class FileModificationService
public boolean prepareVirtualFilesForWrite(Project project, java.util.Collection<? extends VirtualFile> files)
prepareVirtualFilesForWrite
in class FileModificationService
@Deprecated public static boolean prepareEditorForWrite(Editor editor)
EditorModificationUtil.checkModificationAllowed(Editor)