d.smali
.class Lokhttp3/d;
.super Lokio/ForwardingSink;
.source "Cache.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lokhttp3/e$a;-><init>(Lokhttp3/e;Lokhttp3/internal/cache/g$a;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Lokhttp3/e;
.field final synthetic b:Lokhttp3/internal/cache/g$a;
.field final synthetic c:Lokhttp3/e$a;
# direct methods
.method constructor <init>(Lokhttp3/e$a;Lokio/Sink;Lokhttp3/e;Lokhttp3/internal/cache/g$a;)V
.registers 5
.line 1
iput-object p1, p0, Lokhttp3/d;->c:Lokhttp3/e$a;
iput-object p3, p0, Lokhttp3/d;->a:Lokhttp3/e;
iput-object p4, p0, Lokhttp3/d;->b:Lokhttp3/internal/cache/g$a;
invoke-direct {p0, p2}, Lokio/ForwardingSink;-><init>(Lokio/Sink;)V
return-void
.end method
# virtual methods
.method public close()V
.registers 5
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/d;->c:Lokhttp3/e$a;
iget-object v0, v0, Lokhttp3/e$a;->e:Lokhttp3/e;
monitor-enter v0
.line 2
:try_start_5
iget-object v1, p0, Lokhttp3/d;->c:Lokhttp3/e$a;
iget-boolean v1, v1, Lokhttp3/e$a;->d:Z
if-eqz v1, :cond_d
.line 3
monitor-exit v0
return-void
.line 4
:cond_d
iget-object v1, p0, Lokhttp3/d;->c:Lokhttp3/e$a;
const/4 v2, 0x1
iput-boolean v2, v1, Lokhttp3/e$a;->d:Z
.line 5
iget-object v1, p0, Lokhttp3/d;->c:Lokhttp3/e$a;
iget-object v1, v1, Lokhttp3/e$a;->e:Lokhttp3/e;
iget v3, v1, Lokhttp3/e;->c:I
add-int/2addr v3, v2
iput v3, v1, Lokhttp3/e;->c:I
.line 6
monitor-exit v0
:try_end_1c
.catchall {:try_start_5 .. :try_end_1c} :catchall_25
.line 7
invoke-super {p0}, Lokio/ForwardingSink;->close()V
.line 8
iget-object v0, p0, Lokhttp3/d;->b:Lokhttp3/internal/cache/g$a;
invoke-virtual {v0}, Lokhttp3/internal/cache/g$a;->b()V
return-void
:catchall_25
move-exception v1
.line 9
:try_start_26
monitor-exit v0
:try_end_27
.catchall {:try_start_26 .. :try_end_27} :catchall_25
throw v1
.end method