Home
last modified time | relevance | path

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

12

/frameworks/support/room/compiler/src/test/kotlin/androidx/room/solver/
DTypeAssignmentTest.kt57 assertThat(typeUtils.isAssignableWithoutVariance(string.asType(), in basic()
69 assertThat(typeUtils.isAssignableWithoutVariance( in generics()
73 assertThat(typeUtils.isAssignableWithoutVariance( in generics()
92 assertThat(typeUtils.isAssignableWithoutVariance( in variance()
96 assertThat(typeUtils.isAssignableWithoutVariance( in variance()
109 assertThat(typeUtils.isAssignableWithoutVariance( in unboundedVariance()
113 assertThat(typeUtils.isAssignableWithoutVariance( in unboundedVariance()
DBasicColumnTypeAdaptersTest.kt174 processingEnv.typeUtils.getPrimitiveType(typeKind) in <lambda>()
182 processingEnv.typeUtils in <lambda>()
DTypeAdapterStoreTest.kt72 val primitiveType = invocation.processingEnv.typeUtils.getPrimitiveType(TypeKind.INT) in <lambda>()
102 val booleanType = invocation.processingEnv.typeUtils in <lambda>()
317 val listOfInts = invocation.processingEnv.typeUtils.getDeclaredType(listType, intType) in <lambda>()
383 val tBoolean = env.typeUtils.getPrimitiveType(TypeKind.BOOLEAN) in <lambda>()
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/
DShortcutParameterProcessor.kt39 val asMember = MoreTypes.asMemberOf(context.processingEnv.typeUtils, containing, element) in process()
60 val typeUtils = context.processingEnv.typeUtils in extractEntityType() constant
80 .getAllMembers(typeUtils.asElement(iterableType) as TypeElement)).forEach { in extractEntityType()
83 typeUtils.asMemberOf(iterableType, it)).returnType) in extractEntityType()
90 val iterableType = typeUtils.erasure(elementUtils in extractEntityType()
92 if (typeUtils.isAssignable(typeMirror, iterableType)) { in extractEntityType()
DDaoProcessor.kt61 && it.findKotlinDefaultImpl(context.processingEnv.typeUtils) == null in <lambda>()
141 val typeUtils = context.processingEnv.typeUtils in <lambda>() constant
144 && typeUtils.isAssignable(dbType, it.parameters[0].asType()) in <lambda>()
DPojoProcessor.kt255 val typeUtils = context.processingEnv.typeUtils in <lambda>() constant
274 typeUtils.isAssignableWithoutVariance(paramType, field.type) in <lambda>()
366 context.processingEnv.typeUtils, declaredType, variableElement) in <lambda>()
426 .asMemberOf(context.processingEnv.typeUtils, container, relationElement) in <lambda>()
475 type = context.processingEnv.typeUtils.asMemberOf(container, relationElement), in <lambda>()
668 val types = context.processingEnv.typeUtils in <lambda>()
DRawQueryMethodProcessor.kt41 val types = context.processingEnv.typeUtils in process()
112 val types = context.processingEnv.typeUtils in findRuntimeQueryParameter()
DPojoMethodProcessor.kt32 val asMember = context.processingEnv.typeUtils.asMemberOf(owner, element) in process()
DQueryParameterProcessor.kt31 val asMember = MoreTypes.asMemberOf(context.processingEnv.typeUtils, containing, element) in process()
DCustomConverterProcessor.kt109 val asMember = context.processingEnv.typeUtils.asMemberOf(container, methodElement) in <lambda>()
128 MoreTypes.asMemberOf(context.processingEnv.typeUtils, container, it) in <lambda>()
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/parser/
DSqlParser.kt216 val typeUtils = env.typeUtils in getTypeMirrors() constant
222 BLOB -> listOf(typeUtils.getArrayType( in getTypeMirrors()
223 typeUtils.getPrimitiveType(TypeKind.BYTE))) in getTypeMirrors()
231 val primitiveType = env.typeUtils.getPrimitiveType(it) in withBoxedTypes()
232 listOf(primitiveType, env.typeUtils.boxedClass(primitiveType).asType()) in withBoxedTypes()
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/
DDataSourceQueryResultBinderProvider.kt61 val erasure = context.processingEnv.typeUtils.erasure(declared) in matches()
62 val isDataSource = context.processingEnv.typeUtils in matches()
67 val isPositional = context.processingEnv.typeUtils in matches()
DLiveDataQueryResultBinderProvider.kt52 val erasure = context.processingEnv.typeUtils.erasure(declared) in matches()
53 return context.processingEnv.typeUtils.isAssignable(liveDataTypeMirror, erasure) in matches()
DFlowableQueryResultBinderProvider.kt59 val erasure = context.processingEnv.typeUtils.erasure(declared) in matches()
60 val match = context.processingEnv.typeUtils.isAssignable(flowableTypeMirror, erasure) in matches()
DDataSourceFactoryQueryResultBinderProvider.kt59 val erasure = context.processingEnv.typeUtils.erasure(declared) in matches()
61 return context.processingEnv.typeUtils.isAssignable(dataSourceFactoryTypeMirror, erasure) in matches()
DGuavaListenableFutureQueryResultBinderProvider.kt62 context.processingEnv.typeUtils.erasure(declared).typeName() ==
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/testing/
DTestInvocation.kt33 val typeUtils by lazy { processingEnv.typeUtils } in <lambda>() constant in androidx.room.testing.TestInvocation
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/types/
DPrimitiveBooleanToIntConverter.kt30 val tBoolean = processingEnvironment.typeUtils.getPrimitiveType(BOOLEAN) in create()
31 val tInt = processingEnvironment.typeUtils.getPrimitiveType(INT) in create()
DByteArrayColumnTypeAdapter.kt26 out = env.typeUtils.getArrayType(env.typeUtils.getPrimitiveType(TypeKind.BYTE)),
/frameworks/support/lifecycle/compiler/src/main/kotlin/androidx/lifecycle/
Dinput_collector.kt65 val typeUtils: Types = processingEnv.typeUtils constant
77 .filter { typeUtils.isAssignable(it, lifecycleObserverTypeMirror) } in collect()
78 .filterNot { typeUtils.isSameType(it, lifecycleObserverTypeMirror) } in collect()
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
DProcessMethodAdapters.java112 Types typeUtils = processingEnv.getTypeUtils(); in addBindingAdapters() local
115 if (!typeUtils.isSameType(parameters.get(i).asType(), in addBindingAdapters()
159 Types typeUtils = processingEnvironment.getTypeUtils(); in takesComponent() local
161 typeUtils.isAssignable(parameter1, viewElement)) { in takesComponent()
167 if (!typeUtils.isAssignable(parameter1, viewStubProxy)) { in takesComponent()
174 if (typeUtils.isAssignable(parameter2, viewElement)) { in takesComponent()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/
DAnnotationAnalyzer.java81 Types typeUtils = getTypeUtils(); in loadPrimitive() local
82 return new AnnotationClass(typeUtils.getPrimitiveType(typeKind)); in loadPrimitive()
132 Types typeUtils = getTypeUtils(); in findClassInternal() local
133 declaredType = typeUtils.getDeclaredType(typeElement, typeArgs); in findClassInternal()
DAnnotationMethod.java48 Types typeUtils = AnnotationAnalyzer.get().getTypeUtils(); in AnnotationMethod() local
49 mMethod = (ExecutableType) typeUtils.asMemberOf(declaringType, executableElement); in AnnotationMethod()
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/
DTypeAdapterStore.kt221 val types = context.processingEnv.typeUtils in <lambda>()
284 context.processingEnv.typeUtils.erasure(typeMirror).typeName() == in <lambda>()
292 context.processingEnv.typeUtils.erasure(typeMirror).typeName() == in <lambda>()
435 val types = context.processingEnv.typeUtils in <lambda>()
480 context.processingEnv.typeUtils.isSameType(input, it.out) in <lambda>()
491 val types = context.processingEnv.typeUtils in <lambda>()
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/
DFieldProcessorTest.kt95 return invocation.processingEnv.typeUtils.getPrimitiveType(this) in <lambda>()
183 type = invocation.processingEnv.typeUtils.getArrayType( in <lambda>()
199 type = invocation.processingEnv.typeUtils.getArrayType( in <lambda>()
218 type = invocation.processingEnv.typeUtils.getArrayType( in <lambda>()

12