String (PyFunction function) { String name = function.getName(); if (name == null) { return ""; } PyClass cls = function.getContainingClass(); if (cls != null) { name = cls.getName() + "." + name; } return name; }