Package ninja.utils
Class AopUtils
- java.lang.Object
-
- ninja.utils.AopUtils
-
public class AopUtils extends Object
AOP utility methods.
-
-
Constructor Summary
Constructors Constructor Description AopUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisAopProxy(Class<?> clazz)Check whether the given class is a proxy.static booleanisAopProxy(Object object)Check whether the given object is a proxy.
-
-
-
Method Detail
-
isAopProxy
public static boolean isAopProxy(Object object)
Check whether the given object is a proxy.- Parameters:
object- the object to check- Returns:
trueif the object is a proxy
-
isAopProxy
public static boolean isAopProxy(Class<?> clazz)
Check whether the given class is a proxy.- Parameters:
clazz- the class to check- Returns:
trueif the class is a proxy
-
-