| Modifier and Type | Field and Description |
|---|---|
| protected PyObject | |
| protected PyType | |
| protected PyType | |
| public static final PyType |
| Modifier and Type | Method and Description |
|---|---|
| public PyObject | __findattr_ex__(String name)
Overrides org. Attribute lookup hook. |
| public PyObject | __get__(PyObject
- the instance accessing this descriptor. Can be null if this is being accessed by
a type. obj, PyObject - the type accessing this descriptor. Will be null if obj exists as obj is of the
type accessing the descriptor. type)Overrides org. Get descriptor for this PyObject. |
| public PyObject | |
| public PyType | |
| public PyType | |
| public boolean | refersDirectlyTo(PyObject ob)
Implements org. Optional operation. |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| pack-priv final PyObject | |
| public void | |
| private PyType | Returns: a PyType superTypethe PyType superType associated with the super type, PyObject a the PyObject obj associated with the super obj)Check that a super() call makes sense. |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| public int | traverse(Visitproc visit, Object arg)
Implements org. Traverses all directly contained |
| obj | back to summary |
|---|---|
protected PyObject obj
| |
| objType | back to summary |
|---|---|
protected PyType objType
| |
| superType | back to summary |
|---|---|
protected PyType superType
| |
| TYPE | back to summary |
|---|---|
| public static final PyType TYPE | |
| PySuper | back to summary |
|---|---|
| public PySuper() | |
| PySuper | back to summary |
|---|---|
| public PySuper(PyType subType) | |
| __findattr_ex__ | back to summary |
|---|---|
| public PyObject __findattr_ex__(String name) Overrides org. Doc from org. Attribute lookup hook. If the attribute is not found, null may be returned or a
Py.AttributeError can be thrown, whatever is more correct, efficient and/or convenient for
the implementing class.
Client code should use
| |
| __get__ | back to summary |
|---|---|
| public PyObject __get__(PyObject obj, PyObject type) Overrides org. Doc from org. Get descriptor for this PyObject.
- the object defined for this descriptor for the given obj and type. | |
| getObj | back to summary |
|---|---|
| public PyObject getObj() | |
| getObjType | back to summary |
|---|---|
| public PyType getObjType() | |
| getSuperType | back to summary |
|---|---|
| public PyType getSuperType() | |
| refersDirectlyTo | back to summary |
|---|---|
| public boolean refersDirectlyTo(PyObject ob) Implements org. Doc from org. Optional operation.
Should only be implemented if it is more efficient
than calling
| |
| super___findattr_ex__ | back to summary |
|---|---|
| pack-priv final PyObject super___findattr_ex__(String name) | |
| super___get__ | back to summary |
|---|---|
pack-priv final PyObject super___get__(PyObject obj, PyObject type)
| |
| super___getattribute__ | back to summary |
|---|---|
pack-priv final PyObject super___getattribute__(PyObject name)
| |
| super___init__ | back to summary |
|---|---|
public void super___init__(PyObject[] args, String[] keywords)
| |
| supercheck | back to summary |
|---|---|
| private PyType supercheck(PyType type, PyObject obj) Check that a super() call makes sense. Return a type object. obj can be a new-style class, or an instance of one: - If it is a class, it must be a subclass of 'type'. This case is used for class methods; the return value is obj. - If it is an instance, it must be an instance of 'type'. This is the normal case; the return value is obj.__class__. But... when obj is an instance, we want to allow for the case where objType is not a subclass of type, but obj.__class__ is! This will allow using super() with a proxy for obj.
a PyType superType | |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| traverse | back to summary |
|---|---|
| public int traverse(Visitproc visit, Object arg) Implements org. Doc from org. Traverses all directly contained
| |