/external/dagger2/java/dagger/internal/codegen/binding/ |
D | AssistedInjectionAnnotations.java | 19 import static com.google.auto.common.MoreElements.asExecutable; 22 import static com.google.auto.common.MoreTypes.asExecutable; 97 ExecutableElement constructor = asExecutable(binding.bindingElement().get()); in assistedParameterSpecs() 99 asExecutable(types.asMemberOf(asDeclared(binding.key().type()), constructor)); in assistedParameterSpecs() 132 asExecutable(types.asMemberOf(asDeclared(binding.key().type()), metadata.factoryMethod())); in assistedFactoryParameterSpecs() 151 ? assistedParameters(asExecutable(binding.bindingElement().get())) in assistedParameters() 174 ExecutableType factoryMethodType = asExecutable(types.asMemberOf(factoryType, factoryMethod)); in create() 274 asExecutable(types.asMemberOf(assistedInjectType, assistedInjectConstructor)); in assistedInjectAssistedParameters()
|
D | MethodSignatureFormatter.java | 59 MoreTypes.asExecutable(types.asMemberOf(declaredType, method)), in typedFormatter() 76 ExecutableType executableType = MoreTypes.asExecutable(method.asType()); 78 executableType = MoreTypes.asExecutable(types.asMemberOf(container.get(), method));
|
D | BindingFactory.java | 127 ExecutableType constructorType = MoreTypes.asExecutable(constructorElement.asType()); in injectionBinding() 139 constructorType = MoreTypes.asExecutable(types.asMemberOf(resolved, constructorElement)); in injectionBinding() 196 MoreTypes.asExecutable(types.asMemberOf(factoryType, factoryMethod)); in assistedFactoryBinding() 264 MoreTypes.asExecutable( in setMethodBindingProperties() 388 : getOnlyElement(MoreElements.asExecutable(element).getParameters()); in boundInstanceBinding()
|
D | ComponentCreatorDescriptor.java | 169 ExecutableType resolvedMethodType = MoreTypes.asExecutable(types.asMemberOf(type, method)); in create() 187 MoreTypes.asExecutable(types.asMemberOf(type, factoryMethod)); in create()
|
D | KeyFactory.java | 20 import static com.google.auto.common.MoreTypes.asExecutable; 124 asExecutable(types.asMemberOf(declaredContainer, subcomponentCreatorMethod)); in forSubcomponentCreatorMethod() 160 MoreTypes.asExecutable( in forBindingMethod()
|
D | DelegateDeclaration.java | 77 MoreTypes.asExecutable( in create()
|
D | ModuleDescriptor.java | 19 import static com.google.auto.common.MoreElements.asExecutable; 190 .map(binding -> getMethodDescriptor(asExecutable(binding.bindingElement().get()))) in collectCompanionModuleBindings()
|
D | BindsTypeChecker.java | 94 MoreTypes.asExecutable(types.asMemberOf(type, method)).getParameterTypes()); in methodParameterTypes()
|
/external/dagger2/java/dagger/hilt/android/processor/internal/ |
D | MoreTypes.java | 79 public static ExecutableType asExecutable(TypeMirror maybeExecutableType) { 126 ExecutableType methodType = asExecutable(method.asType()); 130 .filter(clsMethod -> types.isSubsignature(asExecutable(clsMethod.asType()), methodType))
|
/external/dagger2/java/dagger/internal/codegen/base/ |
D | ElementFormatter.java | 19 import static com.google.auto.common.MoreElements.asExecutable; 71 ExecutableElement methodOrConstructor = asExecutable(parameter.getEnclosingElement());
|
/external/auto/value/src/main/java/com/google/auto/value/processor/ |
D | EclipseHack.java | 125 return MoreTypes.asExecutable(methodMirror).getReturnType(); in methodReturnType() 152 returnType = MoreTypes.asExecutable(methodMirror).getReturnType(); in methodReturnTypes()
|
D | BuilderMethodClassifier.java | 395 MoreTypes.asExecutable(typeUtils.asMemberOf(builderTypeMirror, method)); in classifyMethodOneArg() 441 MoreTypes.asExecutable( in getSetterFunction() 629 return MoreTypes.asExecutable(methodMirror).getReturnType(); in builderMethodReturnType()
|
/external/dagger2/java/dagger/internal/codegen/writing/ |
D | InjectionMethods.java | 19 import static com.google.auto.common.MoreElements.asExecutable; 122 ExecutableElement element = asExecutable(binding.bindingElement().get()); in create() 171 asExecutable(binding.bindingElement().get()).getParameters()) { in invokeArguments() 208 ExecutableElement method = MoreElements.asExecutable(binding.bindingElement().get()); in requiresInjectionMethod() 268 asExecutable(injectionSite.element()), in create()
|
D | SimpleMethodBindingExpression.java | 19 import static com.google.auto.common.MoreElements.asExecutable; 100 ExecutableElement method = asExecutable(provisionBinding.bindingElement().get()); in invokeMethod()
|
/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/ |
D | SubcomponentFactoryMethodValidator.java | 20 import static com.google.auto.common.MoreTypes.asExecutable; 115 asExecutable(types.asMemberOf(parentType, edge.factoryMethod())); in subgraphFactoryMethodParameters()
|
/external/dagger2/java/dagger/internal/codegen/validation/ |
D | BindingMethodProcessingStep.java | 39 super(MoreElements::asExecutable); in BindingMethodProcessingStep()
|
D | BindsInstanceProcessingStep.java | 60 methodValidator.validate(MoreElements.asExecutable(element)).printMessagesTo(messager); in process()
|
D | MultibindingAnnotationsProcessingStep.java | 45 super(MoreElements::asExecutable); in MultibindingAnnotationsProcessingStep()
|
D | ComponentValidator.java | 23 import static com.google.auto.common.MoreTypes.asExecutable; 261 this.resolvedMethod = asExecutable(types.asMemberOf(componentType(), method)); in ComponentMethodValidator() 428 isEntryPoint(method, asExecutable(types.asMemberOf(componentType(), method)))) in validateNoConflictingEntryPoints() 500 ExecutableType methodType = asExecutable(types.asMemberOf(componentType(), method)); in dependencyRequest()
|
D | BindsInstanceParameterValidator.java | 59 ExecutableElement method = MoreElements.asExecutable(enclosing); in checkAdditionalProperties()
|
D | BindsInstanceMethodValidator.java | 76 MoreElements.asExecutable(element).getParameters(); in bindingElementType()
|
D | ComponentDescriptorValidator.java | 375 MoreElements.asExecutable(element), Optional.of(container)); in formatElement() 398 MoreElements.asExecutable(parameter.getEnclosingElement()); in resolveParameterType() 401 ExecutableType methodType = MoreTypes.asExecutable(types.asMemberOf(container, method)); in resolveParameterType()
|
/external/auto/common/src/test/java/com/google/auto/common/ |
D | MoreElementsTest.java | 165 public void asExecutable() { in asExecutable() method in MoreElementsTest 167 assertThat(MoreElements.asExecutable(methodElement)).isEqualTo(methodElement); in asExecutable() 171 assertThat(MoreElements.asExecutable(methodElement)).isEqualTo(methodElement); in asExecutable() 178 MoreElements.asExecutable(javaLangPackageElement); in asExecutable_illegalArgument()
|
/external/dagger2/java/dagger/internal/codegen/componentgenerator/ |
D | MethodSignature.java | 45 MoreTypes.asExecutable(types.asMemberOf(componentType, componentMethod.methodElement())); in forComponentMethod()
|
/external/dagger2/java/dagger/internal/codegen/ |
D | AssistedInjectProcessingStep.java | 48 super(MoreElements::asExecutable); in AssistedInjectProcessingStep()
|