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=5, 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 4
1: new jdk.internal.joptsimple.ValueConversionException
dup
2: new java.lang.StringBuilder
dup
ldc "Value ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] did not match regex ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.internal.joptsimple.util.RegexMatcher.pattern:Ljava/util/regex/Pattern;
invokevirtual java.util.regex.Pattern.pattern:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial jdk.internal.joptsimple.ValueConversionException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/joptsimple/util/RegexMatcher;
0 5 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;
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"