Home
last modified time | relevance | path

Searched refs:bindingKey (Results 1 – 20 of 20) sorted by relevance

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DResolvedBindings.java41 abstract BindingKey bindingKey(); in bindingKey() method in ResolvedBindings
70 switch (bindingKey().kind()) { in bindings()
78 throw new AssertionError(bindingKey()); in bindings()
86 switch (bindingKey().kind()) { in ownedBindings()
94 throw new AssertionError(bindingKey()); in ownedBindings()
105 checkState(bindingKey().kind().equals(BindingKey.Kind.CONTRIBUTION)); in contributionBindings()
116 checkState(bindingKey().kind().equals(BindingKey.Kind.CONTRIBUTION)); in ownedContributionBindings()
127 checkState(bindingKey().kind().equals(BindingKey.Kind.MEMBERS_INJECTION)); in membersInjectionBinding()
142 checkState(bindingKey().kind().equals(BindingKey.Kind.MEMBERS_INJECTION)); in ownedMembersInjectionBinding()
150 BindingKey bindingKey, in forContributionBindings() argument
[all …]
DFrameworkField.java47 Class<?> frameworkClass, BindingKey bindingKey, String name) { in createWithTypeFromKey() argument
51 TypeNames.forTypeMirror(bindingKey.key().type())); in createWithTypeFromKey()
52 return new AutoValue_FrameworkField(frameworkClass, frameworkType, bindingKey, in createWithTypeFromKey()
57 Class<?> frameworkClass, BindingKey bindingKey, String name) { in createForMapBindingContribution() argument
59 MoreTypes.asDeclared(bindingKey.key().type()).getTypeArguments().get(1); in createForMapBindingContribution()
62 bindingKey, in createForMapBindingContribution()
72 contributionBinding.bindingKey(), in createForSyntheticContributionBinding()
81 contributionBinding.bindingKey(), in createForSyntheticContributionBinding()
91 BindingKey bindingKey = resolvedBindings.bindingKey(); in createForResolvedBindings() local
92 switch (bindingKey.kind()) { in createForResolvedBindings()
[all …]
DBindingGraph.java128 return (input.bindingKey().kind().equals(CONTRIBUTION)) in componentRequirements()
308 BindingKey bindingKey = request.bindingKey();
309 switch (bindingKey.kind()) {
313 getExplicitBindings(bindingKey.key());
317 Optional<Key> mapProviderKey = keyFactory.implicitMapProviderKeyFrom(bindingKey.key());
324 Optional<Key> mapProducerKey = keyFactory.implicitMapProducerKeyFrom(bindingKey.key());
333 keyFactory.implicitSetKeyFromProduced(bindingKey.key());
349 bindingKey, componentDescriptor, bindings.build());
355 bindingKey,
363 bindingKey,
[all …]
DAbstractComponentWriter.java233 protected InitializationState getInitializationState(BindingKey bindingKey) { in getInitializationState() argument
234 return initializationStates.containsKey(bindingKey) in getInitializationState()
235 ? initializationStates.get(bindingKey) in getInitializationState()
239 private void setInitializationState(BindingKey bindingKey, InitializationState state) { in setInitializationState() argument
240 initializationStates.put(bindingKey, state); in setInitializationState()
462 BindingKey bindingKey = resolvedBindings.bindingKey(); in addField() local
472 memberSelectSnippets.put(bindingKey, staticMemberSelect.get()); in addField()
479 if (bindingKey.kind().equals(BindingKey.Kind.CONTRIBUTION)) { in addField()
517 bindingKey, in addField()
543 switch (resolvedBindings.bindingKey().kind()) { in staticMemberSelect()
[all …]
DSourceFiles.java87 BindingKey resolved = dependency.bindingKey(); in indexDependenciesByUnresolvedKey()
112 dependenciesByKeyBuilder.put(dependency.bindingKey(), dependency); in indexDependenciesByKey()
139 BindingKey bindingKey = entry.getKey(); in generateBindingFieldsForDependencies() local
150 bindingFields.put(bindingKey, in generateBindingFieldsForDependencies()
151 FrameworkField.createWithTypeFromKey(frameworkClass, bindingKey, name)); in generateBindingFieldsForDependencies()
162 bindingFields.put(bindingKey, FrameworkField.createWithTypeFromKey( in generateBindingFieldsForDependencies()
163 frameworkClass, bindingKey, compositeNameBuilder.toString())); in generateBindingFieldsForDependencies()
DProducerFactoryGenerator.java116 fields.get(binding.monitorRequest().get().bindingKey()).name(), in write()
174 String name = fields.get(dependency.bindingKey()).name(); in write()
296 "%s", fields.get(dependency.bindingKey()).name()), dependency.kind())); in parameterSnippets()
315 return Snippet.format("%s", fields.get(asyncDependency.bindingKey()).name() + "Future"); in futureSnippet()
340 "%s", fields.get(dependency.bindingKey()).name()), dependency.kind())); in parameterSnippets()
370 public Snippet apply(BindingKey bindingKey) { in futureSnippet()
371 return Snippet.format("%s", fields.get(bindingKey).name() + "Future"); in futureSnippet()
436 Snippet.format("%s", fields.get(dependency.bindingKey()).name()), dependency.kind()));
DMembersInjectorGenerator.java164 BindingKey bindingKey = fieldEntry.getKey();
170 !VISIBLE_TO_MEMBERS_INJECTOR.visit(bindingKey.key().type(), binding);
197 dependencyFieldsBuilder.put(bindingKey, field);
294 Snippet.format("%s", dependencyFields.get(dependency.bindingKey()).name());
329 FieldWriter field = dependencyFields.get(dependency.bindingKey());
DBinding.java127 BindingKey bindingKey() { in bindingKey() method in Binding
169 protected static Optional<String> findBindingPackage(Key bindingKey) { in findBindingPackage() argument
170 Set<String> packages = nonPublicPackageUse(bindingKey.type()); in findBindingPackage()
DSubcomponentWriter.java75 protected InitializationState getInitializationState(BindingKey bindingKey) { in getInitializationState() argument
76 InitializationState initializationState = super.getInitializationState(bindingKey); in getInitializationState()
78 ? parent.getInitializationState(bindingKey) in getInitializationState()
DBindingGraphValidator.java247 BindingKey requestKey = request.bindingKey(); in traverseRequest()
285 switch (resolvedBinding.bindingKey().kind()) { in validateResolvedBinding()
720 if (bindings.bindingKey().kind().equals(BindingKey.Kind.CONTRIBUTION)) { in validateComponentScope()
788 BindingKey bindingKey = path.peek().request().bindingKey(); in reportMissingBinding() local
816 for (String suggestion : MissingBindingSuggestions.forKey(topLevelGraph, bindingKey)) { in reportMissingBinding()
1144 BindingKey bindingKey = request.bindingKey();
1145 ResolvedBindings resolvedBindings = graph.resolvedBindings().get(bindingKey);
1149 ? ResolvedBindings.noBindings(bindingKey, graph.componentDescriptor())
DDependencyRequest.java67 return request.bindingKey();
94 BindingKey bindingKey() { in bindingKey() method in DependencyRequest
DFactoryGenerator.java227 Snippet.format(fields.get(dependency.bindingKey()).name()), dependency.kind())); in write()
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DMultibinderTest.java905 Key<?> bindingKey = entry.getKey(); in testKeyHashCodesFixedAtInjectionTime() local
907 if (bindingKey.getAnnotation() != null) { in testKeyHashCodesFixedAtInjectionTime()
908 clonedKey = Key.get(bindingKey.getTypeLiteral(), bindingKey.getAnnotation()); in testKeyHashCodesFixedAtInjectionTime()
909 } else if (bindingKey.getAnnotationType() != null) { in testKeyHashCodesFixedAtInjectionTime()
910 clonedKey = Key.get(bindingKey.getTypeLiteral(), bindingKey.getAnnotationType()); in testKeyHashCodesFixedAtInjectionTime()
912 clonedKey = Key.get(bindingKey.getTypeLiteral()); in testKeyHashCodesFixedAtInjectionTime()
914 assertEquals(bindingKey, clonedKey); in testKeyHashCodesFixedAtInjectionTime()
915 assertEquals("Incorrect hashcode for " + bindingKey + " -> " + entry.getValue(), in testKeyHashCodesFixedAtInjectionTime()
916 bindingKey.hashCode(), clonedKey.hashCode()); in testKeyHashCodesFixedAtInjectionTime()
DOptionalBinderTest.java1116 Key<?> bindingKey = entry.getKey(); in testKeyHashCodesFixedAtInjectionTime() local
1118 if (bindingKey.getAnnotation() != null) { in testKeyHashCodesFixedAtInjectionTime()
1119 clonedKey = Key.get(bindingKey.getTypeLiteral(), bindingKey.getAnnotation()); in testKeyHashCodesFixedAtInjectionTime()
1120 } else if (bindingKey.getAnnotationType() != null) { in testKeyHashCodesFixedAtInjectionTime()
1121 clonedKey = Key.get(bindingKey.getTypeLiteral(), bindingKey.getAnnotationType()); in testKeyHashCodesFixedAtInjectionTime()
1123 clonedKey = Key.get(bindingKey.getTypeLiteral()); in testKeyHashCodesFixedAtInjectionTime()
1125 assertEquals(bindingKey, clonedKey); in testKeyHashCodesFixedAtInjectionTime()
1126 assertEquals("Incorrect hashcode for " + bindingKey + " -> " + entry.getValue(), in testKeyHashCodesFixedAtInjectionTime()
1127 bindingKey.hashCode(), clonedKey.hashCode()); in testKeyHashCodesFixedAtInjectionTime()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.jdt.apt.core_3.3.401.R36_v20100727-0110.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.ui.workbench_3.6.1.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.jdt.core_3.11.0.v20150602-1242.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
/external/guice/extensions/struts2/lib/
Dcore-3.1.1.jarMETA-INF/ org/ org/eclipse/ org/eclipse/jdt/ org/eclipse ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...