MCPcopy Index your code
hub / github.com/google/guice / get

Method get

core/src/com/google/inject/Key.java:218–220  ·  view source on GitHub ↗

Gets a key for an injection type and an annotation strategy.

(Class<T> type, AnnotationStrategy annotationStrategy)

Source from the content-addressed store, hash-verified

216
217 /** Gets a key for an injection type and an annotation strategy. */
218 static <T> Key<T> get(Class<T> type, AnnotationStrategy annotationStrategy) {
219 return new Key<T>(type, annotationStrategy);
220 }
221
222 /** Gets a key for an injection type. */
223 public static <T> Key<T> get(Class<T> type) {

Calls 1

strategyForMethod · 0.95

Tested by 15

validateDependenciesMethod · 0.76
startMethod · 0.76
testNormalBindingMethod · 0.76
testConstantBindingMethod · 0.76
configureMethod · 0.76
testLinkedBindingMethod · 0.76
assertFailureMethod · 0.76
suiteMethod · 0.76