package androidx.lifecycle; import androidx.annotation.RestrictTo; import java.util.HashMap; import java.util.Map; @RestrictTo({RestrictTo.Scope.LIBRARY_GROUP_PREFIX}) public class MethodCallsLogger { private Map mCalledMethods = new HashMap(); @RestrictTo({RestrictTo.Scope.LIBRARY_GROUP_PREFIX}) public boolean approveCall(String str, int i) { Integer num = this.mCalledMethods.get(str); boolean z2 = false; int intValue = num != null ? num.intValue() : 0; if ((intValue & i) != 0) { z2 = true; } this.mCalledMethods.put(str, Integer.valueOf(i | intValue)); return !z2; } }