Class KotlinConstructorPropertySpec
-
- All Implemented Interfaces:
-
io.toolisticon.kotlin.generation.spec.KotlinConstructorPropertySpecSupplier
,io.toolisticon.kotlin.generation.spec.KotlinDocumentableSpec
,io.toolisticon.kotlin.generation.spec.KotlinGeneratorSpecSupplier
,io.toolisticon.kotlin.generation.spec.TaggableSpec
public final class KotlinConstructorPropertySpec implements KotlinConstructorPropertySpecSupplier, KotlinDocumentableSpec
-
-
Field Summary
Fields Modifier and Type Field Description private final String
name
private final TypeName
type
private final KDoc
kdoc
private final KotlinPropertySpec
property
private final KotlinParameterSpec
parameter
-
Constructor Summary
Constructors Constructor Description KotlinConstructorPropertySpec(KotlinPropertySpec property, KotlinParameterSpec parameter)
-
Method Summary
Modifier and Type Method Description String
getName()
Name of property final TypeName
getType()
KDoc
getKdoc()
final KotlinPropertySpec
getProperty()
final KotlinParameterSpec
getParameter()
<T extends Any> T
tag(KClass<T> type)
KotlinConstructorPropertySpec
spec()
-
-
Constructor Detail
-
KotlinConstructorPropertySpec
KotlinConstructorPropertySpec(KotlinPropertySpec property, KotlinParameterSpec parameter)
-
-
Method Detail
-
getType
final TypeName getType()
-
getProperty
final KotlinPropertySpec getProperty()
-
getParameter
final KotlinParameterSpec getParameter()
-
-
-
-