mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
This enables jump-to-definition and find-references in the VS Code extension, for Java source archives.
14 lines
338 B
Plaintext
14 lines
338 B
Plaintext
/**
|
|
* @name Jump-to-definition links
|
|
* @description Generates use-definition pairs that provide the data
|
|
* for jump-to-definition in the code viewer.
|
|
* @kind definitions
|
|
* @id java/jump-to-definition
|
|
*/
|
|
|
|
import definitions
|
|
|
|
from Element e, Element def, string kind
|
|
where def = definitionOf(e, kind)
|
|
select e, def, kind
|