interface jdk.jshell.GeneralWrap
minor version: 0
major version: 59
flags: flags: (0x0600) ACC_INTERFACE, ACC_ABSTRACT
this_class: jdk.jshell.GeneralWrap
super_class: java.lang.Object
{
public abstract java.lang.String wrapped();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int snippetIndexToWrapIndex(int);
descriptor: (I)I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
sni
public abstract int wrapIndexToSnippetIndex(int);
descriptor: (I)I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
wi
public int wrapIndexToSnippetIndex(long);
descriptor: (J)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
l2i
invokeinterface jdk.jshell.GeneralWrap.wrapIndexToSnippetIndex:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/GeneralWrap;
0 1 1 wi J
MethodParameters:
Name Flags
wi
public abstract int firstSnippetIndex();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int lastSnippetIndex();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int snippetLineToWrapLine(int);
descriptor: (I)I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
snline
public abstract int wrapLineToSnippetLine(int);
descriptor: (I)I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
wline
public abstract int firstSnippetLine();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int lastSnippetLine();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public java.lang.String debugPos(long);
descriptor: (J)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: lload 1
l2i
istore 3
start local 3 1: aload 0
invokeinterface jdk.jshell.GeneralWrap.wrapped:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
istore 4
start local 4 2: new java.lang.StringBuilder
dup
aload 0
invokeinterface jdk.jshell.GeneralWrap.wrapped:()Ljava/lang/String;
iconst_0
iload 3
bipush 10
isub
invokestatic java.lang.Math.max:(II)I
iconst_0
iload 4
iload 3
invokestatic java.lang.Math.min:(II)I
invokestatic java.lang.Math.max:(II)I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: ldc "###"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: aload 0
invokeinterface jdk.jshell.GeneralWrap.wrapped:()Ljava/lang/String;
iconst_0
iload 4
iload 3
invokestatic java.lang.Math.min:(II)I
invokestatic java.lang.Math.max:(II)I
iconst_0
iload 4
iload 3
bipush 10
iadd
invokestatic java.lang.Math.min:(II)I
invokestatic java.lang.Math.max:(II)I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jshell/GeneralWrap;
0 6 1 lpos J
1 6 3 pos I
2 6 4 len I
MethodParameters:
Name Flags
lpos
}
SourceFile: "GeneralWrap.java"