EnumEntryData

Represents relevant information on a Kotlin enum entry.

data class EnumEntryData(declarationContainer: ImmutableKmClass?, annotations: Collection<AnnotationSpec>)

Constructors

EnumEntryData
Link copied to clipboard
fun EnumEntryData(declarationContainer: ImmutableKmClass?, annotations: Collection<AnnotationSpec>)

Functions

component1
Link copied to clipboard
operator fun component1(): ImmutableKmClass?
component2
Link copied to clipboard
operator fun component2(): Collection<AnnotationSpec>
copy
Link copied to clipboard
fun copy(declarationContainer: ImmutableKmClass?, annotations: Collection<AnnotationSpec>): EnumEntryData
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

annotations
Link copied to clipboard

the annotations for the entry

val annotations: Collection<AnnotationSpec>
declarationContainer
Link copied to clipboard

the ImmutableKmClass as parsed from the entry's @Metadata annotation.

val declarationContainer: ImmutableKmClass?