add Property
fun addProperty( name: String, type: TypeName, vararg modifiers: KModifier): TypeSpec.Builder
Content copied to clipboard
@DelicateKotlinPoetApi(message = "Java reflection APIs don't give complete information on Kotlin types. Consider using the kotlinpoet-metadata APIs instead." )
Content copied to clipboard
fun addProperty( name: String, type: KClass<*>, vararg modifiers: KModifier): TypeSpec.Builder
Content copied to clipboard
fun addProperty( name: String, type: TypeName, modifiers: Iterable<KModifier>): TypeSpec.Builder
Content copied to clipboard
@DelicateKotlinPoetApi(message = "Java reflection APIs don't give complete information on Kotlin types. Consider using the kotlinpoet-metadata APIs instead." )
Content copied to clipboard
fun addProperty( name: String, type: KClass<*>, modifiers: Iterable<KModifier>): TypeSpec.Builder
Content copied to clipboard