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, startInWriteActionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetElementToMakeWritablepublic ChangeMethodSignatureFromUsageReverseOrderFix(PsiMethod targetMethod, PsiExpression [] expressions, PsiSubstitutor substitutor, PsiElement context, boolean changeAllUsages, int minUsagesNumberToShowDialog)
public boolean isAvailable(Project project, Editor editor, PsiFile file)
IntentionActionisAvailable in interface IntentionActionisAvailable in class ChangeMethodSignatureFromUsageFixproject - 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