Searched refs:typeNameOf (Results 1 – 6 of 6) sorted by relevance
/external/kotlinpoet/kotlinpoet/src/test/java/com/squareup/kotlinpoet/ |
D | TypeNameKotlinTest.kt | 25 val type = typeNameOf<TypeNameKotlinTest>() in typeNameOf_simple() 31 val type = typeNameOf<String>() in typeNameOf_simple_intrinsic() 37 val type = typeNameOf<IntArray>() in typeNameOf_array_primitive() 43 val type = typeNameOf<Array<String>>() in typeNameOf_array_parameterized() 49 val type = typeNameOf<String?>() in typeNameOf_nullable() 55 val type = typeNameOf<List<String>>() in typeNameOf_generic() 61 val type = typeNameOf<GenericType<out String>>() in typeNameOf_generic_wildcard_out() 67 val type = typeNameOf<GenericType<in String>>() in typeNameOf_generic_wildcard_in() 73 …val type = typeNameOf<Map<String, List<Map<*, GenericType<in Set<Array<GenericType<out String>?>>>… in typeNameOf_complex() 82 val type = typeNameOf<String>().copy(tags = mapOf(String::class to "Test")) in tag() [all …]
|
D | FileSpecTest.kt | 1104 …val someLongParameterizedTypeName = typeNameOf<List<Map<in String, Collection<Map<WackyKey, out Oh… in longCommentWithTypes() 1182 ….addProperty(PropertySpec.builder("prop2", typeNameOf<Map<String, Any>?>()).initializer("null").bu… in defaultImports() 1183 ….addProperty(PropertySpec.builder("prop3", typeNameOf<Callable<String>?>()).initializer("null").bu… in defaultImports() 1184 ….addProperty(PropertySpec.builder("prop4", typeNameOf<Function<Int, Int>?>()).initializer("null").… in defaultImports()
|
D | UtilTest.kt | 103 addParameter("aaa bbb", typeNameOf<(Int) -> String>()) in escapeSpaceInName()
|
/external/kotlinpoet/interop/javapoet/src/test/kotlin/com/squareup/kotlinpoet/javapoet/ |
D | PoetInteropTest.kt | 43 import com.squareup.kotlinpoet.typeNameOf 136 val inKType = typeNameOf<GenericType<in String>>() in wildcards() 144 val outKType = typeNameOf<GenericType<out String>>() in wildcards() 152 val star = typeNameOf<GenericType<*>>() in wildcards() 165 val complexType = typeNameOf<Map<String?, List<MutableMap<Int, IntArray>>>>() in complex() 181 .isEqualTo(typeNameOf<Map<String, List<MutableMap<Int, IntArray>>>>()) in complex()
|
/external/kotlinpoet/kotlinpoet/src/main/java/com/squareup/kotlinpoet/ |
D | TypeName.kt | 347 public inline fun <reified T> typeNameOf(): TypeName = typeOf<T>().asTypeName() method
|
/external/kotlinpoet/docs/ |
D | index.md | 1476 and [`typeNameOf<T>()`](https://square.github.io/kotlinpoet/1.x/kotlinpoet/kotlinpoet/com.squareup.… 1486 val typeName = typeNameOf<List<Int?>>()
|