class jdk.tools.jmod.JmodTask$PatternConverter implements jdk.internal.joptsimple.ValueConverter<java.util.regex.Pattern>
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.tools.jmod.JmodTask$PatternConverter
  super_class: java.lang.Object
{
  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.tools.jmod.JmodTask$PatternConverter this
         0: .line 1160
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // jdk.tools.jmod.JmodTask$PatternConverter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/tools/jmod/JmodTask$PatternConverter;

  public java.util.regex.Pattern convert(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/util/regex/Pattern;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=2, args_size=2
        start local 0 // jdk.tools.jmod.JmodTask$PatternConverter this
        start local 1 // java.lang.String value
         0: .line 1164
            aload 1 /* value */
            ldc "regex:"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 2
         1: .line 1165
            aload 1 /* value */
            ldc "regex:"
            invokevirtual java.lang.String.length:()I
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            invokevirtual java.lang.String.trim:()Ljava/lang/String;
            astore 1 /* value */
         2: .line 1168
      StackMap locals:
      StackMap stack:
            aload 1 /* value */
            invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
         3: areturn
         4: .line 1169
      StackMap locals:
      StackMap stack: java.util.regex.PatternSyntaxException
            pop
         5: .line 1170
            new jdk.tools.jmod.JmodTask$CommandException
            dup
            ldc "err.bad.pattern"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* value */
            aastore
            invokespecial jdk.tools.jmod.JmodTask$CommandException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
            athrow
        end local 1 // java.lang.String value
        end local 0 // jdk.tools.jmod.JmodTask$PatternConverter this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    6     0   this  Ljdk/tools/jmod/JmodTask$PatternConverter;
            0    6     1  value  Ljava/lang/String;
      Exception table:
        from    to  target  type
           0     3       4  Class java.util.regex.PatternSyntaxException
    MethodParameters:
       Name  Flags
      value  

  public java.lang.Class<java.util.regex.Pattern> valueType();
    descriptor: ()Ljava/lang/Class;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.tools.jmod.JmodTask$PatternConverter this
         0: .line 1174
            ldc Ljava/util/regex/Pattern;
            areturn
        end local 0 // jdk.tools.jmod.JmodTask$PatternConverter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/tools/jmod/JmodTask$PatternConverter;
    Signature: ()Ljava/lang/Class<Ljava/util/regex/Pattern;>;

  public java.lang.String valuePattern();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.tools.jmod.JmodTask$PatternConverter this
         0: .line 1176
            ldc "regex-pattern"
            areturn
        end local 0 // jdk.tools.jmod.JmodTask$PatternConverter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/tools/jmod/JmodTask$PatternConverter;

  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: .line 1
            aload 0
            aload 1
            invokevirtual jdk.tools.jmod.JmodTask$PatternConverter.convert:(Ljava/lang/String;)Ljava/util/regex/Pattern;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
Signature: Ljava/lang/Object;Ljdk/internal/joptsimple/ValueConverter<Ljava/util/regex/Pattern;>;
SourceFile: "JmodTask.java"
NestHost: jdk.tools.jmod.JmodTask
InnerClasses:
  CommandException = jdk.tools.jmod.JmodTask$CommandException of jdk.tools.jmod.JmodTask
  PatternConverter = jdk.tools.jmod.JmodTask$PatternConverter of jdk.tools.jmod.JmodTask