MCPcopy Index your code
hub / github.com/google/dagger / frameworkClass

Method frameworkClass

java/dagger/internal/codegen/RequestKinds.java:164–166  ·  view source on GitHub ↗

A dagger- or javax.inject-defined class for requestKind that that can wrap another type but share the same dagger.model.Key. For example, Provider and Lazy can both be requested if a key exists for String; they all share the same ke

(RequestKind requestKind)

Source from the content-addressed store, hash-verified

162 * historical/implementation reasons has not had an associated framework class.
163 */
164 static Optional<Class<?>> frameworkClass(RequestKind requestKind) {
165 return Optional.ofNullable(FRAMEWORK_CLASSES.get(requestKind));
166 }
167
168 private RequestKinds() {}
169}

Callers 3

requestTypeMethod · 0.95
matchesKindMethod · 0.95
extractKeyTypeMethod · 0.95

Calls 1

getMethod · 0.65

Tested by

no test coverage detected