(ExecutionContext context, Object self, Object... arguments)
| 42 | } |
| 43 | |
| 44 | @Override |
| 45 | public Object call(ExecutionContext context, Object self, Object... arguments) { |
| 46 | try { |
| 47 | List<Object> newArgs = buildArguments(context, self, arguments); |
| 48 | return this.handle.invokeWithArguments(newArgs.toArray()); |
| 49 | } catch (Throwable e) { |
| 50 | throw new DynJSException(e); |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | private List<Object> buildArguments(ExecutionContext context, Object self, Object... args) { |
| 55 | List<Object> newArgs = new ArrayList<Object>(); |
nothing calls this directly
no test coverage detected