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