Home
last modified time | relevance | path

Searched refs:mapKeyType (Results 1 – 3 of 3) sorted by relevance

/external/dagger2/java/dagger/android/processor/
DAndroidMapKeyValidator.java158 TypeMirror mapKeyType = in validateMapKeyMatchesBindsParameter() local
160 if (!types.isAssignable(parameterType, injectorFactoryOf(mapKeyType))) { in validateMapKeyMatchesBindsParameter()
163 String.format("%s does not implement AndroidInjector<%s>", parameterType, mapKeyType), in validateMapKeyMatchesBindsParameter()
/external/dagger2/java/dagger/internal/codegen/binding/
DKeyFactory.java27 import static dagger.internal.codegen.binding.MapKeys.mapKeyType;
219 TypeMirror mapKeyType = mapKeyType(getMapKey(method).get(), types); in bindingMethodKeyType() local
221 ? mapOfFrameworkType(mapKeyType, frameworkType.get(), returnType) in bindingMethodKeyType()
222 : mapOf(mapKeyType, returnType); in bindingMethodKeyType()
DMapKeys.java92 static TypeMirror mapKeyType(AnnotationMirror mapKeyAnnotation, DaggerTypes types) { in mapKeyType() method in MapKeys
216 .returns(TypeName.get(mapKeyType(mapKey, types))) in mapKeyFactoryMethod()