boolean (PsiType expressionType, PsiType convertedType) { return PsiTypes.charType().equals(expressionType) && !PsiTypes.floatType().equals(convertedType) && !PsiTypes.doubleType() .equals(convertedType) || PsiTypes.charType().equals(convertedType) && !PsiTypes.floatType().equals(expressionType) && !PsiTypes.doubleType() .equals(expressionType); }