今奥全景相机
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

242 lines
6.0 KiB

.class public final enum Lcom/facebook/internal/SmartLoginOption;
.super Ljava/lang/Enum;
.source "SmartLoginOption.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum",
"<",
"Lcom/facebook/internal/SmartLoginOption;",
">;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lcom/facebook/internal/SmartLoginOption;
.field public static final ALL:Ljava/util/EnumSet;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/EnumSet",
"<",
"Lcom/facebook/internal/SmartLoginOption;",
">;"
}
.end annotation
.end field
.field public static final enum Enabled:Lcom/facebook/internal/SmartLoginOption;
.field public static final enum None:Lcom/facebook/internal/SmartLoginOption;
.field public static final enum RequireConfirm:Lcom/facebook/internal/SmartLoginOption;
# instance fields
.field private final mValue:J
# direct methods
.method static constructor <clinit>()V
.locals 7
.prologue
const/4 v6, 0x2
const/4 v5, 0x1
const/4 v4, 0x0
.line 25
new-instance v0, Lcom/facebook/internal/SmartLoginOption;
const-string v1, "None"
const-wide/16 v2, 0x0
invoke-direct {v0, v1, v4, v2, v3}, Lcom/facebook/internal/SmartLoginOption;-><init>(Ljava/lang/String;IJ)V
sput-object v0, Lcom/facebook/internal/SmartLoginOption;->None:Lcom/facebook/internal/SmartLoginOption;
.line 26
new-instance v0, Lcom/facebook/internal/SmartLoginOption;
const-string v1, "Enabled"
const-wide/16 v2, 0x1
invoke-direct {v0, v1, v5, v2, v3}, Lcom/facebook/internal/SmartLoginOption;-><init>(Ljava/lang/String;IJ)V
sput-object v0, Lcom/facebook/internal/SmartLoginOption;->Enabled:Lcom/facebook/internal/SmartLoginOption;
.line 27
new-instance v0, Lcom/facebook/internal/SmartLoginOption;
const-string v1, "RequireConfirm"
const-wide/16 v2, 0x2
invoke-direct {v0, v1, v6, v2, v3}, Lcom/facebook/internal/SmartLoginOption;-><init>(Ljava/lang/String;IJ)V
sput-object v0, Lcom/facebook/internal/SmartLoginOption;->RequireConfirm:Lcom/facebook/internal/SmartLoginOption;
.line 24
const/4 v0, 0x3
new-array v0, v0, [Lcom/facebook/internal/SmartLoginOption;
sget-object v1, Lcom/facebook/internal/SmartLoginOption;->None:Lcom/facebook/internal/SmartLoginOption;
aput-object v1, v0, v4
sget-object v1, Lcom/facebook/internal/SmartLoginOption;->Enabled:Lcom/facebook/internal/SmartLoginOption;
aput-object v1, v0, v5
sget-object v1, Lcom/facebook/internal/SmartLoginOption;->RequireConfirm:Lcom/facebook/internal/SmartLoginOption;
aput-object v1, v0, v6
sput-object v0, Lcom/facebook/internal/SmartLoginOption;->$VALUES:[Lcom/facebook/internal/SmartLoginOption;
.line 29
const-class v0, Lcom/facebook/internal/SmartLoginOption;
invoke-static {v0}, Ljava/util/EnumSet;->allOf(Ljava/lang/Class;)Ljava/util/EnumSet;
move-result-object v0
sput-object v0, Lcom/facebook/internal/SmartLoginOption;->ALL:Ljava/util/EnumSet;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;IJ)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(J)V"
}
.end annotation
.prologue
.line 42
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
.line 43
iput-wide p3, p0, Lcom/facebook/internal/SmartLoginOption;->mValue:J
.line 44
return-void
.end method
.method public static parseOptions(J)Ljava/util/EnumSet;
.locals 8
.annotation system Ldalvik/annotation/Signature;
value = {
"(J)",
"Ljava/util/EnumSet",
"<",
"Lcom/facebook/internal/SmartLoginOption;",
">;"
}
.end annotation
.prologue
.line 31
const-class v0, Lcom/facebook/internal/SmartLoginOption;
invoke-static {v0}, Ljava/util/EnumSet;->noneOf(Ljava/lang/Class;)Ljava/util/EnumSet;
move-result-object v1
.line 32
sget-object v0, Lcom/facebook/internal/SmartLoginOption;->ALL:Ljava/util/EnumSet;
invoke-virtual {v0}, Ljava/util/EnumSet;->iterator()Ljava/util/Iterator;
move-result-object v2
:cond_0
:goto_0
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_1
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/facebook/internal/SmartLoginOption;
.line 33
invoke-virtual {v0}, Lcom/facebook/internal/SmartLoginOption;->getValue()J
move-result-wide v4
and-long/2addr v4, p0
const-wide/16 v6, 0x0
cmp-long v3, v4, v6
if-eqz v3, :cond_0
.line 34
invoke-virtual {v1, v0}, Ljava/util/EnumSet;->add(Ljava/lang/Object;)Z
goto :goto_0
.line 37
:cond_1
return-object v1
.end method
.method public static valueOf(Ljava/lang/String;)Lcom/facebook/internal/SmartLoginOption;
.locals 1
.prologue
.line 24
const-class v0, Lcom/facebook/internal/SmartLoginOption;
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
move-result-object v0
check-cast v0, Lcom/facebook/internal/SmartLoginOption;
return-object v0
.end method
.method public static values()[Lcom/facebook/internal/SmartLoginOption;
.locals 1
.prologue
.line 24
sget-object v0, Lcom/facebook/internal/SmartLoginOption;->$VALUES:[Lcom/facebook/internal/SmartLoginOption;
invoke-virtual {v0}, [Lcom/facebook/internal/SmartLoginOption;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/facebook/internal/SmartLoginOption;
return-object v0
.end method
# virtual methods
.method public getValue()J
.locals 2
.prologue
.line 47
iget-wide v0, p0, Lcom/facebook/internal/SmartLoginOption;->mValue:J
return-wide v0
.end method