Static extension methods for Java classes?


#1

Hi,

The java.util.logging.Logger class has a static getLogger(String) method. Say I wanted to add a getLogger(Class) method. I can’t do that, can I?

Rob


#2

No, this is not currently possible. There’s a YouTrack issue for this: https://youtrack.jetbrains.com/issue/KT-11968