Skip to content
pxb1988 edited this page Apr 13, 2015 · 1 revision

As of Reversion 90d8516d8da1, the smali file generated by dex2jar likes following.

.method public getMethodName()Ljava/lang/String;
  .registers 3
    iget v0, p0, Ld2j/gen/MI__000;->idx:I
    packed-switch v0, :L5
    new-instance v0, Ljava/lang/RuntimeException;
    const-string v1, "invalid idx"
    invoke-direct { v0, v1 }, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
    throw v0
  :L0
    const-string v0, "b"
    return-object v0
  :L1
    const-string v0, "c"
    return-object v0
  :L2
    const-string v0, "d"
    return-object v0
  :L3
    const-string v0, "e"
    return-object v0
  :L4
    const-string v0, "f"
    return-object v0
  :L5
  .packed-switch 0
    :L0
    :L1
    :L2
    :L3
    :L4
    :L3
    :L4
  .end packed-switch
.end method
Clone this wiki locally