.class Lcom/google/common/base/Joiner$2; .super Lcom/google/common/base/Joiner; .source "Joiner.java" # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/google/common/base/Joiner;->skipNulls()Lcom/google/common/base/Joiner; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x0 name = null .end annotation # instance fields .field final synthetic this$0:Lcom/google/common/base/Joiner; # direct methods .method constructor (Lcom/google/common/base/Joiner;Lcom/google/common/base/Joiner;)V .locals 1 .prologue .line 240 iput-object p1, p0, Lcom/google/common/base/Joiner$2;->this$0:Lcom/google/common/base/Joiner; const/4 v0, 0x0 invoke-direct {p0, p2, v0}, Lcom/google/common/base/Joiner;->(Lcom/google/common/base/Joiner;Lcom/google/common/base/Joiner$1;)V return-void .end method # virtual methods .method public appendTo(Ljava/lang/Appendable;Ljava/util/Iterator;)Ljava/lang/Appendable; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(TA;", "Ljava/util/Iterator", "<*>;)TA;" } .end annotation .prologue .line 243 const-string v0, "appendable" invoke-static {p1, v0}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; .line 244 const-string v0, "parts" invoke-static {p2, v0}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; .line 245 :cond_0 invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z move-result v0 if-eqz v0, :cond_1 .line 246 invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v0 .line 247 if-eqz v0, :cond_0 .line 248 iget-object v1, p0, Lcom/google/common/base/Joiner$2;->this$0:Lcom/google/common/base/Joiner; invoke-virtual {v1, v0}, Lcom/google/common/base/Joiner;->toString(Ljava/lang/Object;)Ljava/lang/CharSequence; move-result-object v0 invoke-interface {p1, v0}, Ljava/lang/Appendable;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable; .line 252 :cond_1 :goto_0 invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z move-result v0 if-eqz v0, :cond_2 .line 253 invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v0 .line 254 if-eqz v0, :cond_1 .line 255 iget-object v1, p0, Lcom/google/common/base/Joiner$2;->this$0:Lcom/google/common/base/Joiner; invoke-static {v1}, Lcom/google/common/base/Joiner;->access$100(Lcom/google/common/base/Joiner;)Ljava/lang/String; move-result-object v1 invoke-interface {p1, v1}, Ljava/lang/Appendable;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable; .line 256 iget-object v1, p0, Lcom/google/common/base/Joiner$2;->this$0:Lcom/google/common/base/Joiner; invoke-virtual {v1, v0}, Lcom/google/common/base/Joiner;->toString(Ljava/lang/Object;)Ljava/lang/CharSequence; move-result-object v0 invoke-interface {p1, v0}, Ljava/lang/Appendable;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable; goto :goto_0 .line 259 :cond_2 return-object p1 .end method .method public useForNull(Ljava/lang/String;)Lcom/google/common/base/Joiner; .locals 2 .prologue .line 263 new-instance v0, Ljava/lang/UnsupportedOperationException; const-string v1, "already specified skipNulls" invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;->(Ljava/lang/String;)V throw v0 .end method .method public withKeyValueSeparator(Ljava/lang/String;)Lcom/google/common/base/Joiner$MapJoiner; .locals 2 .prologue .line 267 new-instance v0, Ljava/lang/UnsupportedOperationException; const-string v1, "can\'t use .skipNulls() with maps" invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;->(Ljava/lang/String;)V throw v0 .end method