public static FrameworkDetectorRegistry getInstance() {
    return ApplicationManager.getApplication().getService(FrameworkDetectorRegistry.class);
  }
public static FrameworkDetectorRegistry getInstance()