public class CommonRefactoringUtil
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CommonRefactoringUtil.RefactoringErrorHintException
Fatal refactoring problem during unit test run.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
capitalize(java.lang.String text) |
static boolean |
checkReadOnlyStatus(Project project,
java.util.Collection<? extends PsiElement> elements,
boolean notifyOnFail) |
static boolean |
checkReadOnlyStatus(Project project,
java.util.Collection<? extends PsiElement> recursive,
java.util.Collection<? extends PsiElement> flat,
boolean notifyOnFail) |
static boolean |
checkReadOnlyStatus(Project project,
PsiElement... elements) |
static boolean |
checkReadOnlyStatus(Project project,
PsiElement element) |
static boolean |
checkReadOnlyStatus(PsiElement element) |
static boolean |
checkReadOnlyStatus(PsiElement element,
Project project,
java.lang.String messagePrefix) |
static boolean |
checkReadOnlyStatusRecursively(Project project,
java.util.Collection<? extends PsiElement> elements) |
static boolean |
checkReadOnlyStatusRecursively(Project project,
java.util.Collection<? extends PsiElement> elements,
boolean notifyOnFail) |
static void |
collectReadOnlyFiles(VirtualFile vFile,
java.util.Collection<? super VirtualFile> list) |
static java.lang.String |
htmlEmphasize(java.lang.String text) |
static boolean |
isAncestor(PsiElement resolved,
java.util.Collection<? extends PsiElement> scopes) |
static void |
showErrorHint(Project project,
Editor editor,
java.lang.String message,
java.lang.String title,
java.lang.String helpId) |
static void |
showErrorMessage(java.lang.String title,
java.lang.String message,
java.lang.String helpId,
Project project) |
static void |
sortDepthFirstRightLeftOrder(UsageInfo[] usages) |
public static void showErrorMessage(java.lang.String title, java.lang.String message, java.lang.String helpId, Project project)
public static void sortDepthFirstRightLeftOrder(UsageInfo[] usages)
public static void showErrorHint(Project project, Editor editor, java.lang.String message, java.lang.String title, java.lang.String helpId)
public static java.lang.String htmlEmphasize(java.lang.String text)
public static boolean checkReadOnlyStatus(PsiElement element)
public static boolean checkReadOnlyStatus(Project project, PsiElement element)
public static boolean checkReadOnlyStatus(Project project, PsiElement... elements)
public static boolean checkReadOnlyStatus(Project project, java.util.Collection<? extends PsiElement> elements, boolean notifyOnFail)
public static boolean checkReadOnlyStatus(PsiElement element, Project project, java.lang.String messagePrefix)
public static boolean checkReadOnlyStatusRecursively(Project project, java.util.Collection<? extends PsiElement> elements)
public static boolean checkReadOnlyStatusRecursively(Project project, java.util.Collection<? extends PsiElement> elements, boolean notifyOnFail)
public static boolean checkReadOnlyStatus(Project project, java.util.Collection<? extends PsiElement> recursive, java.util.Collection<? extends PsiElement> flat, boolean notifyOnFail)
public static void collectReadOnlyFiles(VirtualFile vFile, java.util.Collection<? super VirtualFile> list)
public static java.lang.String capitalize(java.lang.String text)
public static boolean isAncestor(PsiElement resolved, java.util.Collection<? extends PsiElement> scopes)