Class ProxyFrameworkImpl
java.lang.Object
org.powermock.api.extension.proxyframework.ProxyFrameworkImpl
- All Implemented Interfaces:
ProxyFramework
CGLib proxy framework setup.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass
<?> getUnproxiedType
(Class<?> type) Check if the class is a proxy and if it is return the unproxied type.boolean
-
Constructor Details
-
ProxyFrameworkImpl
public ProxyFrameworkImpl()
-
-
Method Details
-
getUnproxiedType
Check if the class is a proxy and if it is return the unproxied type.- Specified by:
getUnproxiedType
in interfaceProxyFramework
- Parameters:
type
- The class to check.- Returns:
- The unproxied class type.
-
isProxy
- Specified by:
isProxy
in interfaceProxyFramework
- Returns:
true
if type is a proxy,false
otherwise.
-