bloder
08/16/2019, 3:11 AM@TestAnnotation("bar") fun foo() {}
And my plugin would change its bytecode to something like:
fun foo_bar() {}
And by doing that, compiler would support many functions with the same name? like:
@TestAnnotation("bar") fun foo() {}
@TestAnnotation("bar2") fun foo() {}
@TestAnnotation("bar3") fun foo() {}
diesieben07
08/16/2019, 7:40 AM@JvmName
which you can use.
As for custom compiler plugins, they are possible, but the API is unofficial and not documented