Enum

constructor(nullable: Boolean, fields: List<GeneratedField>, name: String, topInterfaceName: ValidFieldName, visibility: MarkerVisibility = MarkerVisibility.IMPLICIT_PUBLIC, prependTopInterfaceName: Boolean = true)

Parameters

nullable

whether the enum can be null. Needs to be checked when referring to this Marker.

fields

the fields of the enum, can be created using generatedEnumFieldOf.

name

the name of the enum.

visibility

the visibility of the enum.