spring-framework / org.springframework.aop.support / AopUtils / isCglibProxy

isCglibProxy

open static fun isCglibProxy(@Nullable object: Any): Boolean

Check whether the given object is a CGLIB proxy.

This method goes beyond the implementation of ClassUtils#isCglibProxy(Object) by additionally checking if the given object is an instance of SpringProxy.

Parameters

object - the object to check

See Also
ClassUtils#isCglibProxy(Object)