org.python.core

Class PyReflectedFunction

public class PyReflectedFunction extends PyObject

Field Summary
ReflectedArgs[]argslist
intnargs
PyObject__doc__
String__name__
Constructor Summary
PyReflectedFunction(String name)
PyReflectedFunction(Method method)
Method Summary
voidaddMethod(Method m)
PyReflectedFunctioncopy()
booleanhandles(Method method)
voidprintArgs()
StringtoString()
PyObject_doget(PyObject container)
PyObject_doget(PyObject container, PyObject wherefound)
boolean_doset(PyObject container)
PyObject__call__(PyObject self, PyObject[] args, String[] keywords)
PyObject__call__(PyObject[] args, String[] keywords)

Field Detail

argslist

public ReflectedArgs[] argslist

nargs

public int nargs

__doc__

public PyObject __doc__

__name__

public String __name__

Constructor Detail

PyReflectedFunction

public PyReflectedFunction(String name)

PyReflectedFunction

public PyReflectedFunction(Method method)

Method Detail

addMethod

public void addMethod(Method m)

copy

public PyReflectedFunction copy()

handles

public boolean handles(Method method)

printArgs

public void printArgs()

toString

public String toString()

_doget

public PyObject _doget(PyObject container)

_doget

public PyObject _doget(PyObject container, PyObject wherefound)

_doset

public boolean _doset(PyObject container)

__call__

public PyObject __call__(PyObject self, PyObject[] args, String[] keywords)

__call__

public PyObject __call__(PyObject[] args, String[] keywords)