class jdk.internal.jshell.tool.Selector$SelectorBuilder
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.jshell.tool.Selector$SelectorBuilder
super_class: java.lang.Object
{
final java.lang.String selectorText;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
private jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector<jdk.internal.jshell.tool.Selector$FormatCase> fcase;
descriptor: Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector;
flags: (0x0002) ACC_PRIVATE
Signature: Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector<Ljdk/internal/jshell/tool/Selector$FormatCase;>;
private jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector<jdk.internal.jshell.tool.Selector$FormatAction> faction;
descriptor: Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector;
flags: (0x0002) ACC_PRIVATE
Signature: Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector<Ljdk/internal/jshell/tool/Selector$FormatAction;>;
private jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector<jdk.internal.jshell.tool.Selector$FormatWhen> fwhen;
descriptor: Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector;
flags: (0x0002) ACC_PRIVATE
Signature: Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector<Ljdk/internal/jshell/tool/Selector$FormatWhen;>;
private jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector<jdk.internal.jshell.tool.Selector$FormatResolve> fresolve;
descriptor: Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector;
flags: (0x0002) ACC_PRIVATE
Signature: Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector<Ljdk/internal/jshell/tool/Selector$FormatResolve;>;
private jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector<jdk.internal.jshell.tool.Selector$FormatUnresolved> funresolved;
descriptor: Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector;
flags: (0x0002) ACC_PRIVATE
Signature: Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector<Ljdk/internal/jshell/tool/Selector$FormatUnresolved;>;
private jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector<jdk.internal.jshell.tool.Selector$FormatErrors> ferrors;
descriptor: Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector;
flags: (0x0002) ACC_PRIVATE
Signature: Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector<Ljdk/internal/jshell/tool/Selector$FormatErrors;>;
private static volatile int[] $SWITCH_TABLE$jdk$internal$jshell$tool$Selector$SelectorKind;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector
dup
ldc Ljdk/internal/jshell/tool/Selector$FormatCase;
invokespecial jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector.<init>:(Ljava/lang/Class;)V
putfield jdk.internal.jshell.tool.Selector$SelectorBuilder.fcase:Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector;
2: aload 0
new jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector
dup
ldc Ljdk/internal/jshell/tool/Selector$FormatAction;
invokespecial jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector.<init>:(Ljava/lang/Class;)V
putfield jdk.internal.jshell.tool.Selector$SelectorBuilder.faction:Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector;
3: aload 0
new jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector
dup
ldc Ljdk/internal/jshell/tool/Selector$FormatWhen;
invokespecial jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector.<init>:(Ljava/lang/Class;)V
putfield jdk.internal.jshell.tool.Selector$SelectorBuilder.fwhen:Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector;
4: aload 0
new jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector
dup
ldc Ljdk/internal/jshell/tool/Selector$FormatResolve;
invokespecial jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector.<init>:(Ljava/lang/Class;)V
putfield jdk.internal.jshell.tool.Selector$SelectorBuilder.fresolve:Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector;
5: aload 0
new jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector
dup
ldc Ljdk/internal/jshell/tool/Selector$FormatUnresolved;
invokespecial jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector.<init>:(Ljava/lang/Class;)V
putfield jdk.internal.jshell.tool.Selector$SelectorBuilder.funresolved:Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector;
6: aload 0
new jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector
dup
ldc Ljdk/internal/jshell/tool/Selector$FormatErrors;
invokespecial jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector.<init>:(Ljava/lang/Class;)V
putfield jdk.internal.jshell.tool.Selector$SelectorBuilder.ferrors:Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector;
7: aload 0
aload 1
putfield jdk.internal.jshell.tool.Selector$SelectorBuilder.selectorText:Ljava/lang/String;
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/jshell/tool/Selector$SelectorBuilder;
0 9 1 selectorText Ljava/lang/String;
MethodParameters:
Name Flags
selectorText
void add(jdk.internal.jshell.tool.Selector$SelectorInstanceWithDoc<?>);
descriptor: (Ljdk/internal/jshell/tool/Selector$SelectorInstanceWithDoc;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic jdk.internal.jshell.tool.Selector$SelectorBuilder.$SWITCH_TABLE$jdk$internal$jshell$tool$Selector$SelectorKind:()[I
aload 1
invokeinterface jdk.internal.jshell.tool.Selector$SelectorInstanceWithDoc.kind:()Ljdk/internal/jshell/tool/Selector$SelectorKind;
invokevirtual jdk.internal.jshell.tool.Selector$SelectorKind.ordinal:()I
iaload
tableswitch { // 1 - 6
1: 1
2: 2
3: 3
4: 4
5: 5
6: 6
default: 7
}
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.Selector$SelectorBuilder.fcase:Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector;
aload 1
checkcast jdk.internal.jshell.tool.Selector$FormatCase
invokevirtual jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector.add:(Ljava/lang/Enum;)V
goto 7
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.Selector$SelectorBuilder.faction:Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector;
aload 1
checkcast jdk.internal.jshell.tool.Selector$FormatAction
invokevirtual jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector.add:(Ljava/lang/Enum;)V
goto 7
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.Selector$SelectorBuilder.fwhen:Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector;
aload 1
checkcast jdk.internal.jshell.tool.Selector$FormatWhen
invokevirtual jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector.add:(Ljava/lang/Enum;)V
goto 7
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.Selector$SelectorBuilder.fresolve:Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector;
aload 1
checkcast jdk.internal.jshell.tool.Selector$FormatResolve
invokevirtual jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector.add:(Ljava/lang/Enum;)V
goto 7
5: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.Selector$SelectorBuilder.funresolved:Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector;
aload 1
checkcast jdk.internal.jshell.tool.Selector$FormatUnresolved
invokevirtual jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector.add:(Ljava/lang/Enum;)V
goto 7
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.Selector$SelectorBuilder.ferrors:Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector;
aload 1
checkcast jdk.internal.jshell.tool.Selector$FormatErrors
invokevirtual jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector.add:(Ljava/lang/Enum;)V
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/jshell/tool/Selector$SelectorBuilder;
0 8 1 v Ljdk/internal/jshell/tool/Selector$SelectorInstanceWithDoc<*>;
Signature: (Ljdk/internal/jshell/tool/Selector$SelectorInstanceWithDoc<*>;)V
MethodParameters:
Name Flags
v
jdk.internal.jshell.tool.Selector toSelector();
descriptor: ()Ljdk/internal/jshell/tool/Selector;
flags: (0x0000)
Code:
stack=9, locals=1, args_size=1
start local 0 0: new jdk.internal.jshell.tool.Selector
dup
aload 0
getfield jdk.internal.jshell.tool.Selector$SelectorBuilder.selectorText:Ljava/lang/String;
1: aload 0
getfield jdk.internal.jshell.tool.Selector$SelectorBuilder.fcase:Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector;
invokevirtual jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector.get:()Ljava/util/EnumSet;
aload 0
getfield jdk.internal.jshell.tool.Selector$SelectorBuilder.faction:Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector;
invokevirtual jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector.get:()Ljava/util/EnumSet;
aload 0
getfield jdk.internal.jshell.tool.Selector$SelectorBuilder.fwhen:Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector;
invokevirtual jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector.get:()Ljava/util/EnumSet;
aload 0
getfield jdk.internal.jshell.tool.Selector$SelectorBuilder.fresolve:Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector;
invokevirtual jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector.get:()Ljava/util/EnumSet;
aload 0
getfield jdk.internal.jshell.tool.Selector$SelectorBuilder.funresolved:Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector;
invokevirtual jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector.get:()Ljava/util/EnumSet;
aload 0
getfield jdk.internal.jshell.tool.Selector$SelectorBuilder.ferrors:Ljdk/internal/jshell/tool/Selector$SelectorBuilder$SelectorCollector;
invokevirtual jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector.get:()Ljava/util/EnumSet;
2: invokespecial jdk.internal.jshell.tool.Selector.<init>:(Ljava/lang/String;Ljava/util/EnumSet;Ljava/util/EnumSet;Ljava/util/EnumSet;Ljava/util/EnumSet;Ljava/util/EnumSet;Ljava/util/EnumSet;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jshell/tool/Selector$SelectorBuilder;
static int[] $SWITCH_TABLE$jdk$internal$jshell$tool$Selector$SelectorKind();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic jdk.internal.jshell.tool.Selector$SelectorBuilder.$SWITCH_TABLE$jdk$internal$jshell$tool$Selector$SelectorKind:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic jdk.internal.jshell.tool.Selector$SelectorKind.values:()[Ljdk/internal/jshell/tool/Selector$SelectorKind;
arraylength
newarray 10
astore 0
2: aload 0
getstatic jdk.internal.jshell.tool.Selector$SelectorKind.ACTION:Ljdk/internal/jshell/tool/Selector$SelectorKind;
invokevirtual jdk.internal.jshell.tool.Selector$SelectorKind.ordinal:()I
iconst_2
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic jdk.internal.jshell.tool.Selector$SelectorKind.CASE:Ljdk/internal/jshell/tool/Selector$SelectorKind;
invokevirtual jdk.internal.jshell.tool.Selector$SelectorKind.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic jdk.internal.jshell.tool.Selector$SelectorKind.ERRORS:Ljdk/internal/jshell/tool/Selector$SelectorKind;
invokevirtual jdk.internal.jshell.tool.Selector$SelectorKind.ordinal:()I
bipush 6
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic jdk.internal.jshell.tool.Selector$SelectorKind.RESOLVE:Ljdk/internal/jshell/tool/Selector$SelectorKind;
invokevirtual jdk.internal.jshell.tool.Selector$SelectorKind.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic jdk.internal.jshell.tool.Selector$SelectorKind.UNRESOLVED:Ljdk/internal/jshell/tool/Selector$SelectorKind;
invokevirtual jdk.internal.jshell.tool.Selector$SelectorKind.ordinal:()I
iconst_5
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic jdk.internal.jshell.tool.Selector$SelectorKind.WHEN:Ljdk/internal/jshell/tool/Selector$SelectorKind;
invokevirtual jdk.internal.jshell.tool.Selector$SelectorKind.ordinal:()I
iconst_3
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
dup
putstatic jdk.internal.jshell.tool.Selector$SelectorBuilder.$SWITCH_TABLE$jdk$internal$jshell$tool$Selector$SelectorKind:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
}
SourceFile: "Selector.java"
NestHost: jdk.internal.jshell.tool.Selector
InnerClasses:
public final FormatAction = jdk.internal.jshell.tool.Selector$FormatAction of jdk.internal.jshell.tool.Selector
public final FormatCase = jdk.internal.jshell.tool.Selector$FormatCase of jdk.internal.jshell.tool.Selector
public final FormatErrors = jdk.internal.jshell.tool.Selector$FormatErrors of jdk.internal.jshell.tool.Selector
public final FormatResolve = jdk.internal.jshell.tool.Selector$FormatResolve of jdk.internal.jshell.tool.Selector
public final FormatUnresolved = jdk.internal.jshell.tool.Selector$FormatUnresolved of jdk.internal.jshell.tool.Selector
public final FormatWhen = jdk.internal.jshell.tool.Selector$FormatWhen of jdk.internal.jshell.tool.Selector
SelectorBuilder = jdk.internal.jshell.tool.Selector$SelectorBuilder of jdk.internal.jshell.tool.Selector
private SelectorCollector = jdk.internal.jshell.tool.Selector$SelectorBuilder$SelectorCollector of jdk.internal.jshell.tool.Selector$SelectorBuilder
abstract SelectorInstanceWithDoc = jdk.internal.jshell.tool.Selector$SelectorInstanceWithDoc of jdk.internal.jshell.tool.Selector
public final SelectorKind = jdk.internal.jshell.tool.Selector$SelectorKind of jdk.internal.jshell.tool.Selector