Kotlin support for metadata added with javac's -parameters option

Hi there,
I just learned about the -parameters option of the javac compiler. According to the man page, it does the following:

Generates metadata for reflection on method parameters. Stores formal parameter names of constructors and methods in the generated class file so that the method java.lang.reflect.Executable.getParameters from the Reflection API can retrieve them.

I was wondering whether the Kotlin compiler already supports parsing this metadata, e.g., to support named parameters when calling Java code. Otherwise, Iā€™d go ahead and submit a feature request.

Cheers :slight_smile:
vatbub

1 Like