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 boolean
isAopProxy(Class<?> clazz)
Check whether the given class is a proxy.static boolean
isAopProxy(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:
true
if 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:
true
if the class is a proxy
-
-