private TypeInfo getInInfo(Method method) {
RequestWrapper requestWrapper = method.getAnnotation(RequestWrapper.class);
Class<?>[] types = method.getParameterTypes();
if (requestWrapper != null) {
if (requestWrapper.className() != null) {
return new TypeInfo(requestWrapper.className(), new QName(requestWrapper.targetNamespace(),
requestWrapper.localName()));
}
} else if (types.length == 1) {
Annotation[] firstParamAnnotations = method.getParameterAnnotations()[0];
for (Annotation annotation : firstParamAnnotations) {