toggle menu
kotlinpoet
1.17.0-SNAPSHOT
common
switch theme
search in API
kotlinpoet
/
com.squareup.kotlinpoet
/
AnnotationSpec
/
Companion
/
builder
builder
fun
builder
(
type
:
ClassName
)
:
AnnotationSpec.Builder
fun
builder
(
type
:
ParameterizedTypeName
)
:
AnnotationSpec.Builder
@
DelicateKotlinPoetApi
(
message
=
"Java reflection APIs don't give complete information on Kotlin types. Consider using the kotlinpoet-metadata APIs instead."
)
fun
builder
(
type
:
<Error class: unknown class>
<
out
Annotation
>
)
:
AnnotationSpec.Builder
fun
builder
(
type
:
KClass
<
out
Annotation
>
)
:
AnnotationSpec.Builder