private void attachWebEndpointAnnotation(MethodDescriptionComposite mdc, Method
method) {
WebEndpoint webEndpoint = (WebEndpoint)ConverterUtils.getAnnotation(
WebEndpoint.class, method);
if (webEndpoint != null) {
WebEndpointAnnot weAnnot = WebEndpointAnnot.createWebEndpointAnnotImpl();
weAnnot.setName(webEndpoint.name());
mdc.setWebEndpointAnnot(weAnnot);
}
}