boolean (PsiElement element) { if (!ExpressionUtils.isStringConcatenation(element)) { return false; } if (!excludeWhereConstantIsRequired) { return true; } return !AnnotationUtil.isInsideAnnotation(element) && PsiTreeUtil.getParentOfType(element, true, PsiAnnotationMethod.class, PsiCaseLabelElementList.class) == null; }