org.powermock.reflect.spi
Interface ProxyFramework
public interface ProxyFramework
The purpose of a the proxy framework implementation is to return the
unproxied types of classes.
|
Method Summary |
java.lang.Class<?> |
getUnproxiedType(java.lang.Class<?> type)
Check if the class is a proxy and if it is return the unproxied type. |
boolean |
isProxy(java.lang.Class<?> type)
|
getUnproxiedType
java.lang.Class<?> getUnproxiedType(java.lang.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(java.lang.Class<?> type)
- Returns:
true if type is a proxy, false
otherwise.
Copyright © 2007-2012. All Rights Reserved.