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:
getUnproxiedTypein interfaceProxyFramework- Parameters:
type- The class to check.- Returns:
- The unproxied class type.
-
isProxy
- Specified by:
isProxyin interfaceProxyFramework- Returns:
trueif type is a proxy,falseotherwise.
-