public abstract class AbstractTypeDefinitionParticipant extends Object implements ITypeDefinitionParticipant
Constructor and Description |
---|
AbstractTypeDefinitionParticipant() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doFindTypeDefinition(ITypeDefinitionRequest request,
List<org.eclipse.lsp4j.LocationLink> locations,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
Find the type definition
|
void |
findTypeDefinition(ITypeDefinitionRequest request,
List<org.eclipse.lsp4j.LocationLink> locations,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
Find type definition.
|
protected abstract boolean |
match(DOMDocument document)
Returns true if the type definition support is applicable for the given
document and false otherwise.
|
public final void findTypeDefinition(ITypeDefinitionRequest request, List<org.eclipse.lsp4j.LocationLink> locations, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
ITypeDefinitionParticipant
findTypeDefinition
in interface ITypeDefinitionParticipant
protected abstract boolean match(DOMDocument document)
document
- protected abstract void doFindTypeDefinition(ITypeDefinitionRequest request, List<org.eclipse.lsp4j.LocationLink> locations, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
request
- locations
- cancelChecker
- Copyright © 2021. All rights reserved.