apkfuckery/com.discord/smali_classes2/okio/a$2.smali
2019-11-10 15:21:47 +01:00

187 lines
3.8 KiB
Smali

.class final Lokio/a$2;
.super Ljava/lang/Object;
.source "AsyncTimeout.java"
# interfaces
.implements Lokio/r;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokio/a;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic byE:Lokio/a;
.field final synthetic byF:Lokio/r;
# direct methods
.method constructor <init>(Lokio/a;Lokio/r;)V
.locals 0
iput-object p1, p0, Lokio/a$2;->byE:Lokio/a;
iput-object p2, p0, Lokio/a$2;->byF:Lokio/r;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final a(Lokio/c;J)J
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
iget-object v0, p0, Lokio/a$2;->byE:Lokio/a;
invoke-virtual {v0}, Lokio/a;->enter()V
:try_start_0
iget-object v0, p0, Lokio/a$2;->byF:Lokio/r;
invoke-interface {v0, p1, p2, p3}, Lokio/r;->a(Lokio/c;J)J
move-result-wide p1
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
iget-object p3, p0, Lokio/a$2;->byE:Lokio/a;
const/4 v0, 0x1
invoke-virtual {p3, v0}, Lokio/a;->X(Z)V
return-wide p1
:catchall_0
move-exception p1
goto :goto_0
:catch_0
move-exception p1
:try_start_1
iget-object p2, p0, Lokio/a$2;->byE:Lokio/a;
invoke-virtual {p2, p1}, Lokio/a;->f(Ljava/io/IOException;)Ljava/io/IOException;
move-result-object p1
throw p1
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:goto_0
iget-object p2, p0, Lokio/a$2;->byE:Lokio/a;
const/4 p3, 0x0
invoke-virtual {p2, p3}, Lokio/a;->X(Z)V
throw p1
.end method
.method public final close()V
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
iget-object v0, p0, Lokio/a$2;->byE:Lokio/a;
invoke-virtual {v0}, Lokio/a;->enter()V
:try_start_0
iget-object v0, p0, Lokio/a$2;->byF:Lokio/r;
invoke-interface {v0}, Lokio/r;->close()V
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
iget-object v0, p0, Lokio/a$2;->byE:Lokio/a;
const/4 v1, 0x1
invoke-virtual {v0, v1}, Lokio/a;->X(Z)V
return-void
:catchall_0
move-exception v0
goto :goto_0
:catch_0
move-exception v0
:try_start_1
iget-object v1, p0, Lokio/a$2;->byE:Lokio/a;
invoke-virtual {v1, v0}, Lokio/a;->f(Ljava/io/IOException;)Ljava/io/IOException;
move-result-object v0
throw v0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:goto_0
iget-object v1, p0, Lokio/a$2;->byE:Lokio/a;
const/4 v2, 0x0
invoke-virtual {v1, v2}, Lokio/a;->X(Z)V
throw v0
.end method
.method public final timeout()Lokio/s;
.locals 1
iget-object v0, p0, Lokio/a$2;->byE:Lokio/a;
return-object v0
.end method
.method public final toString()Ljava/lang/String;
.locals 2
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "AsyncTimeout.source("
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget-object v1, p0, Lokio/a$2;->byF:Lokio/r;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ")"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method