ClassCastExceptionProblem (PsiExpression expression) { if (expression instanceof PsiTypeCastExpression) { return new ClassCastExceptionProblem(((PsiTypeCastExpression)expression).getOperand()); } return null; }