|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use PyObjectWrapper | |
|---|---|
| cz.cuni.amis.introspection.python | Package for introspection of Python code. |
| Uses of PyObjectWrapper in cz.cuni.amis.introspection.python |
|---|
| Subclasses of PyObjectWrapper in cz.cuni.amis.introspection.python | |
|---|---|
class |
PyDictionaryWrapper
|
class |
PyFloatWrapper
|
class |
PyInstanceWrapper
|
class |
PyIntegerWrapper
|
class |
PyListWrapper
|
class |
PyLongWrapper
|
class |
PyStringWrapper
|
class |
PyTupleWrapper
|
class |
PyUnsupportedWrapper
|
| Methods in cz.cuni.amis.introspection.python that return PyObjectWrapper | |
|---|---|
static PyObjectWrapper |
PyObjectWrappersManager.getWrapper(Class c)
|
PyObjectWrapper |
PyObjectAdapter.getWrapper(Object object)
The problem with Python introspection is, that we can't rely on the information about the wrapper of the object in stored place as it can change between two calls of PyObjectAdapter methods. |
| Methods in cz.cuni.amis.introspection.python with parameters of type PyObjectWrapper | |
|---|---|
static void |
PyObjectWrappersManager.registerWrapper(Class c,
PyObjectWrapper wrapper)
|
void |
PyObjectAdapter.set(PyObjectWrapper wrapper,
Object newValue)
This accepts java class instance which is proper for the object it wrappes - it uses wrapper.getNewValue() for obtaining the PyObject representation of the java object and then it uses place.set() to insert the new value to it's correct place in another python object. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||