return text.substring(0, length - 1);
}
return null;   //can't happen
}
private static boolean isConvertible(PsiExpression expression, PsiType expectedType) {
<BUG>if (!(expression instanceof PsiLiteralExpression)) {
</BUG>
return false;
}
final PsiType expressionType = expression.getType();

return text.substring(0, length - 1);
}
return null;   //can't happen
}
private static boolean isConvertible(PsiExpression expression, PsiType expectedType) {
if (!(expression instanceof PsiLiteralExpression) && !isNegatedLiteral(expression)) {
return false;
}
final PsiType expressionType = expression.getType();
