final class jdk.internal.joptsimple.ParserRules
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.joptsimple.ParserRules
super_class: java.lang.Object
{
static final char HYPHEN_CHAR;
descriptor: C
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 45
static final java.lang.String HYPHEN;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.lang.String DOUBLE_HYPHEN;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "--"
static final java.lang.String OPTION_TERMINATOR;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "--"
static final java.lang.String RESERVED_FOR_EXTENSIONS;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "W"
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: bipush 45
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
putstatic jdk.internal.joptsimple.ParserRules.HYPHEN:Ljava/lang/String;
1: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/joptsimple/ParserRules;
static boolean isShortOptionToken(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic jdk.internal.joptsimple.ParserRules.HYPHEN:Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
1: getstatic jdk.internal.joptsimple.ParserRules.HYPHEN:Ljava/lang/String;
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
2: aload 0
invokestatic jdk.internal.joptsimple.ParserRules.isLongOptionToken:(Ljava/lang/String;)Z
ifne 4
3: iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 argument Ljava/lang/String;
MethodParameters:
Name Flags
argument
static boolean isLongOptionToken(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "--"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 1
aload 0
invokestatic jdk.internal.joptsimple.ParserRules.isOptionTerminator:(Ljava/lang/String;)Z
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 argument Ljava/lang/String;
MethodParameters:
Name Flags
argument
static boolean isOptionTerminator(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "--"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 argument Ljava/lang/String;
MethodParameters:
Name Flags
argument
static void ensureLegalOption(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getstatic jdk.internal.joptsimple.ParserRules.HYPHEN:Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 2
1: new jdk.internal.joptsimple.IllegalOptionSpecificationException
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial jdk.internal.joptsimple.IllegalOptionSpecificationException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 3: goto 6
4: StackMap locals: int
StackMap stack:
aload 0
iload 1
invokevirtual java.lang.String.charAt:(I)C
invokestatic jdk.internal.joptsimple.ParserRules.ensureLegalOptionCharacter:(C)V
5: iinc 1 1
StackMap locals:
StackMap stack:
6: iload 1
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 4
end local 1 7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 option Ljava/lang/String;
3 7 1 i I
MethodParameters:
Name Flags
option
static void ensureLegalOptions(java.util.Collection<java.lang.String>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: java.util.Collection top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 2: aload 1
invokestatic jdk.internal.joptsimple.ParserRules.ensureLegalOption:(Ljava/lang/String;)V
end local 1 3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 options Ljava/util/Collection<Ljava/lang/String;>;
2 3 1 each Ljava/lang/String;
Signature: (Ljava/util/Collection<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
options
private static void ensureLegalOptionCharacter(char);
descriptor: (C)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
invokestatic java.lang.Character.isLetterOrDigit:(C)Z
ifne 2
iload 0
invokestatic jdk.internal.joptsimple.ParserRules.isAllowedPunctuation:(C)Z
ifne 2
1: new jdk.internal.joptsimple.IllegalOptionSpecificationException
dup
iload 0
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokespecial jdk.internal.joptsimple.IllegalOptionSpecificationException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 option C
MethodParameters:
Name Flags
option
private static boolean isAllowedPunctuation(char);
descriptor: (C)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: ldc "?.-"
astore 1
start local 1 1: aload 1
iload 0
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpeq 2
iconst_1
ireturn
StackMap locals: java.lang.String
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 option C
1 3 1 allowedPunctuation Ljava/lang/String;
MethodParameters:
Name Flags
option
}
SourceFile: "ParserRules.java"