Tóth István Zoltán
03/01/2024, 7:14 AMFirDeclarationGenerationExtension.getCallableNamesForClass
how are these names mixed with the ones from the original source code and the ones generated by other plugins? For example, if the original code have the function already, should I return with the name still?Tóth István Zoltán
03/01/2024, 7:15 AMdmitriy.novozhilov
03/01/2024, 7:55 AMfun foo(x: Int) {}
fun foo(x: String) {}
With classes it's more complex
• if there is a class with given name in sources, it will be used, plugin won't be called
• if two plugins want to generate two classes with the same name, compiler will crash with exception