(Class<T> type, T instance)
| 205 | } |
| 206 | |
| 207 | private <T> T wrap(Class<T> type, T instance) { |
| 208 | return type.cast( |
| 209 | Proxy.newProxyInstance( |
| 210 | type.getClassLoader(), |
| 211 | new Class<?>[] {type}, |
| 212 | new CoroutineFeignInvocationHandler<>(instance))); |
| 213 | } |
| 214 | } |
no outgoing calls
no test coverage detected