Class ProxyDetectorUtils

java.lang.Object
dev.voidframework.core.utils.ProxyDetectorUtils

public final class ProxyDetectorUtils extends Object
Utility to detect proxy class.
  • Method Details

    • isProxy

      public static boolean isProxy(Object object)
      Checks whether the given object is a proxy.
      Parameters:
      object - the object to check
      Returns:
      true if the object is a proxy
    • isProxy

      public static boolean isProxy(Class<?> clazz)
      Checks whether the given class is a proxy.
      Parameters:
      clazz - the class to check
      Returns:
      true if the class is a proxy