Hi! I'm stuck and am getting no answers in Stackov...
# announcements
u
Hi! I'm stuck and am getting no answers in Stackoverflow. Anyone cares to take a look? https://stackoverflow.com/questions/52811359/how-to-get-the-type-of-an-instance-of-javax-lang-model-element-element
n
i am not sure what type mirror provides but you can construct a
Classname
for kotlinpoet given just the package and the class name as Strings
Classname("my.package", "MyClass")
as a sidenote this also works for top level functions (since they need imports too)