Class Proxies
java.lang.Object
org.codehaus.commons.compiler.util.reflect.Proxies
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TnewInstance(Object delegate, Method... methodsAndDelegateMethod)
-
Constructor Details
-
Proxies
private Proxies()
-
-
Method Details
-
newInstance
- Type Parameters:
T- The interface that declares the method- Parameters:
methodsAndDelegateMethod- Pairs of methods declared inTand methods declared indelegate.getClass()- Returns:
- An object that implements the interface that declares the methods, and delegates all invocations of the methods to the delegate and the delegateMethods
-