Home
last modified time | relevance | path

Searched refs:toKmClass (Results 1 – 6 of 6) sorted by relevance

/external/kotlinpoet/interop/kotlinx-metadata/src/main/kotlin/com/squareup/kotlinpoet/metadata/
DKotlinPoetMetadata.kt41 public fun KClass<*>.toKmClass(): KmClass = java.toKmClass() in toKmClass() method
45 public fun Class<*>.toKmClass(): KmClass = readMetadata(::getAnnotation).toKmClass() in toKmClass() method
49 public fun TypeElement.toKmClass(): KmClass = readMetadata(::getAnnotation).toKmClass() in toKmClass() method
52 public fun Metadata.toKmClass(): KmClass { in toKmClass() method
54 .toKmClass() in toKmClass()
/external/kotlinpoet/interop/kotlinx-metadata/src/main/kotlin/com/squareup/kotlinpoet/metadata/classinspectors/
DElementsClassInspector.kt62 import com.squareup.kotlinpoet.metadata.toKmClass in <lambda>()
119 is KotlinClassMetadata.Class -> kotlinClassMetadata.toKmClass() in <lambda>()
210 val declarationContainer = member?.getAnnotation(Metadata::class.java)?.toKmClass() in <lambda>()
DReflectiveClassInspector.kt55 import com.squareup.kotlinpoet.metadata.toKmClass in <lambda>()
109 is KotlinClassMetadata.Class -> kotlinClassMetadata.toKmClass() in <lambda>()
250 enumEntry.javaClass.getAnnotation(Metadata::class.java)?.toKmClass() in <lambda>()
/external/kotlinpoet/docs/
Dinterop-kotlinx-metadata.md18 val kmClass = Taco::class.toKmClass()
/external/kotlinpoet/interop/kotlinx-metadata/src/main/kotlin/com/squareup/kotlinpoet/metadata/specs/
DKotlinPoetMetadataSpecs.kt112 import com.squareup.kotlinpoet.metadata.toKmClass in <lambda>()
146 ): TypeSpec = toKmClass().toTypeSpec(classInspector, asClassName()) in <lambda>()
153 ): TypeSpec = toKmClass().toTypeSpec(classInspector, asClassName()) in <lambda>()
/external/kotlinpoet/interop/kotlinx-metadata/api/
Dkotlinx-metadata.api97 public static final fun toKmClass (Ljava/lang/Class;)Lkotlinx/metadata/KmClass;
98 …public static final fun toKmClass (Ljavax/lang/model/element/TypeElement;)Lkotlinx/metadata/KmClas…
99 public static final fun toKmClass (Lkotlin/Metadata;)Lkotlinx/metadata/KmClass;
100 public static final fun toKmClass (Lkotlin/reflect/KClass;)Lkotlinx/metadata/KmClass;