public class org.glassfish.grizzly.localization.Localizer
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.glassfish.grizzly.localization.Localizer
  super_class: java.lang.Object
{
  private final java.util.Locale _locale;
    descriptor: Ljava/util/Locale;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.Map<java.lang.String, java.util.ResourceBundle> _resourceBundles;
    descriptor: Ljava/util/Map;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/ResourceBundle;>;

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.localization.Localizer this
         0: .line 38
            aload 0 /* this */
            invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
            invokespecial org.glassfish.grizzly.localization.Localizer.<init>:(Ljava/util/Locale;)V
         1: .line 39
            return
        end local 0 // org.glassfish.grizzly.localization.Localizer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/glassfish/grizzly/localization/Localizer;

  public void <init>(java.util.Locale);
    descriptor: (Ljava/util/Locale;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.localization.Localizer this
        start local 1 // java.util.Locale l
         0: .line 41
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 42
            aload 0 /* this */
            aload 1 /* l */
            putfield org.glassfish.grizzly.localization.Localizer._locale:Ljava/util/Locale;
         2: .line 43
            aload 0 /* this */
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            putfield org.glassfish.grizzly.localization.Localizer._resourceBundles:Ljava/util/Map;
         3: .line 44
            return
        end local 1 // java.util.Locale l
        end local 0 // org.glassfish.grizzly.localization.Localizer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/glassfish/grizzly/localization/Localizer;
            0    4     1     l  Ljava/util/Locale;
    MethodParameters:
      Name  Flags
      l     

  public java.util.Locale getLocale();
    descriptor: ()Ljava/util/Locale;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.localization.Localizer this
         0: .line 47
            aload 0 /* this */
            getfield org.glassfish.grizzly.localization.Localizer._locale:Ljava/util/Locale;
            areturn
        end local 0 // org.glassfish.grizzly.localization.Localizer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/localization/Localizer;

  public java.lang.String localize(org.glassfish.grizzly.localization.Localizable);
    descriptor: (Lorg/glassfish/grizzly/localization/Localizable;)Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=8, args_size=2
        start local 0 // org.glassfish.grizzly.localization.Localizer this
        start local 1 // org.glassfish.grizzly.localization.Localizable l
         0: .line 51
            aload 1 /* l */
            invokeinterface org.glassfish.grizzly.localization.Localizable.getKey:()Ljava/lang/String;
            astore 2 /* key */
        start local 2 // java.lang.String key
         1: .line 52
            aload 2 /* key */
            ldc "\u0000"
            if_acmpne 3
         2: .line 54
            aload 1 /* l */
            invokeinterface org.glassfish.grizzly.localization.Localizable.getArguments:()[Ljava/lang/Object;
            iconst_0
            aaload
            checkcast java.lang.String
            areturn
         3: .line 56
      StackMap locals: java.lang.String
      StackMap stack:
            aload 1 /* l */
            invokeinterface org.glassfish.grizzly.localization.Localizable.getResourceBundleName:()Ljava/lang/String;
            astore 3 /* bundlename */
        start local 3 // java.lang.String bundlename
         4: .line 60
            aload 0 /* this */
            getfield org.glassfish.grizzly.localization.Localizer._resourceBundles:Ljava/util/Map;
            aload 3 /* bundlename */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.ResourceBundle
         5: .line 59
            astore 4 /* bundle */
        start local 4 // java.util.ResourceBundle bundle
         6: .line 62
            aload 4 /* bundle */
            ifnonnull 23
         7: .line 64
            aload 3 /* bundlename */
            aload 0 /* this */
            getfield org.glassfish.grizzly.localization.Localizer._locale:Ljava/util/Locale;
            invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
            astore 4 /* bundle */
         8: .line 65
            goto 22
      StackMap locals: org.glassfish.grizzly.localization.Localizer org.glassfish.grizzly.localization.Localizable java.lang.String java.lang.String java.util.ResourceBundle
      StackMap stack: java.util.MissingResourceException
         9: pop
        10: .line 73
            aload 3 /* bundlename */
            bipush 46
            invokevirtual java.lang.String.lastIndexOf:(I)I
            istore 5 /* i */
        start local 5 // int i
        11: .line 74
            iload 5 /* i */
            iconst_m1
            if_icmpeq 22
        12: .line 76
            aload 3 /* bundlename */
            iload 5 /* i */
            iconst_1
            iadd
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
        13: .line 75
            astore 6 /* alternateBundleName */
        start local 6 // java.lang.String alternateBundleName
        14: .line 80
            aload 6 /* alternateBundleName */
        15: .line 81
            aload 0 /* this */
            getfield org.glassfish.grizzly.localization.Localizer._locale:Ljava/util/Locale;
        16: .line 79
            invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
        17: .line 78
            astore 4 /* bundle */
        18: .line 82
            goto 22
      StackMap locals: org.glassfish.grizzly.localization.Localizer org.glassfish.grizzly.localization.Localizable java.lang.String java.lang.String java.util.ResourceBundle int java.lang.String
      StackMap stack: java.util.MissingResourceException
        19: pop
        20: .line 84
            aload 0 /* this */
            aload 1 /* l */
            invokevirtual org.glassfish.grizzly.localization.Localizer.getDefaultMessage:(Lorg/glassfish/grizzly/localization/Localizable;)Ljava/lang/String;
        21: areturn
        end local 6 // java.lang.String alternateBundleName
        end local 5 // int i
        22: .line 89
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.localization.Localizer._resourceBundles:Ljava/util/Map;
            aload 3 /* bundlename */
            aload 4 /* bundle */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        23: .line 92
      StackMap locals:
      StackMap stack:
            aload 4 /* bundle */
            ifnonnull 26
        24: .line 93
            aload 0 /* this */
            aload 1 /* l */
            invokevirtual org.glassfish.grizzly.localization.Localizer.getDefaultMessage:(Lorg/glassfish/grizzly/localization/Localizable;)Ljava/lang/String;
        25: areturn
        26: .line 96
      StackMap locals:
      StackMap stack:
            aload 2 /* key */
            ifnonnull 28
        27: .line 97
            ldc "undefined"
            astore 2 /* key */
        28: .line 101
      StackMap locals:
      StackMap stack:
            aload 4 /* bundle */
            aload 2 /* key */
            invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
            astore 5 /* msg */
        start local 5 // java.lang.String msg
        29: .line 102
            goto 32
        end local 5 // java.lang.String msg
      StackMap locals:
      StackMap stack: java.util.MissingResourceException
        30: pop
        31: .line 104
            aload 4 /* bundle */
            ldc "undefined"
            invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
            astore 5 /* msg */
        start local 5 // java.lang.String msg
        32: .line 108
      StackMap locals: java.lang.String
      StackMap stack:
            aload 1 /* l */
            invokeinterface org.glassfish.grizzly.localization.Localizable.getArguments:()[Ljava/lang/Object;
            astore 6 /* args */
        start local 6 // java.lang.Object[] args
        33: .line 109
            iconst_0
            istore 7 /* i */
        start local 7 // int i
        34: goto 38
        35: .line 110
      StackMap locals: java.lang.Object[] int
      StackMap stack:
            aload 6 /* args */
            iload 7 /* i */
            aaload
            instanceof org.glassfish.grizzly.localization.Localizable
            ifeq 37
        36: .line 111
            aload 6 /* args */
            iload 7 /* i */
            aload 0 /* this */
            aload 6 /* args */
            iload 7 /* i */
            aaload
            checkcast org.glassfish.grizzly.localization.Localizable
            invokevirtual org.glassfish.grizzly.localization.Localizer.localize:(Lorg/glassfish/grizzly/localization/Localizable;)Ljava/lang/String;
            aastore
        37: .line 109
      StackMap locals:
      StackMap stack:
            iinc 7 /* i */ 1
      StackMap locals:
      StackMap stack:
        38: iload 7 /* i */
            aload 6 /* args */
            arraylength
            if_icmplt 35
        end local 7 // int i
        39: .line 114
            aload 5 /* msg */
            aload 6 /* args */
            invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
        40: areturn
        end local 6 // java.lang.Object[] args
        end local 5 // java.lang.String msg
        end local 4 // java.util.ResourceBundle bundle
        41: .line 116
      StackMap locals: org.glassfish.grizzly.localization.Localizer org.glassfish.grizzly.localization.Localizable java.lang.String java.lang.String
      StackMap stack: java.util.MissingResourceException
            pop
        42: .line 117
            aload 0 /* this */
            aload 1 /* l */
            invokevirtual org.glassfish.grizzly.localization.Localizer.getDefaultMessage:(Lorg/glassfish/grizzly/localization/Localizable;)Ljava/lang/String;
            areturn
        end local 3 // java.lang.String bundlename
        end local 2 // java.lang.String key
        end local 1 // org.glassfish.grizzly.localization.Localizable l
        end local 0 // org.glassfish.grizzly.localization.Localizer this
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0   43     0                 this  Lorg/glassfish/grizzly/localization/Localizer;
            0   43     1                    l  Lorg/glassfish/grizzly/localization/Localizable;
            1   43     2                  key  Ljava/lang/String;
            4   43     3           bundlename  Ljava/lang/String;
            6   41     4               bundle  Ljava/util/ResourceBundle;
           11   22     5                    i  I
           14   22     6  alternateBundleName  Ljava/lang/String;
           29   30     5                  msg  Ljava/lang/String;
           32   41     5                  msg  Ljava/lang/String;
           33   41     6                 args  [Ljava/lang/Object;
           34   39     7                    i  I
      Exception table:
        from    to  target  type
           7     8       9  Class java.util.MissingResourceException
          14    18      19  Class java.util.MissingResourceException
          28    29      30  Class java.util.MissingResourceException
           4    21      41  Class java.util.MissingResourceException
          22    25      41  Class java.util.MissingResourceException
          26    40      41  Class java.util.MissingResourceException
    MethodParameters:
      Name  Flags
      l     

  private java.lang.String getDefaultMessage(org.glassfish.grizzly.localization.Localizable);
    descriptor: (Lorg/glassfish/grizzly/localization/Localizable;)Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=6, args_size=2
        start local 0 // org.glassfish.grizzly.localization.Localizer this
        start local 1 // org.glassfish.grizzly.localization.Localizable l
         0: .line 123
            aload 1 /* l */
            invokeinterface org.glassfish.grizzly.localization.Localizable.getKey:()Ljava/lang/String;
            astore 2 /* key */
        start local 2 // java.lang.String key
         1: .line 124
            aload 1 /* l */
            invokeinterface org.glassfish.grizzly.localization.Localizable.getArguments:()[Ljava/lang/Object;
            astore 3 /* args */
        start local 3 // java.lang.Object[] args
         2: .line 125
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 4 /* sb */
        start local 4 // java.lang.StringBuilder sb
         3: .line 126
            aload 4 /* sb */
            ldc "[failed to localize] "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         4: .line 127
            aload 4 /* sb */
            aload 2 /* key */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         5: .line 128
            aload 3 /* args */
            ifnull 15
         6: .line 129
            aload 4 /* sb */
            bipush 40
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
         7: .line 130
            iconst_0
            istore 5 /* i */
        start local 5 // int i
         8: goto 13
         9: .line 131
      StackMap locals: org.glassfish.grizzly.localization.Localizer org.glassfish.grizzly.localization.Localizable java.lang.String java.lang.Object[] java.lang.StringBuilder int
      StackMap stack:
            iload 5 /* i */
            ifeq 11
        10: .line 132
            aload 4 /* sb */
            ldc ", "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        11: .line 133
      StackMap locals:
      StackMap stack:
            aload 4 /* sb */
            aload 3 /* args */
            iload 5 /* i */
            aaload
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        12: .line 130
            iinc 5 /* i */ 1
      StackMap locals:
      StackMap stack:
        13: iload 5 /* i */
            aload 3 /* args */
            arraylength
            if_icmplt 9
        end local 5 // int i
        14: .line 135
            aload 4 /* sb */
            bipush 41
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        15: .line 137
      StackMap locals:
      StackMap stack:
            aload 4 /* sb */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 4 // java.lang.StringBuilder sb
        end local 3 // java.lang.Object[] args
        end local 2 // java.lang.String key
        end local 1 // org.glassfish.grizzly.localization.Localizable l
        end local 0 // org.glassfish.grizzly.localization.Localizer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   16     0  this  Lorg/glassfish/grizzly/localization/Localizer;
            0   16     1     l  Lorg/glassfish/grizzly/localization/Localizable;
            1   16     2   key  Ljava/lang/String;
            2   16     3  args  [Ljava/lang/Object;
            3   16     4    sb  Ljava/lang/StringBuilder;
            8   14     5     i  I
    MethodParameters:
      Name  Flags
      l     
}
SourceFile: "Localizer.java"