@Override
  protected boolean isEnabled() {
    if (hasServiceManager()) {
      for (JavacFileReferencesRegistrar registrar : JpsServiceManager.getInstance().getExtensions(JavacFileReferencesRegistrar.class)) {
        if (registrar.isEnabled()) {
          return true;
        }
      }
    }
    return false;
  }
@Override
  protected boolean isEnabled()