Shannon Yang
09/10/2019, 7:56 PMIrGenerationExtension
, and am trying to add a function to annotated classes that just prints "Hello World". I got stuck figuring out how to find the println
descriptor or symbol to build the function call through IrCallImpl
. Does anyone know where I could find an example, or another way I could go about this? Thanks!raulraja
09/10/2019, 8:03 PMraulraja
09/10/2019, 8:07 PMShannon Yang
09/10/2019, 9:04 PMShannon Yang
09/10/2019, 9:36 PMraulraja
09/10/2019, 9:50 PMmodule.getPackageByName("<http://kotlin.io|kotlin.io>").getContributedDescriptors(name, filter)
raulraja
09/10/2019, 9:51 PMraulraja
09/10/2019, 9:52 PMraulraja
09/10/2019, 9:53 PMprintln
as a descriptor there is some other way to do that.raulraja
09/10/2019, 9:57 PMShannon Yang
09/10/2019, 10:19 PMDominaezzz
02/09/2020, 2:53 AMIrFunctionSymbol
based on a some name.Dominaezzz
02/09/2020, 1:46 PMandylamax
06/04/2021, 8:33 AM