package Ġme . se cl erp . r ider . plugins . mon og ame . mg cb . preview er . listeners Ċ Ċ import Ġcom . intellij . openapi . project . Project Ċ import Ġcom . intellij . openapi . vfs . Virtual File Ċ import Ġcom . intellij . psi . Psi Manager Ċ import Ġcom . jetbrains . r ider . util . idea . getService Ċ import Ġme . se cl erp . r ider . plugins . mon og ame . mg cb . preview er . Mg cb Preview er Topics Ċ import Ġme . se cl erp . r ider . plugins . mon og ame . mg cb . preview er . services . Mg cb Analyzer Ċ import Ġme . se cl erp . r ider . plugins . mon og ame . mg cb . psi . Mg cb File Ċ Ċ class ĠM g cb Pending Update Listener Impl ( ĊĠĠĠ Ġprivate Ġval Ġproject : ĠProject Ċ ) Ġ: ĠM g cb Pending Update Listener Ġ{ ĊĠĠĠ Ġprivate Ġval Ġpublisher Ġ= Ġproject . message Bus . sync Publisher ( Mg cb Preview er Topics . MG CB _ PROC ES SED _ UPDATE _ TOPIC ) ĊĠĠĠ Ġprivate Ġval Ġmg cb Analyzer Ġ= Ġproject . getService < Mg cb Analyzer >() ĊĊĠĠĠ Ġoverride Ġfun Ġhandle ( file : ĠVirtual File ) Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġmg cb File Ġ= ĠPsi Manager . getInstance ( project ). find File ( file ) Ġas ĠM g cb File ĊĠĠĠĠĠĠĠ Ġval Ġmg cb Model Ġ= Ġmg cb Analyzer . analyze File ( mg cb File ) ĊĊĠĠĠĠĠĠĠ Ġpublisher . handle ( file , Ġmg cb Model ) ĊĠĠĠ Ġ} Ċ }