Class ProxyDetector

java.lang.Object
dev.voidframework.core.helper.ProxyDetector

public final class ProxyDetector extends Object
Helper to detect proxy class.
  • Constructor Details

    • ProxyDetector

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