.class Lcom/google/gson/internal/ConstructorConstructor$3; .super Ljava/lang/Object; .source "" # interfaces .implements Lcom/google/gson/internal/ObjectConstructor; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/google/gson/internal/ConstructorConstructor;->newDefaultConstructor(Ljava/lang/Class;)Lcom/google/gson/internal/ObjectConstructor; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x0 name = null .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Object;", "Lcom/google/gson/internal/ObjectConstructor<", "TT;>;" } .end annotation # instance fields .field final synthetic this$0:Lcom/google/gson/internal/ConstructorConstructor; .field final synthetic val$constructor:Ljava/lang/reflect/Constructor; # direct methods .method constructor (Lcom/google/gson/internal/ConstructorConstructor;Ljava/lang/reflect/Constructor;)V .locals 0 iput-object p1, p0, Lcom/google/gson/internal/ConstructorConstructor$3;->this$0:Lcom/google/gson/internal/ConstructorConstructor; iput-object p2, p0, Lcom/google/gson/internal/ConstructorConstructor$3;->val$constructor:Ljava/lang/reflect/Constructor; invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public construct()Ljava/lang/Object; .locals 5 .annotation system Ldalvik/annotation/Signature; value = { "()TT;" } .end annotation const-string v0, " with no args" const-string v1, "Failed to invoke " const/4 v2, 0x0 :try_start_0 iget-object v3, p0, Lcom/google/gson/internal/ConstructorConstructor$3;->val$constructor:Ljava/lang/reflect/Constructor; invoke-virtual {v3, v2}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 :try_end_0 .catch Ljava/lang/InstantiationException; {:try_start_0 .. :try_end_0} :catch_2 .catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_1 .catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_0 return-object v0 :catch_0 move-exception v0 new-instance v1, Ljava/lang/AssertionError; invoke-direct {v1, v0}, Ljava/lang/AssertionError;->(Ljava/lang/Object;)V throw v1 :catch_1 move-exception v2 new-instance v3, Ljava/lang/RuntimeException; new-instance v4, Ljava/lang/StringBuilder; invoke-direct {v4}, Ljava/lang/StringBuilder;->()V invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-object v1, p0, Lcom/google/gson/internal/ConstructorConstructor$3;->val$constructor:Ljava/lang/reflect/Constructor; invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 invoke-virtual {v2}, Ljava/lang/reflect/InvocationTargetException;->getTargetException()Ljava/lang/Throwable; move-result-object v1 invoke-direct {v3, v0, v1}, Ljava/lang/RuntimeException;->(Ljava/lang/String;Ljava/lang/Throwable;)V throw v3 :catch_2 move-exception v2 new-instance v3, Ljava/lang/RuntimeException; new-instance v4, Ljava/lang/StringBuilder; invoke-direct {v4}, Ljava/lang/StringBuilder;->()V invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-object v1, p0, Lcom/google/gson/internal/ConstructorConstructor$3;->val$constructor:Ljava/lang/reflect/Constructor; invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 invoke-direct {v3, v0, v2}, Ljava/lang/RuntimeException;->(Ljava/lang/String;Ljava/lang/Throwable;)V throw v3 .end method