好友
阅读权限30
听众
最后登录1970-1-1
|
新人分析代码确实不行,搞了好几次都失败了,请大神们指点下。分析修改哪里比较合适。谢谢。谢谢。
.class public final enum Lcom/alipay/sdk/app/ResultStatus;
.super Ljava/lang/Enum;
# static fields
.field public static final enum a:Lcom/alipay/sdk/app/ResultStatus;
.field public static final enum b:Lcom/alipay/sdk/app/ResultStatus;
.field public static final enum c:Lcom/alipay/sdk/app/ResultStatus;
.field public static final enum d:Lcom/alipay/sdk/app/ResultStatus;
.field public static final enum e:Lcom/alipay/sdk/app/ResultStatus;
.field public static final enum f:Lcom/alipay/sdk/app/ResultStatus;
.field private static final synthetic i:[Lcom/alipay/sdk/app/ResultStatus;
.field private g:I
.field private h:Ljava/lang/String;
# direct methods
.method static constructor <clinit>()V
.registers 10
new-instance v0, Lcom/alipay/sdk/app/ResultStatus;
const-string v1, "SUCCEEDED"
const-string v2, "支付成功"
const/4 v3, 0x0
const/16 v4, 0x2328
invoke-direct {v0, v1, v3, v4, v2}, Lcom/alipay/sdk/app/ResultStatus;-><init>
(Ljava/lang/String;IILjava/lang/String;)V
sput-object v0, Lcom/alipay/sdk/app/ResultStatus;->a:Lcom/alipay/sdk/app/ResultStatus;
new-instance v0, Lcom/alipay/sdk/app/ResultStatus;
const-string v1, "FAILED"
const-string v2, "系统繁忙,请稍后再试"
const/4 v4, 0x1
const/16 v5, 0xfa0
invoke-direct {v0, v1, v4, v5, v2}, Lcom/alipay/sdk/app/ResultStatus;-><init>
(Ljava/lang/String;IILjava/lang/String;)V
sput-object v0, Lcom/alipay/sdk/app/ResultStatus;->b:Lcom/alipay/sdk/app/ResultStatus;
new-instance v0, Lcom/alipay/sdk/app/ResultStatus;
const-string v1, "CANCELED"
const-string v2, "用户取消"
const/4 v5, 0x2
const/16 v6, 0x1771
invoke-direct {v0, v1, v5, v6, v2}, Lcom/alipay/sdk/app/ResultStatus;-><init>
(Ljava/lang/String;IILjava/lang/String;)V
sput-object v0, Lcom/alipay/sdk/app/ResultStatus;->c:Lcom/alipay/sdk/app/ResultStatus;
new-instance v0, Lcom/alipay/sdk/app/ResultStatus;
const-string v1, "NETWORK_ERROR"
const-string v2, "网络连接异常"
const/4 v6, 0x3
const/16 v7, 0x1772
invoke-direct {v0, v1, v6, v7, v2}, Lcom/alipay/sdk/app/ResultStatus;-><init>
(Ljava/lang/String;IILjava/lang/String;)V
sput-object v0, Lcom/alipay/sdk/app/ResultStatus;->d:Lcom/alipay/sdk/app/ResultStatus;
new-instance v0, Lcom/alipay/sdk/app/ResultStatus;
const-string v1, "PARAMS_ERROR"
const-string v2, "参数错误"
const/4 v7, 0x4
const/16 v8, 0xfa1
invoke-direct {v0, v1, v7, v8, v2}, Lcom/alipay/sdk/app/ResultStatus;-><init>
(Ljava/lang/String;IILjava/lang/String;)V
sput-object v0, Lcom/alipay/sdk/app/ResultStatus;->e:Lcom/alipay/sdk/app/ResultStatus;
new-instance v0, Lcom/alipay/sdk/app/ResultStatus;
const-string v1, "PAY_WAITTING"
const-string v2, "支付结果确认中"
const/4 v8, 0x5
const/16 v9, 0x1f40
invoke-direct {v0, v1, v8, v9, v2}, Lcom/alipay/sdk/app/ResultStatus;-><init>
(Ljava/lang/String;IILjava/lang/String;)V
sput-object v0, Lcom/alipay/sdk/app/ResultStatus;->f:Lcom/alipay/sdk/app/ResultStatus;
const/4 v0, 0x6
new-array v0, v0, [Lcom/alipay/sdk/app/ResultStatus;
sget-object v1, Lcom/alipay/sdk/app/ResultStatus;->a:Lcom/alipay/sdk/app/ResultStatus;
aput-object v1, v0, v3
sget-object v1, Lcom/alipay/sdk/app/ResultStatus;->b:Lcom/alipay/sdk/app/ResultStatus;
aput-object v1, v0, v4
sget-object v1, Lcom/alipay/sdk/app/ResultStatus;->c:Lcom/alipay/sdk/app/ResultStatus;
aput-object v1, v0, v5
sget-object v1, Lcom/alipay/sdk/app/ResultStatus;->d:Lcom/alipay/sdk/app/ResultStatus;
aput-object v1, v0, v6
sget-object v1, Lcom/alipay/sdk/app/ResultStatus;->e:Lcom/alipay/sdk/app/ResultStatus;
aput-object v1, v0, v7
sget-object v1, Lcom/alipay/sdk/app/ResultStatus;->f:Lcom/alipay/sdk/app/ResultStatus;
aput-object v1, v0, v8
sput-object v0, Lcom/alipay/sdk/app/ResultStatus;->i:[Lcom/alipay/sdk/app/ResultStatus;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;IILjava/lang/String;)V
.registers 5
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
iput p3, p0, Lcom/alipay/sdk/app/ResultStatus;->g:I
iput-object p4, p0, Lcom/alipay/sdk/app/ResultStatus;->h:Ljava/lang/String;
return-void
.end method
.method public static a(I)Lcom/alipay/sdk/app/ResultStatus;
.registers 2
const/16 v0, 0xfa1
if-eq p0, v0, :cond_1e
const/16 v0, 0x1f40
if-eq p0, v0, :cond_1b
const/16 v0, 0x2328
if-eq p0, v0, :cond_18
packed-switch p0, :pswitch_data_22
sget-object p0, Lcom/alipay/sdk/app/ResultStatus;->b:Lcom/alipay/sdk/app/ResultStatus;
return-object p0
:pswitch_12 #0x1772
sget-object p0, Lcom/alipay/sdk/app/ResultStatus;->d:Lcom/alipay/sdk/app/ResultStatus;
return-object p0
:pswitch_15 #0x1771
sget-object p0, Lcom/alipay/sdk/app/ResultStatus;->c:Lcom/alipay/sdk/app/ResultStatus;
return-object p0
:cond_18
sget-object p0, Lcom/alipay/sdk/app/ResultStatus;->a:Lcom/alipay/sdk/app/ResultStatus;
return-object p0
:cond_1b
sget-object p0, Lcom/alipay/sdk/app/ResultStatus;->f:Lcom/alipay/sdk/app/ResultStatus;
return-object p0
:cond_1e
sget-object p0, Lcom/alipay/sdk/app/ResultStatus;->e:Lcom/alipay/sdk/app/ResultStatus;
return-object p0
nop
:pswitch_data_22
.packed-switch 0x1771
:pswitch_15 #00001771
:pswitch_12 #00001772
.end packed-switch
.end method
.method public static valueOf(Ljava/lang/String;)Lcom/alipay/sdk/app/ResultStatus;
.registers 2
const-class v0, Lcom/alipay/sdk/app/ResultStatus;
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)
Ljava/lang/Enum;
move-result-object p0
check-cast p0, Lcom/alipay/sdk/app/ResultStatus;
return-object p0
.end method
.method public static values()[Lcom/alipay/sdk/app/ResultStatus;
.registers 1
sget-object v0, Lcom/alipay/sdk/app/ResultStatus;->i:[Lcom/alipay/sdk/app/ResultStatus;
invoke-virtual {v0}, [Lcom/alipay/sdk/app/ResultStatus;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/alipay/sdk/app/ResultStatus;
return-object v0
.end method
.method public a()I
.registers 2
iget v0, p0, Lcom/alipay/sdk/app/ResultStatus;->g:I
return v0
.end method
.method public b()Ljava/lang/String;
.registers 2
iget-object v0, p0, Lcom/alipay/sdk/app/ResultStatus;->h:Ljava/lang/String;
return-object v0
.end method
|
|