Class KotlinCompanionObjectSpec

  • All Implemented Interfaces:
    io.toolisticon.kotlin.generation.poet.PoetSpecSupplier , io.toolisticon.kotlin.generation.poet.TypeSpecSupplier , io.toolisticon.kotlin.generation.spec.KotlinCompanionObjectSpecSupplier , io.toolisticon.kotlin.generation.spec.KotlinDocumentableSpec , io.toolisticon.kotlin.generation.spec.KotlinGeneratorSpec , io.toolisticon.kotlin.generation.spec.KotlinGeneratorSpecSupplier , io.toolisticon.kotlin.generation.spec.KotlinGeneratorTypeSpec , java.util.function.Supplier

    
    public final class KotlinCompanionObjectSpec
     implements KotlinGeneratorTypeSpec<KotlinCompanionObjectSpec>, KotlinCompanionObjectSpecSupplier, KotlinDocumentableSpec
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final KDoc kdoc
      private final String code
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      KDoc getKdoc()
      KotlinCompanionObjectSpec spec()
      TypeSpec get()
      • Methods inherited from class io.toolisticon.kotlin.generation.spec.KotlinGeneratorSpec

        getCode
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait