} catch (Exception e1) {
}
QWickieJavaHyperlinkDetector detector = new QWickieJavaHyperlinkDetector();
assertNull(detector.detectHyperlinks(null, null, false));
ITextViewer textViewer = new TextViewer(new Shell(), 0);
assertNull(detector.detectHyperlinks(textViewer, null, false));
assertNull(detector.detectHyperlinks(null, new Region(1, 1), false));
textViewer.setDocument(document);
final IWorkbench workbench = PlatformUI.getWorkbench();
final IWorkbenchPage activePage = workbench.getActiveWorkbenchWindow().getActivePage();
try {
detector.setContext(IDE.openEditor(activePage, file));
} catch (Exception e) {