Skip to content

Detect primary constructor to generate metadata for Kotlin immutable types #16293

Open
@snicoll

Description

@snicoll

Configuration keys metadata for immutable Kotlin types are likely not to be generated as a single constructor in Kotlin may lead to several constructor on the Java side.

We should detect the primary constructor, if any and, for that, we need to access the metadata available only in binary format for now.

A couple of libraries could help with that:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions