public class FieldReturnValue extends java.lang.Object implements ReturnValue
Constructor and Description |
---|
FieldReturnValue(PsiField psiField) |
Modifier and Type | Method and Description |
---|---|
PsiStatement |
createReplacement(PsiMethod extractedMethod,
PsiMethodCallExpression methodCallExpression,
PsiType returnType) |
PsiField |
getField() |
boolean |
isEquivalent(ReturnValue other) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
areEquivalent
public FieldReturnValue(PsiField psiField)
public boolean isEquivalent(ReturnValue other)
isEquivalent
in interface ReturnValue
public PsiField getField()
public PsiStatement createReplacement(PsiMethod extractedMethod, PsiMethodCallExpression methodCallExpression, PsiType returnType) throws IncorrectOperationException
createReplacement
in interface ReturnValue
IncorrectOperationException