public class GenericInlineHandler
extends java.lang.Object
Constructor and Description |
---|
GenericInlineHandler() |
Modifier and Type | Method and Description |
---|---|
static void |
collectConflicts(PsiReference reference,
PsiElement element,
java.util.Map<Language,InlineHandler.Inliner> inliners,
MultiMap<PsiElement,java.lang.String> conflicts) |
static java.util.Map<Language,InlineHandler.Inliner> |
initializeInliners(PsiElement element,
InlineHandler.Settings settings,
java.util.Collection<? extends PsiReference> allReferences) |
static java.util.Map<Language,InlineHandler.Inliner> |
initInliners(PsiElement elementToInline,
UsageInfo[] usagesIn,
InlineHandler.Settings settings,
MultiMap<PsiElement,java.lang.String> conflicts,
Language... emptyInliners) |
static void |
inlineReference(UsageInfo usage,
PsiElement element,
java.util.Map<Language,InlineHandler.Inliner> inliners) |
static boolean |
invoke(PsiElement element,
Editor editor,
InlineHandler languageSpecific) |
static PsiReference[] |
sortDepthFirstRightLeftOrder(java.util.Collection<? extends PsiReference> allReferences) |
public static boolean invoke(PsiElement element, Editor editor, InlineHandler languageSpecific)
public static java.util.Map<Language,InlineHandler.Inliner> initializeInliners(PsiElement element, InlineHandler.Settings settings, java.util.Collection<? extends PsiReference> allReferences)
public static java.util.Map<Language,InlineHandler.Inliner> initInliners(PsiElement elementToInline, UsageInfo[] usagesIn, InlineHandler.Settings settings, MultiMap<PsiElement,java.lang.String> conflicts, Language... emptyInliners)
public static void collectConflicts(PsiReference reference, PsiElement element, java.util.Map<Language,InlineHandler.Inliner> inliners, MultiMap<PsiElement,java.lang.String> conflicts)
public static void inlineReference(UsageInfo usage, PsiElement element, java.util.Map<Language,InlineHandler.Inliner> inliners)
public static PsiReference[] sortDepthFirstRightLeftOrder(java.util.Collection<? extends PsiReference> allReferences)