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

188 lines
4.9 KiB
Smali

.class public abstract Lokio/ForwardingSource;
.super Ljava/lang/Object;
.source "ForwardingSource.kt"
# interfaces
.implements Lokio/Source;
# 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\u0002\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\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\u0018\u0010\u0008\u001a\u00020\t2\u0006\u0010\n\u001a\u00020\u000b2\u0006\u0010\u000c\u001a\u00020\tH\u0016J\u0008\u0010\r\u001a\u00020\u000eH\u0016J\u0008\u0010\u000f\u001a\u00020\u0010H\u0016R\u0013\u0010\u0002\u001a\u00020\u00018\u0007\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0002\u0010\u0004\u00a8\u0006\u0011"
}
d2 = {
"Lokio/ForwardingSource;",
"Lokio/Source;",
"delegate",
"(Lokio/Source;)V",
"()Lokio/Source;",
"close",
"",
"-deprecated_delegate",
"read",
"",
"sink",
"Lokio/Buffer;",
"byteCount",
"timeout",
"Lokio/Timeout;",
"toString",
"",
"okio"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field private final delegate:Lokio/Source;
# direct methods
.method public constructor <init>(Lokio/Source;)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/ForwardingSource;->delegate:Lokio/Source;
return-void
.end method
# virtual methods
.method public final -deprecated_delegate()Lokio/Source;
.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/ForwardingSource;->delegate:Lokio/Source;
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/ForwardingSource;->delegate:Lokio/Source;
.line 34
invoke-interface {p0}, Lokio/Source;->close()V
return-void
.end method
.method public final delegate()Lokio/Source;
.locals 0
iget-object p0, p0, Lokio/ForwardingSource;->delegate:Lokio/Source;
return-object p0
.end method
.method public read(Lokio/Buffer;J)J
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const-string v0, "sink"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p0, p0, Lokio/ForwardingSource;->delegate:Lokio/Source;
.line 29
invoke-interface {p0, p1, p2, p3}, Lokio/Source;->read(Lokio/Buffer;J)J
move-result-wide p0
return-wide p0
.end method
.method public timeout()Lokio/Timeout;
.locals 0
iget-object p0, p0, Lokio/ForwardingSource;->delegate:Lokio/Source;
.line 31
invoke-interface {p0}, Lokio/Source;->timeout()Lokio/Timeout;
move-result-object p0
return-object p0
.end method
.method public toString()Ljava/lang/String;
.locals 2
.line 36
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/ForwardingSource;->delegate:Lokio/Source;
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