Package ninja.utils

Class AopUtils


  • public class AopUtils
    extends Object
    AOP utility methods.
    • Constructor Detail

      • AopUtils

        public AopUtils()
    • 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