Home
last modified time | relevance | path

Searched refs:asMemberOf (Results 1 – 25 of 26) sorted by relevance

12

/external/auto/common/src/test/java/com/google/auto/common/
DMoreTypesTest.java91 TypeMirror containedInObject = types.asMemberOf(containerOfObject, contained); in equivalence()
92 TypeMirror containedInString = types.asMemberOf(containerOfString, contained); in equivalence()
380 TypeMirror fieldOfNumberParams = MoreTypes.asMemberOf(types, numberParams, tField); in testAsMemberOf_variableElement()
381 TypeMirror paramOfNumberParams = MoreTypes.asMemberOf(types, numberParams, tParam); in testAsMemberOf_variableElement()
382 TypeMirror fieldOfStringParams = MoreTypes.asMemberOf(types, stringParams, tField); in testAsMemberOf_variableElement()
383 TypeMirror paramOfStringParams = MoreTypes.asMemberOf(types, stringParams, tParam); in testAsMemberOf_variableElement()
384 TypeMirror fieldOfGenericOfNumber = MoreTypes.asMemberOf(types, genericParamsOfNumber, tField); in testAsMemberOf_variableElement()
385 TypeMirror paramOfGenericOfNumber = MoreTypes.asMemberOf(types, genericParamsOfNumber, tParam); in testAsMemberOf_variableElement()
387 MoreTypes.asMemberOf(types, genericParamsOfInteger, tField); in testAsMemberOf_variableElement()
389 MoreTypes.asMemberOf(types, genericParamsOfInteger, tParam); in testAsMemberOf_variableElement()
/external/dagger2/java/dagger/internal/codegen/binding/
DAssistedInjectionAnnotations.java99 asExecutable(types.asMemberOf(asDeclared(binding.key().type()), constructor)); in assistedParameterSpecs()
132 asExecutable(types.asMemberOf(asDeclared(binding.key().type()), metadata.factoryMethod())); in assistedFactoryParameterSpecs()
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()
78 executableType = MoreTypes.asExecutable(types.asMemberOf(container.get(), method));
DInjectionSiteFactory.java120 ExecutableType resolved = MoreTypes.asExecutable(types.asMemberOf(type, method)); in visitExecutableAsMethod()
134 TypeMirror resolved = types.asMemberOf(type, field); in visitVariableAsField()
DComponentCreatorDescriptor.java169 ExecutableType resolvedMethodType = MoreTypes.asExecutable(types.asMemberOf(type, method)); in create()
187 MoreTypes.asExecutable(types.asMemberOf(type, factoryMethod)); in create()
DDelegateDeclaration.java78 types.asMemberOf(MoreTypes.asDeclared(contributingModule.asType()), bindsMethod)); in create()
DBindsTypeChecker.java94 MoreTypes.asExecutable(types.asMemberOf(type, method)).getParameterTypes()); in methodParameterTypes()
DMultibindingDeclaration.java90 types.asMemberOf(MoreTypes.asDeclared(moduleElement.asType()), moduleMethod)), in forMultibindsMethod()
DBindingFactory.java139 constructorType = MoreTypes.asExecutable(types.asMemberOf(resolved, constructorElement)); in injectionBinding()
196 MoreTypes.asExecutable(types.asMemberOf(factoryType, factoryMethod)); in assistedFactoryBinding()
265 types.asMemberOf(MoreTypes.asDeclared(contributedBy.asType()), method)); in setMethodBindingProperties()
DKeyFactory.java124 asExecutable(types.asMemberOf(declaredContainer, subcomponentCreatorMethod)); in forSubcomponentCreatorMethod()
161 types.asMemberOf(MoreTypes.asDeclared(contributingModule.asType()), method)); in forBindingMethod()
DComponentDescriptorFactory.java224 types.asMemberOf(MoreTypes.asDeclared(componentElement.asType()), componentMethod)); in getDescriptorForComponentMethod()
/external/auto/value/src/main/java/com/google/auto/value/processor/
DEclipseHack.java124 TypeMirror methodMirror = typeUtils.asMemberOf(in, method); in methodReturnType()
151 TypeMirror methodMirror = typeUtils.asMemberOf(in, method); in methodReturnTypes()
DBuilderMethodClassifier.java395 MoreTypes.asExecutable(typeUtils.asMemberOf(builderTypeMirror, method)); in classifyMethodOneArg()
442 typeUtils.asMemberOf(MoreTypes.asDeclared(builderType.asType()), setter)); in getSetterFunction()
624 methodMirror = typeUtils.asMemberOf(builderTypeMirror, builderMethod); in builderMethodReturnType()
DPropertyBuilderClassifier.java397 MoreTypes.asExecutable(typeUtils.asMemberOf(barBuilderDeclaredType, method)); in addAllPutAll()
/external/dagger2/java/dagger/internal/codegen/langmodel/
DDaggerTypes.java258 return MoreTypes.asExecutable(asMemberOf(MoreTypes.asDeclared(containerType), element));
355 public TypeMirror asMemberOf(DeclaredType containing, Element element) {
356 return types.asMemberOf(containing, element);
/external/dagger2/java/dagger/internal/codegen/componentgenerator/
DMethodSignature.java45 MoreTypes.asExecutable(types.asMemberOf(componentType, componentMethod.methodElement())); in forComponentMethod()
/external/auto/factory/src/main/java/com/google/auto/factory/processor/
DElements2.java75 TypeMirror subExecutableTypeMirror = types.asMemberOf( in getExecutableElementAsMemberOf()
/external/dagger2/java/dagger/internal/codegen/validation/
DComponentValidator.java261 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()
DComponentDescriptorValidator.java401 ExecutableType methodType = MoreTypes.asExecutable(types.asMemberOf(container, method)); in resolveParameterType()
/external/auto/common/src/main/java/com/google/auto/common/
DOverrides.java180 MoreTypes.asExecutable(typeUtils.asMemberOf(inType, overrider)); in isSubsignature()
182 MoreTypes.asExecutable(typeUtils.asMemberOf(inType, overridden)); in isSubsignature()
DMoreTypes.java915 public static TypeMirror asMemberOf(Types types, DeclaredType container, in asMemberOf() method in MoreTypes
921 MoreTypes.asExecutable(types.asMemberOf(container, methodOrConstructor)); in asMemberOf()
935 return types.asMemberOf(container, variable); in asMemberOf()
/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/
DSubcomponentFactoryMethodValidator.java115 asExecutable(types.asMemberOf(parentType, edge.factoryMethod())); in subgraphFactoryMethodParameters()
/external/turbine/java/com/google/turbine/processing/
DTurbineElements.java302 TypeMirror b = types.asMemberOf((DeclaredType) type.asType(), overridden); in overrides()
/external/desugar/java/com/google/devtools/common/options/processor/
DOptionProcessor.java304 (ExecutableType) typeUtils.asMemberOf(converterType, methodList.get(0)); in checkProvidedConverter()
/external/javapoet/src/main/java/com/squareup/javapoet/
DMethodSpec.java259 ExecutableType executableType = (ExecutableType) types.asMemberOf(enclosing, method); in overriding()

12