Class KotlinConstructorPropertySpecBuilder
-
- All Implemented Interfaces:
-
io.toolisticon.kotlin.generation.Builder
,io.toolisticon.kotlin.generation.builder.KotlinAnnotatableBuilder
,io.toolisticon.kotlin.generation.builder.KotlinAnnotatableDocumentableModifiableBuilder
,io.toolisticon.kotlin.generation.builder.KotlinDocumentableBuilder
,io.toolisticon.kotlin.generation.builder.KotlinModifiableBuilder
,io.toolisticon.kotlin.generation.builder.KotlinTaggableBuilder
,io.toolisticon.kotlin.generation.spec.KotlinConstructorPropertySpecSupplier
,io.toolisticon.kotlin.generation.spec.KotlinGeneratorSpecSupplier
public final class KotlinConstructorPropertySpecBuilder implements Builder<KotlinConstructorPropertySpec>, KotlinAnnotatableDocumentableModifiableBuilder<KotlinConstructorPropertySpecBuilder>, KotlinConstructorPropertySpecSupplier
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 KotlinConstructorPropertySpec
build()
KotlinConstructorPropertySpecBuilder
addAnnotation(KotlinAnnotationSpecSupplier spec)
Implementing builder needs to store the spec provided and apply it to the build. KotlinConstructorPropertySpecBuilder
addKdoc(KDoc kdoc)
Implementing builders have to add this to their build. KotlinConstructorPropertySpecBuilder
addModifiers(KModifier modifiers)
Add modifiers. KotlinConstructorPropertySpecBuilder
addTag(KClass<?> type, Object tag)
KotlinConstructorPropertySpec
spec()
-
Methods inherited from class io.toolisticon.kotlin.generation.builder.KotlinAnnotatableBuilder
addAnnotation, addAnnotation, addAnnotation, addAnnotation
-
Methods inherited from class io.toolisticon.kotlin.generation.builder.KotlinDocumentableBuilder
addKDoc, addKdoc, addKdoc
-
Methods inherited from class io.toolisticon.kotlin.generation.builder.KotlinModifiableBuilder
addModifiers, makeAbstract, makePrivate
-
Methods inherited from class io.toolisticon.kotlin.generation.builder.KotlinTaggableBuilder
addTag, removeTag
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
build
KotlinConstructorPropertySpec build()
-
addAnnotation
KotlinConstructorPropertySpecBuilder addAnnotation(KotlinAnnotationSpecSupplier spec)
Implementing builder needs to store the spec provided and apply it to the build.
-
addKdoc
KotlinConstructorPropertySpecBuilder addKdoc(KDoc kdoc)
Implementing builders have to add this to their build.
-
addModifiers
KotlinConstructorPropertySpecBuilder addModifiers(KModifier modifiers)
Add modifiers.
Implementing builders have to add this to their build.
-
addTag
KotlinConstructorPropertySpecBuilder addTag(KClass<?> type, Object tag)
-
-
-
-