Companion

object Companion

Functions

Link copied to clipboard

Gets the specified annotation from the given class. If the annotation is not present, a RuntimeException is thrown.

Gets the specified annotation from the given class. If the annotation is not present, a RuntimeException is thrown.

Link copied to clipboard

Gets all annotations of the specified annotation for the given class. If no annotations were found, throws a RuntimeException.

Gets all annotations of the specified annotation for the given class. If no annotations were found, throws a RuntimeException.

Link copied to clipboard
fun <T : Any> T.logger(): Logger

Gets a org.slf4j.Logger for the given class.