public class JavaChangeSignatureUsageProcessor extends java.lang.Object implements ChangeSignatureUsageProcessor
Modifier and Type | Class and Description |
---|---|
static class |
JavaChangeSignatureUsageProcessor.ConflictSearcher |
EP_NAME
Constructor and Description |
---|
JavaChangeSignatureUsageProcessor() |
Modifier and Type | Method and Description |
---|---|
MultiMap<PsiElement,java.lang.String> |
findConflicts(ChangeInfo info,
Ref<UsageInfo[]> refUsages) |
UsageInfo[] |
findUsages(ChangeInfo info) |
static void |
generateDelegate(JavaChangeInfo changeInfo) |
static PsiMethod |
generateDelegatePrototype(JavaChangeInfo changeInfo) |
static boolean |
hasNewCheckedExceptions(JavaChangeInfo changeInfo) |
boolean |
processPrimaryMethod(ChangeInfo changeInfo) |
boolean |
processUsage(ChangeInfo changeInfo,
UsageInfo usage,
boolean beforeMethodChange,
UsageInfo[] usages) |
void |
registerConflictResolvers(java.util.List<ResolveSnapshotProvider.ResolveSnapshot> snapshots,
ResolveSnapshotProvider resolveSnapshotProvider,
UsageInfo[] usages,
ChangeInfo changeInfo) |
boolean |
setupDefaultValues(ChangeInfo changeInfo,
Ref<UsageInfo[]> refUsages,
Project project) |
boolean |
shouldPreviewUsages(ChangeInfo changeInfo,
UsageInfo[] usages) |
public UsageInfo[] findUsages(ChangeInfo info)
findUsages
in interface ChangeSignatureUsageProcessor
public MultiMap<PsiElement,java.lang.String> findConflicts(ChangeInfo info, Ref<UsageInfo[]> refUsages)
findConflicts
in interface ChangeSignatureUsageProcessor
public boolean processUsage(ChangeInfo changeInfo, UsageInfo usage, boolean beforeMethodChange, UsageInfo[] usages)
processUsage
in interface ChangeSignatureUsageProcessor
public static boolean hasNewCheckedExceptions(JavaChangeInfo changeInfo)
public boolean processPrimaryMethod(ChangeInfo changeInfo)
processPrimaryMethod
in interface ChangeSignatureUsageProcessor
public boolean shouldPreviewUsages(ChangeInfo changeInfo, UsageInfo[] usages)
shouldPreviewUsages
in interface ChangeSignatureUsageProcessor
public boolean setupDefaultValues(ChangeInfo changeInfo, Ref<UsageInfo[]> refUsages, Project project)
setupDefaultValues
in interface ChangeSignatureUsageProcessor
public void registerConflictResolvers(java.util.List<ResolveSnapshotProvider.ResolveSnapshot> snapshots, ResolveSnapshotProvider resolveSnapshotProvider, UsageInfo[] usages, ChangeInfo changeInfo)
registerConflictResolvers
in interface ChangeSignatureUsageProcessor
public static void generateDelegate(JavaChangeInfo changeInfo) throws IncorrectOperationException
IncorrectOperationException
public static PsiMethod generateDelegatePrototype(JavaChangeInfo changeInfo)