Java 8 now has an API to give you the names of parameters, but you need to call javac with -parameters to put the info in the .class files. Is there a way to get Kotlin to do this? Or is there another way I can get parameter names in Kotlin? I'm using reflection to make some functions callable via HTTP requests. Otherwise I can workaround by repeating the names in an annotation.
String name = obj.getClass().getMethods().getParameters().getName()