/* */ {
/* 136 */ result = new AttachmentScanResult("application/octet-stream", AttachmentScanResult.Type.SWA_REF);
/* */ }
/* 138 */ else if (method.isAnnotationPresent(XmlMimeType.class))
/* */ {
/* 140 */ XmlMimeType mimeTypeDecl = (XmlMimeType)method.getAnnotation(XmlMimeType.class);
/* 141 */ result = new AttachmentScanResult(mimeTypeDecl.value(), AttachmentScanResult.Type.XOP);
/* */ }
/* */
/* 144 */ if (result != null)
/* */ {
/* 146 */ result.setIndex(-1);
/* 147 */ results.add(result);
/* */ }
/* */
/* */ }
/* */
/* 153 */ int index = 0;
/* 154 */ for (Annotation[] parameterAnnotations : method.getParameterAnnotations())
/* */ {
/* 156 */ if (parameterAnnotations != null)
/* */ {
/* 158 */ for (Annotation annotation : parameterAnnotations)
/* */ {
/* 160 */ AttachmentScanResult paramResult = null;
/* */
/* 162 */ if (XmlAttachmentRef.class == annotation.annotationType())
/* */ {
/* 164 */ paramResult = new AttachmentScanResult("application/octet-stream", AttachmentScanResult.Type.SWA_REF);
/* */ }
/* 166 */ else if (XmlMimeType.class == annotation.annotationType())
/* */ {
/* 168 */ XmlMimeType mimeTypeDecl = (XmlMimeType)method.getAnnotation(XmlMimeType.class);
/* 169 */ paramResult = new AttachmentScanResult(mimeTypeDecl.value(), AttachmentScanResult.Type.XOP);
/* */ }
/* */
/* 172 */ if (paramResult == null)
/* */ continue;
/* 174 */ paramResult.setIndex(index);