Companion

object Companion

Functions

Link copied to clipboard
fun builder(name: String, type: TypeName, vararg modifiers: KModifier): ParameterSpec.Builder
fun builder(name: String, type: Type, vararg modifiers: KModifier): ParameterSpec.Builder
fun builder(name: String, type: KClass<*>, vararg modifiers: KModifier): ParameterSpec.Builder
Link copied to clipboard
@DelicateKotlinPoetApi(message = "Element APIs don't give complete information on Kotlin types. Consider using the kotlinpoet-metadata APIs instead.")
fun get(element: VariableElement): ParameterSpec
Link copied to clipboard
@DelicateKotlinPoetApi(message = "Element APIs don't give complete information on Kotlin types. Consider using the kotlinpoet-metadata APIs instead.")
fun parametersOf(method: ExecutableElement): List<ParameterSpec>
Link copied to clipboard