abstract class jdk.jshell.Wrap implements jdk.jshell.GeneralWrap
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: jdk.jshell.Wrap
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Wrap;
private static jdk.jshell.Wrap methodWrap(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljdk/jshell/Wrap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new jdk.jshell.Wrap$NoWrap
dup
aload 1
invokespecial jdk.jshell.Wrap$NoWrap.<init>:(Ljava/lang/String;)V
astore 3
start local 3 1: new jdk.jshell.Wrap$DoitMethodWrap
dup
new jdk.jshell.Wrap$CompoundWrap
dup
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 3
aastore
dup
iconst_2
aload 2
aastore
invokespecial jdk.jshell.Wrap$CompoundWrap.<init>:([Ljava/lang/Object;)V
invokespecial jdk.jshell.Wrap$DoitMethodWrap.<init>:(Ljdk/jshell/Wrap;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 prefix Ljava/lang/String;
0 2 1 source Ljava/lang/String;
0 2 2 suffix Ljava/lang/String;
1 2 3 wunit Ljdk/jshell/Wrap;
MethodParameters:
Name Flags
prefix
source
suffix
public static jdk.jshell.Wrap methodWrap(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/jshell/Wrap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc ""
aload 0
new java.lang.StringBuilder
dup
aload 0
invokestatic jdk.jshell.Wrap.semi:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " return null;\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.jshell.Wrap.methodWrap:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljdk/jshell/Wrap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 source Ljava/lang/String;
MethodParameters:
Name Flags
source
public static jdk.jshell.Wrap methodReturnWrap(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/jshell/Wrap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: ldc "return "
aload 0
aload 0
invokestatic jdk.jshell.Wrap.semi:(Ljava/lang/String;)Ljava/lang/String;
invokestatic jdk.jshell.Wrap.methodWrap:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljdk/jshell/Wrap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 source Ljava/lang/String;
MethodParameters:
Name Flags
source
public static jdk.jshell.Wrap methodUnreachableSemiWrap(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/jshell/Wrap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: ldc ""
aload 0
aload 0
invokestatic jdk.jshell.Wrap.semi:(Ljava/lang/String;)Ljava/lang/String;
invokestatic jdk.jshell.Wrap.methodWrap:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljdk/jshell/Wrap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 source Ljava/lang/String;
MethodParameters:
Name Flags
source
public static jdk.jshell.Wrap methodUnreachableWrap(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/jshell/Wrap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: ldc ""
aload 0
ldc ""
invokestatic jdk.jshell.Wrap.methodWrap:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljdk/jshell/Wrap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 source Ljava/lang/String;
MethodParameters:
Name Flags
source
private static java.lang.String indent(int);
descriptor: (I)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: ldc " "
iconst_0
iload 0
iconst_4
imul
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 n I
MethodParameters:
Name Flags
n
private static java.lang.String nlindent(int);
descriptor: (I)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "\n"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokestatic jdk.jshell.Wrap.indent:(I)Ljava/lang/String;
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 n I
MethodParameters:
Name Flags
n
public static jdk.jshell.Wrap varWrap(java.lang.String, jdk.jshell.Wrap, java.lang.String, jdk.jshell.Wrap$Range, jdk.jshell.Wrap, jdk.jshell.Wrap);
descriptor: (Ljava/lang/String;Ljdk/jshell/Wrap;Ljava/lang/String;Ljdk/jshell/Wrap$Range;Ljdk/jshell/Wrap;Ljdk/jshell/Wrap;)Ljdk/jshell/Wrap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=10, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: new jdk.jshell.Wrap$RangeWrap
dup
aload 0
aload 3
invokespecial jdk.jshell.Wrap$RangeWrap.<init>:(Ljava/lang/String;Ljdk/jshell/Wrap$Range;)V
astore 6
start local 6 1: new jdk.jshell.Wrap$VarDeclareWrap
dup
aload 1
aload 2
aload 6
invokespecial jdk.jshell.Wrap$VarDeclareWrap.<init>:(Ljdk/jshell/Wrap;Ljava/lang/String;Ljdk/jshell/Wrap;)V
astore 7
start local 7 2: aload 4
ifnonnull 5
3: new jdk.jshell.Wrap$CompoundWrap
dup
iconst_2
anewarray java.lang.Object
dup
iconst_0
new jdk.jshell.Wrap$NoWrap
dup
ldc " "
invokespecial jdk.jshell.Wrap$NoWrap.<init>:(Ljava/lang/String;)V
aastore
dup
iconst_1
ldc " return null;\n"
aastore
invokespecial jdk.jshell.Wrap$CompoundWrap.<init>:([Ljava/lang/Object;)V
astore 8
start local 8 4: goto 9
end local 8 5: StackMap locals: jdk.jshell.Wrap$RangeWrap jdk.jshell.Wrap
StackMap stack:
new jdk.jshell.Wrap$CompoundWrap
dup
bipush 11
anewarray java.lang.Object
dup
iconst_0
6: aload 1
aastore
dup
iconst_1
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
dup
iconst_2
aload 6
aastore
dup
iconst_3
ldc "_ =\n "
aastore
dup
iconst_4
aload 4
aastore
dup
iconst_5
aload 4
invokestatic jdk.jshell.Wrap.semi:(Ljdk/jshell/Wrap;)Ljava/lang/String;
aastore
dup
bipush 6
7: ldc " return "
aastore
dup
bipush 7
aload 6
aastore
dup
bipush 8
ldc " = "
aastore
dup
bipush 9
aload 6
aastore
dup
bipush 10
ldc "_;\n"
8: aastore
invokespecial jdk.jshell.Wrap$CompoundWrap.<init>:([Ljava/lang/Object;)V
astore 8
start local 8 9: StackMap locals: jdk.jshell.Wrap
StackMap stack:
new jdk.jshell.Wrap$DoitMethodWrap
dup
aload 8
invokespecial jdk.jshell.Wrap$DoitMethodWrap.<init>:(Ljdk/jshell/Wrap;)V
astore 9
start local 9 10: aload 5
ifnull 11
new jdk.jshell.Wrap$CompoundWrap
dup
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 7
aastore
dup
iconst_1
aload 9
aastore
dup
iconst_2
aload 5
aastore
invokespecial jdk.jshell.Wrap$CompoundWrap.<init>:([Ljava/lang/Object;)V
goto 12
11: StackMap locals: jdk.jshell.Wrap
StackMap stack:
new jdk.jshell.Wrap$CompoundWrap
dup
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 7
aastore
dup
iconst_1
aload 9
aastore
invokespecial jdk.jshell.Wrap$CompoundWrap.<init>:([Ljava/lang/Object;)V
12: StackMap locals:
StackMap stack: jdk.jshell.Wrap$CompoundWrap
areturn
end local 9 end local 8 end local 7 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 source Ljava/lang/String;
0 13 1 wtype Ljdk/jshell/Wrap;
0 13 2 brackets Ljava/lang/String;
0 13 3 rname Ljdk/jshell/Wrap$Range;
0 13 4 winit Ljdk/jshell/Wrap;
0 13 5 anonDeclareWrap Ljdk/jshell/Wrap;
1 13 6 wname Ljdk/jshell/Wrap$RangeWrap;
2 13 7 wVarDecl Ljdk/jshell/Wrap;
4 5 8 wmeth Ljdk/jshell/Wrap;
9 13 8 wmeth Ljdk/jshell/Wrap;
10 13 9 wInitMeth Ljdk/jshell/Wrap;
MethodParameters:
Name Flags
source
wtype
brackets
rname
winit
anonDeclareWrap
public static jdk.jshell.Wrap tempVarWrap(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljdk/jshell/Wrap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=7, args_size=3
start local 0 start local 1 start local 2 0: new jdk.jshell.Wrap$NoWrap
dup
aload 0
invokespecial jdk.jshell.Wrap$NoWrap.<init>:(Ljava/lang/String;)V
astore 3
start local 3 1: new jdk.jshell.Wrap$CompoundWrap
dup
iconst_3
anewarray java.lang.Object
dup
iconst_0
new java.lang.StringBuilder
dup
ldc "return "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " =\n "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
dup
iconst_1
aload 3
aastore
dup
iconst_2
aload 3
invokestatic jdk.jshell.Wrap.semi:(Ljdk/jshell/Wrap;)Ljava/lang/String;
aastore
invokespecial jdk.jshell.Wrap$CompoundWrap.<init>:([Ljava/lang/Object;)V
astore 4
start local 4 2: new jdk.jshell.Wrap$DoitMethodWrap
dup
aload 4
invokespecial jdk.jshell.Wrap$DoitMethodWrap.<init>:(Ljdk/jshell/Wrap;)V
astore 5
start local 5 3: new java.lang.StringBuilder
dup
ldc " public static\n "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ";\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
start local 6 4: new jdk.jshell.Wrap$CompoundWrap
dup
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
dup
iconst_1
aload 5
aastore
invokespecial jdk.jshell.Wrap$CompoundWrap.<init>:([Ljava/lang/Object;)V
areturn
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 5 0 source Ljava/lang/String;
0 5 1 typename Ljava/lang/String;
0 5 2 name Ljava/lang/String;
1 5 3 winit Ljdk/jshell/Wrap$RangeWrap;
2 5 4 wmeth Ljdk/jshell/Wrap;
3 5 5 wInitMeth Ljdk/jshell/Wrap;
4 5 6 varDecl Ljava/lang/String;
MethodParameters:
Name Flags
source
typename
name
public static jdk.jshell.Wrap simpleWrap(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/jshell/Wrap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new jdk.jshell.Wrap$NoWrap
dup
aload 0
invokespecial jdk.jshell.Wrap$NoWrap.<init>:(Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 source Ljava/lang/String;
MethodParameters:
Name Flags
source
public static jdk.jshell.Wrap identityWrap(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/jshell/Wrap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new jdk.jshell.Wrap$NoWrap
dup
aload 0
invokespecial jdk.jshell.Wrap$NoWrap.<init>:(Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 source Ljava/lang/String;
MethodParameters:
Name Flags
source
public static jdk.jshell.Wrap rangeWrap(java.lang.String, jdk.jshell.Wrap$Range);
descriptor: (Ljava/lang/String;Ljdk/jshell/Wrap$Range;)Ljdk/jshell/Wrap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new jdk.jshell.Wrap$RangeWrap
dup
aload 0
aload 1
invokespecial jdk.jshell.Wrap$RangeWrap.<init>:(Ljava/lang/String;Ljdk/jshell/Wrap$Range;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 source Ljava/lang/String;
0 1 1 range Ljdk/jshell/Wrap$Range;
MethodParameters:
Name Flags
source
range
public static jdk.jshell.Wrap classMemberWrap(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/jshell/Wrap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: new jdk.jshell.Wrap$NoWrap
dup
aload 0
invokespecial jdk.jshell.Wrap$NoWrap.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: new jdk.jshell.Wrap$CompoundWrap
dup
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc " public static\n "
aastore
dup
iconst_1
aload 1
aastore
invokespecial jdk.jshell.Wrap$CompoundWrap.<init>:([Ljava/lang/Object;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 source Ljava/lang/String;
1 2 1 w Ljdk/jshell/Wrap;
MethodParameters:
Name Flags
source
private static int countLines(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
aload 0
invokevirtual java.lang.String.length:()I
invokestatic jdk.jshell.Wrap.countLines:(Ljava/lang/String;II)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
MethodParameters:
Name Flags
s
private static int countLines(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: iload 1
istore 4
start local 4 2: goto 6
3: StackMap locals: int int
StackMap stack:
iload 4
iload 2
if_icmplt 4
goto 7
4: StackMap locals:
StackMap stack:
iinc 3 1
5: iinc 4 1
6: StackMap locals:
StackMap stack:
aload 0
bipush 10
iload 4
invokevirtual java.lang.String.indexOf:(II)I
dup
istore 4
ifgt 3
7: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 s Ljava/lang/String;
0 8 1 from I
0 8 2 toEx I
1 8 3 cnt I
2 8 4 idx I
MethodParameters:
Name Flags
s
from
toEx
private static java.lang.String semi(jdk.jshell.Wrap);
descriptor: (Ljdk/jshell/Wrap;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jshell.Wrap.wrapped:()Ljava/lang/String;
invokestatic jdk.jshell.Wrap.semi:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 w Ljdk/jshell/Wrap;
MethodParameters:
Name Flags
w
private static java.lang.String semi(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc ";"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 1
ldc "\n"
goto 3
StackMap locals:
StackMap stack:
1: aload 0
ldc ";\n"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 2
ldc ""
goto 3
StackMap locals:
StackMap stack:
2: ldc ";\n"
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 s Ljava/lang/String;
MethodParameters:
Name Flags
s
}
SourceFile: "Wrap.java"
NestMembers:
jdk.jshell.Wrap$CompoundWrap jdk.jshell.Wrap$DoitMethodWrap jdk.jshell.Wrap$NoWrap jdk.jshell.Wrap$Range jdk.jshell.Wrap$RangeWrap jdk.jshell.Wrap$VarDeclareWrap
InnerClasses:
public CompoundWrap = jdk.jshell.Wrap$CompoundWrap of jdk.jshell.Wrap
private DoitMethodWrap = jdk.jshell.Wrap$DoitMethodWrap of jdk.jshell.Wrap
private NoWrap = jdk.jshell.Wrap$NoWrap of jdk.jshell.Wrap
public final Range = jdk.jshell.Wrap$Range of jdk.jshell.Wrap
private RangeWrap = jdk.jshell.Wrap$RangeWrap of jdk.jshell.Wrap
private VarDeclareWrap = jdk.jshell.Wrap$VarDeclareWrap of jdk.jshell.Wrap