Shawn
07/30/2024, 1:23 AMbuild.gradle.kts
kotlin {
compilerOptions {
javaParameters = true
}
}
but at runtime (or at least, during an integration test), when I inspect the class's declaredConstructors, the all-args constructor has no parameter metadata—`constructor.getParameters()` returns null. I'm not sure if this is some kind of issue with multi-project gradle projects, if I'm not setting javaParameters in the correct place, or if that flag just doesn't do what I need it to.
the kotlin plugin is being added with this line
kotlin("jvm") version("1.9.20") apply(false)Shawn
07/30/2024, 1:54 AMgetDeclaredConstructors() and getConstructors() are not the same, and the former does not include parameter metadata for some reasonShawn
07/30/2024, 2:06 AMint and a kotlin.jvm.internal.DefaultConstructorMarker 💀. This constructor doesn't include any parameter metadata (and I can't use it anyhow)