MCPcopy Index your code
hub / github.com/graphql-java/graphql-java / asMapGet

Method asMapGet

src/test/groovy/example/http/HttpMain.java:268–272  ·  view source on GitHub ↗
(Object mapObj, Object mapKey)

Source from the content-addressed store, hash-verified

266 // with less boilerplate and casts
267 //
268 @SuppressWarnings("TypeParameterUnusedInFormals")
269 private <T> T asMapGet(Object mapObj, Object mapKey) {
270 Map<Object, ?> map = (Map<Object, ?>) mapObj;
271 return (T) map.get(mapKey);
272 }
273}

Callers 1

buildStarWarsSchemaMethod · 0.95

Calls 1

getMethod · 0.65

Tested by

no test coverage detected