Home | History | Annotate | Download | only in smali
      1 .class public LPackedSwitch;
      2 
      3 .super Ljava/lang/Object;
      4 
      5 .method public static packedSwitch(I)I
      6     .registers 2
      7 
      8     const/4 v0, 0
      9     packed-switch v0, :switch_data
     10     goto :default
     11 
     12     :switch_data
     13     .packed-switch 0x0
     14         :case
     15     .end packed-switch
     16 
     17     :return
     18     return v1
     19 
     20     :default
     21     goto :return
     22 
     23     :case
     24     goto :return
     25 
     26 .end method
     27 
     28 .method public static packedSwitch_INT_MAX(I)I
     29     .registers 2
     30 
     31     const/4 v0, 0
     32     packed-switch v0, :switch_data
     33     goto :default
     34 
     35     :switch_data
     36     .packed-switch 0x7FFFFFFE
     37         :case1  # key = INT_MAX - 1
     38         :case2  # key = INT_MAX
     39     .end packed-switch
     40 
     41     :return
     42     return v1
     43 
     44     :default
     45     goto :return
     46 
     47     :case1
     48     goto :return
     49     :case2
     50     goto :return
     51 
     52 .end method
     53