.class public final Landroidx/room/InvalidationTracker$WeakObserver; .super Landroidx/room/InvalidationTracker$Observer; .source "InvalidationTracker.kt" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroidx/room/InvalidationTracker; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "WeakObserver" .end annotation .annotation runtime Lkotlin/Metadata; d1 = { "\u0000*\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\"\n\u0002\u0010\u000e\n\u0000\u0008\u0000\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0001\u00a2\u0006\u0002\u0010\u0005J\u0016\u0010\u000c\u001a\u00020\r2\u000c\u0010\u000e\u001a\u0008\u0012\u0004\u0012\u00020\u00100\u000fH\u0016R\u0017\u0010\u0006\u001a\u0008\u0012\u0004\u0012\u00020\u00010\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0008\u0010\tR\u0011\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\n\u0010\u000b\u00a8\u0006\u0011" } d2 = { "Landroidx/room/InvalidationTracker$WeakObserver;", "Landroidx/room/InvalidationTracker$Observer;", "tracker", "Landroidx/room/InvalidationTracker;", "delegate", "(Landroidx/room/InvalidationTracker;Landroidx/room/InvalidationTracker$Observer;)V", "delegateRef", "Ljava/lang/ref/WeakReference;", "getDelegateRef", "()Ljava/lang/ref/WeakReference;", "getTracker", "()Landroidx/room/InvalidationTracker;", "onInvalidated", "", "tables", "", "", "room-runtime_release" } k = 0x1 mv = { 0x1, 0x7, 0x1 } xi = 0x30 .end annotation # instance fields .field private final delegateRef:Ljava/lang/ref/WeakReference; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/ref/WeakReference<", "Landroidx/room/InvalidationTracker$Observer;", ">;" } .end annotation .end field .field private final tracker:Landroidx/room/InvalidationTracker; # direct methods .method public constructor (Landroidx/room/InvalidationTracker;Landroidx/room/InvalidationTracker$Observer;)V .locals 1 const-string v0, "tracker" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "delegate" invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 801 invoke-virtual {p2}, Landroidx/room/InvalidationTracker$Observer;->getTables$room_runtime_release()[Ljava/lang/String; move-result-object v0 invoke-direct {p0, v0}, Landroidx/room/InvalidationTracker$Observer;->([Ljava/lang/String;)V iput-object p1, p0, Landroidx/room/InvalidationTracker$WeakObserver;->tracker:Landroidx/room/InvalidationTracker; .line 802 new-instance p1, Ljava/lang/ref/WeakReference; invoke-direct {p1, p2}, Ljava/lang/ref/WeakReference;->(Ljava/lang/Object;)V iput-object p1, p0, Landroidx/room/InvalidationTracker$WeakObserver;->delegateRef:Ljava/lang/ref/WeakReference; return-void .end method # virtual methods .method public final getDelegateRef()Ljava/lang/ref/WeakReference; .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/lang/ref/WeakReference<", "Landroidx/room/InvalidationTracker$Observer;", ">;" } .end annotation iget-object p0, p0, Landroidx/room/InvalidationTracker$WeakObserver;->delegateRef:Ljava/lang/ref/WeakReference; return-object p0 .end method .method public final getTracker()Landroidx/room/InvalidationTracker; .locals 0 iget-object p0, p0, Landroidx/room/InvalidationTracker$WeakObserver;->tracker:Landroidx/room/InvalidationTracker; return-object p0 .end method .method public onInvalidated(Ljava/util/Set;)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Set<", "Ljava/lang/String;", ">;)V" } .end annotation const-string v0, "tables" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V iget-object v0, p0, Landroidx/room/InvalidationTracker$WeakObserver;->delegateRef:Ljava/lang/ref/WeakReference; .line 804 invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object; move-result-object v0 check-cast v0, Landroidx/room/InvalidationTracker$Observer; if-nez v0, :cond_0 iget-object p1, p0, Landroidx/room/InvalidationTracker$WeakObserver;->tracker:Landroidx/room/InvalidationTracker; .line 806 check-cast p0, Landroidx/room/InvalidationTracker$Observer; invoke-virtual {p1, p0}, Landroidx/room/InvalidationTracker;->removeObserver(Landroidx/room/InvalidationTracker$Observer;)V goto :goto_0 .line 808 :cond_0 invoke-virtual {v0, p1}, Landroidx/room/InvalidationTracker$Observer;->onInvalidated(Ljava/util/Set;)V :goto_0 return-void .end method