private Map<Class<?>, Boolean> getJaxbAnnoMap(MessagePartInfo mpi) { Map<Class<?>, Boolean> map = new ConcurrentHashMap<Class<?>, Boolean>(4, 0.75f, 1); Annotation[] anns = getMethodParameterAnnotations(mpi); if (anns != null) { for (Annotation anno : anns) { if (anno instanceof XmlList) { map.put(XmlList.class, true); } if (anno instanceof XmlAttachmentRef) { map.put(XmlAttachmentRef.class, true); } if (anno instanceof XmlJavaTypeAdapter) { map.put(XmlJavaTypeAdapter.class, true); } if (anno instanceof XmlElementWrapper) { map.put(XmlElementWrapper.class, true); } } } return map; }
private Map<Class<?>, Boolean> getJaxbAnnoMap(MessagePartInfo mpi) { Map<Class<?>, Boolean> map = new ConcurrentHashMap<Class<?>, Boolean>(4, 0.75f, 1); Annotation[] anns = getMethodParameterAnnotations(mpi); if (anns != null) { for (Annotation anno : anns) { if (anno instanceof XmlList) { map.put(XmlList.class, true); } if (anno instanceof XmlAttachmentRef) { map.put(XmlAttachmentRef.class, true); } if (anno instanceof XmlJavaTypeAdapter) { map.put(XmlJavaTypeAdapter.class, true); } if (anno instanceof XmlElementWrapper) { map.put(XmlElementWrapper.class, true); } } } return map; }
addMimeType(el, getMethodParameterAnnotations(mpi)); Annotation[] methodAnnotations = getMethodAnnotations(mpi); if (methodAnnotations != null) {
addMimeType(el, getMethodParameterAnnotations(mpi)); Annotation[] methodAnnotations = getMethodAnnotations(mpi); if (methodAnnotations != null) {