public class JavaIntroduceParameterMethodUsagesProcessor extends java.lang.Object implements IntroduceParameterMethodUsagesProcessor
EP_NAME
Constructor and Description |
---|
JavaIntroduceParameterMethodUsagesProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
findConflicts(IntroduceParameterData data,
UsageInfo[] usages,
MultiMap<PsiElement,java.lang.String> conflicts) |
static PsiParameter |
getAnchorParameter(PsiMethod methodToReplaceIn) |
boolean |
isMethodUsage(UsageInfo usage) |
boolean |
processAddDefaultConstructor(IntroduceParameterData data,
UsageInfo usage,
UsageInfo[] usages) |
boolean |
processAddSuperCall(IntroduceParameterData data,
UsageInfo usage,
UsageInfo[] usages) |
boolean |
processChangeMethodSignature(IntroduceParameterData data,
UsageInfo usage,
UsageInfo[] usages) |
boolean |
processChangeMethodUsage(IntroduceParameterData data,
UsageInfo usage,
UsageInfo[] usages) |
public JavaIntroduceParameterMethodUsagesProcessor()
public boolean isMethodUsage(UsageInfo usage)
isMethodUsage
in interface IntroduceParameterMethodUsagesProcessor
public boolean processChangeMethodUsage(IntroduceParameterData data, UsageInfo usage, UsageInfo[] usages) throws IncorrectOperationException
processChangeMethodUsage
in interface IntroduceParameterMethodUsagesProcessor
IncorrectOperationException
public void findConflicts(IntroduceParameterData data, UsageInfo[] usages, MultiMap<PsiElement,java.lang.String> conflicts)
findConflicts
in interface IntroduceParameterMethodUsagesProcessor
public boolean processChangeMethodSignature(IntroduceParameterData data, UsageInfo usage, UsageInfo[] usages) throws IncorrectOperationException
processChangeMethodSignature
in interface IntroduceParameterMethodUsagesProcessor
IncorrectOperationException
public static PsiParameter getAnchorParameter(PsiMethod methodToReplaceIn)
public boolean processAddDefaultConstructor(IntroduceParameterData data, UsageInfo usage, UsageInfo[] usages)
processAddDefaultConstructor
in interface IntroduceParameterMethodUsagesProcessor
public boolean processAddSuperCall(IntroduceParameterData data, UsageInfo usage, UsageInfo[] usages) throws IncorrectOperationException
processAddSuperCall
in interface IntroduceParameterMethodUsagesProcessor
IncorrectOperationException