Searched refs:bindingKey (Results 1 – 6 of 6) sorted by relevance
/external/google-java-format/core/src/test/resources/com/google/googlejavaformat/java/testdata/ |
D | B22488373.input | 3 if (enumBindingKeys.contains(bindingKey) 4 && (bindingKey 9 && !((DeclaredType) bindingKey.key().type()).getTypeArguments().isEmpty())) {}
|
D | B22488373.output | 3 if (enumBindingKeys.contains(bindingKey) 4 && (bindingKey.key().type().getKind().equals(DECLARED) 5 && !((DeclaredType) bindingKey.key().type()).getTypeArguments().isEmpty())) {}
|
/external/guice/core/test/com/google/inject/internal/ |
D | MultibinderTest.java | 1139 Key<?> bindingKey = entry.getKey(); in testKeyHashCodesFixedAtInjectionTime() local 1141 if (bindingKey.getAnnotation() != null) { in testKeyHashCodesFixedAtInjectionTime() 1142 clonedKey = Key.get(bindingKey.getTypeLiteral(), bindingKey.getAnnotation()); in testKeyHashCodesFixedAtInjectionTime() 1143 } else if (bindingKey.getAnnotationType() != null) { in testKeyHashCodesFixedAtInjectionTime() 1144 clonedKey = Key.get(bindingKey.getTypeLiteral(), bindingKey.getAnnotationType()); in testKeyHashCodesFixedAtInjectionTime() 1146 clonedKey = Key.get(bindingKey.getTypeLiteral()); in testKeyHashCodesFixedAtInjectionTime() 1148 assertEquals(bindingKey, clonedKey); in testKeyHashCodesFixedAtInjectionTime() 1150 "Incorrect hashcode for " + bindingKey + " -> " + entry.getValue(), in testKeyHashCodesFixedAtInjectionTime() 1151 bindingKey.hashCode(), in testKeyHashCodesFixedAtInjectionTime()
|
D | OptionalBinderTest.java | 1336 Key<?> bindingKey = entry.getKey(); in testKeyHashCodesFixedAtInjectionTime() local 1338 if (bindingKey.getAnnotation() != null) { in testKeyHashCodesFixedAtInjectionTime() 1339 clonedKey = Key.get(bindingKey.getTypeLiteral(), bindingKey.getAnnotation()); in testKeyHashCodesFixedAtInjectionTime() 1340 } else if (bindingKey.getAnnotationType() != null) { in testKeyHashCodesFixedAtInjectionTime() 1341 clonedKey = Key.get(bindingKey.getTypeLiteral(), bindingKey.getAnnotationType()); in testKeyHashCodesFixedAtInjectionTime() 1343 clonedKey = Key.get(bindingKey.getTypeLiteral()); in testKeyHashCodesFixedAtInjectionTime() 1345 assertEquals(bindingKey, clonedKey); in testKeyHashCodesFixedAtInjectionTime() 1347 "Incorrect hashcode for " + bindingKey + " -> " + entry.getValue(), in testKeyHashCodesFixedAtInjectionTime() 1348 bindingKey.hashCode(), in testKeyHashCodesFixedAtInjectionTime()
|
/external/guice/core/src/com/google/inject/internal/ |
D | Errors.java | 204 for (Key<?> bindingKey : bindingMap.keySet()) { in missingImplementationWithHint() 205 String have = bindingKey.getTypeLiteral().toString(); in missingImplementationWithHint() 208 Messages.formatSource(fmt, bindingMap.get(bindingKey).getSource()); in missingImplementationWithHint() 209 String match = String.format("%s bound%s", convert(bindingKey), fmt.toString()); in missingImplementationWithHint()
|
/external/dagger2/java/dagger/internal/codegen/binding/ |
D | BindingGraphFactory.java | 674 Key bindingKey = binding.key(); in resolverContainsDelegateDeclarationForBinding() local 677 bindingKey = keyFactory.unwrapMapValueType(bindingKey); in resolverContainsDelegateDeclarationForBinding() 680 return delegateDeclarations.get(bindingKey).stream() in resolverContainsDelegateDeclarationForBinding()
|