getResource

fun <T : Any> KClass<T>.getResource(resource: String): URL?

Instead of a more verbose style to access JVM style resources:

SomeClazz::class.java.getResource(...)

You can now just acquire resources using a shorthand:

SomeClazz::class.getResource(...)