void (@NotNull PsiAnonymousClass aClass) { final PsiExpressionList arguments = aClass.getArgumentList(); if (arguments != null) { for (PsiExpression expression : arguments.getExpressions()) { visitExpression(expression); } } elements.add(aClass); }