Class ProxyFrameworkImpl

java.lang.Object
org.powermock.api.extension.proxyframework.ProxyFrameworkImpl
All Implemented Interfaces:
ProxyFramework

public class ProxyFrameworkImpl extends Object implements ProxyFramework
CGLib proxy framework setup.
  • Constructor Details

    • ProxyFrameworkImpl

      public ProxyFrameworkImpl()
  • Method Details

    • getUnproxiedType

      public Class<?> getUnproxiedType(Class<?> type)
      Check if the class is a proxy and if it is return the unproxied type.
      Specified by:
      getUnproxiedType in interface ProxyFramework
      Parameters:
      type - The class to check.
      Returns:
      The unproxied class type.
    • isProxy

      public boolean isProxy(Class<?> type)
      Specified by:
      isProxy in interface ProxyFramework
      Returns:
      true if type is a proxy, false otherwise.