.class final Lcom/google/common/io/ByteStreams$3; .super Lcom/google/common/io/ByteSource; .source "ByteStreams.java" # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/google/common/io/ByteStreams;->asByteSource(Lcom/google/common/io/InputSupplier;)Lcom/google/common/io/ByteSource; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x8 name = null .end annotation # instance fields .field final synthetic val$supplier:Lcom/google/common/io/InputSupplier; # direct methods .method constructor (Lcom/google/common/io/InputSupplier;)V .locals 0 .prologue .line 1023 iput-object p1, p0, Lcom/google/common/io/ByteStreams$3;->val$supplier:Lcom/google/common/io/InputSupplier; invoke-direct {p0}, Lcom/google/common/io/ByteSource;->()V return-void .end method # virtual methods .method public openStream()Ljava/io/InputStream; .locals 1 .prologue .line 1026 iget-object v0, p0, Lcom/google/common/io/ByteStreams$3;->val$supplier:Lcom/google/common/io/InputSupplier; invoke-interface {v0}, Lcom/google/common/io/InputSupplier;->getInput()Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/io/InputStream; return-object v0 .end method .method public toString()Ljava/lang/String; .locals 2 .prologue .line 1031 new-instance v0, Ljava/lang/StringBuilder; invoke-direct {v0}, Ljava/lang/StringBuilder;->()V const-string v1, "ByteStreams.asByteSource(" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 iget-object v1, p0, Lcom/google/common/io/ByteStreams$3;->val$supplier:Lcom/google/common/io/InputSupplier; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; move-result-object v0 const-string v1, ")" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 return-object v0 .end method