boolean (PsiType opType, PsiExpression thenExpression) { if (thenExpression != null) { final PsiType thenType = thenExpression.getType(); if (thenType != null && !TypeConversionUtil.isAssignable(opType, thenType)) { return false; } } return true; }