package Ġnl . h ann ah sten . tex ify idea . psi Ċ Ċ import Ġcom . intellij . psi . Psi Reference Ċ import Ġnl . h ann ah sten . tex ify idea . index . Lat ex Definition Index Ċ import Ġnl . h ann ah sten . tex ify idea . reference . Command Definition Reference Ċ import Ġnl . h ann ah sten . tex ify idea . util . forced First Required Parameter As Command Ċ import Ġnl . h ann ah sten . tex ify idea . util . project Search Scope Ċ Ċ /** Ċ Ġ* ĠGet Ġa Ġlist Ġof Ġreferences Ġto Ġdefinitions Ġof Ġthis Ġcommand . Ċ Ġ*/ Ċ fun ĠLat ex Commands . user Defined Command References (): ĠList < Psi Reference > Ġ{ ĊĠĠĠ Ġval Ġall User Defined Commands : ĠCollection < Lat ex Commands > Ġ= ĠLat ex Definition Index ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. get Commands By Names ( Lat ex Psi Impl Util . DEFINITION _ COMMAND S , Ġproject , Ġproject . project Search Scope ) ĊĊĠĠĠ Ġif Ġ( all User Defined Commands . map Ġ{ Ġit . forced First Required Parameter As Command ()?. name Ġ}. contains ( command Token . text )) Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠlistOf ( Command Definition Reference ( this )) ĊĠĠĠ Ġ} ĊĠĠĠ Ġreturn Ġempty List () Ċ }