spring-framework / org.springframework.aop.support / Pointcuts / matches

matches

open static fun matches(pointcut: Pointcut, method: Method, targetClass: Class<*>, vararg args: Any): Boolean

Perform the least expensive check for a pointcut match.

Parameters

pointcut - the pointcut to match

method - the candidate method

targetClass - the target class

args - arguments to the method

Return
whether there's a runtime match