JellyHyperlinkProvider implements HyperlinkProviderExt { @Override public int[] getHyperlinkSpan(Document doc, int offset, HyperlinkType type) { return hyperlinkSpan(doc, offset); }  @Override Set<HyperlinkType> getSupportedHyperlinkTypes(); @Override boolean isHyperlinkPoint(Document doc, int offset, HyperlinkType type); @Override int[] getHyperlinkSpan(Document doc, int offset, HyperlinkType type); @Override void performClickAction(Document doc, int offset, HyperlinkType type); @Override String getTooltipText(Document doc, int offset, HyperlinkType type);  }
@Test public void getHyperlinkSpan() throws Exception { assertEquals("f:entry", textFrom(JellyHyperlinkProvider.hyperlinkSpan(doc, offsetOf("ntry title=\"${")))); assertEquals("f:repeatableDeleteButton", textFrom(JellyHyperlinkProvider.hyperlinkSpan(doc, offsetOf("peatableD")))); assertEquals("f:textbox", textFrom(JellyHyperlinkProvider.hyperlinkSpan(doc, offsetOf("f:textbox")))); assertEquals("p:config-trigger", textFrom(JellyHyperlinkProvider.hyperlinkSpan(doc, offsetOf("ig-tr")))); }