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);
URL resource = resources[0];
String outputUrlExpression = context.deploy(
resource, mimeType, forceExternal);