Class KDoc

  • All Implemented Interfaces:
    java.util.function.Supplier

    @JvmInline() 
    public final class KDoc
     implements Supplier<CodeBlock>
                        

    For all com.squareup.kotlinpoet.Documentable types, wrap the CodeBlock in KDoc.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class KDoc.Companion
    • Constructor Summary

      Constructors 
      Constructor Description
      KDoc(CodeBlock value)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      CodeBlock get()
      String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KDoc

        KDoc(CodeBlock value)