MCPcopy Index your code
hub / github.com/OpenFeign/feign / wrap

Method wrap

kotlin/src/main/java/feign/kotlin/CoroutineFeign.java:207–213  ·  view source on GitHub ↗
(Class<T> type, T instance)

Source from the content-addressed store, hash-verified

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}

Callers 3

newInstanceMethod · 0.95
responseBodyMethod · 0.80
decodeOrDefaultMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected