return false;
}
final PsiType expressionType = expression.getType();
if (expressionType == null) {
return false;
<BUG>}
if (isIntegral(expressionType) && isIntegral(expectedType)) {</BUG>
return true;
}
if (isIntegral(expressionType) && isFloatingPoint(expectedType)) {

return false;
}
final PsiType expressionType = expression.getType();
if (expressionType == null) {
return false;
}
if(hasLowerPrecision(expectedType,  expressionType))
{
return false;
}
if (isIntegral(expressionType) && isIntegral(expectedType)) {
return true;
}
if (isIntegral(expressionType) && isFloatingPoint(expectedType)) {
