Home
last modified time | relevance | path

Searched refs:createClassName (Results 1 – 5 of 5) sorted by relevance

/external/kotlinpoet/interop/kotlinx-metadata/src/test/kotlin/com/squareup/kotlinpoet/metadata/specs/classinspectors/
DClassInspectorUtilTest.kt30 assertThat(ClassInspectorUtil.createClassName("some/path/Foo")) in createClassName_simple()
35 assertThat(ClassInspectorUtil.createClassName("some/path/Foo.Nested")) in createClassName_nested()
40 assertThat(ClassInspectorUtil.createClassName("some/path/Foo$")) in createClassName_simple_dollarNameStart()
45 assertThat(ClassInspectorUtil.createClassName("some/path/Fo${'$'}o")) in createClassName_simple_dollarNameMiddle()
50 assertThat(ClassInspectorUtil.createClassName("some/path/Nested.${'$'}Foo")) in createClassName_simple_dollarNameEnd()
55 assertThat(ClassInspectorUtil.createClassName("some/path/Nested.Foo$")) in createClassName_nested_dollarNameStart()
60 assertThat(ClassInspectorUtil.createClassName("some/path/Nested.Fo${'$'}o")) in createClassName_nested_dollarNameMiddle()
65 assertThat(ClassInspectorUtil.createClassName("some/path/Nested.${'$'}Foo")) in createClassName_nested_dollarNameEnd()
70 assertThat(ClassInspectorUtil.createClassName("ClassWithNoPackage")) in createClassName_noPackageName()
76 val noPackage = ClassInspectorUtil.createClassName("ClassWithNoPackage") in createClassName_noEmptyNames()
[all …]
/external/kotlinpoet/interop/kotlinx-metadata/src/main/kotlin/com/squareup/kotlinpoet/metadata/specs/
DkmAnnotations.kt22 import com.squareup.kotlinpoet.metadata.classinspectors.ClassInspectorUtil.createClassName in <lambda>()
46 val cn = createClassName(className) in <lambda>()
74 is KClassValue -> CodeBlock.of("%T::class", createClassName(className)) in toCodeBlock()
75 is EnumValue -> CodeBlock.of("%T.%L", createClassName(enumClassName), enumEntryName) in toCodeBlock()
DKmTypes.kt104 var finalType: TypeName = ClassInspectorUtil.createClassName(valClassifier.name) in toTypeName()
146 ClassInspectorUtil.createClassName(valClassifier.name) in toTypeName()
DKotlinPoetMetadataSpecs.kt66 import com.squareup.kotlinpoet.metadata.classinspectors.ClassInspectorUtil.createClassName in <lambda>()
180 className: ClassName = createClassName(name), in <lambda>()
189 className: ClassName = createClassName(name), in toFileSpec()
343 !handler.isInterface(createClassName((type.classifier as KmClassifier.Class).name)) in KmClass()
/external/kotlinpoet/interop/kotlinx-metadata/src/main/kotlin/com/squareup/kotlinpoet/metadata/classinspectors/
DClassInspectorUtil.kt197 fun createClassName(kotlinMetadataName: String): ClassName { in <lambda>() method