}
void fillIn(Object[] methodArgs, Object returnValue, Message msg) {
String contentId = getContentId();
Object obj = (methodPos == -1) ? returnValue : getter.get(methodArgs[methodPos]);
if (obj != null) {
Attachment att = new ByteArrayAttachment(contentId,(byte[])obj,mimeType);
msg.getAttachments().add(att);
}
}