<@U3HBAEXLY> `KAnnotatedElement#annotations` is a ...
# announcements
d
@dszopa
KAnnotatedElement#annotations
is a
List<Annotation>
, you can't check if it contains a
KClass
, that does not make sense. You want something like
function.annotations.any { it.annotationClass == Route::class }
.