toggle menu
kotlinpoet
1.17.0-SNAPSHOT
common
switch theme
search in API
kotlinpoet
/
com.squareup.kotlinpoet
/
TypeAliasSpec
/
Companion
Companion
object
Companion
Members
Functions
builder
Link copied to clipboard
@
DelicateKotlinPoetApi
(
message
=
"Java reflection APIs don't give complete information on Kotlin types. Consider using the kotlinpoet-metadata APIs instead."
)
fun
builder
(
name
:
String
,
type
:
<Error class: unknown class>
)
:
TypeAliasSpec.Builder
fun
builder
(
name
:
String
,
type
:
TypeName
)
:
TypeAliasSpec.Builder
fun
builder
(
name
:
String
,
type
:
KClass
<
*
>
)
:
TypeAliasSpec.Builder