return false;
}
final PsiType thenType = thenReturn.getType();
if(thenType == null){
return false;
<BUG>}
final PsiExpression elseReturn =
((PsiReturnStatement) nextStatement).getReturnValue();
</BUG>
if(elseReturn == null){

return false;
}
final PsiJavaToken token = (PsiJavaToken) element;
final PsiElement parent = token.getParent();
if(!(parent instanceof PsiIfStatement)){
return false;
