https://kotlinlang.org logo
k

karelpeeters

12/21/2018, 6:12 PM
You could add a function to the instances that returns an implementation of an interface responsible for the "static" stuff.