155 lines
3.1 KiB
Smali
155 lines
3.1 KiB
Smali
.class public abstract Lc0/h;
|
|
.super Ljava/lang/Object;
|
|
.source "ForwardingSink.kt"
|
|
|
|
# interfaces
|
|
.implements Lc0/u;
|
|
|
|
|
|
# instance fields
|
|
.field public final delegate:Lc0/u;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lc0/u;)V
|
|
.locals 0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lc0/h;->delegate:Lc0/u;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "delegate"
|
|
|
|
invoke-static {p1}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final -deprecated_delegate()Lc0/u;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lc0/h;->delegate:Lc0/u;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public close()V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lc0/h;->delegate:Lc0/u;
|
|
|
|
invoke-interface {v0}, Lc0/u;->close()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final delegate()Lc0/u;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lc0/h;->delegate:Lc0/u;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public flush()V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lc0/h;->delegate:Lc0/u;
|
|
|
|
invoke-interface {v0}, Lc0/u;->flush()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public timeout()Lc0/x;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lc0/h;->delegate:Lc0/u;
|
|
|
|
invoke-interface {v0}, Lc0/u;->timeout()Lc0/x;
|
|
|
|
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/16 v1, 0x28
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lc0/h;->delegate:Lc0/u;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const/16 v1, 0x29
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public write(Lc0/e;J)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object v0, p0, Lc0/h;->delegate:Lc0/u;
|
|
|
|
invoke-interface {v0, p1, p2, p3}, Lc0/u;->write(Lc0/e;J)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "source"
|
|
|
|
invoke-static {p1}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|