/external/dagger2/java/dagger/internal/codegen/binding/ |
D | BindingDeclarationFormatter.java | 59 if (bindingDeclaration.bindingElement().isPresent()) { in canFormat() 60 Element bindingElement = bindingDeclaration.bindingElement().get(); in canFormat() local 61 return bindingElement.getKind().equals(PARAMETER) in canFormat() 62 || FORMATTABLE_ELEMENT_TYPE_KINDS.contains(bindingElement.asType().getKind()); in canFormat() 74 if (bindingDeclaration.bindingElement().isPresent()) { in format() 75 Element bindingElement = bindingDeclaration.bindingElement().get(); in format() local 76 if (bindingElement.getKind().equals(PARAMETER)) { in format() 77 return elementToString(bindingElement); in format() 80 switch (bindingElement.asType().getKind()) { in format() 83 MoreElements.asExecutable(bindingElement), in format() [all …]
|
D | ContributionBinding.java | 62 return bindingElement() in contributedPrimitiveType() 63 .filter(bindingElement -> bindingElement instanceof ExecutableElement) in contributedPrimitiveType() 64 .map(bindingElement -> MoreElements.asExecutable(bindingElement).getReturnType()) in contributedPrimitiveType() 173 public abstract B bindingElement(Element bindingElement); in bindingElement() argument 175 abstract B bindingElement(Optional<Element> bindingElement); in bindingElement() argument 178 return bindingElement(Optional.empty()); in clearBindingElement()
|
D | BindingDeclaration.java | 53 (BindingDeclaration declaration) -> declaration.bindingElement(), 71 public abstract Optional<Element> bindingElement(); in bindingElement() method in BindingDeclaration 78 return bindingElement().map(DaggerElements::closestEnclosingTypeElement); in bindingTypeElement()
|
D | BindingFactory.java | 159 .bindingElement(constructorElement) in injectionBinding() 200 .bindingElement(factory) in assistedFactoryBinding() 274 .bindingElement(method) in setMethodBindingProperties() 325 .bindingElement(componentDefinitionType) in componentBinding() 339 .bindingElement(dependency.typeElement()) in componentDependencyBinding() 375 .bindingElement(dependencyMethod) in componentDependencyMethodBinding() 391 .bindingElement(element) in boundInstanceBinding() 415 .bindingElement(subcomponentCreatorMethod) in subcomponentCreatorBinding() 453 .scope(uniqueScopeOf(delegateDeclaration.bindingElement().get())) in delegateBinding() 469 ProvisionBinding.builder().scope(uniqueScopeOf(delegateDeclaration.bindingElement().get())), in unresolvedDelegateBinding() [all …]
|
D | MapKeys.java | 64 static Optional<AnnotationMirror> getMapKey(Element bindingElement) { in getMapKey() argument 65 ImmutableSet<? extends AnnotationMirror> mapKeys = getMapKeys(bindingElement); in getMapKey() 72 public static ImmutableSet<? extends AnnotationMirror> getMapKeys(Element bindingElement) { in getMapKeys() argument 73 return getAnnotatedAnnotations(bindingElement, MapKey.class); in getMapKeys() 199 MoreElements.asExecutable(binding.bindingElement().get()), "MapKey"); in mapKeyProxyClassName()
|
D | BindingNode.java | 100 public Optional<Element> bindingElement() { in bindingElement() method in BindingNode 101 return delegate().bindingElement(); in bindingElement()
|
D | FrameworkField.java | 88 if (binding.bindingElement().isPresent()) { in frameworkFieldName() 89 String name = BINDING_ELEMENT_NAME.visit(binding.bindingElement().get(), binding); in frameworkFieldName()
|
D | Binding.java | 56 if (!bindingElement().isPresent() || !contributingModule().isPresent()) { in requiresModuleInstance() 59 Set<Modifier> modifiers = bindingElement().get().getModifiers(); in requiresModuleInstance()
|
D | AssistedInjectionAnnotations.java | 97 ExecutableElement constructor = asExecutable(binding.bindingElement().get()); in assistedParameterSpecs() 130 AssistedFactoryMetadata.create(binding.bindingElement().get().asType(), elements, types); in assistedFactoryParameterSpecs() 151 ? assistedParameters(asExecutable(binding.bindingElement().get())) in assistedParameters()
|
D | MembersInjectionBinding.java | 40 public final Optional<Element> bindingElement() { in bindingElement() method in MembersInjectionBinding
|
D | SourceFiles.java | 148 MoreElements.asExecutable(binding.bindingElement().get()), "Factory"); in generatedClassNameForBinding() 151 return siblingClassName(MoreElements.asType(binding.bindingElement().get()), "_Impl"); in generatedClassNameForBinding()
|
D | KeyVariableNamer.java | 93 return key.multibindingContributionIdentifier().get().bindingElement(); in name()
|
/external/dagger2/java/dagger/model/ |
D | Key.java | 221 private final String bindingElement; 238 public MultibindingContributionIdentifier(String bindingElement, String module) { 240 this.bindingElement = bindingElement; 257 public String bindingElement() { 258 return bindingElement; 269 return String.format("%s#%s", module, bindingElement); 276 return module.equals(other.module) && bindingElement.equals(other.bindingElement); 283 return Objects.hash(module, bindingElement);
|
D | Binding.java | 59 Optional<Element> bindingElement(); in bindingElement() method
|
/external/dagger2/java/dagger/internal/codegen/writing/ |
D | GwtCompatibility.java | 35 checkArgument(binding.bindingElement().isPresent()); in gwtIncompatibleAnnotation() 36 Element element = binding.bindingElement().get(); in gwtIncompatibleAnnotation()
|
D | ComponentProvisionBindingExpression.java | 55 binding.bindingElement().get().getSimpleName()); in getDependencyExpression() 64 .getDependencyThatDefinesMethod(binding.bindingElement().get()); in componentRequirement()
|
D | DependencyMethodProducerCreationExpression.java | 64 graph.componentDescriptor().getDependencyThatDefinesMethod(binding.bindingElement().get()); in creationExpression() 96 binding.bindingElement().get().getSimpleName()) in creationExpression()
|
D | DependencyMethodProviderCreationExpression.java | 119 + binding.bindingElement().get().getSimpleName(); in factoryClassName() 128 return binding.bindingElement().get(); in provisionMethod()
|
D | SimpleMethodBindingExpression.java | 77 checkArgument(provisionBinding.bindingElement().isPresent()); in SimpleMethodBindingExpression() 100 ExecutableElement method = asExecutable(provisionBinding.bindingElement().get()); in invokeMethod()
|
D | ProducerFactoryGenerator.java | 114 return binding.bindingElement().get(); in originatingElement() 121 checkArgument(binding.bindingElement().isPresent()); in write() 303 binding.bindingElement().get().getSimpleName())) in producerTokenConstruction() 531 binding.bindingElement().get().getSimpleName(), in getInvocationCodeBlock()
|
D | InaccessibleMapKeyProxyGenerator.java | 63 return binding.bindingElement().get(); in originatingElement()
|
/external/dagger2/java/dagger/internal/codegen/kythe/ |
D | DaggerKythePlugin.java | 111 if (binding.bindingElement().isPresent()) { in addEdgesForDependencyRequest() 132 Element bindingElement = bindingDeclaration.bindingElement().get(); in addDependencyEdge() local 134 Optional<VName> bindingElementNode = jvmNode(bindingElement, "binding element"); in addDependencyEdge()
|
/external/dagger2/java/dagger/android/processor/ |
D | DuplicateAndroidInjectorsChecker.java | 132 .bindingElement() in mapKey() 133 .map(bindingElement -> getAnnotatedAnnotations(bindingElement, MapKey.class)) in mapKey()
|
/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/ |
D | IncompatiblyScopedBindingsValidator.java | 128 MoreElements.asExecutable(binding.bindingElement().get()))); in report() 136 closestEnclosingTypeElement(binding.bindingElement().get()).getQualifiedName()); in report()
|
/external/dagger2/java/dagger/internal/codegen/ |
D | AssistedFactoryProcessingStep.java | 235 return binding.bindingElement().get(); in originatingElement() 272 TypeElement factory = asType(binding.bindingElement().get()); in write()
|