from the companion object above I'd need the GuildSettings argument ?
I'm rather new to ksp so I don't know all the jargon yet
y
yigit
11/20/2021, 6:00 PM
If you resolve the type of the companion object, it should return a type where you can inspect type arguments
yigit
11/20/2021, 6:00 PM
There you should be able to resolve it
p
PixelHamster
11/20/2021, 7:50 PM
I only find the generic parameters <ULong, GuildSetting> on the companion KSClassDeclaration of the companion object
PixelHamster
11/20/2021, 7:55 PM
Here is a bit more context.
I am processing the Cacheable tag.
and my classes look like this:
e
efemoney
11/22/2021, 3:39 AM
You cannot get the argument of the constructor as its an expression level information. KSP will not help here. Either use a fully fledged compiler plugin or find a way to encode the argument class in a symbol that KSP can read eg annotation etc