class jdk.jshell.OuterSnippetsClassWrap extends jdk.jshell.OuterWrap
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.jshell.OuterSnippetsClassWrap
super_class: jdk.jshell.OuterWrap
{
private final java.lang.String className;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.LinkedHashMap<jdk.jshell.Wrap, jdk.jshell.Snippet> wrapToSnippet;
descriptor: Ljava/util/LinkedHashMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/LinkedHashMap<Ljdk/jshell/Wrap;Ljdk/jshell/Snippet;>;
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/jshell/OuterSnippetsClassWrap;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.jshell.OuterSnippetsClassWrap.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.String, jdk.jshell.Wrap$CompoundWrap, java.util.List<jdk.jshell.Snippet>, java.util.List<jdk.jshell.Wrap>);
descriptor: (Ljava/lang/String;Ljdk/jshell/Wrap$CompoundWrap;Ljava/util/List;Ljava/util/List;)V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 2
invokespecial jdk.jshell.OuterWrap.<init>:(Ljdk/jshell/Wrap;)V
1: getstatic jdk.jshell.OuterSnippetsClassWrap.$assertionsDisabled:Z
ifne 2
aload 3
ifnull 2
aload 3
invokeinterface java.util.List.size:()I
aload 4
invokeinterface java.util.List.size:()I
if_icmpeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: jdk.jshell.OuterSnippetsClassWrap java.lang.String jdk.jshell.Wrap$CompoundWrap java.util.List java.util.List
StackMap stack:
aload 0
aload 1
putfield jdk.jshell.OuterSnippetsClassWrap.className:Ljava/lang/String;
3: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield jdk.jshell.OuterSnippetsClassWrap.wrapToSnippet:Ljava/util/LinkedHashMap;
4: iconst_0
istore 5
start local 5 5: goto 8
6: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.jshell.OuterSnippetsClassWrap.wrapToSnippet:Ljava/util/LinkedHashMap;
aload 4
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.jshell.Wrap
aload 3
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.jshell.Snippet
invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
aload 3
invokeinterface java.util.List.size:()I
if_icmplt 6
end local 5 9: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/jshell/OuterSnippetsClassWrap;
0 10 1 className Ljava/lang/String;
0 10 2 w Ljdk/jshell/Wrap$CompoundWrap;
0 10 3 snippets Ljava/util/List<Ljdk/jshell/Snippet;>;
0 10 4 wraps Ljava/util/List<Ljdk/jshell/Wrap;>;
5 9 5 i I
Signature: (Ljava/lang/String;Ljdk/jshell/Wrap$CompoundWrap;Ljava/util/List<Ljdk/jshell/Snippet;>;Ljava/util/List<Ljdk/jshell/Wrap;>;)V
MethodParameters:
Name Flags
className
w
snippets
wraps
public jdk.jshell.Snippet wrapLineToSnippet(int);
descriptor: (I)Ljdk/jshell/Snippet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jshell.OuterSnippetsClassWrap.w:Ljdk/jshell/Wrap;
checkcast jdk.jshell.Wrap$CompoundWrap
iload 1
invokevirtual jdk.jshell.Wrap$CompoundWrap.wrapLineToWrap:(I)Ljdk/jshell/Wrap;
astore 2
start local 2 1: aload 0
getfield jdk.jshell.OuterSnippetsClassWrap.wrapToSnippet:Ljava/util/LinkedHashMap;
aload 2
invokevirtual java.util.LinkedHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jshell.Snippet
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jshell/OuterSnippetsClassWrap;
0 2 1 wline I
1 2 2 wrap Ljdk/jshell/Wrap;
MethodParameters:
Name Flags
wline
jdk.jshell.Diag wrapDiag(javax.tools.Diagnostic<? extends javax.tools.JavaFileObject>);
descriptor: (Ljavax/tools/Diagnostic;)Ljdk/jshell/Diag;
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new jdk.jshell.OuterSnippetsClassWrap$1
dup
aload 0
aload 0
aload 1
invokespecial jdk.jshell.OuterSnippetsClassWrap$1.<init>:(Ljdk/jshell/OuterSnippetsClassWrap;Ljdk/jshell/OuterWrap;Ljavax/tools/Diagnostic;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/OuterSnippetsClassWrap;
0 1 1 d Ljavax/tools/Diagnostic<+Ljavax/tools/JavaFileObject;>;
Signature: (Ljavax/tools/Diagnostic<+Ljavax/tools/JavaFileObject;>;)Ljdk/jshell/Diag;
MethodParameters:
Name Flags
d
int ordinal(jdk.jshell.Snippet);
descriptor: (Ljdk/jshell/Snippet;)I
flags: (0x0000)
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
getfield jdk.jshell.OuterSnippetsClassWrap.wrapToSnippet:Ljava/util/LinkedHashMap;
invokevirtual java.util.LinkedHashMap.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: jdk.jshell.OuterSnippetsClassWrap jdk.jshell.Snippet int top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jshell.Snippet
astore 3
start local 3 3: aload 3
aload 1
if_acmpne 5
4: iload 2
ireturn
5: StackMap locals: jdk.jshell.OuterSnippetsClassWrap jdk.jshell.Snippet int jdk.jshell.Snippet java.util.Iterator
StackMap stack:
iinc 2 1
end local 3 6: StackMap locals: jdk.jshell.OuterSnippetsClassWrap jdk.jshell.Snippet int top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: iconst_m1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/jshell/OuterSnippetsClassWrap;
0 8 1 sn Ljdk/jshell/Snippet;
1 8 2 i I
3 6 3 si Ljdk/jshell/Snippet;
MethodParameters:
Name Flags
sn
public java.lang.String className();
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.OuterSnippetsClassWrap.className:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/OuterSnippetsClassWrap;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "OSCW("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.jshell.OuterSnippetsClassWrap.className:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.jshell.OuterSnippetsClassWrap.w:Ljdk/jshell/Wrap;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/OuterSnippetsClassWrap;
}
SourceFile: "OuterSnippetsClassWrap.java"
NestMembers:
jdk.jshell.OuterSnippetsClassWrap$1
InnerClasses:
jdk.jshell.OuterSnippetsClassWrap$1
public CompoundWrap = jdk.jshell.Wrap$CompoundWrap of jdk.jshell.Wrap