Fudge
08/01/2019, 8:12 AM@NbtSerializable
class Foo // --> Generates source file named "FooUtil"
Now I remove @NbtSerializable
and need FooUtil
to be deleted as well.Sergey Chelombitko
08/01/2019, 9:50 AMaddOriginatingElement
on every TypeSpec/FunSpec/etc. builder and pass the corresponding element.
Also make sure you use only FileSpec.writeTo(Filer)
for writing files.