public static int incrementMethodDepth(String method) {
        return getMethodDepthCounter(method).get().incrementAndGet();
    }
Increments the depth counter for the given method.

<p>The intention of the method depth counter is to keep track of the call depth for recursive
methods, e.g. to override parameters only for the outer call. The Xposed framework uses this
to load drawable replacements only once per call, even when multiple
{@link Resources#getDrawable} variants call each other.

@param method The method name. Should be prefixed with a unique, module-specific string.
@return The updated depth.
android/android_framework/base/src/main/java/util/XposedHelpers.java