boolean (PsiElement element) { if (element instanceof PsiBinaryExpression) { return isBinaryShiftByLiteral((PsiBinaryExpression)element); } if (element instanceof PsiAssignmentExpression) { return isAssignmentShiftByLiteral( (PsiAssignmentExpression)element); } else { return false; } }