@Override public String toString() { // printArgs(); return "<java constructor " + __name__ + " " + Py.idstr(this) + ">"; } }
@Override public String toString() { return "<java function " + __name__ + " " + Py.idstr(this) + ">"; }
public String toString() { return "<java package "+__name__+" "+Py.idstr(this)+">"; }
/** * Method toString * * @return String */ @Override public String toString() { return String.format("<lookup object at %s>", Py.idstr(this)); } }
@Override public String toString() { return String.format("<%s HASH object @ %s>", name, Py.idstr(this)); } }
@Override public String toString() { return "<beanEventProperty " + __name__ + " for event " + eventClass.toString() + " " + Py.idstr(this) + ">"; }
/** * String representation of the object. * * @return a string representation of the object. */ @Override public String toString() { return String.format("<PyCursor object at %s>", Py.idstr(this)); }
public String toString() { return "<beanEvent " + __name__ + " for event " + eventClass.toString() + " " + Py.idstr(this) + ">"; } }
@Override public String toString() { String typeName = "unknown"; if (myType != null) { typeName = myType.getName(); } return "<beanProperty "+__name__+" type: "+typeName+" "+ Py.idstr(this)+">"; } }
@Override public String toString() { return String.format("<reflected field %s at %s>", field, Py.idstr(this)); } }
public String toString() { return String.format("<code object %.100s at %s, file \"%.300s\", line %d>", co_name, Py.idstr(this), co_filename, co_firstlineno); }
@Override public String toString() { return String.format("<function %s at %s>", __name__, Py.idstr(this)); }
/** * Produces a string representation of the object. * * @return string representation of the object. */ @Override public String toString() { try { return String.format("<PyConnection object at %s user='%s', url='%s'>", Py.idstr(this), connection.getMetaData().getUserName(), connection.getMetaData().getURL()); } catch (SQLException e) { return String.format("<PyConnection object at %s", Py.idstr(this)); } }
@Override public String toString() { return String.format("<PyStatement object at %s for [%s]", Py.idstr(this), __unicode__()); }
public String toString() { PyObject obj = get(); if (obj == null) { return String.format("<weakref at %s; dead>", Py.idstr(this)); } PyObject nameObj = obj.__findattr__("__name__"); if (nameObj != null) { return String.format("<weakref at %s; to '%.50s' at %s (%s)>", Py.idstr(this), obj.getType().fastGetName(), Py.idstr(obj), nameObj); } return String.format("<weakref at %s; to '%.50s' at %s>", Py.idstr(this), obj.getType().fastGetName(), Py.idstr(obj)); } }
@Override public String toString() { PyObject mod = __dict__.__finditem__("__module__"); String modStr = (mod == null || !Py.isInstance(mod, PyString.TYPE)) ? "?" : mod.toString(); return String.format("<class %s.%s at %s>", modStr, __name__, Py.idstr(this)); }
/** * If a class doesn't define a __repr__ method of its own, the return * value from this method is used. */ protected PyString makeDefaultRepr() { PyObject mod = instclass.__dict__.__finditem__("__module__"); String modStr = (mod == null || !Py.isInstance(mod, PyString.TYPE)) ? "?" : mod.toString(); return new PyString(String.format("<%s.%s instance at %s>", modStr, instclass.__name__, Py.idstr(this))); }
@Override public String toString() { PyObject self = getSelf(); if (self == null) { return String.format("<built-in function %s>", info.getName()); } else { return String.format("<built-in method %s of %s object at %s>", info.getName(), self.getType().fastGetName(), Py.idstr(self)); } }