public final class jdk.internal.org.jline.reader.impl.SimpleMaskingCallback implements jdk.internal.org.jline.reader.MaskingCallback
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.internal.org.jline.reader.impl.SimpleMaskingCallback
super_class: java.lang.Object
{
private final java.lang.Character mask;
descriptor: Ljava/lang/Character;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.Character);
descriptor: (Ljava/lang/Character;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
ldc "mask must be a non null character"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.Character
putfield jdk.internal.org.jline.reader.impl.SimpleMaskingCallback.mask:Ljava/lang/Character;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/jline/reader/impl/SimpleMaskingCallback;
0 3 1 mask Ljava/lang/Character;
MethodParameters:
Name Flags
mask
public java.lang.String display(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.org.jline.reader.impl.SimpleMaskingCallback.mask:Ljava/lang/Character;
iconst_0
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
invokevirtual java.lang.Character.equals:(Ljava/lang/Object;)Z
ifeq 2
1: ldc ""
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokevirtual java.lang.String.length:()I
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
start local 2 3: aload 1
invokevirtual java.lang.String.length:()I
istore 3
start local 3 4: goto 6
5: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 2
aload 0
getfield jdk.internal.org.jline.reader.impl.SimpleMaskingCallback.mask:Ljava/lang/Character;
invokevirtual java.lang.Character.charValue:()C
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
6: StackMap locals:
StackMap stack:
iload 3
iinc 3 -1
ifgt 5
end local 3 7: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/org/jline/reader/impl/SimpleMaskingCallback;
0 8 1 line Ljava/lang/String;
3 8 2 sb Ljava/lang/StringBuilder;
4 7 3 i I
MethodParameters:
Name Flags
line
public java.lang.String history(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/reader/impl/SimpleMaskingCallback;
0 1 1 line Ljava/lang/String;
MethodParameters:
Name Flags
line
}
SourceFile: "SimpleMaskingCallback.java"