public class VariableReturnValue extends java.lang.Object implements ReturnValue
| Constructor and Description |
|---|
VariableReturnValue(PsiVariable variable) |
| Modifier and Type | Method and Description |
|---|---|
PsiStatement |
createReplacement(PsiMethod extractedMethod,
PsiMethodCallExpression methodCallExpression,
PsiType returnType) |
PsiVariable |
getVariable() |
boolean |
isEquivalent(ReturnValue other) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitareEquivalentpublic VariableReturnValue(PsiVariable variable)
public boolean isEquivalent(ReturnValue other)
isEquivalent in interface ReturnValuepublic PsiVariable getVariable()
public PsiStatement createReplacement(PsiMethod extractedMethod, PsiMethodCallExpression methodCallExpression, PsiType returnType) throws IncorrectOperationException
createReplacement in interface ReturnValueIncorrectOperationException