public static String getBindingAnnotation(String key) {
return bindingMap.get(key.toUpperCase());
}
public static <T> T getProxy(Class<T> cls, Object obj) {
InvocationHandler ih = new ExtensionInvocationHandler(obj);
Object proxy = Proxy.newProxyInstance(cls.getClassLoader(), new Class[] {cls}, ih);
return cls.cast(proxy);
}