Skip to content

Commit

Permalink
Update constructor delegation
Browse files Browse the repository at this point in the history
  • Loading branch information
theEvilReaper committed Mar 13, 2024
1 parent ffe9043 commit 5e1c794
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import kotlin.reflect.KClass
* @version 1.0.0
* @since 1.0.0
*/
class AnnotationSpec(
class AnnotationSpec internal constructor(
builder: AnnotationSpecBuilder,
) {
internal val typeName: TypeName = builder.typeName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import net.theevilreaper.dartpoet.util.toImmutableSet
* @since 1.0.0
* @author theEvilReaper
*/
class EnumPropertySpec(
class EnumPropertySpec internal constructor(
val builder: EnumPropertyBuilder
) {
internal val name = builder.name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import kotlin.reflect.KClass
* @since 1.0.0
* @author theEvilReaper
*/
class ExtensionSpec(
class ExtensionSpec internal constructor(
builder: ExtensionBuilder
) {
internal val name: String? = builder.name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import net.theevilreaper.dartpoet.util.toImmutableSet
* @since 1.0.0
* @version 1.0.0
*/
class FunctionSpec(
class FunctionSpec internal constructor(
builder: FunctionBuilder
) {
internal val name = builder.name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import kotlin.reflect.KClass
* @author theEvilReaper
* @since 1.0.0
*/
class PropertySpec(
class PropertySpec internal constructor(
builder: PropertyBuilder
) {
internal var name = builder.name
Expand Down

0 comments on commit 5e1c794

Please sign in to comment.