Home
last modified time | relevance | path

Searched refs:kotlinType (Results 1 – 25 of 58) sorted by relevance

123

/aosp_15_r20/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
H A DPsiTypeItemFactory.kt177 kotlinType: KotlinTypeInfo?, in <lambda>()
188 val nullability = contextNullability.compute(kotlinType?.nullability(), typeAnnotations) in <lambda>()
210 kotlinType: KotlinTypeInfo?, in <lambda>()
218 kotlinType = kotlinType, in <lambda>()
223 kotlinType = kotlinType, in <lambda>()
256 kotlinType = kotlinType, in <lambda>()
261 if (kotlinType?.kaType is KaFunctionType) { in <lambda>()
264 kotlinType = kotlinType, in <lambda>()
270 kotlinType = kotlinType, in <lambda>()
280 kotlinType = kotlinType, in <lambda>()
[all …]
/aosp_15_r20/external/ksp/compiler-plugin/src/main/kotlin/com/google/devtools/ksp/symbol/impl/kotlin/
H A DKSTypeImpl.kt48 val kotlinType: KotlinType, constant in com.google.devtools.ksp.symbol.impl.kotlin.KSTypeImpl
54 kotlinType: KotlinType, in getCached()
58 … return cache.getOrPut(IdKey(kotlinType)) { KSTypeImpl(kotlinType, ksTypeArguments, annotations) } in getCached()
63 ResolverImpl.instance!!.findDeclaration(kotlinType.getAbbreviation() ?: kotlinType) in <lambda>()
67 when (kotlinType.nullability()) { in <lambda>()
76 (kotlinType.getAbbreviation() ?: kotlinType).arguments.map { in <lambda>()
82 val subType = (that as? KSTypeImpl)?.kotlinType?.convertKotlinType() ?: return false in isAssignableFrom()
84 val thisType = (this as? KSTypeImpl)?.kotlinType?.convertKotlinType() ?: return false in isAssignableFrom()
90 return kotlinType.toString().startsWith("(Mutable)") in isMutabilityFlexible()
95 return kotlinType.toString().startsWith("Array<(out) ") in isCovarianceFlexible()
[all …]
/aosp_15_r20/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/
H A DCommonInternalNameTest.kt37 val kotlinType: String = javaType, constant in com.android.tools.metalava.model.testsuite.typeitem.CommonInternalNameTest.TestParams
60 kotlinType = "Boolean", in toString()
65 kotlinType = "Byte", in toString()
70 kotlinType = "Char", in toString()
75 kotlinType = "Double", in toString()
80 kotlinType = "Float", in toString()
85 kotlinType = "Int", in toString()
90 kotlinType = "IntArray", in toString()
95 kotlinType = "Array<IntArray>", in toString()
100 kotlinType = "Int", in toString()
[all …]
H A DCommonParameterizedTypeItemTest.kt38 val kotlinType: String, constant in com.android.tools.metalava.model.testsuite.typeitem.CommonParameterizedTypeItemTest.TestParams
45 fun kotlinParameter(): String = "${kotlinModifiers?:""} p: $kotlinType" in javaParameter()
59 kotlinType = "Int",
64 kotlinType = "IntArray",
69 kotlinType = "Comparable<String>",
75 kotlinType = "Array<String>",
82 kotlinType = "java.util.Map.Entry<String, T>",
89 kotlinType = "T",
97 kotlinType = "T",
104 kotlinType = "Array<T>",
[all …]
/aosp_15_r20/external/ksp/compiler-plugin/src/main/kotlin/com/google/devtools/ksp/symbol/impl/binary/
H A DKSTypeReferenceDescriptorImpl.kt39 val kotlinType: KotlinType, constant in com.google.devtools.ksp.symbol.impl.binary.KSTypeReferenceDescriptorImpl
44 fun getCached(kotlinType: KotlinType, origin: Origin, parent: KSNode?) = cache in getCached()
45 .getOrPut(IdKeyTriple(kotlinType, origin, parent)) { in getCached()
46 KSTypeReferenceDescriptorImpl(kotlinType, origin, parent) in getCached()
51 (kotlinType as? AbbreviatedType)?.abbreviation ?: this in KotlinType()
56 KSClassifierReferenceDescriptorImpl.getCached(kotlinType.findAlias(), origin, this) in KotlinType()
60kotlinType.annotations.asSequence().map { KSAnnotationDescriptorImpl.getCached(it, this) }.memoize… in <lambda>()
64 if (kotlinType.isSuspendFunctionTypeOrSubtype) { in <lambda>()
72 return getKSTypeCached(kotlinType) in resolve()
H A DKSClassifierReferenceDescriptorImpl.kt36 fun getCached(kotlinType: KotlinType, origin: Origin, parent: KSNode?) = cache.getOrPut( in getCached()
38 kotlinType.constructor.declarationDescriptor!!, in getCached()
39 kotlinType.arguments, in getCached()
44 kotlinType.constructor.declarationDescriptor!!, kotlinType.arguments, origin, parent in getCached()
H A DKSClassDeclarationDescriptorImpl.kt85 descriptor.defaultType.constructor.supertypes.asSequence().map { kotlinType -> in <lambda>() method
87 … javaSerializableType?.let { if (kotlinType === mockSerializableType) it else kotlinType } in <lambda>()
88 ?: kotlinType, in <lambda>()
/aosp_15_r20/cts/common/device-side/bedstead/testapisparser/src/main/java/com/android/bedstead/testapis/parser/utils/
H A DTypeUtils.java76 String kotlinType = sJavaToKotlinDataTypesMap.get(type); in convertToKotlinCompatibleType() local
78 if (kotlinType.contains("<")) { in convertToKotlinCompatibleType()
80 String rawType = "kotlin." + kotlinType.substring(0, kotlinType.indexOf("<")); in convertToKotlinCompatibleType()
82 "kotlin." + kotlinType.substring( in convertToKotlinCompatibleType()
83 kotlinType.indexOf("<") + 1, kotlinType.indexOf(">")); in convertToKotlinCompatibleType()
88 return new ClassName("kotlin", kotlinType); in convertToKotlinCompatibleType()
/aosp_15_r20/external/ksp/compiler-plugin/src/main/kotlin/com/google/devtools/ksp/processing/impl/
H A DResolverImpl.kt731 return getKSTypeCached(type.kotlinType) in <lambda>()
770 fun findDeclaration(kotlinType: KotlinType): KSDeclaration { in <lambda>()
771 val descriptor = kotlinType.constructor.declarationDescriptor in <lambda>()
793 null -> throw IllegalStateException("Failed to resolve descriptor for $kotlinType") in <lambda>()
1046 incrementalContext.recordLookupWithSupertypes(containing.kotlinType) in <lambda>()
1048 if (!containing.kotlinType.isSubtypeOf(propertyDeclaredIn)) { in <lambda>()
1054 val typeSubstitutor = containing.kotlinType.createTypeSubstitutor() in <lambda>()
1085 incrementalContext.recordLookupWithSupertypes(containing.kotlinType) in <lambda>()
1087 if (!containing.kotlinType.isSubtypeOf(functionDeclaredIn)) { in <lambda>()
1093 val typeSubstitutor = containing.kotlinType.createTypeSubstitutor() in <lambda>()
[all …]
/aosp_15_r20/external/ksp/compiler-plugin/src/main/kotlin/com/google/devtools/ksp/symbol/impl/java/
H A DKSAnnotationJavaImpl.kt72 (annotationType.resolve() as? KSTypeImpl)?.kotlinType?.constructor in <lambda>()
101 val kotlinType = (annotationType.resolve() as? KSTypeImpl)?.kotlinType in <lambda>() constant
102 kotlinType?.getDefaultConstructorArguments(emptyList(), this) ?: emptyList() in <lambda>()
H A DKSTypeReferenceJavaImpl.kt115 … (ResolverImpl.instance!!.builtIns.anyType as KSTypeImpl).kotlinType.makeNullable(), origin, this in <lambda>()
125 …(it.annotationType.resolve() as? KSTypeImpl)?.kotlinType?.constructor?.declarationDescriptor?.fqNa… in resolve()
/aosp_15_r20/external/dokka/core/src/main/kotlin/Kotlin/
H A DDocumentationBuilder.kt225 …fun DocumentationNode.appendType(kotlinType: KotlinType?, kind: NodeKind = NodeKind.Type, prefix: … in DocumentationNode()
226 if (kotlinType == null) in DocumentationNode()
228 (kotlinType.unwrap() as? AbbreviatedType)?.let { in DocumentationNode()
232 if (kotlinType.isDynamic()) { in DocumentationNode()
237 val classifierDescriptor = kotlinType.constructor.declarationDescriptor in DocumentationNode()
254 if (kotlinType.isNullabilityFlexible()) { in DocumentationNode()
256 } else if (kotlinType.isMarkedNullable) { in DocumentationNode()
287 node.appendAnnotations(kotlinType) in DocumentationNode()
288 for (typeArgument in kotlinType.arguments) { in DocumentationNode()
/aosp_15_r20/platform_testing/libraries/flicker/utils/src/android/tools/scripts/
H A DProtoDefToKotlinVals.kt57 val kotlinType = mapProtoTypeToKotlinType(splitBySpace[0]) in main() constant
59 println("val $kotlinName: $kotlinType,") in main()
/aosp_15_r20/out/soong/.intermediates/tools/metalava/metalava-model-psi/metalava-model-psi/linux_glibc_common/local-javac-header/
Dmetalava-model-psi.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/tools__metalava__metalava-model- ...
/aosp_15_r20/out/soong/.intermediates/tools/metalava/metalava-model-psi/metalava-model-psi/linux_glibc_common/kotlin/
Dmetalava-model-psi.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/tools__metalava__metalava-model- ...
/aosp_15_r20/external/ksp/compiler-plugin/src/main/kotlin/com/google/devtools/ksp/
H A DIncremental.kt636 fun recordLookupWithSupertypes(kotlinType: KotlinType) { in toPath()
637 (listOf(kotlinType) + kotlinType.supertypes()).mapNotNull { in toPath()
/aosp_15_r20/prebuilts/sdk/current/androidx/m2repository/androidx/room/room-compiler-processing/2.7.0-alpha12/
HDroom-compiler-processing-2.7.0-alpha12.jarMETA-INF/ META-INF/MANIFEST.MF androidx/ androidx/room/ androidx/ ...
/aosp_15_r20/external/dagger2/java/dagger/internal/codegen/xprocessing/
HDxprocessing.jarMETA-INF/ META-INF/MANIFEST.MF androidx/ androidx/room/ androidx/ ...
/aosp_15_r20/out/soong/.intermediates/prebuilts/sdk/current/androidx/m2repository/androidx/room/room-compiler-processing/2.7.0-alpha12/androidx.room_room-compiler-processing/linux_glibc_common/local-combined/
Dandroidx.room_room-compiler-processing.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/androidx/ META- ...
/aosp_15_r20/out/soong/.intermediates/external/dagger2/dagger2-room-compiler-processing/linux_glibc_common/local-combined/
Ddagger2-room-compiler-processing.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/room-compiler- ...
/aosp_15_r20/external/ksp/compiler-plugin/src/main/kotlin/com/google/devtools/ksp/symbol/impl/
H A Dutils.kt136 private fun KSTypeReference.toKotlinType() = (resolve() as? KSTypeImpl)?.kotlinType in KSTypeReference()
/aosp_15_r20/external/kotlinc/lib/
HDkotlin-scripting-common.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/kotlin-scripting- ...
HDkotlin-annotation-processing-compiler.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/kotlin-annotation- ...
HDparcelize-compiler.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/parcelize.common. ...
/aosp_15_r20/prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-compiler/1.3.61-release-180/
HDkotlin-compiler-1.3.61-release-180.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/backend-common. ...

123