public final class jdk.jshell.Snippet$Kind extends java.lang.Enum<jdk.jshell.Snippet$Kind>
minor version: 0
major version: 59
flags: flags: (0x4031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER, ACC_ANNOTATION
this_class: jdk.jshell.Snippet$Kind
super_class: java.lang.Enum
{
public static final jdk.jshell.Snippet$Kind IMPORT;
descriptor: Ljdk/jshell/Snippet$Kind;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final jdk.jshell.Snippet$Kind TYPE_DECL;
descriptor: Ljdk/jshell/Snippet$Kind;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final jdk.jshell.Snippet$Kind METHOD;
descriptor: Ljdk/jshell/Snippet$Kind;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final jdk.jshell.Snippet$Kind VAR;
descriptor: Ljdk/jshell/Snippet$Kind;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final jdk.jshell.Snippet$Kind EXPRESSION;
descriptor: Ljdk/jshell/Snippet$Kind;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final jdk.jshell.Snippet$Kind STATEMENT;
descriptor: Ljdk/jshell/Snippet$Kind;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final jdk.jshell.Snippet$Kind ERRONEOUS;
descriptor: Ljdk/jshell/Snippet$Kind;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
private final boolean isPersistent;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final jdk.jshell.Snippet$Kind[] ENUM$VALUES;
descriptor: [Ljdk/jshell/Snippet$Kind;
flags: (0x101a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: new jdk.jshell.Snippet$Kind
dup
ldc "IMPORT"
iconst_0
1: iconst_1
invokespecial jdk.jshell.Snippet$Kind.<init>:(Ljava/lang/String;IZ)V
putstatic jdk.jshell.Snippet$Kind.IMPORT:Ljdk/jshell/Snippet$Kind;
2: new jdk.jshell.Snippet$Kind
dup
ldc "TYPE_DECL"
iconst_1
3: iconst_1
invokespecial jdk.jshell.Snippet$Kind.<init>:(Ljava/lang/String;IZ)V
putstatic jdk.jshell.Snippet$Kind.TYPE_DECL:Ljdk/jshell/Snippet$Kind;
4: new jdk.jshell.Snippet$Kind
dup
ldc "METHOD"
iconst_2
5: iconst_1
invokespecial jdk.jshell.Snippet$Kind.<init>:(Ljava/lang/String;IZ)V
putstatic jdk.jshell.Snippet$Kind.METHOD:Ljdk/jshell/Snippet$Kind;
6: new jdk.jshell.Snippet$Kind
dup
ldc "VAR"
iconst_3
7: iconst_1
invokespecial jdk.jshell.Snippet$Kind.<init>:(Ljava/lang/String;IZ)V
putstatic jdk.jshell.Snippet$Kind.VAR:Ljdk/jshell/Snippet$Kind;
8: new jdk.jshell.Snippet$Kind
dup
ldc "EXPRESSION"
iconst_4
9: iconst_0
invokespecial jdk.jshell.Snippet$Kind.<init>:(Ljava/lang/String;IZ)V
putstatic jdk.jshell.Snippet$Kind.EXPRESSION:Ljdk/jshell/Snippet$Kind;
10: new jdk.jshell.Snippet$Kind
dup
ldc "STATEMENT"
iconst_5
11: iconst_0
invokespecial jdk.jshell.Snippet$Kind.<init>:(Ljava/lang/String;IZ)V
putstatic jdk.jshell.Snippet$Kind.STATEMENT:Ljdk/jshell/Snippet$Kind;
12: new jdk.jshell.Snippet$Kind
dup
ldc "ERRONEOUS"
bipush 6
13: iconst_0
invokespecial jdk.jshell.Snippet$Kind.<init>:(Ljava/lang/String;IZ)V
putstatic jdk.jshell.Snippet$Kind.ERRONEOUS:Ljdk/jshell/Snippet$Kind;
14: bipush 7
anewarray jdk.jshell.Snippet$Kind
dup
iconst_0
getstatic jdk.jshell.Snippet$Kind.IMPORT:Ljdk/jshell/Snippet$Kind;
aastore
dup
iconst_1
getstatic jdk.jshell.Snippet$Kind.TYPE_DECL:Ljdk/jshell/Snippet$Kind;
aastore
dup
iconst_2
getstatic jdk.jshell.Snippet$Kind.METHOD:Ljdk/jshell/Snippet$Kind;
aastore
dup
iconst_3
getstatic jdk.jshell.Snippet$Kind.VAR:Ljdk/jshell/Snippet$Kind;
aastore
dup
iconst_4
getstatic jdk.jshell.Snippet$Kind.EXPRESSION:Ljdk/jshell/Snippet$Kind;
aastore
dup
iconst_5
getstatic jdk.jshell.Snippet$Kind.STATEMENT:Ljdk/jshell/Snippet$Kind;
aastore
dup
bipush 6
getstatic jdk.jshell.Snippet$Kind.ERRONEOUS:Ljdk/jshell/Snippet$Kind;
aastore
putstatic jdk.jshell.Snippet$Kind.ENUM$VALUES:[Ljdk/jshell/Snippet$Kind;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String, int, boolean);
descriptor: (Ljava/lang/String;IZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 3 0: aload 0
aload 1
iload 2
invokespecial java.lang.Enum.<init>:(Ljava/lang/String;I)V
1: aload 0
iload 3
putfield jdk.jshell.Snippet$Kind.isPersistent:Z
2: return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jshell/Snippet$Kind;
0 3 3 isPersistent Z
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
isPersistent
public boolean isPersistent();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.Snippet$Kind.isPersistent:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Snippet$Kind;
public static jdk.jshell.Snippet$Kind[] values();
descriptor: ()[Ljdk/jshell/Snippet$Kind;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic jdk.jshell.Snippet$Kind.ENUM$VALUES:[Ljdk/jshell/Snippet$Kind;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray jdk.jshell.Snippet$Kind
dup
astore 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
aload 2
areturn
LocalVariableTable:
Start End Slot Name Signature
public static jdk.jshell.Snippet$Kind valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/jshell/Snippet$Kind;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Ljdk/jshell/Snippet$Kind;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast jdk.jshell.Snippet$Kind
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
}
Signature: Ljava/lang/Enum<Ljdk/jshell/Snippet$Kind;>;
SourceFile: "Snippet.java"
NestHost: jdk.jshell.Snippet
InnerClasses:
public final Kind = jdk.jshell.Snippet$Kind of jdk.jshell.Snippet