.class public final Lcom/google/common/cache/RemovalNotification; .super Ljava/util/AbstractMap$SimpleImmutableEntry; .source "RemovalNotification.java" # annotations .annotation runtime Lcom/google/common/cache/ElementTypesAreNonnullByDefault; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/util/AbstractMap$SimpleImmutableEntry<", "TK;TV;>;" } .end annotation # static fields .field private static final serialVersionUID:J # instance fields .field private final cause:Lcom/google/common/cache/RemovalCause; # direct methods .method private constructor (Ljava/lang/Object;Ljava/lang/Object;Lcom/google/common/cache/RemovalCause;)V .locals 0 .param p1 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/CheckForNull; .end annotation .end param .param p2 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/CheckForNull; .end annotation .end param .annotation system Ldalvik/annotation/Signature; value = { "(TK;TV;", "Lcom/google/common/cache/RemovalCause;", ")V" } .end annotation .line 54 invoke-direct {p0, p1, p2}, Ljava/util/AbstractMap$SimpleImmutableEntry;->(Ljava/lang/Object;Ljava/lang/Object;)V .line 55 invoke-static {p3}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; move-result-object p1 check-cast p1, Lcom/google/common/cache/RemovalCause; iput-object p1, p0, Lcom/google/common/cache/RemovalNotification;->cause:Lcom/google/common/cache/RemovalCause; return-void .end method .method public static create(Ljava/lang/Object;Ljava/lang/Object;Lcom/google/common/cache/RemovalCause;)Lcom/google/common/cache/RemovalNotification; .locals 1 .param p0 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/CheckForNull; .end annotation .end param .param p1 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/CheckForNull; .end annotation .end param .annotation system Ldalvik/annotation/Signature; value = { "(TK;TV;", "Lcom/google/common/cache/RemovalCause;", ")", "Lcom/google/common/cache/RemovalNotification<", "TK;TV;>;" } .end annotation .line 50 new-instance v0, Lcom/google/common/cache/RemovalNotification; invoke-direct {v0, p0, p1, p2}, Lcom/google/common/cache/RemovalNotification;->(Ljava/lang/Object;Ljava/lang/Object;Lcom/google/common/cache/RemovalCause;)V return-object v0 .end method # virtual methods .method public getCause()Lcom/google/common/cache/RemovalCause; .locals 0 iget-object p0, p0, Lcom/google/common/cache/RemovalNotification;->cause:Lcom/google/common/cache/RemovalCause; return-object p0 .end method .method public wasEvicted()Z .locals 0 iget-object p0, p0, Lcom/google/common/cache/RemovalNotification;->cause:Lcom/google/common/cache/RemovalCause; .line 68 invoke-virtual {p0}, Lcom/google/common/cache/RemovalCause;->wasEvicted()Z move-result p0 return p0 .end method