is it possible that in some cases kotlin generates...
# announcements
c
is it possible that in some cases kotlin generates methods that are not marked as synthetic, and have no associated source file? I’m using pitest for my project and pitest needs source files for all non synthetic methods (which makes sense imo) this is how the class looks in “show kotlin bytecode”: https://gist.github.com/christophsturm/1f46f14dde1a61a14ce449b0632f883c
g
I’m pretty sure it’s the case, for example data class generates toString, equals, hashcode, copy, componentN and they cannot be synthetic, because they must be available
also true for internal modifiers
c
interesting. pitest does work for data classes.
g
maybe they have special handling for data classes?
Like Jacoco, which just ignores those methods in coverage report