public abstract class jdk.jshell.Snippet
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: jdk.jshell.Snippet
super_class: java.lang.Object
{
static final java.lang.String UNASSOCIATED_ID;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "*UNASSOCIATED*"
private final jdk.jshell.Key key;
descriptor: Ljdk/jshell/Key;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String source;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.jshell.Wrap guts;
descriptor: Ljdk/jshell/Wrap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final java.lang.String unitName;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
private final jdk.jshell.Snippet$SubKind subkind;
descriptor: Ljdk/jshell/Snippet$SubKind;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int seq;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String id;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private jdk.jshell.OuterWrap outer;
descriptor: Ljdk/jshell/OuterWrap;
flags: (0x0002) ACC_PRIVATE
private jdk.jshell.Snippet$Status status;
descriptor: Ljdk/jshell/Snippet$Status;
flags: (0x0002) ACC_PRIVATE
private java.util.List<java.lang.String> unresolved;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/lang/String;>;
private jdk.jshell.DiagList diagnostics;
descriptor: Ljdk/jshell/DiagList;
flags: (0x0002) ACC_PRIVATE
private final jdk.jshell.DiagList syntheticDiags;
descriptor: Ljdk/jshell/DiagList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(jdk.jshell.Key, java.lang.String, jdk.jshell.Wrap, java.lang.String, jdk.jshell.Snippet$SubKind, jdk.jshell.DiagList);
descriptor: (Ljdk/jshell/Key;Ljava/lang/String;Ljdk/jshell/Wrap;Ljava/lang/String;Ljdk/jshell/Snippet$SubKind;Ljdk/jshell/DiagList;)V
flags: (0x0000)
Code:
stack=3, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.jshell.Snippet.key:Ljdk/jshell/Key;
2: aload 0
aload 2
putfield jdk.jshell.Snippet.source:Ljava/lang/String;
3: aload 0
aload 3
putfield jdk.jshell.Snippet.guts:Ljdk/jshell/Wrap;
4: aload 0
aload 4
putfield jdk.jshell.Snippet.unitName:Ljava/lang/String;
5: aload 0
aload 5
putfield jdk.jshell.Snippet.subkind:Ljdk/jshell/Snippet$SubKind;
6: aload 0
aload 6
ifnonnull 8
7: new jdk.jshell.DiagList
dup
invokespecial jdk.jshell.DiagList.<init>:()V
goto 9
8: StackMap locals: jdk.jshell.Snippet jdk.jshell.Key java.lang.String jdk.jshell.Wrap java.lang.String jdk.jshell.Snippet$SubKind jdk.jshell.DiagList
StackMap stack: jdk.jshell.Snippet
aload 6
9: StackMap locals: jdk.jshell.Snippet jdk.jshell.Key java.lang.String jdk.jshell.Wrap java.lang.String jdk.jshell.Snippet$SubKind jdk.jshell.DiagList
StackMap stack: jdk.jshell.Snippet jdk.jshell.DiagList
putfield jdk.jshell.Snippet.syntheticDiags:Ljdk/jshell/DiagList;
10: aload 0
getstatic jdk.jshell.Snippet$Status.NONEXISTENT:Ljdk/jshell/Snippet$Status;
putfield jdk.jshell.Snippet.status:Ljdk/jshell/Snippet$Status;
11: aload 0
iconst_0
invokevirtual jdk.jshell.Snippet.setSequenceNumber:(I)V
12: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/jshell/Snippet;
0 13 1 key Ljdk/jshell/Key;
0 13 2 userSource Ljava/lang/String;
0 13 3 guts Ljdk/jshell/Wrap;
0 13 4 unitName Ljava/lang/String;
0 13 5 subkind Ljdk/jshell/Snippet$SubKind;
0 13 6 syntheticDiags Ljdk/jshell/DiagList;
MethodParameters:
Name Flags
key
userSource
guts
unitName
subkind
syntheticDiags
public java.lang.String id();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.Snippet.id:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Snippet;
public jdk.jshell.Snippet$Kind kind();
descriptor: ()Ljdk/jshell/Snippet$Kind;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.Snippet.subkind:Ljdk/jshell/Snippet$SubKind;
invokevirtual jdk.jshell.Snippet$SubKind.kind:()Ljdk/jshell/Snippet$Kind;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Snippet;
public jdk.jshell.Snippet$SubKind subKind();
descriptor: ()Ljdk/jshell/Snippet$SubKind;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.Snippet.subkind:Ljdk/jshell/Snippet$SubKind;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Snippet;
public java.lang.String source();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.Snippet.source:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Snippet;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "Snippet:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 0
invokevirtual jdk.jshell.Snippet.key:()Ljdk/jshell/Key;
ifnull 4
3: aload 1
aload 0
invokevirtual jdk.jshell.Snippet.key:()Ljdk/jshell/Key;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
5: aload 1
aload 0
getfield jdk.jshell.Snippet.source:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/jshell/Snippet;
1 7 1 sb Ljava/lang/StringBuilder;
java.lang.String name();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.Snippet.unitName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Snippet;
jdk.jshell.Key key();
descriptor: ()Ljdk/jshell/Key;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.Snippet.key:Ljdk/jshell/Key;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Snippet;
java.util.List<java.lang.String> unresolved();
descriptor: ()Ljava/util/List;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.Snippet.unresolved:Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Snippet;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
jdk.jshell.DiagList diagnostics();
descriptor: ()Ljdk/jshell/DiagList;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.Snippet.diagnostics:Ljdk/jshell/DiagList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Snippet;
jdk.jshell.DiagList syntheticDiags();
descriptor: ()Ljdk/jshell/DiagList;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.Snippet.syntheticDiags:Ljdk/jshell/DiagList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Snippet;
jdk.jshell.Wrap corralled();
descriptor: ()Ljdk/jshell/Wrap;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Snippet;
java.util.Collection<java.lang.String> declareReferences();
descriptor: ()Ljava/util/Collection;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Snippet;
Signature: ()Ljava/util/Collection<Ljava/lang/String;>;
java.util.Collection<java.lang.String> bodyReferences();
descriptor: ()Ljava/util/Collection;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Snippet;
Signature: ()Ljava/util/Collection<Ljava/lang/String;>;
java.lang.String importLine(jdk.jshell.JShell);
descriptor: (Ljdk/jshell/JShell;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: ldc ""
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Snippet;
0 1 1 state Ljdk/jshell/JShell;
MethodParameters:
Name Flags
state
void setId(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.jshell.Snippet.id:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jshell/Snippet;
0 2 1 id Ljava/lang/String;
MethodParameters:
Name Flags
id
final void setSequenceNumber(int);
descriptor: (I)V
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield jdk.jshell.Snippet.seq:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jshell/Snippet;
0 2 1 seq I
MethodParameters:
Name Flags
seq
void setOuterWrap(jdk.jshell.OuterWrap);
descriptor: (Ljdk/jshell/OuterWrap;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.jshell.Snippet.outer:Ljdk/jshell/OuterWrap;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jshell/Snippet;
0 2 1 outer Ljdk/jshell/OuterWrap;
MethodParameters:
Name Flags
outer
void setCompilationStatus(jdk.jshell.Snippet$Status, java.util.List<java.lang.String>, jdk.jshell.DiagList);
descriptor: (Ljdk/jshell/Snippet$Status;Ljava/util/List;Ljdk/jshell/DiagList;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
putfield jdk.jshell.Snippet.status:Ljdk/jshell/Snippet$Status;
1: aload 0
aload 2
putfield jdk.jshell.Snippet.unresolved:Ljava/util/List;
2: aload 0
aload 3
putfield jdk.jshell.Snippet.diagnostics:Ljdk/jshell/DiagList;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jshell/Snippet;
0 4 1 status Ljdk/jshell/Snippet$Status;
0 4 2 unresolved Ljava/util/List<Ljava/lang/String;>;
0 4 3 diagnostics Ljdk/jshell/DiagList;
Signature: (Ljdk/jshell/Snippet$Status;Ljava/util/List<Ljava/lang/String;>;Ljdk/jshell/DiagList;)V
MethodParameters:
Name Flags
status
unresolved
diagnostics
void setDiagnostics(jdk.jshell.DiagList);
descriptor: (Ljdk/jshell/DiagList;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.jshell.Snippet.diagnostics:Ljdk/jshell/DiagList;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jshell/Snippet;
0 2 1 diagnostics Ljdk/jshell/DiagList;
MethodParameters:
Name Flags
diagnostics
void setFailed(jdk.jshell.DiagList);
descriptor: (Ljdk/jshell/DiagList;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_m1
putfield jdk.jshell.Snippet.seq:I
1: aload 0
aconst_null
putfield jdk.jshell.Snippet.outer:Ljdk/jshell/OuterWrap;
2: aload 0
getstatic jdk.jshell.Snippet$Status.REJECTED:Ljdk/jshell/Snippet$Status;
putfield jdk.jshell.Snippet.status:Ljdk/jshell/Snippet$Status;
3: aload 0
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putfield jdk.jshell.Snippet.unresolved:Ljava/util/List;
4: aload 0
aload 1
putfield jdk.jshell.Snippet.diagnostics:Ljdk/jshell/DiagList;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jshell/Snippet;
0 6 1 diagnostics Ljdk/jshell/DiagList;
MethodParameters:
Name Flags
diagnostics
void setDropped();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic jdk.jshell.Snippet$Status.DROPPED:Ljdk/jshell/Snippet$Status;
putfield jdk.jshell.Snippet.status:Ljdk/jshell/Snippet$Status;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jshell/Snippet;
void setOverwritten();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic jdk.jshell.Snippet$Status.OVERWRITTEN:Ljdk/jshell/Snippet$Status;
putfield jdk.jshell.Snippet.status:Ljdk/jshell/Snippet$Status;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jshell/Snippet;
jdk.jshell.Snippet$Status status();
descriptor: ()Ljdk/jshell/Snippet$Status;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.Snippet.status:Ljdk/jshell/Snippet$Status;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Snippet;
java.lang.String className();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.Snippet.outer:Ljdk/jshell/OuterWrap;
invokevirtual jdk.jshell.OuterWrap.className:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Snippet;
java.lang.String classFullName();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.Snippet.outer:Ljdk/jshell/OuterWrap;
invokevirtual jdk.jshell.OuterWrap.classFullName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Snippet;
jdk.jshell.OuterWrap outerWrap();
descriptor: ()Ljdk/jshell/OuterWrap;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.Snippet.outer:Ljdk/jshell/OuterWrap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Snippet;
int sequenceNumber();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.Snippet.seq:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Snippet;
jdk.jshell.Wrap guts();
descriptor: ()Ljdk/jshell/Wrap;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.Snippet.guts:Ljdk/jshell/Wrap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Snippet;
boolean isExecutable();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.Snippet.subkind:Ljdk/jshell/Snippet$SubKind;
invokevirtual jdk.jshell.Snippet$SubKind.isExecutable:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Snippet;
}
SourceFile: "Snippet.java"
NestMembers:
jdk.jshell.Snippet$Kind jdk.jshell.Snippet$Status jdk.jshell.Snippet$SubKind
InnerClasses:
public final Kind = jdk.jshell.Snippet$Kind of jdk.jshell.Snippet
public final Status = jdk.jshell.Snippet$Status of jdk.jshell.Snippet
public final SubKind = jdk.jshell.Snippet$SubKind of jdk.jshell.Snippet