Created
February 28, 2011 14:55
-
-
Save jleedev/847418 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.class public final enum LShrubbery; | |
.super Ljava/lang/Enum; | |
.source "Shrubbery.java" | |
# annotations | |
.annotation system Ldalvik/annotation/Signature; | |
value = { | |
"Ljava/lang/Enum", | |
"<", | |
"LShrubbery;", | |
">;" | |
} | |
.end annotation | |
# static fields | |
.field private static final synthetic $VALUES:[LShrubbery; | |
.field public static final enum CRAWLING:LShrubbery; | |
.field public static final enum GROUND:LShrubbery; | |
.field public static final enum HANGING:LShrubbery; | |
# direct methods | |
.method static constructor <clinit>()V | |
.registers 5 | |
.prologue | |
const/4 v4, 0x2 | |
const/4 v3, 0x1 | |
const/4 v2, 0x0 | |
.line 2 | |
new-instance v0, LShrubbery; | |
const-string v1, "GROUND" | |
invoke-direct {v0, v1, v2}, LShrubbery;-><init>(Ljava/lang/String;I)V | |
sput-object v0, LShrubbery;->GROUND:LShrubbery; | |
new-instance v0, LShrubbery; | |
const-string v1, "CRAWLING" | |
invoke-direct {v0, v1, v3}, LShrubbery;-><init>(Ljava/lang/String;I)V | |
sput-object v0, LShrubbery;->CRAWLING:LShrubbery; | |
new-instance v0, LShrubbery; | |
const-string v1, "HANGING" | |
invoke-direct {v0, v1, v4}, LShrubbery;-><init>(Ljava/lang/String;I)V | |
sput-object v0, LShrubbery;->HANGING:LShrubbery; | |
.line 1 | |
const/4 v0, 0x3 | |
new-array v0, v0, [LShrubbery; | |
sget-object v1, LShrubbery;->GROUND:LShrubbery; | |
aput-object v1, v0, v2 | |
sget-object v1, LShrubbery;->CRAWLING:LShrubbery; | |
aput-object v1, v0, v3 | |
sget-object v1, LShrubbery;->HANGING:LShrubbery; | |
aput-object v1, v0, v4 | |
sput-object v0, LShrubbery;->$VALUES:[LShrubbery; | |
return-void | |
.end method | |
.method private constructor <init>(Ljava/lang/String;I)V | |
.registers 3 | |
.parameter | |
.parameter | |
.annotation system Ldalvik/annotation/Signature; | |
value = { | |
"()V" | |
} | |
.end annotation | |
.prologue | |
.line 1 | |
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;)LShrubbery; | |
.registers 2 | |
.parameter | |
.prologue | |
.line 1 | |
const-class v0, LShrubbery; | |
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum; | |
move-result-object p0 | |
check-cast p0, LShrubbery; | |
return-object p0 | |
.end method | |
.method public static values()[LShrubbery; | |
.registers 1 | |
.prologue | |
.line 1 | |
sget-object v0, LShrubbery;->$VALUES:[LShrubbery; | |
invoke-virtual {v0}, [LShrubbery;->clone()Ljava/lang/Object; | |
move-result-object v0 | |
check-cast v0, [LShrubbery; | |
return-object v0 | |
.end method |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.class public LShrubbery; | |
.super Ljava/lang/Object; | |
.source "Shrubbery.java" | |
# static fields | |
.field public static final CRAWLING:I = 0x1 | |
.field public static final GROUND:I = 0x0 | |
.field public static final HANGING:I = 0x2 | |
# direct methods | |
.method public constructor <init>()V | |
.registers 1 | |
.prologue | |
.line 1 | |
invoke-direct {p0}, Ljava/lang/Object;-><init>()V | |
return-void | |
.end method |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment