get

operator fun <R : Resource> get(clazz: KClass<R>): Resource.CompanionObj<R>(source)

Gets a resource companion.

Return

The companion object of the resource.

Parameters

clazz

The class of the resource.

R

The type of the resource.


Gets a resource companion.

Parameters

R

The type of the resource.


operator fun get(type: String): Resource.CompanionObj<out Resource>(source)

Gets a resource companion.

Return

The companion object of the resource.

Parameters

type

The type of the resource.


operator fun get(companionObj: Resource.CompanionObj<out Resource>): KClass<out Resource>(source)

Gets a resource class.

Return

The class of the resource.

Parameters

companionObj

The companion object of the resource.