PaymentChannelServerState$State.smali
.class public final enum Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
.super Ljava/lang/Enum;
.source "PaymentChannelServerState.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum",
"<",
"Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;",
">;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
.field public static final enum CLOSED:Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
.field public static final enum CLOSING:Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
.field public static final enum ERROR:Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
.field public static final enum READY:Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
.field public static final enum UNINITIALISED:Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
.field public static final enum WAITING_FOR_MULTISIG_ACCEPTANCE:Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
.field public static final enum WAITING_FOR_MULTISIG_CONTRACT:Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
.field public static final enum WAITING_FOR_REFUND_TRANSACTION:Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
# direct methods
.method static constructor <clinit>()V
.registers 8
.prologue
const/4 v7, 0x4
const/4 v6, 0x3
const/4 v5, 0x2
const/4 v4, 0x1
const/4 v3, 0x0
.line 83
new-instance v0, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
const-string v1, "UNINITIALISED"
invoke-direct {v0, v1, v3}, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;-><init>(Ljava/lang/String;I)V
sput-object v0, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;->UNINITIALISED:Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
.line 84
new-instance v0, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
const-string v1, "WAITING_FOR_REFUND_TRANSACTION"
invoke-direct {v0, v1, v4}, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;-><init>(Ljava/lang/String;I)V
sput-object v0, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;->WAITING_FOR_REFUND_TRANSACTION:Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
.line 85
new-instance v0, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
const-string v1, "WAITING_FOR_MULTISIG_CONTRACT"
invoke-direct {v0, v1, v5}, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;-><init>(Ljava/lang/String;I)V
sput-object v0, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;->WAITING_FOR_MULTISIG_CONTRACT:Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
.line 86
new-instance v0, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
const-string v1, "WAITING_FOR_MULTISIG_ACCEPTANCE"
invoke-direct {v0, v1, v6}, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;-><init>(Ljava/lang/String;I)V
sput-object v0, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;->WAITING_FOR_MULTISIG_ACCEPTANCE:Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
.line 87
new-instance v0, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
const-string v1, "READY"
invoke-direct {v0, v1, v7}, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;-><init>(Ljava/lang/String;I)V
sput-object v0, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;->READY:Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
.line 88
new-instance v0, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
const-string v1, "CLOSING"
const/4 v2, 0x5
invoke-direct {v0, v1, v2}, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;-><init>(Ljava/lang/String;I)V
sput-object v0, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;->CLOSING:Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
.line 89
new-instance v0, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
const-string v1, "CLOSED"
const/4 v2, 0x6
invoke-direct {v0, v1, v2}, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;-><init>(Ljava/lang/String;I)V
sput-object v0, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;->CLOSED:Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
.line 90
new-instance v0, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
const-string v1, "ERROR"
const/4 v2, 0x7
invoke-direct {v0, v1, v2}, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;-><init>(Ljava/lang/String;I)V
sput-object v0, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;->ERROR:Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
.line 82
const/16 v0, 0x8
new-array v0, v0, [Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
sget-object v1, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;->UNINITIALISED:Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
aput-object v1, v0, v3
sget-object v1, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;->WAITING_FOR_REFUND_TRANSACTION:Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
aput-object v1, v0, v4
sget-object v1, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;->WAITING_FOR_MULTISIG_CONTRACT:Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
aput-object v1, v0, v5
sget-object v1, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;->WAITING_FOR_MULTISIG_ACCEPTANCE:Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
aput-object v1, v0, v6
sget-object v1, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;->READY:Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
aput-object v1, v0, v7
const/4 v1, 0x5
sget-object v2, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;->CLOSING:Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
aput-object v2, v0, v1
const/4 v1, 0x6
sget-object v2, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;->CLOSED:Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
aput-object v2, v0, v1
const/4 v1, 0x7
sget-object v2, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;->ERROR:Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
aput-object v2, v0, v1
sput-object v0, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;->$VALUES:[Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
.prologue
.line 82
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
.registers 2
.prologue
.line 82
const-class v0, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
move-result-object v0
check-cast v0, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
return-object v0
.end method
.method public static values()[Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
.registers 1
.prologue
.line 82
sget-object v0, Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;->$VALUES:[Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
invoke-virtual {v0}, [Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lorg/bitcoinj/protocols/channels/PaymentChannelServerState$State;
return-object v0
.end method