void (@NotNull final PsiEnumConstant enumConstant, @NotNull final PsiExpressionList list) { final PsiClass aClass = enumConstant.getContainingClass(); if (aClass != null) { LOG.assertTrue(aClass.isEnum()); getExpectedTypesForConstructorCall(aClass, list, PsiSubstitutor.EMPTY); } }