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