@Override
  public boolean isApplicable(PsiExpression expr) {
    PsiType type = expr.getType();
    return type != null && (PsiTypes.booleanType().equals(type) || PsiTypes.booleanType().equals(PsiPrimitiveType.getUnboxedType(type)));
  }
@Override
  public boolean isApplicable(PsiExpression expr)