public function __construct() { $this->__client = __javaproxy_Client_getClient(); $args = func_get_args(); $name = array_shift($args); if (is_array($name)) { $args = $name; $name = array_shift($args); } if (count($args) == 0) { parent::__construct($name); } else { parent::__construct($args[0]); } $delegate = $this->__delegate = $this->__client->createObject($name, $args); $this->__java = $delegate->__java; $this->__signature = $delegate->__signature; $this->__hasDeclaredExceptions = 'T'; }