code: private void stripAllCalls(Map<String, TweakInfo> tweakInfos) {
      for (TweakInfo tweakInfo : tweakInfos.values()) {
        boolean isRegistered = tweakInfo.isRegistered();
        for (TweakFunctionCall functionCall : tweakInfo.functionCalls) {
          Node callNode = functionCall.callNode;
          Node parent = callNode.getParent();
          if (functionCall.tweakFunc.isGetterFunction()) {
            Node newValue;
            if (isRegistered) {
              newValue = tweakInfo.getDefaultValueNode().cloneNode();
            } else {
              // When we find a getter of an unregistered tweak, there has
              // already been a warning about it, so now just use a default
              // value when stripping.
              TweakFunction registerFunction =
                  functionCall.tweakFunc.registerFunction;
              newValue = registerFunction.createDefaultValueNode();
            }
            parent.replaceChild(callNode, newValue);
            compiler.reportChangeToEnclosingScope(parent);
          } else {
            Node voidZeroNode = IR.voidNode(IR.number(0).srcref(callNode))
                .srcref(callNode);
            parent.replaceChild(callNode, voidZeroNode);
            compiler.reportChangeToEnclosingScope(parent);
          }
        }
      }
    }
docs: Removes all CALL nodes in the given TweakInfos, replacing calls to getter
  functions with the tweak's default value.