TheOnlyTails
10/19/2022, 2:25 PMKClass from a KSClassDeclaration?TheOnlyTails
10/19/2022, 2:27 PMTheOnlyTails
10/19/2022, 2:27 PMTypeSpec.objectBuilder(className)
.addSuperinterface(CommandAction::class.parameterizedBy(classDeclaration.getKClass())) // how do i do this?
.build()efemoney
10/19/2022, 3:42 PMClassName or the more general TypeName, it just turns out one of the ways to get a class name is via the short cut on KClass.
A ClassName is just a class package + its name, both of those info you can get from KSClassDeclarationTheOnlyTails
10/19/2022, 3:57 PM