public class ChangeMethodSignatureFromUsageReverseOrderFix extends ChangeMethodSignatureFromUsageFix
EMPTY_ARRAY
Constructor and Description |
---|
ChangeMethodSignatureFromUsageReverseOrderFix(PsiMethod targetMethod,
PsiExpression [] expressions,
PsiSubstitutor substitutor,
PsiElement context,
boolean changeAllUsages,
int minUsagesNumberToShowDialog) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
findNewParamsPlace(PsiExpression[] expressions,
PsiMethod targetMethod,
PsiSubstitutor substitutor,
java.lang.StringBuilder buf,
java.util.HashSet<? super ParameterInfoImpl> newParams,
PsiParameter[] parameters,
java.util.List<? super ParameterInfoImpl> result) |
boolean |
isAvailable(Project project,
Editor editor,
PsiFile file)
Checks whether this intention is available at a caret offset in the file.
|
escapePresentableType, getFamilyName, getNewParameterNameByOldIndex, getNewParametersInfo, getText, invoke, isMethodSignatureExists, startInWriteAction
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getElementToMakeWritable
public ChangeMethodSignatureFromUsageReverseOrderFix(PsiMethod targetMethod, PsiExpression [] expressions, PsiSubstitutor substitutor, PsiElement context, boolean changeAllUsages, int minUsagesNumberToShowDialog)
public boolean isAvailable(Project project, Editor editor, PsiFile file)
IntentionAction
isAvailable
in interface IntentionAction
isAvailable
in class ChangeMethodSignatureFromUsageFix
project
- the project in which the availability is checked.editor
- the editor in which the intention will be invoked.file
- the file open in the editor.true
if the intention is available, false
otherwise.protected boolean findNewParamsPlace(PsiExpression[] expressions, PsiMethod targetMethod, PsiSubstitutor substitutor, java.lang.StringBuilder buf, java.util.HashSet<? super ParameterInfoImpl> newParams, PsiParameter[] parameters, java.util.List<? super ParameterInfoImpl> result)
findNewParamsPlace
in class ChangeMethodSignatureFromUsageFix