sitepodmatt
03/25/2019, 2:16 AMval x: () -> Any? = @Repeated(5) {
"hi"
}
// test if x has annontation
//fail
println(x::class.java.annotations.first() as Repeated)
LeoColman
03/25/2019, 2:22 AMsitepodmatt
03/25/2019, 2:23 AMLeoColman
03/25/2019, 2:30 AMx::class.findAnnotation<Repeated>()
?sitepodmatt
03/25/2019, 6:27 AM