public class jdk.internal.org.jline.reader.impl.completer.EnumCompleter extends jdk.internal.org.jline.reader.impl.completer.StringsCompleter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.org.jline.reader.impl.completer.EnumCompleter
super_class: jdk.internal.org.jline.reader.impl.completer.StringsCompleter
{
public void <init>(java.lang.Class<? extends java.lang.Enum<?>>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokespecial jdk.internal.org.jline.reader.impl.completer.StringsCompleter.<init>:()V
1: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 1
invokevirtual java.lang.Class.getEnumConstants:()[Ljava/lang/Object;
checkcast java.lang.Enum[]
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: jdk.internal.org.jline.reader.impl.completer.EnumCompleter java.lang.Class top int int java.lang.Enum[]
StackMap stack:
3: aload 5
iload 3
aaload
astore 2
start local 2 4: aload 0
getfield jdk.internal.org.jline.reader.impl.completer.EnumCompleter.candidates:Ljava/util/Collection;
new jdk.internal.org.jline.reader.Candidate
dup
aload 2
invokevirtual java.lang.Enum.name:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokespecial jdk.internal.org.jline.reader.Candidate.<init>:(Ljava/lang/String;)V
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 2 5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 3
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/org/jline/reader/impl/completer/EnumCompleter;
0 8 1 source Ljava/lang/Class<+Ljava/lang/Enum<*>;>;
4 5 2 n Ljava/lang/Enum<*>;
Signature: (Ljava/lang/Class<+Ljava/lang/Enum<*>;>;)V
MethodParameters:
Name Flags
source
}
SourceFile: "EnumCompleter.java"