PySignature (@NotNull PySignature signature) { for (NamedParameter param : signature.getArgs()) { NamedParameter ourParam = getArgForName(param.getName()); if (ourParam != null) { ourParam.addTypes(param.getTypesList()); } else { addArgument(param); } } return this; }