public static TreeAnchorizer getService() {
    TreeAnchorizer result = ourInstance;
    if (result == null) {
      result = ApplicationManager.getApplication().getService(TreeAnchorizer.class);
      ourInstance = result == null ? new TreeAnchorizer() : result;
    }
    return result;
  }
public static TreeAnchorizer getService()