setProperties((BindingProvider)proxy, ((QName)arguments[0]).getLocalPart());
}
}
} else if (method.getName().startsWith("get")) {
// it's a generated get<PortName>() method
WebEndpoint endpoint = method.getAnnotation(WebEndpoint.class);
setProperties((BindingProvider)proxy, endpoint.name());
} else if (method.getName().equals("createDispatch")) {
// it's one of createDispatch() methods
Class<?> paramType = method.getParameterTypes()[0];
if (paramType.equals(QName.class)) {
// one of creatDispatch(QName, ....) methods is called