use of com.intellij.codeInspection.reference.RefGraphAnnotator in project intellij-community by JetBrains.
the class GlobalInspectionToolWrapper method initialize.
@Override
public void initialize(@NotNull GlobalInspectionContext context) {
super.initialize(context);
RefManagerImpl refManager = (RefManagerImpl) context.getRefManager();
final RefGraphAnnotator annotator = getTool().getAnnotator(refManager);
if (annotator != null) {
refManager.registerGraphAnnotator(annotator);
}
getTool().initialize(context);
}
Aggregations