/external/dagger2/java/dagger/internal/codegen/base/ |
D | ModuleAnnotation.java | 20 import static com.google.auto.common.MoreTypes.asTypeElement; 64 .map(MoreTypes::asTypeElement) in includes() 83 .map(MoreTypes::asTypeElement) in subcomponents() 97 .anyMatch(asTypeElement(annotation.getAnnotationType()).getQualifiedName()::contentEquals); in isModuleAnnotation()
|
/external/dagger2/java/dagger/hilt/android/processor/internal/ |
D | MoreTypes.java | 66 public static TypeElement asTypeElement(TypeMirror type) { 67 return asTypeElement(getDeclaredType(type)); 71 public static TypeElement asTypeElement(DeclaredType type) { 118 classElement = MoreTypes.asTypeElement(classElement.getSuperclass());
|
/external/dagger2/java/dagger/internal/codegen/writing/ |
D | MembersInjectorProviderCreationExpression.java | 55 TypeElement injectedTypeElement = MoreTypes.asTypeElement(membersInjectedType); in creationExpression() 60 injectedTypeElement = MoreTypes.asTypeElement(injectedTypeElement.getSuperclass()); in creationExpression()
|
/external/dagger2/java/dagger/hilt/processor/internal/definecomponent/ |
D | DefineComponentMetadatas.java | 21 import static com.google.auto.common.MoreTypes.asTypeElement; 126 .map(MoreTypes::asTypeElement) in getUncached() 151 TypeElement parent = asTypeElement(AnnotationValues.getTypeMirror(parentValue)); in getUncached()
|
D | DefineComponentBuilderMetadatas.java | 124 MoreTypes.asTypeElement(component), ClassNames.DEFINE_COMPONENT), in getUncached() 150 componentMetadatas.get(MoreTypes.asTypeElement(component))); in getUncached()
|
/external/dagger2/java/dagger/internal/codegen/validation/ |
D | DependencyRequestValidator.java | 21 import static com.google.auto.common.MoreTypes.asTypeElement; 120 TypeElement typeElement = asTypeElement(keyType); in checkType() 169 MoreTypes.asTypeElement(requestType).getSimpleName()), in checkNotProducer()
|
D | BindsOptionalOfMethodValidator.java | 19 import static com.google.auto.common.MoreTypes.asTypeElement; 84 && !injectedConstructors(asTypeElement(keyType)).isEmpty()) { in checkKeyType()
|
D | ComponentValidator.java | 24 import static com.google.auto.common.MoreTypes.asTypeElement; 225 creator -> report.addSubreport(creatorValidator.validate(asTypeElement(creator)))); in validateCreators() 320 ComponentKind.forAnnotatedElement(MoreTypes.asTypeElement(returnType)).get(); in validateSubcomponentFactoryMethod() 348 return Optional.of(MoreTypes.asTypeElement(t)); in validateSubcomponentFactoryMethod() 370 MoreTypes.asTypeElement(returnType).getQualifiedName()), in validateSubcomponentFactoryMethod() 391 TypeElement creatorElement = MoreTypes.asTypeElement(returnType); in validateSubcomponentCreatorMethod() 540 if (moduleAnnotation(MoreTypes.asTypeElement(type)).isPresent()) {
|
D | BindingElementValidator.java | 19 import static com.google.auto.common.MoreTypes.asTypeElement; 221 TypeElement keyElement = asTypeElement(keyType); in checkNotAssistedInject()
|
/external/auto/value/src/main/java/com/google/auto/value/extension/memoized/processor/ |
D | MemoizedValidator.java | 72 .map(annotation -> MoreTypes.asTypeElement(annotation.getAnnotationType())) in isAutoValue() 78 TypeElement annotationElement = MoreTypes.asTypeElement(annotation.getAnnotationType()); in getAnnotationMirror()
|
/external/dagger2/java/dagger/internal/codegen/binding/ |
D | ComponentRequirement.java | 100 return MoreTypes.asTypeElement(type()); in typeElement() 215 simpleVariableName(MoreTypes.asTypeElement(type))); in forDependency() 224 simpleVariableName(MoreTypes.asTypeElement(type))); in forModule()
|
D | ComponentCreatorDescriptor.java | 20 import static com.google.auto.common.MoreTypes.asTypeElement; 161 TypeElement typeElement = asTypeElement(type); in create() 219 return moduleAnnotation(asTypeElement(type)).isPresent() in requirement()
|
D | AssistedInjectionAnnotations.java | 23 import static com.google.auto.common.MoreTypes.asTypeElement; 172 TypeElement factoryElement = asTypeElement(factoryType); in create() 181 asTypeElement(assistedInjectType), in create() 272 getOnlyElement(assistedInjectedConstructors(asTypeElement(assistedInjectType))); in assistedInjectAssistedParameters()
|
D | AnnotationExpression.java | 62 MoreTypes.asTypeElement(annotation.getAnnotationType())); in AnnotationExpression() 200 return ClassName.get(MoreTypes.asTypeElement(t));
|
D | MapKeys.java | 109 MoreTypes.asTypeElement(mapKeyAnnotationType).getKind() == ElementKind.ANNOTATION_TYPE, in getUnwrappedMapKeyType() 173 if (MoreTypes.asTypeElement(mapKey.getAnnotationType()) in directMapKeyExpression()
|
D | DependencyVariableNamer.java | 42 return simpleVariableName(MoreTypes.asTypeElement(dependency.key().type())); in name()
|
D | ComponentDescriptorFactory.java | 20 import static com.google.auto.common.MoreTypes.asTypeElement; 228 TypeElement returnTypeElement = asTypeElement(returnType); in getDescriptorForComponentMethod()
|
/external/dagger2/java/dagger/grpc/server/processor/ |
D | GrpcServiceModel.java | 147 ClassName serviceClassName = ClassName.get(MoreTypes.asTypeElement(service)); 184 return MoreTypes.asTypeElement(t);
|
/external/dagger2/java/dagger/hilt/processor/internal/ |
D | Processors.java | 188 .map(MoreTypes::asTypeElement) in getOptionalAnnotationClassValue() 197 .map(MoreTypes::asTypeElement) in getOptionalAnnotationClassValues() 628 if (isAssignableFromAnyOf(MoreTypes.asTypeElement(superClass), classNames)) { 641 if (isAssignableFromAnyOf(MoreTypes.asTypeElement(iface), classNames)) { 693 TypeElement superclassElement = MoreTypes.asTypeElement(superclass); 697 builder.addAll(getAllMethods(MoreTypes.asTypeElement(iface))); 712 TypeElement interfaceElement = MoreTypes.asTypeElement(interfaceMirror);
|
/external/dagger2/java/dagger/android/processor/ |
D | AndroidMapKeys.java | 39 TypeElement type = MoreTypes.asTypeElement((TypeMirror) mapKeyClass); in injectedTypeFromMapKey()
|
/external/dagger2/java/dagger/internal/codegen/ |
D | AssistedFactoryProcessingStep.java | 21 import static com.google.auto.common.MoreTypes.asTypeElement; 218 && AssistedInjectionAnnotations.isAssistedInjectionType(asTypeElement(type)); in isAssistedInjectionType() 346 getOnlyElement(assistedInjectedConstructors(asTypeElement(assistedInjectType))), in delegateFactoryTypeName()
|
/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/ |
D | InjectBindingValidator.java | 56 injectValidator.validateType(MoreTypes.asTypeElement(node.key().type())); in validateInjectionBinding()
|
/external/dagger2/java/dagger/model/ |
D | Scope.java | 47 return MoreTypes.asTypeElement(scopeAnnotation().getAnnotationType()); in scopeAnnotationElement()
|
/external/auto/value/src/main/java/com/google/auto/value/extension/serializable/serializer/impl/ |
D | OptionalSerializerExtension.java | 95 return MoreTypes.asTypeElement(type).getQualifiedName().contentEquals("java.util.Optional"); in isOptional()
|
/external/auto/common/src/main/java/com/google/auto/common/ |
D | MoreTypes.java | 540 public static TypeElement asTypeElement(TypeMirror mirror) { in asTypeElement() method in MoreTypes 548 builder.add(asTypeElement(mirror)); in asTypeElements() 883 TypeMirror superclassType = asTypeElement(type).getSuperclass(); in nonObjectSuperclass() 905 return asTypeElement(type).getQualifiedName().contentEquals("java.lang.Object"); in isObjectType() 1013 TypeElement typeElement = asTypeElement(type); in isJavaLangObject()
|