what class are `object`s ?
# announcements
d
what class are `object`s ?
m
They are their own classes.
object Test
is a class named Test and also a value - the only instance of that class.
d
great, I wanted to know because I need to pass the class name to the logger but that was the only thing holding me back from converting the class / companion object structure to a an object
m
SLF4J for example:
LoggerFactory.getLogger(Test::class.java)
d
crap but now i need to remove all the
.Companion.
imports in all my files 😞
m
Maybe a Find & Replace is useful here: Edit > Find > Replace in Path…
d
yup
it half-worked.. now I need to do some editing
m
hehe have fun 🙂