Skip to content

Read Generic Type at Runtime #72

@e5LA

Description

@e5LA

Task

Implement a utility to capture and read generic type information at runtime.

  • Example: extract List<String> element type
  • Use TypeToken-style pattern with reified generics
  • File: reflection/ReadGenericType.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