logger.log(TreeLogger.ERROR, "ContentScript (" + typeName
+ ") must be annotated with a Specificaiton.");
throw new UnableToCompleteException();
}
context.commitArtifact(logger, new ContentScriptArtifact(spec.path(),
spec.whiteList(), spec.runAt()));
}
private static String processPage(TreeLogger logger,
GeneratorContext context, JClassType userType)
throws UnableToCompleteException {