logger.log(TreeLogger.ERROR, "Exactly one resource must be specified", null);
throw new UnableToCompleteException();
}
// Determine if a MIME Type has been specified
MimeType mimeTypeAnnotation = method.getAnnotation(MimeType.class);
String mimeType = mimeTypeAnnotation != null ? mimeTypeAnnotation.value() : null;
// Determine if resource should not be embedded
DoNotEmbed doNotEmbed = method.getAnnotation(DoNotEmbed.class);
boolean forceExternal = (doNotEmbed != null);