@MimeLocation(subfolderName="HyperlinkTypeDefLocationProviders") public interface HyperlinkTypeDefLocationProvider
@MimeRegistration(mimeType = "text/foo", service = HyperlinkTypeDefLocationProvider.class)
public class FooHyperlinkTypeDefLocationProvider implements HyperlinkTypeDefLocationProvider {
...
}
Modifier and Type | Method and Description |
---|---|
CompletableFuture<HyperlinkLocation> |
getHyperlinkTypeDefLocation(Document doc,
int offset)
Resolves a hyperlink at the given document offset and returns its
target type definition location.
|
CompletableFuture<HyperlinkLocation> getHyperlinkTypeDefLocation(@NonNull Document doc, int offset)
doc
- document on which to operate.offset
- offset within document