ArrayIndexExceptionProblem (PsiExpression expression) { if (expression instanceof PsiArrayAccessExpression) { return new ArrayIndexExceptionProblem(((PsiArrayAccessExpression)expression).getIndexExpression()); } return null; }