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