Rabbit-R1/switch port/smali/smali_classes3/okio/ForwardingSink.smali
2024-05-21 17:08:36 -04:00

203 lines
5.2 KiB
Smali

.class public abstract Lokio/ForwardingSink;
.super Ljava/lang/Object;
.source "ForwardingSink.kt"
# interfaces
.implements Lokio/Sink;
# annotations
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000.\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0010\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0000\u0008&\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0001\u00a2\u0006\u0002\u0010\u0003J\u0008\u0010\u0005\u001a\u00020\u0006H\u0016J\r\u0010\u0002\u001a\u00020\u0001H\u0007\u00a2\u0006\u0002\u0008\u0007J\u0008\u0010\u0008\u001a\u00020\u0006H\u0016J\u0008\u0010\t\u001a\u00020\nH\u0016J\u0008\u0010\u000b\u001a\u00020\u000cH\u0016J\u0018\u0010\r\u001a\u00020\u00062\u0006\u0010\u000e\u001a\u00020\u000f2\u0006\u0010\u0010\u001a\u00020\u0011H\u0016R\u0013\u0010\u0002\u001a\u00020\u00018\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0002\u0010\u0004\u00a8\u0006\u0012"
}
d2 = {
"Lokio/ForwardingSink;",
"Lokio/Sink;",
"delegate",
"(Lokio/Sink;)V",
"()Lokio/Sink;",
"close",
"",
"-deprecated_delegate",
"flush",
"timeout",
"Lokio/Timeout;",
"toString",
"",
"write",
"source",
"Lokio/Buffer;",
"byteCount",
"",
"okio"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field private final delegate:Lokio/Sink;
# direct methods
.method public constructor <init>(Lokio/Sink;)V
.locals 1
const-string v0, "delegate"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 21
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lokio/ForwardingSink;->delegate:Lokio/Sink;
return-void
.end method
# virtual methods
.method public final -deprecated_delegate()Lokio/Sink;
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "moved to val"
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "delegate"
imports = {}
.end subannotation
.end annotation
iget-object p0, p0, Lokio/ForwardingSink;->delegate:Lokio/Sink;
return-object p0
.end method
.method public close()V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
iget-object p0, p0, Lokio/ForwardingSink;->delegate:Lokio/Sink;
.line 37
invoke-interface {p0}, Lokio/Sink;->close()V
return-void
.end method
.method public final delegate()Lokio/Sink;
.locals 0
iget-object p0, p0, Lokio/ForwardingSink;->delegate:Lokio/Sink;
return-object p0
.end method
.method public flush()V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
iget-object p0, p0, Lokio/ForwardingSink;->delegate:Lokio/Sink;
.line 32
invoke-interface {p0}, Lokio/Sink;->flush()V
return-void
.end method
.method public timeout()Lokio/Timeout;
.locals 0
iget-object p0, p0, Lokio/ForwardingSink;->delegate:Lokio/Sink;
.line 34
invoke-interface {p0}, Lokio/Sink;->timeout()Lokio/Timeout;
move-result-object p0
return-object p0
.end method
.method public toString()Ljava/lang/String;
.locals 2
.line 39
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;
move-result-object v0
const/16 v1, 0x28
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
move-result-object v0
iget-object p0, p0, Lokio/ForwardingSink;->delegate:Lokio/Sink;
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object p0
const/16 v0, 0x29
invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public write(Lokio/Buffer;J)V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const-string v0, "source"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p0, p0, Lokio/ForwardingSink;->delegate:Lokio/Sink;
.line 29
invoke-interface {p0, p1, p2, p3}, Lokio/Sink;->write(Lokio/Buffer;J)V
return-void
.end method