void (@NotNull PyParameter par) { myCount++; if (myCount == 1 && myNeedSelf) { myHasSelf = true; return; } PyNamedParameter namedParam = par.getAsNamed(); if (namedParam != null) { if (!namedParam.isKeywordContainer() && !namedParam.isPositionalContainer()) { myRet.add(namedParam.getName()); } else if (namedParam.isKeywordContainer()) { myHasKwArgs = true; kwArgsParam = namedParam; } } }