.class public Landroidx/lifecycle/MethodCallsLogger; .super Ljava/lang/Object; .source "MethodCallsLogger.kt" # annotations .annotation runtime Lkotlin/Metadata; d1 = { "\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0010%\n\u0002\u0010\u000e\n\u0002\u0010\u0008\n\u0000\n\u0002\u0010\u000b\n\u0002\u0008\u0003\u0008\u0017\u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002J\u0018\u0010\u0007\u001a\u00020\u00082\u0006\u0010\t\u001a\u00020\u00052\u0006\u0010\n\u001a\u00020\u0006H\u0017R\u001a\u0010\u0003\u001a\u000e\u0012\u0004\u0012\u00020\u0005\u0012\u0004\u0012\u00020\u00060\u0004X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u000b" } d2 = { "Landroidx/lifecycle/MethodCallsLogger;", "", "()V", "calledMethods", "", "", "", "approveCall", "", "name", "type", "lifecycle-common" } k = 0x1 mv = { 0x1, 0x8, 0x0 } xi = 0x30 .end annotation # instance fields .field private final calledMethods:Ljava/util/Map; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/Map<", "Ljava/lang/String;", "Ljava/lang/Integer;", ">;" } .end annotation .end field # direct methods .method public constructor ()V .locals 1 .line 23 invoke-direct {p0}, Ljava/lang/Object;->()V .line 25 new-instance v0, Ljava/util/HashMap; invoke-direct {v0}, Ljava/util/HashMap;->()V check-cast v0, Ljava/util/Map; iput-object v0, p0, Landroidx/lifecycle/MethodCallsLogger;->calledMethods:Ljava/util/Map; return-void .end method # virtual methods .method public approveCall(Ljava/lang/String;I)Z .locals 4 const-string v0, "name" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V iget-object v0, p0, Landroidx/lifecycle/MethodCallsLogger;->calledMethods:Ljava/util/Map; .line 32 invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/Integer; const/4 v1, 0x0 if-eqz v0, :cond_0 .line 33 invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I move-result v0 goto :goto_0 :cond_0 move v0, v1 :goto_0 and-int v2, v0, p2 const/4 v3, 0x1 if-eqz v2, :cond_1 move v1, v3 :cond_1 iget-object p0, p0, Landroidx/lifecycle/MethodCallsLogger;->calledMethods:Ljava/util/Map; or-int/2addr p2, v0 .line 35 invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object p2 invoke-interface {p0, p1, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; xor-int/lit8 p0, v1, 0x1 return p0 .end method