All Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
addExtractedParameter(ExtractedParameter parameter) |
PsiType |
getChangedReturnType(PsiMethod psiMethod) |
java.util.List<ExtractedParameter> |
getExtractedParameters() |
PsiFile |
getFile() |
java.util.List<Pair.NonNull<PsiExpression,PsiExpression>> |
getFoldedExpressionMappings(DuplicatesFinder.Parameter parameter) |
PsiExpression |
getInstanceExpression() |
PsiElement[] |
getMatchElements() |
PsiElement |
getMatchEnd() |
PsiElement |
getMatchStart() |
ReturnValue |
getOutputVariableValue(PsiVariable outputParameter)
Returns either local variable declaration or expression
|
java.util.List<PsiElement> |
getParameterValues(PsiVariable parameter) |
ReturnValue |
getReturnValue() |
boolean |
putExtractedParameter(ExtractableExpressionPart patternPart,
ExtractableExpressionPart candidatePart) |
void |
putFoldedExpressionMapping(DuplicatesFinder.Parameter parameter,
PsiExpression pattern,
PsiExpression candidate) |
boolean |
putParameter(DuplicatesFinder.Parameter parameter,
PsiElement value) |
PsiElement |
replace(PsiMethod extractedMethod,
PsiMethodCallExpression methodCallExpression,
PsiVariable outputVariable) |
PsiElement |
replace(PsiMethod extractedMethod,
PsiMethodCallExpression methodCallExpression,
PsiVariable outputVariable,
PsiType returnType) |
PsiElement |
replaceByStatement(PsiMethod extractedMethod,
PsiMethodCallExpression methodCallExpression,
PsiVariable outputVariable,
PsiType returnType) |
PsiElement |
replaceWithExpression(PsiExpression psiExpression) |