Class KotlinConstructorPropertySpecBuilder
-
- All Implemented Interfaces:
-
io.toolisticon.kotlin.generation.Builder
,io.toolisticon.kotlin.generation.builder.KotlinDocumentableBuilder
,io.toolisticon.kotlin.generation.spec.KotlinConstructorPropertySpecSupplier
,io.toolisticon.kotlin.generation.spec.KotlinGeneratorSpecSupplier
public final class KotlinConstructorPropertySpecBuilder implements Builder<KotlinConstructorPropertySpec>, KotlinConstructorPropertySpecSupplier, KotlinDocumentableBuilder<KotlinConstructorPropertySpecBuilder>
Builder for KotlinConstructorPropertySpec.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
KotlinConstructorPropertySpecBuilder.Companion
-
Field Summary
Fields Modifier and Type Field Description private final String
name
public final static KotlinConstructorPropertySpecBuilder.Companion
Companion
-
Method Summary
Modifier and Type Method Description String
getName()
Name of property final KotlinConstructorPropertySpecBuilder
makePrivate()
final KotlinConstructorPropertySpecBuilder
addAnnotation(KotlinAnnotationSpecSupplier annotationSpec)
KotlinConstructorPropertySpecBuilder
addKdoc(KDoc kdoc)
Implementing builders have to add this to their build. KotlinConstructorPropertySpec
build()
KotlinConstructorPropertySpec
spec()
-
-
Method Detail
-
makePrivate
final KotlinConstructorPropertySpecBuilder makePrivate()
-
addAnnotation
final KotlinConstructorPropertySpecBuilder addAnnotation(KotlinAnnotationSpecSupplier annotationSpec)
-
addKdoc
KotlinConstructorPropertySpecBuilder addKdoc(KDoc kdoc)
Implementing builders have to add this to their build.
-
build
KotlinConstructorPropertySpec build()
-
-
-
-