struct AnnotationKey
source · line 4public
public struct AnnotationKey(val identity: String, val displayName: String, val describeBody: () -> AnnotationDeclarationInfo) : Equals<AnnotationKey>
- Supertype
Equals<AnnotationKey>
The identity of an annotation declaration, distinct from its display spelling.
function describe
source · line 17public
public fun describe(): AnnotationDeclarationInfo
Returns the annotation declaration's parameter and annotation metadata.
function equals
source · line 12public
public override operator fun equals(other: AnnotationKey): Boolean
- Overrides
equals· Equals
Compares annotation declaration identities.
parameter other
source · line 12public
other: AnnotationKey
field describeBody
source · line 7public
val describeBody: () -> AnnotationDeclarationInfo
constructor constructor
source · line 4public
constructor(val identity: String, val displayName: String, val describeBody: () -> AnnotationDeclarationInfo)
parameter describeBody
source · line 7public
val describeBody: () -> AnnotationDeclarationInfo
parameter identity
source · line 5public
val identity: String
parameter displayName
source · line 6public
val displayName: String
field displayName
source · line 6public
val displayName: String
field identity
source · line 5public
val identity: String