else if (link.startsWith("source.")) {
owner.checkPermission(Item.WORKSPACE);
FileAnnotation annotation = container.getAnnotation(StringUtils.substringAfter(link, "source."));
if (annotation.isInConsoleLog()) {
LineRange lines = annotation.getLineRanges().iterator().next();
return new ConsoleDetail(owner, lines.getStart(), lines.getEnd());
}
else {
return new SourceDetail(owner, annotation, defaultEncoding);
}
}