toggle menu
kotlinpoet
1.19.0-SNAPSHOT
common
switch theme
search in API
kotlinpoet
/
com.squareup.kotlinpoet
/
PropertySpec
/
Builder
/
addAnnotation
add
Annotation
open
override
fun
addAnnotation
(
annotationSpec
:
AnnotationSpec
)
:
PropertySpec.Builder
open
override
fun
addAnnotation
(
annotation
:
ClassName
)
:
PropertySpec.Builder
@
DelicateKotlinPoetApi
(
message
=
"Java reflection APIs don't give complete information on Kotlin types. Consider using the kotlinpoet-metadata APIs instead."
)
open
override
fun
addAnnotation
(
annotation
:
<Error class: unknown class>
<
out
<Error class: unknown class>
>
)
:
PropertySpec.Builder
open
override
fun
addAnnotation
(
annotation
:
KClass
<
*
>
)
:
PropertySpec.Builder