public class jdk.internal.joptsimple.util.RegexMatcher implements jdk.internal.joptsimple.ValueConverter<java.lang.String>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.joptsimple.util.RegexMatcher
super_class: java.lang.Object
{
private final java.util.regex.Pattern pattern;
descriptor: Ljava/util/regex/Pattern;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
iload 2
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;I)Ljava/util/regex/Pattern;
putfield jdk.internal.joptsimple.util.RegexMatcher.pattern:Ljava/util/regex/Pattern;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/joptsimple/util/RegexMatcher;
0 3 1 pattern Ljava/lang/String;
0 3 2 flags I
MethodParameters:
Name Flags
pattern
flags
public static jdk.internal.joptsimple.ValueConverter<java.lang.String> regex(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/internal/joptsimple/ValueConverter;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new jdk.internal.joptsimple.util.RegexMatcher
dup
aload 0
iconst_0
invokespecial jdk.internal.joptsimple.util.RegexMatcher.<init>:(Ljava/lang/String;I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 pattern Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljdk/internal/joptsimple/ValueConverter<Ljava/lang/String;>;
MethodParameters:
Name Flags
pattern
public java.lang.String convert(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.joptsimple.util.RegexMatcher.pattern:Ljava/util/regex/Pattern;
aload 1
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.matches:()Z
ifne 2
1: aload 0
aload 1
invokevirtual jdk.internal.joptsimple.util.RegexMatcher.raiseValueConversionFailure:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/joptsimple/util/RegexMatcher;
0 3 1 value Ljava/lang/String;
MethodParameters:
Name Flags
value
public java.lang.Class<java.lang.String> valueType();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/joptsimple/util/RegexMatcher;
Signature: ()Ljava/lang/Class<Ljava/lang/String;>;
public java.lang.String valuePattern();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.joptsimple.util.RegexMatcher.pattern:Ljava/util/regex/Pattern;
invokevirtual java.util.regex.Pattern.pattern:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/joptsimple/util/RegexMatcher;
private void raiseValueConversionFailure(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
1: ldc "jdk.internal.joptsimple.ExceptionMessages"
2: ldc Ljdk/internal/joptsimple/util/RegexMatcher;
3: ldc "message"
iconst_2
anewarray java.lang.Object
dup
iconst_0
4: aload 1
aastore
dup
iconst_1
5: aload 0
getfield jdk.internal.joptsimple.util.RegexMatcher.pattern:Ljava/util/regex/Pattern;
invokevirtual java.util.regex.Pattern.pattern:()Ljava/lang/String;
aastore
6: invokestatic jdk.internal.joptsimple.internal.Messages.message:(Ljava/util/Locale;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 2
start local 2 7: new jdk.internal.joptsimple.ValueConversionException
dup
aload 2
invokespecial jdk.internal.joptsimple.ValueConversionException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/joptsimple/util/RegexMatcher;
0 8 1 value Ljava/lang/String;
7 8 2 message Ljava/lang/String;
MethodParameters:
Name Flags
value
public java.lang.Object convert(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual jdk.internal.joptsimple.util.RegexMatcher.convert:(Ljava/lang/String;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljdk/internal/joptsimple/ValueConverter<Ljava/lang/String;>;
SourceFile: "RegexMatcher.java"