Is there maybe a helper function in Kotlin Poet th...
# squarelibraries
a
Is there maybe a helper function in Kotlin Poet that transforms Strings to 'valid' Kotlin property names for generating properties. For instance, I have the raw input 'foo.bar-x' and I want to have Kotlin generate something like
val fooBarX ....
, is there a helper to transform
foo.bar-x
to
fooBarX
or
FooBarX
? If not, it is pretty trivial to implement though for myself.
j
NameAllocator
a
Awesome great!