Home
last modified time | relevance | path

Searched refs:asExecutable (Results 1 – 25 of 43) sorted by relevance

12

/external/dagger2/java/dagger/internal/codegen/binding/
DAssistedInjectionAnnotations.java19 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()
DMethodSignatureFormatter.java59 MoreTypes.asExecutable(types.asMemberOf(declaredType, method)), in typedFormatter()
76 ExecutableType executableType = MoreTypes.asExecutable(method.asType());
78 executableType = MoreTypes.asExecutable(types.asMemberOf(container.get(), method));
DBindingFactory.java127 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()
DComponentCreatorDescriptor.java169 ExecutableType resolvedMethodType = MoreTypes.asExecutable(types.asMemberOf(type, method)); in create()
187 MoreTypes.asExecutable(types.asMemberOf(type, factoryMethod)); in create()
DKeyFactory.java20 import static com.google.auto.common.MoreTypes.asExecutable;
124 asExecutable(types.asMemberOf(declaredContainer, subcomponentCreatorMethod)); in forSubcomponentCreatorMethod()
160 MoreTypes.asExecutable( in forBindingMethod()
DDelegateDeclaration.java77 MoreTypes.asExecutable( in create()
DModuleDescriptor.java19 import static com.google.auto.common.MoreElements.asExecutable;
190 .map(binding -> getMethodDescriptor(asExecutable(binding.bindingElement().get()))) in collectCompanionModuleBindings()
DBindsTypeChecker.java94 MoreTypes.asExecutable(types.asMemberOf(type, method)).getParameterTypes()); in methodParameterTypes()
/external/dagger2/java/dagger/hilt/android/processor/internal/
DMoreTypes.java79 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/
DElementFormatter.java19 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/
DEclipseHack.java125 return MoreTypes.asExecutable(methodMirror).getReturnType(); in methodReturnType()
152 returnType = MoreTypes.asExecutable(methodMirror).getReturnType(); in methodReturnTypes()
DBuilderMethodClassifier.java395 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/
DInjectionMethods.java19 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()
DSimpleMethodBindingExpression.java19 import static com.google.auto.common.MoreElements.asExecutable;
100 ExecutableElement method = asExecutable(provisionBinding.bindingElement().get()); in invokeMethod()
/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/
DSubcomponentFactoryMethodValidator.java20 import static com.google.auto.common.MoreTypes.asExecutable;
115 asExecutable(types.asMemberOf(parentType, edge.factoryMethod())); in subgraphFactoryMethodParameters()
/external/dagger2/java/dagger/internal/codegen/validation/
DBindingMethodProcessingStep.java39 super(MoreElements::asExecutable); in BindingMethodProcessingStep()
DBindsInstanceProcessingStep.java60 methodValidator.validate(MoreElements.asExecutable(element)).printMessagesTo(messager); in process()
DMultibindingAnnotationsProcessingStep.java45 super(MoreElements::asExecutable); in MultibindingAnnotationsProcessingStep()
DComponentValidator.java23 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()
DBindsInstanceParameterValidator.java59 ExecutableElement method = MoreElements.asExecutable(enclosing); in checkAdditionalProperties()
DBindsInstanceMethodValidator.java76 MoreElements.asExecutable(element).getParameters(); in bindingElementType()
DComponentDescriptorValidator.java375 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/
DMoreElementsTest.java165 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/
DMethodSignature.java45 MoreTypes.asExecutable(types.asMemberOf(componentType, componentMethod.methodElement())); in forComponentMethod()
/external/dagger2/java/dagger/internal/codegen/
DAssistedInjectProcessingStep.java48 super(MoreElements::asExecutable); in AssistedInjectProcessingStep()

12