add Superinterface
fun addSuperinterface(superinterface: TypeName, delegate: CodeBlock = CodeBlock.EMPTY): 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 addSuperinterface(superinterface: KClass<*>, delegate: CodeBlock = CodeBlock.EMPTY): TypeSpec.Builder
Content copied to clipboard
fun addSuperinterface(superinterface: KClass<*>, constructorParameterName: String): TypeSpec.Builder
Content copied to clipboard
fun addSuperinterface(superinterface: TypeName, constructorParameter: String): TypeSpec.Builder
Content copied to clipboard