i propose that `internal` should mark java getters...
# language-proposals
t
i propose that
internal
should mark java getters and setters as synthetic... when i make a property
internal
in kotlin, it generates ugly methods that are visible from java:
Copy code
getMyVariable$production_sources_for_module_myModule
setMyVariable$production_sources_for_module_myModule
they don't look like they're meant to be used, and i can get rid of them by doing:
Copy code
@get:JvmSynthetic @set:JvmSynthetic internal myVariable
but that makes my source code ugly.. is there a reason why
internal
can't mark these methods as synthetic?
1