List<String> (PySignature signature) { List<String> res = new ArrayList<>(); for (PySignature.NamedParameter param : signature.getArgs()) { res.add(param.getName() + ":" + param.getTypeQualifiedName()); } return res; }