All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.powermock.reflect.spi.ProxyFramework Maven / Gradle / Ivy

There is a newer version: 2.0.9
Show newest version
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