question: 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 ) ; } } }
target:  Checks if any of conditions is boolean