mirror of
https://github.com/github/codeql.git
synced 2025-12-25 13:16:33 +01:00
18 lines
492 B
Plaintext
18 lines
492 B
Plaintext
/**
|
|
* @name Find-references links
|
|
* @description Generates use-definition pairs that provide the data
|
|
* for find-references in the code viewer.
|
|
* @kind definitions
|
|
* @id java/ide-find-references
|
|
* @tags ide-contextual-queries/local-references
|
|
*/
|
|
|
|
import definitions
|
|
|
|
external string selectedSourceFile();
|
|
|
|
from Element e, Element def, string kind
|
|
where
|
|
def = definitionOf(e, kind) and def.getFile() = getFileBySourceArchiveName(selectedSourceFile())
|
|
select e, def, kind
|