Interface KotlinDocumentableBuilder
-
- All Implemented Interfaces:
-
io.toolisticon.kotlin.generation.builder.KotlinTaggableBuilder
public interface KotlinDocumentableBuilder<SELF extends Object> implements KotlinTaggableBuilder<SELF>
Typesafe wrapper for com.squareup.kotlinpoet.Documentable.Builder. Marks anything that can have
kdocdocumentation.addKdoc
-
-
Method Summary
Modifier and Type Method Description abstract SELFaddKdoc(KDoc kdoc)Implementing builders have to add this to their build. SELFaddKdoc(CodeBlock kdoc)Wraps a codeBlock into a KDoc and adds it. SELFaddKdoc(String docs)Wraps a single string and adds it. SELFaddKdoc(String format, String first, Object other)Creates a codeBlock using format and args and then addsIt.
-