public class ReferenceUtil extends Object
Constructor and Description |
---|
ReferenceUtil() |
Modifier and Type | Method and Description |
---|---|
static List<org.eclipse.lsp4j.Location> |
getReferences(TextDocumentServiceContext referencesContext,
BLangPackageContext bLangPackageContext,
BLangPackage currentBLangPackage)
Get definition position for the given definition context.
|
public static List<org.eclipse.lsp4j.Location> getReferences(TextDocumentServiceContext referencesContext, BLangPackageContext bLangPackageContext, BLangPackage currentBLangPackage)
referencesContext
- context of the references.bLangPackageContext
- package context for language server.currentBLangPackage
- current package that is visiting.Copyright © 2018 WSO2. All rights reserved.