Java Function Pointers Python Interpreter