getInfo

open fun <T : Annotation> getInfo(type: Class<T>): T

Gets the info annotation for the given type. If no info annotation was found, throws RuntimeException.