Package org.powermock.reflect.spi
Interface ProxyFramework
-
- All Known Implementing Classes:
ProxyFrameworkImpl
public interface ProxyFrameworkThe purpose of a the proxy framework implementation is to return the unproxied types of classes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<?>getUnproxiedType(Class<?> type)Check if the class is a proxy and if it is return the unproxied type.booleanisProxy(Class<?> type)
-
-
-
Method Detail
-
getUnproxiedType
Class<?> getUnproxiedType(Class<?> type)
Check if the class is a proxy and if it is return the unproxied type.- Parameters:
type- The class to check.- Returns:
- The unproxied class type.
-
isProxy
boolean isProxy(Class<?> type)
- Returns:
trueif type is a proxy,falseotherwise.
-
-