apkfuckery/com.discord/smali_classes2/okio/e.smali

141 lines
3 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public abstract Lokio/e;
2019-02-04 20:05:16 +00:00
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "ForwardingSink.java"
2019-02-04 20:05:16 +00:00
# interfaces
2019-02-27 21:13:14 +00:00
.implements Lokio/p;
2019-02-04 20:05:16 +00:00
# instance fields
2019-02-27 21:13:14 +00:00
.field private final delegate:Lokio/p;
2019-02-04 20:05:16 +00:00
# direct methods
2019-02-27 21:13:14 +00:00
.method public constructor <init>(Lokio/p;)V
2019-02-04 20:08:30 +00:00
.locals 1
2019-02-04 20:05:16 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-02-04 20:08:30 +00:00
if-eqz p1, :cond_0
2019-02-04 20:05:16 +00:00
2019-02-27 21:13:14 +00:00
iput-object p1, p0, Lokio/e;->delegate:Lokio/p;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
return-void
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
:cond_0
new-instance p1, Ljava/lang/IllegalArgumentException;
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
const-string v0, "delegate == null"
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
2019-02-04 20:05:16 +00:00
2019-02-04 20:08:30 +00:00
throw p1
2019-02-04 20:05:16 +00:00
.end method
# virtual methods
.method public close()V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
2019-02-27 21:13:14 +00:00
iget-object v0, p0, Lokio/e;->delegate:Lokio/p;
2019-02-04 20:05:16 +00:00
2019-02-27 21:13:14 +00:00
invoke-interface {v0}, Lokio/p;->close()V
2019-02-04 20:05:16 +00:00
return-void
.end method
2019-02-27 21:13:14 +00:00
.method public final delegate()Lokio/p;
2019-02-04 20:05:16 +00:00
.locals 1
2019-02-27 21:13:14 +00:00
iget-object v0, p0, Lokio/e;->delegate:Lokio/p;
2019-02-04 20:05:16 +00:00
return-object v0
.end method
.method public flush()V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
2019-02-27 21:13:14 +00:00
iget-object v0, p0, Lokio/e;->delegate:Lokio/p;
2019-02-04 20:05:16 +00:00
2019-02-27 21:13:14 +00:00
invoke-interface {v0}, Lokio/p;->flush()V
2019-02-04 20:05:16 +00:00
return-void
.end method
2019-02-27 21:13:14 +00:00
.method public timeout()Lokio/r;
2019-02-04 20:05:16 +00:00
.locals 1
2019-02-27 21:13:14 +00:00
iget-object v0, p0, Lokio/e;->delegate:Lokio/p;
2019-02-04 20:05:16 +00:00
2019-02-27 21:13:14 +00:00
invoke-interface {v0}, Lokio/p;->timeout()Lokio/r;
2019-02-04 20:05:16 +00:00
move-result-object v0
return-object v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, "("
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-02-27 21:13:14 +00:00
iget-object v1, p0, Lokio/e;->delegate:Lokio/p;
2019-02-04 20:05:16 +00:00
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)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
2019-02-04 20:08:30 +00:00
.method public write(Lokio/c;J)V
.locals 1
2019-02-04 20:05:16 +00:00
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
2019-02-27 21:13:14 +00:00
iget-object v0, p0, Lokio/e;->delegate:Lokio/p;
2019-02-04 20:05:16 +00:00
2019-02-27 21:13:14 +00:00
invoke-interface {v0, p1, p2, p3}, Lokio/p;->write(Lokio/c;J)V
2019-02-04 20:05:16 +00:00
return-void
.end method