get Annotation Args
Returns the arguments of annotation T on the intercepted function, by parameter name.
Only the arguments written at the annotation's use site are present: a parameter left to its default value has no entry.
Example
@Before(RateLimit::class)
fun doBefore(jp: JoinPoint) {
val maxCalls = jp.getAnnotationArgs<RateLimit>()["maxCalls"] as Int
}Content copied to clipboard
Throws
if the intercepted function is not annotated with T.