.class final Lcom/google/common/base/Converter$ConverterComposition; .super Lcom/google/common/base/Converter; .source "Converter.java" # interfaces .implements Ljava/io/Serializable; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/google/common/base/Converter; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x1a name = "ConverterComposition" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Lcom/google/common/base/Converter", ";", "Ljava/io/Serializable;" } .end annotation # static fields .field private static final serialVersionUID:J # instance fields .field final first:Lcom/google/common/base/Converter; .annotation system Ldalvik/annotation/Signature; value = { "Lcom/google/common/base/Converter", ";" } .end annotation .end field .field final second:Lcom/google/common/base/Converter; .annotation system Ldalvik/annotation/Signature; value = { "Lcom/google/common/base/Converter", ";" } .end annotation .end field # direct methods .method constructor (Lcom/google/common/base/Converter;Lcom/google/common/base/Converter;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/common/base/Converter", ";", "Lcom/google/common/base/Converter", ";)V" } .end annotation .prologue .line 296 invoke-direct {p0}, Lcom/google/common/base/Converter;->()V .line 297 iput-object p1, p0, Lcom/google/common/base/Converter$ConverterComposition;->first:Lcom/google/common/base/Converter; .line 298 iput-object p2, p0, Lcom/google/common/base/Converter$ConverterComposition;->second:Lcom/google/common/base/Converter; .line 299 return-void .end method # virtual methods .method correctedDoBackward(Ljava/lang/Object;)Ljava/lang/Object; .locals 2 .param p1 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end param .annotation system Ldalvik/annotation/Signature; value = { "(TC;)TA;" } .end annotation .annotation runtime Ljavax/annotation/Nullable; .end annotation .prologue .line 327 iget-object v0, p0, Lcom/google/common/base/Converter$ConverterComposition;->first:Lcom/google/common/base/Converter; iget-object v1, p0, Lcom/google/common/base/Converter$ConverterComposition;->second:Lcom/google/common/base/Converter; invoke-virtual {v1, p1}, Lcom/google/common/base/Converter;->correctedDoBackward(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v1 invoke-virtual {v0, v1}, Lcom/google/common/base/Converter;->correctedDoBackward(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 return-object v0 .end method .method correctedDoForward(Ljava/lang/Object;)Ljava/lang/Object; .locals 2 .param p1 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end param .annotation system Ldalvik/annotation/Signature; value = { "(TA;)TC;" } .end annotation .annotation runtime Ljavax/annotation/Nullable; .end annotation .prologue .line 321 iget-object v0, p0, Lcom/google/common/base/Converter$ConverterComposition;->second:Lcom/google/common/base/Converter; iget-object v1, p0, Lcom/google/common/base/Converter$ConverterComposition;->first:Lcom/google/common/base/Converter; invoke-virtual {v1, p1}, Lcom/google/common/base/Converter;->correctedDoForward(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v1 invoke-virtual {v0, v1}, Lcom/google/common/base/Converter;->correctedDoForward(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 return-object v0 .end method .method protected doBackward(Ljava/lang/Object;)Ljava/lang/Object; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TC;)TA;" } .end annotation .prologue .line 315 new-instance v0, Ljava/lang/AssertionError; invoke-direct {v0}, Ljava/lang/AssertionError;->()V throw v0 .end method .method protected doForward(Ljava/lang/Object;)Ljava/lang/Object; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TA;)TC;" } .end annotation .prologue .line 310 new-instance v0, Ljava/lang/AssertionError; invoke-direct {v0}, Ljava/lang/AssertionError;->()V throw v0 .end method .method public equals(Ljava/lang/Object;)Z .locals 3 .param p1 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end param .prologue const/4 v0, 0x0 .line 332 instance-of v1, p1, Lcom/google/common/base/Converter$ConverterComposition; if-eqz v1, :cond_0 .line 333 check-cast p1, Lcom/google/common/base/Converter$ConverterComposition; .line 334 iget-object v1, p0, Lcom/google/common/base/Converter$ConverterComposition;->first:Lcom/google/common/base/Converter; iget-object v2, p1, Lcom/google/common/base/Converter$ConverterComposition;->first:Lcom/google/common/base/Converter; invoke-virtual {v1, v2}, Lcom/google/common/base/Converter;->equals(Ljava/lang/Object;)Z move-result v1 if-eqz v1, :cond_0 iget-object v1, p0, Lcom/google/common/base/Converter$ConverterComposition;->second:Lcom/google/common/base/Converter; iget-object v2, p1, Lcom/google/common/base/Converter$ConverterComposition;->second:Lcom/google/common/base/Converter; invoke-virtual {v1, v2}, Lcom/google/common/base/Converter;->equals(Ljava/lang/Object;)Z move-result v1 if-eqz v1, :cond_0 const/4 v0, 0x1 .line 337 :cond_0 return v0 .end method .method public hashCode()I .locals 2 .prologue .line 342 iget-object v0, p0, Lcom/google/common/base/Converter$ConverterComposition;->first:Lcom/google/common/base/Converter; invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I move-result v0 mul-int/lit8 v0, v0, 0x1f iget-object v1, p0, Lcom/google/common/base/Converter$ConverterComposition;->second:Lcom/google/common/base/Converter; invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I move-result v1 add-int/2addr v0, v1 return v0 .end method .method public toString()Ljava/lang/String; .locals 2 .prologue .line 347 new-instance v0, Ljava/lang/StringBuilder; invoke-direct {v0}, Ljava/lang/StringBuilder;->()V iget-object v1, p0, Lcom/google/common/base/Converter$ConverterComposition;->first:Lcom/google/common/base/Converter; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; move-result-object v0 const-string v1, ".andThen(" 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/base/Converter$ConverterComposition;->second:Lcom/google/common/base/Converter; 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