DecodeHintType.smali
.class public final enum Lcom/google/zxing/DecodeHintType;
.super Ljava/lang/Enum;
.source "DecodeHintType.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lcom/google/zxing/DecodeHintType;",
">;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lcom/google/zxing/DecodeHintType;
.field public static final enum ALLOWED_EAN_EXTENSIONS:Lcom/google/zxing/DecodeHintType;
.field public static final enum ALLOWED_LENGTHS:Lcom/google/zxing/DecodeHintType;
.field public static final enum ASSUME_CODE_39_CHECK_DIGIT:Lcom/google/zxing/DecodeHintType;
.field public static final enum ASSUME_GS1:Lcom/google/zxing/DecodeHintType;
.field public static final enum CHARACTER_SET:Lcom/google/zxing/DecodeHintType;
.field public static final enum NEED_RESULT_POINT_CALLBACK:Lcom/google/zxing/DecodeHintType;
.field public static final enum OTHER:Lcom/google/zxing/DecodeHintType;
.field public static final enum POSSIBLE_FORMATS:Lcom/google/zxing/DecodeHintType;
.field public static final enum PURE_BARCODE:Lcom/google/zxing/DecodeHintType;
.field public static final enum RETURN_CODABAR_START_END:Lcom/google/zxing/DecodeHintType;
.field public static final enum TRY_HARDER:Lcom/google/zxing/DecodeHintType;
# instance fields
.field private final valueType:Ljava/lang/Class;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.registers 14
.line 35
const-class v0, [I
new-instance v1, Lcom/google/zxing/DecodeHintType;
const-class v2, Ljava/lang/Object;
const-string v3, "OTHER"
const/4 v4, 0x0
invoke-direct {v1, v3, v4, v2}, Lcom/google/zxing/DecodeHintType;-><init>(Ljava/lang/String;ILjava/lang/Class;)V
sput-object v1, Lcom/google/zxing/DecodeHintType;->OTHER:Lcom/google/zxing/DecodeHintType;
.line 41
new-instance v1, Lcom/google/zxing/DecodeHintType;
const-class v2, Ljava/lang/Void;
const-string v3, "PURE_BARCODE"
const/4 v5, 0x1
invoke-direct {v1, v3, v5, v2}, Lcom/google/zxing/DecodeHintType;-><init>(Ljava/lang/String;ILjava/lang/Class;)V
sput-object v1, Lcom/google/zxing/DecodeHintType;->PURE_BARCODE:Lcom/google/zxing/DecodeHintType;
.line 47
new-instance v1, Lcom/google/zxing/DecodeHintType;
const-class v2, Ljava/util/List;
const-string v3, "POSSIBLE_FORMATS"
const/4 v6, 0x2
invoke-direct {v1, v3, v6, v2}, Lcom/google/zxing/DecodeHintType;-><init>(Ljava/lang/String;ILjava/lang/Class;)V
sput-object v1, Lcom/google/zxing/DecodeHintType;->POSSIBLE_FORMATS:Lcom/google/zxing/DecodeHintType;
.line 53
new-instance v1, Lcom/google/zxing/DecodeHintType;
const-class v2, Ljava/lang/Void;
const-string v3, "TRY_HARDER"
const/4 v7, 0x3
invoke-direct {v1, v3, v7, v2}, Lcom/google/zxing/DecodeHintType;-><init>(Ljava/lang/String;ILjava/lang/Class;)V
sput-object v1, Lcom/google/zxing/DecodeHintType;->TRY_HARDER:Lcom/google/zxing/DecodeHintType;
.line 58
new-instance v1, Lcom/google/zxing/DecodeHintType;
const-class v2, Ljava/lang/String;
const-string v3, "CHARACTER_SET"
const/4 v8, 0x4
invoke-direct {v1, v3, v8, v2}, Lcom/google/zxing/DecodeHintType;-><init>(Ljava/lang/String;ILjava/lang/Class;)V
sput-object v1, Lcom/google/zxing/DecodeHintType;->CHARACTER_SET:Lcom/google/zxing/DecodeHintType;
.line 63
new-instance v1, Lcom/google/zxing/DecodeHintType;
const-string v2, "ALLOWED_LENGTHS"
const/4 v3, 0x5
invoke-direct {v1, v2, v3, v0}, Lcom/google/zxing/DecodeHintType;-><init>(Ljava/lang/String;ILjava/lang/Class;)V
sput-object v1, Lcom/google/zxing/DecodeHintType;->ALLOWED_LENGTHS:Lcom/google/zxing/DecodeHintType;
.line 69
new-instance v1, Lcom/google/zxing/DecodeHintType;
const-class v2, Ljava/lang/Void;
const-string v9, "ASSUME_CODE_39_CHECK_DIGIT"
const/4 v10, 0x6
invoke-direct {v1, v9, v10, v2}, Lcom/google/zxing/DecodeHintType;-><init>(Ljava/lang/String;ILjava/lang/Class;)V
sput-object v1, Lcom/google/zxing/DecodeHintType;->ASSUME_CODE_39_CHECK_DIGIT:Lcom/google/zxing/DecodeHintType;
.line 76
new-instance v1, Lcom/google/zxing/DecodeHintType;
const-class v2, Ljava/lang/Void;
const-string v9, "ASSUME_GS1"
const/4 v11, 0x7
invoke-direct {v1, v9, v11, v2}, Lcom/google/zxing/DecodeHintType;-><init>(Ljava/lang/String;ILjava/lang/Class;)V
sput-object v1, Lcom/google/zxing/DecodeHintType;->ASSUME_GS1:Lcom/google/zxing/DecodeHintType;
.line 83
new-instance v1, Lcom/google/zxing/DecodeHintType;
const-class v2, Ljava/lang/Void;
const-string v9, "RETURN_CODABAR_START_END"
const/16 v12, 0x8
invoke-direct {v1, v9, v12, v2}, Lcom/google/zxing/DecodeHintType;-><init>(Ljava/lang/String;ILjava/lang/Class;)V
sput-object v1, Lcom/google/zxing/DecodeHintType;->RETURN_CODABAR_START_END:Lcom/google/zxing/DecodeHintType;
.line 89
new-instance v1, Lcom/google/zxing/DecodeHintType;
const-class v2, Lcom/google/zxing/ResultPointCallback;
const-string v9, "NEED_RESULT_POINT_CALLBACK"
const/16 v13, 0x9
invoke-direct {v1, v9, v13, v2}, Lcom/google/zxing/DecodeHintType;-><init>(Ljava/lang/String;ILjava/lang/Class;)V
sput-object v1, Lcom/google/zxing/DecodeHintType;->NEED_RESULT_POINT_CALLBACK:Lcom/google/zxing/DecodeHintType;
.line 99
new-instance v1, Lcom/google/zxing/DecodeHintType;
const-string v2, "ALLOWED_EAN_EXTENSIONS"
const/16 v9, 0xa
invoke-direct {v1, v2, v9, v0}, Lcom/google/zxing/DecodeHintType;-><init>(Ljava/lang/String;ILjava/lang/Class;)V
sput-object v1, Lcom/google/zxing/DecodeHintType;->ALLOWED_EAN_EXTENSIONS:Lcom/google/zxing/DecodeHintType;
const/16 v0, 0xb
new-array v0, v0, [Lcom/google/zxing/DecodeHintType;
.line 30
sget-object v2, Lcom/google/zxing/DecodeHintType;->OTHER:Lcom/google/zxing/DecodeHintType;
aput-object v2, v0, v4
sget-object v2, Lcom/google/zxing/DecodeHintType;->PURE_BARCODE:Lcom/google/zxing/DecodeHintType;
aput-object v2, v0, v5
sget-object v2, Lcom/google/zxing/DecodeHintType;->POSSIBLE_FORMATS:Lcom/google/zxing/DecodeHintType;
aput-object v2, v0, v6
sget-object v2, Lcom/google/zxing/DecodeHintType;->TRY_HARDER:Lcom/google/zxing/DecodeHintType;
aput-object v2, v0, v7
sget-object v2, Lcom/google/zxing/DecodeHintType;->CHARACTER_SET:Lcom/google/zxing/DecodeHintType;
aput-object v2, v0, v8
sget-object v2, Lcom/google/zxing/DecodeHintType;->ALLOWED_LENGTHS:Lcom/google/zxing/DecodeHintType;
aput-object v2, v0, v3
sget-object v2, Lcom/google/zxing/DecodeHintType;->ASSUME_CODE_39_CHECK_DIGIT:Lcom/google/zxing/DecodeHintType;
aput-object v2, v0, v10
sget-object v2, Lcom/google/zxing/DecodeHintType;->ASSUME_GS1:Lcom/google/zxing/DecodeHintType;
aput-object v2, v0, v11
sget-object v2, Lcom/google/zxing/DecodeHintType;->RETURN_CODABAR_START_END:Lcom/google/zxing/DecodeHintType;
aput-object v2, v0, v12
sget-object v2, Lcom/google/zxing/DecodeHintType;->NEED_RESULT_POINT_CALLBACK:Lcom/google/zxing/DecodeHintType;
aput-object v2, v0, v13
aput-object v1, v0, v9
sput-object v0, Lcom/google/zxing/DecodeHintType;->$VALUES:[Lcom/google/zxing/DecodeHintType;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;ILjava/lang/Class;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Class<",
"*>;)V"
}
.end annotation
.line 114
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
.line 115
iput-object p3, p0, Lcom/google/zxing/DecodeHintType;->valueType:Ljava/lang/Class;
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Lcom/google/zxing/DecodeHintType;
.registers 2
.line 30
const-class v0, Lcom/google/zxing/DecodeHintType;
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/google/zxing/DecodeHintType;
return-object p0
.end method
.method public static values()[Lcom/google/zxing/DecodeHintType;
.registers 1
.line 30
sget-object v0, Lcom/google/zxing/DecodeHintType;->$VALUES:[Lcom/google/zxing/DecodeHintType;
invoke-virtual {v0}, [Lcom/google/zxing/DecodeHintType;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/google/zxing/DecodeHintType;
return-object v0
.end method
# virtual methods
.method public getValueType()Ljava/lang/Class;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.line 119
iget-object v0, p0, Lcom/google/zxing/DecodeHintType;->valueType:Ljava/lang/Class;
return-object v0
.end method