private void inspectConditionsWithBooleans(LinkedList<PsiElement> objBranchConditions){
  for (  PsiElement objExpression : objBranchConditions) {
    if (!(objExpression instanceof ConstantReference)) {
      continue;
    }
    if (ExpressionSemanticUtil.isBoolean((ConstantReference)objExpression)) {
      holder.registerProblem(objExpression,strProblemDescriptionBooleans,ProblemHighlightType.GENERIC_ERROR_OR_WARNING);
    }
  }
}

private void inspectConditionsWithBooleans ( LinkedList < PsiElement > objBranchConditions ) { for ( PsiElement objExpression : objBranchConditions ) { if ( ! ( objExpression instanceof ConstantReference ) ) { continue ; } if ( ExpressionSemanticUtil . isBoolean ( ( ConstantReference ) objExpression ) ) { holder . registerProblem ( objExpression , strProblemDescriptionBooleans , ProblemHighlightType . GENERIC_ERROR_OR_WARNING ) ; } } }
checks if any of conditions is boolean
