Interface ConstructorPropertySupport
-
- All Implemented Interfaces:
public interface ConstructorPropertySupport<SELF extends Object>
All typeSpecs that provide support for constructor properties use this shared code.
-
-
Method Summary
Modifier and Type Method Description abstract SELF
addConstructorProperty(KotlinConstructorPropertySpecSupplier spec)
Implementing builder needs to store the spec provided and apply it to the build. SELF
addConstructorProperty(String name, TypeName type, Function1<KotlinConstructorPropertySpecBuilder, Unit> block)
Allows inline declartion of constructor property. SELF
addConstructorProperty(String name, KClass<?> type, Function1<KotlinConstructorPropertySpecBuilder, Unit> block)
Allows inline declartion of constructor property. -
-
Method Detail
-
addConstructorProperty
abstract SELF addConstructorProperty(KotlinConstructorPropertySpecSupplier spec)
Implementing builder needs to store the spec provided and apply it to the build.
-
addConstructorProperty
SELF addConstructorProperty(String name, TypeName type, Function1<KotlinConstructorPropertySpecBuilder, Unit> block)
Allows inline declartion of constructor property.
-
addConstructorProperty
SELF addConstructorProperty(String name, KClass<?> type, Function1<KotlinConstructorPropertySpecBuilder, Unit> block)
Allows inline declartion of constructor property.
-
-
-
-