.class Lcom/google/common/collect/Synchronized$SynchronizedObject; .super Ljava/lang/Object; .source "Synchronized.java" # interfaces .implements Ljava/io/Serializable; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/google/common/collect/Synchronized; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x8 name = "SynchronizedObject" .end annotation # static fields .field private static final serialVersionUID:J .annotation build Lcom/google/common/annotations/GwtIncompatible; value = "not needed in emulated source" .end annotation .end field # instance fields .field final delegate:Ljava/lang/Object; .field final mutex:Ljava/lang/Object; # direct methods .method constructor (Ljava/lang/Object;Ljava/lang/Object;)V .locals 1 .param p2 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end param .prologue .line 64 invoke-direct {p0}, Ljava/lang/Object;->()V .line 65 invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 iput-object v0, p0, Lcom/google/common/collect/Synchronized$SynchronizedObject;->delegate:Ljava/lang/Object; .line 66 if-nez p2, :cond_0 move-object p2, p0 :cond_0 iput-object p2, p0, Lcom/google/common/collect/Synchronized$SynchronizedObject;->mutex:Ljava/lang/Object; .line 67 return-void .end method .method private writeObject(Ljava/io/ObjectOutputStream;)V .locals 2 .annotation build Lcom/google/common/annotations/GwtIncompatible; value = "java.io.ObjectOutputStream" .end annotation .prologue .line 88 iget-object v1, p0, Lcom/google/common/collect/Synchronized$SynchronizedObject;->mutex:Ljava/lang/Object; monitor-enter v1 .line 89 :try_start_0 invoke-virtual {p1}, Ljava/io/ObjectOutputStream;->defaultWriteObject()V .line 90 monitor-exit v1 .line 91 return-void .line 90 :catchall_0 move-exception v0 monitor-exit v1 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 throw v0 .end method # virtual methods .method delegate()Ljava/lang/Object; .locals 1 .prologue .line 70 iget-object v0, p0, Lcom/google/common/collect/Synchronized$SynchronizedObject;->delegate:Ljava/lang/Object; return-object v0 .end method .method public toString()Ljava/lang/String; .locals 2 .prologue .line 76 iget-object v1, p0, Lcom/google/common/collect/Synchronized$SynchronizedObject;->mutex:Ljava/lang/Object; monitor-enter v1 .line 77 :try_start_0 iget-object v0, p0, Lcom/google/common/collect/Synchronized$SynchronizedObject;->delegate:Ljava/lang/Object; invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object v0 monitor-exit v1 return-object v0 .line 78 :catchall_0 move-exception v0 monitor-exit v1 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 throw v0 .end method