Class KotlinConstructorPropertySpec
-
- All Implemented Interfaces:
-
io.toolisticon.kotlin.generation.WithTags,io.toolisticon.kotlin.generation.spec.KotlinConstructorPropertySpecSupplier,io.toolisticon.kotlin.generation.spec.KotlinDocumentableSpec,io.toolisticon.kotlin.generation.spec.KotlinGeneratorSpecSupplier
public final class KotlinConstructorPropertySpec implements KotlinConstructorPropertySpecSupplier, KotlinDocumentableSpec
Represents a constructor property, wraps parameter and property for easier creation of constructors with property..
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final TypeNametypeprivate final KDockdocprivate final KotlinPropertySpecpropertyprivate final KotlinParameterSpecparameter
-
Constructor Summary
Constructors Constructor Description KotlinConstructorPropertySpec(KotlinPropertySpec property, KotlinParameterSpec parameter)
-
Method Summary
Modifier and Type Method Description StringgetName()Name of property final TypeNamegetType()KDocgetKdoc()final KotlinPropertySpecgetProperty()final KotlinParameterSpecgetParameter()<T extends Any> Ttag(KClass<T> type)KotlinConstructorPropertySpecspec()-
-
Constructor Detail
-
KotlinConstructorPropertySpec
KotlinConstructorPropertySpec(KotlinPropertySpec property, KotlinParameterSpec parameter)
-
-
Method Detail
-
getType
final TypeName getType()
-
getProperty
final KotlinPropertySpec getProperty()
-
getParameter
final KotlinParameterSpec getParameter()
-
-
-
-