public static JoinPoint unWrapJoinPoint(final JoinPoint point) {
        var naked = point;
        while (naked.getArgs() != null && naked.getArgs().length > 0 && naked.getArgs()[0] instanceof JoinPoint) {
            naked = (JoinPoint) naked.getArgs()[0];
        }
        return naked;
    }
Unwraps a join point that may be nested due to layered proxies.

@param point Join point to unwrap.
@return Innermost join point; if not nested, returns the argument.
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/AopUtils.java