Skip to content

Modify Final Field (with Warning) #73

@e5LA

Description

@e5LA

Task

Demonstrate how to modify a final field via reflection (with caution).

  • Input: object and field name
  • Output: modified field value
  • File: reflection/ModifyFinalField.kt

Update the reflection/README.md with a short entry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededtype: snippetSmall, reusable Kotlin functions or expressions

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions