NotificationType.smali
.class public final enum Lcom/avast/analytics/proto/blob/notification/NotificationType;
.super Ljava/lang/Enum;
# interfaces
.implements Lcom/squareup/wire/WireEnum;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lcom/avast/analytics/proto/blob/notification/NotificationType;",
">;",
"Lcom/squareup/wire/WireEnum;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lcom/avast/analytics/proto/blob/notification/NotificationType;
.field public static final ADAPTER:Lcom/squareup/wire/ProtoAdapter;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/squareup/wire/ProtoAdapter<",
"Lcom/avast/analytics/proto/blob/notification/NotificationType;",
">;"
}
.end annotation
.end field
.field public static final enum GENERAL:Lcom/avast/analytics/proto/blob/notification/NotificationType;
.field public static final enum PURCHASE:Lcom/avast/analytics/proto/blob/notification/NotificationType;
# instance fields
.field private final value:I
# direct methods
.method static constructor <clinit>()V
.registers 5
new-instance v0, Lcom/avast/analytics/proto/blob/notification/NotificationType;
const-string v1, "GENERAL"
const/4 v2, 0x0
const/4 v3, 0x1
invoke-direct {v0, v1, v2, v3}, Lcom/avast/analytics/proto/blob/notification/NotificationType;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/avast/analytics/proto/blob/notification/NotificationType;->GENERAL:Lcom/avast/analytics/proto/blob/notification/NotificationType;
new-instance v0, Lcom/avast/analytics/proto/blob/notification/NotificationType;
const-string v1, "PURCHASE"
const/4 v4, 0x2
invoke-direct {v0, v1, v3, v4}, Lcom/avast/analytics/proto/blob/notification/NotificationType;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/avast/analytics/proto/blob/notification/NotificationType;->PURCHASE:Lcom/avast/analytics/proto/blob/notification/NotificationType;
new-array v1, v4, [Lcom/avast/analytics/proto/blob/notification/NotificationType;
sget-object v4, Lcom/avast/analytics/proto/blob/notification/NotificationType;->GENERAL:Lcom/avast/analytics/proto/blob/notification/NotificationType;
aput-object v4, v1, v2
aput-object v0, v1, v3
sput-object v1, Lcom/avast/analytics/proto/blob/notification/NotificationType;->$VALUES:[Lcom/avast/analytics/proto/blob/notification/NotificationType;
const-class v0, Lcom/avast/analytics/proto/blob/notification/NotificationType;
invoke-static {v0}, Lcom/squareup/wire/ProtoAdapter;->newEnumAdapter(Ljava/lang/Class;)Lcom/squareup/wire/RuntimeEnumAdapter;
move-result-object v0
sput-object v0, Lcom/avast/analytics/proto/blob/notification/NotificationType;->ADAPTER:Lcom/squareup/wire/ProtoAdapter;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;II)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)V"
}
.end annotation
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
iput p3, p0, Lcom/avast/analytics/proto/blob/notification/NotificationType;->value:I
return-void
.end method
.method public static fromValue(I)Lcom/avast/analytics/proto/blob/notification/NotificationType;
.registers 2
const/4 v0, 0x1
if-eq p0, v0, :cond_b
const/4 v0, 0x2
if-eq p0, v0, :cond_8
const/4 p0, 0x0
return-object p0
:cond_8
sget-object p0, Lcom/avast/analytics/proto/blob/notification/NotificationType;->PURCHASE:Lcom/avast/analytics/proto/blob/notification/NotificationType;
return-object p0
:cond_b
sget-object p0, Lcom/avast/analytics/proto/blob/notification/NotificationType;->GENERAL:Lcom/avast/analytics/proto/blob/notification/NotificationType;
return-object p0
.end method
.method public static valueOf(Ljava/lang/String;)Lcom/avast/analytics/proto/blob/notification/NotificationType;
.registers 2
const-class v0, Lcom/avast/analytics/proto/blob/notification/NotificationType;
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/avast/analytics/proto/blob/notification/NotificationType;
return-object p0
.end method
.method public static values()[Lcom/avast/analytics/proto/blob/notification/NotificationType;
.registers 1
sget-object v0, Lcom/avast/analytics/proto/blob/notification/NotificationType;->$VALUES:[Lcom/avast/analytics/proto/blob/notification/NotificationType;
invoke-virtual {v0}, [Lcom/avast/analytics/proto/blob/notification/NotificationType;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/avast/analytics/proto/blob/notification/NotificationType;
return-object v0
.end method
# virtual methods
.method public getValue()I
.registers 2
iget v0, p0, Lcom/avast/analytics/proto/blob/notification/NotificationType;->value:I
return v0
.end method