org.powermock.reflect.spi.ProxyFramework Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powermock-reflect Show documentation
Show all versions of powermock-reflect Show documentation
Various utilities for accessing internals of a class.
package org.powermock.reflect.spi;
/**
* The purpose of a the proxy framework implementation is to return the
* unproxied types of classes.
*/
public interface ProxyFramework {
/**
* Check if the class is a proxy and if it is return the unproxied type.
*
* @param type
* The class to check.
* @return The unproxied class type.
*/
Class> getUnproxiedType(Class> type);
/**
* @return true
if type is a proxy, false
* otherwise.
*/
boolean isProxy(Class> type);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy