public class org.jruby.runtime.load.ClassExtensionLibrary implements org.jruby.runtime.load.Library
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.jruby.runtime.load.ClassExtensionLibrary
  super_class: java.lang.Object
{
  private final java.lang.Class theClass;
    descriptor: Ljava/lang/Class;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.String name;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  static org.jruby.runtime.load.ClassExtensionLibrary tryFind(org.jruby.Ruby, java.lang.String);
    descriptor: (Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/runtime/load/ClassExtensionLibrary;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=11, args_size=2
        start local 0 // org.jruby.Ruby runtime
        start local 1 // java.lang.String searchName
         0: .line 67
            aload 1 /* searchName */
            ldc "/"
            invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
            astore 2 /* all */
        start local 2 // java.lang.String[] all
         1: .line 70
            aload 2 /* all */
            invokestatic org.jruby.runtime.load.ClassExtensionLibrary.findLeftmostIdentifier:([Ljava/lang/String;)I
            istore 3 /* leftmostIdentifier */
        start local 3 // int leftmostIdentifier
         2: .line 72
            iload 3 /* leftmostIdentifier */
            aload 2 /* all */
            arraylength
            if_icmpne 3
            aconst_null
            areturn
         3: .line 75
      StackMap locals: java.lang.String[] int
      StackMap stack:
            aload 2 /* all */
            aload 2 /* all */
            arraylength
            iconst_1
            isub
            aaload
            invokestatic org.jruby.runtime.load.ClassExtensionLibrary.buildServiceName:(Ljava/lang/String;)Ljava/lang/CharSequence;
            astore 4 /* serviceName */
        start local 4 // java.lang.CharSequence serviceName
         4: .line 78
            new java.lang.StringBuilder
            dup
            aload 1 /* searchName */
            invokevirtual java.lang.String.length:()I
            iconst_2
            imul
            invokespecial java.lang.StringBuilder.<init>:(I)V
            astore 5 /* classNameBuilder */
        start local 5 // java.lang.StringBuilder classNameBuilder
         5: .line 79
            new java.lang.StringBuilder
            dup
            aload 1 /* searchName */
            invokevirtual java.lang.String.length:()I
            iconst_2
            imul
            invokespecial java.lang.StringBuilder.<init>:(I)V
            astore 6 /* classFileBuilder */
        start local 6 // java.lang.StringBuilder classFileBuilder
         6: .line 81
            aload 2 /* all */
            arraylength
            iconst_1
            isub
            istore 7 /* i */
        start local 7 // int i
         7: goto 22
         8: .line 82
      StackMap locals: org.jruby.Ruby java.lang.String java.lang.String[] int java.lang.CharSequence java.lang.StringBuilder java.lang.StringBuilder int
      StackMap stack:
            aload 5 /* classNameBuilder */
            aload 6 /* classFileBuilder */
            aload 2 /* all */
            iload 7 /* i */
            aload 4 /* serviceName */
            invokestatic org.jruby.runtime.load.ClassExtensionLibrary.buildClassName:(Ljava/lang/StringBuilder;Ljava/lang/StringBuilder;[Ljava/lang/String;ILjava/lang/CharSequence;)V
         9: .line 85
            aload 6 /* classFileBuilder */
            ldc "-"
            iconst_0
            invokevirtual java.lang.StringBuilder.indexOf:(Ljava/lang/String;I)I
            iflt 10
            aconst_null
            areturn
        10: .line 88
      StackMap locals:
      StackMap stack:
            aload 0 /* runtime */
            invokevirtual org.jruby.Ruby.getJRubyClassLoader:()Lorg/jruby/util/JRubyClassLoader;
            aload 6 /* classFileBuilder */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual org.jruby.util.JRubyClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
            astore 8 /* resource */
        start local 8 // java.net.URL resource
        11: .line 89
            aload 8 /* resource */
            ifnonnull 12
            goto 21
        12: .line 91
      StackMap locals: java.net.URL
      StackMap stack:
            aload 5 /* classNameBuilder */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 9 /* className */
        start local 9 // java.lang.String className
        13: .line 94
            aload 0 /* runtime */
            invokevirtual org.jruby.Ruby.getJavaSupport:()Lorg/jruby/javasupport/JavaSupport;
            aload 9 /* className */
            invokevirtual org.jruby.javasupport.JavaSupport.loadJavaClass:(Ljava/lang/String;)Ljava/lang/Class;
            astore 10 /* theClass */
        start local 10 // java.lang.Class theClass
        14: .line 95
            new org.jruby.runtime.load.ClassExtensionLibrary
            dup
            new java.lang.StringBuilder
            dup
            aload 9 /* className */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc ".java"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 10 /* theClass */
            invokespecial org.jruby.runtime.load.ClassExtensionLibrary.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
        15: areturn
        end local 10 // java.lang.Class theClass
        16: .line 96
      StackMap locals: org.jruby.Ruby java.lang.String java.lang.String[] int java.lang.CharSequence java.lang.StringBuilder java.lang.StringBuilder int java.net.URL java.lang.String
      StackMap stack: java.lang.ClassNotFoundException
            pop
        17: .line 98
            goto 21
        18: .line 99
      StackMap locals:
      StackMap stack: java.lang.UnsupportedClassVersionError
            astore 10 /* ucve */
        start local 10 // java.lang.UnsupportedClassVersionError ucve
        19: .line 100
            aload 0 /* runtime */
            invokevirtual org.jruby.Ruby.isDebug:()Z
            ifeq 20
            aload 10 /* ucve */
            invokevirtual java.lang.UnsupportedClassVersionError.printStackTrace:()V
        20: .line 101
      StackMap locals: java.lang.UnsupportedClassVersionError
      StackMap stack:
            aload 0 /* runtime */
            new java.lang.StringBuilder
            dup
            ldc "JRuby ext built for wrong Java version in `"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 9 /* className */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "': "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 10 /* ucve */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 9 /* className */
            invokevirtual org.jruby.Ruby.newLoadError:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
            athrow
        end local 10 // java.lang.UnsupportedClassVersionError ucve
        end local 9 // java.lang.String className
        end local 8 // java.net.URL resource
        21: .line 81
      StackMap locals:
      StackMap stack:
            iinc 7 /* i */ -1
      StackMap locals:
      StackMap stack:
        22: iload 7 /* i */
            iload 3 /* leftmostIdentifier */
            if_icmpge 8
        end local 7 // int i
        23: .line 106
            aconst_null
            areturn
        end local 6 // java.lang.StringBuilder classFileBuilder
        end local 5 // java.lang.StringBuilder classNameBuilder
        end local 4 // java.lang.CharSequence serviceName
        end local 3 // int leftmostIdentifier
        end local 2 // java.lang.String[] all
        end local 1 // java.lang.String searchName
        end local 0 // org.jruby.Ruby runtime
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0   24     0             runtime  Lorg/jruby/Ruby;
            0   24     1          searchName  Ljava/lang/String;
            1   24     2                 all  [Ljava/lang/String;
            2   24     3  leftmostIdentifier  I
            4   24     4         serviceName  Ljava/lang/CharSequence;
            5   24     5    classNameBuilder  Ljava/lang/StringBuilder;
            6   24     6    classFileBuilder  Ljava/lang/StringBuilder;
            7   23     7                   i  I
           11   21     8            resource  Ljava/net/URL;
           13   21     9           className  Ljava/lang/String;
           14   16    10            theClass  Ljava/lang/Class;
           19   21    10                ucve  Ljava/lang/UnsupportedClassVersionError;
      Exception table:
        from    to  target  type
          13    15      16  Class java.lang.ClassNotFoundException
          13    15      18  Class java.lang.UnsupportedClassVersionError
    MethodParameters:
            Name  Flags
      runtime     
      searchName  

  public static int findLeftmostIdentifier(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // java.lang.String[] all
         0: .line 110
            aload 0 /* all */
            arraylength
            iconst_1
            isub
            istore 1 /* firstElement */
        start local 1 // int firstElement
         1: .line 111
            goto 5
         2: .line 112
      StackMap locals: int
      StackMap stack:
            aload 0 /* all */
            iload 1 /* firstElement */
            aaload
            invokestatic org.jruby.runtime.load.ClassExtensionLibrary.isJavaIdentifier:(Ljava/lang/String;)Z
            ifne 4
         3: .line 113
            goto 6
         4: .line 111
      StackMap locals:
      StackMap stack:
            iinc 1 /* firstElement */ -1
      StackMap locals:
      StackMap stack:
         5: iload 1 /* firstElement */
            ifge 2
         6: .line 116
      StackMap locals:
      StackMap stack:
            iload 1 /* firstElement */
            iconst_1
            iadd
            ireturn
        end local 1 // int firstElement
        end local 0 // java.lang.String[] all
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    7     0           all  [Ljava/lang/String;
            1    7     1  firstElement  I
    MethodParameters:
      Name  Flags
      all   

  private static boolean isJavaIdentifier(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // java.lang.String str
         0: .line 120
            aload 0 /* str */
            invokevirtual java.lang.String.isEmpty:()Z
            ifeq 1
            iconst_0
            ireturn
         1: .line 121
      StackMap locals:
      StackMap stack:
            aload 0 /* str */
            iconst_0
            invokevirtual java.lang.String.charAt:(I)C
            invokestatic java.lang.Character.isJavaIdentifierStart:(C)Z
            ifne 2
            iconst_0
            ireturn
         2: .line 122
      StackMap locals:
      StackMap stack:
            iconst_1
            istore 1 /* i */
        start local 1 // int i
         3: goto 6
         4: .line 123
      StackMap locals: int
      StackMap stack:
            aload 0 /* str */
            iload 1 /* i */
            invokevirtual java.lang.String.charAt:(I)C
            invokestatic java.lang.Character.isJavaIdentifierPart:(C)Z
            ifne 5
            iconst_0
            ireturn
         5: .line 122
      StackMap locals:
      StackMap stack:
            iinc 1 /* i */ 1
      StackMap locals:
      StackMap stack:
         6: iload 1 /* i */
            aload 0 /* str */
            invokevirtual java.lang.String.length:()I
            if_icmplt 4
        end local 1 // int i
         7: .line 125
            iconst_1
            ireturn
        end local 0 // java.lang.String str
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0   str  Ljava/lang/String;
            3    7     1     i  I
    MethodParameters:
      Name  Flags
      str   

  private static void buildClassName(java.lang.StringBuilder, java.lang.StringBuilder, java.lang.String[], int, java.lang.CharSequence);
    descriptor: (Ljava/lang/StringBuilder;Ljava/lang/StringBuilder;[Ljava/lang/String;ILjava/lang/CharSequence;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=6, args_size=5
        start local 0 // java.lang.StringBuilder nameBuilder
        start local 1 // java.lang.StringBuilder fileBuilder
        start local 2 // java.lang.String[] all
        start local 3 // int i
        start local 4 // java.lang.CharSequence serviceName
         0: .line 129
            aload 0 /* nameBuilder */
            iconst_0
            invokevirtual java.lang.StringBuilder.setLength:(I)V
         1: .line 130
            aload 1 /* fileBuilder */
            iconst_0
            invokevirtual java.lang.StringBuilder.setLength:(I)V
         2: .line 131
            iload 3 /* i */
            istore 5 /* j */
        start local 5 // int j
         3: goto 7
         4: .line 132
      StackMap locals: int
      StackMap stack:
            aload 0 /* nameBuilder */
            aload 2 /* all */
            iload 5 /* j */
            aaload
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            bipush 46
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
         5: .line 133
            aload 1 /* fileBuilder */
            aload 2 /* all */
            iload 5 /* j */
            aaload
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            bipush 47
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
         6: .line 131
            iinc 5 /* j */ 1
      StackMap locals:
      StackMap stack:
         7: iload 5 /* j */
            aload 2 /* all */
            arraylength
            iconst_1
            isub
            if_icmplt 4
        end local 5 // int j
         8: .line 135
            aload 0 /* nameBuilder */
            aload 4 /* serviceName */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
            pop
         9: .line 136
            aload 1 /* fileBuilder */
            aload 4 /* serviceName */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
            ldc ".class"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        10: .line 137
            return
        end local 4 // java.lang.CharSequence serviceName
        end local 3 // int i
        end local 2 // java.lang.String[] all
        end local 1 // java.lang.StringBuilder fileBuilder
        end local 0 // java.lang.StringBuilder nameBuilder
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   11     0  nameBuilder  Ljava/lang/StringBuilder;
            0   11     1  fileBuilder  Ljava/lang/StringBuilder;
            0   11     2          all  [Ljava/lang/String;
            0   11     3            i  I
            0   11     4  serviceName  Ljava/lang/CharSequence;
            3    8     5            j  I
    MethodParameters:
             Name  Flags
      nameBuilder  
      fileBuilder  
      all          
      i            
      serviceName  

  private static java.lang.CharSequence buildServiceName(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/CharSequence;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=6, args_size=1
        start local 0 // java.lang.String jarName
         0: .line 140
            aload 0 /* jarName */
            ldc "_"
            invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
            astore 1 /* last */
        start local 1 // java.lang.String[] last
         1: .line 141
            new java.lang.StringBuilder
            dup
            aload 0 /* jarName */
            invokevirtual java.lang.String.length:()I
            bipush 7
            iadd
            invokespecial java.lang.StringBuilder.<init>:(I)V
            astore 2 /* serviceName */
        start local 2 // java.lang.StringBuilder serviceName
         2: .line 142
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         3: aload 1 /* last */
            arraylength
            istore 4 /* j */
        start local 4 // int j
         4: goto 9
         5: .line 143
      StackMap locals: java.lang.String java.lang.String[] java.lang.StringBuilder int int
      StackMap stack:
            aload 1 /* last */
            iload 3 /* i */
            aaload
            astore 5 /* l */
        start local 5 // java.lang.String l
         6: .line 144
            aload 5 /* l */
            invokevirtual java.lang.String.length:()I
            ifne 7
            goto 10
         7: .line 145
      StackMap locals: java.lang.String
      StackMap stack:
            aload 2 /* serviceName */
            aload 5 /* l */
            iconst_0
            invokevirtual java.lang.String.charAt:(I)C
            invokestatic java.lang.Character.toUpperCase:(C)C
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            aload 5 /* l */
            iconst_1
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        end local 5 // java.lang.String l
         8: .line 142
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
         9: iload 3 /* i */
            iload 4 /* j */
            if_icmplt 5
        end local 4 // int j
        end local 3 // int i
        10: .line 147
      StackMap locals:
      StackMap stack:
            aload 2 /* serviceName */
            ldc "Service"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        11: .line 148
            aload 2 /* serviceName */
            areturn
        end local 2 // java.lang.StringBuilder serviceName
        end local 1 // java.lang.String[] last
        end local 0 // java.lang.String jarName
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   12     0      jarName  Ljava/lang/String;
            1   12     1         last  [Ljava/lang/String;
            2   12     2  serviceName  Ljava/lang/StringBuilder;
            3   10     3            i  I
            4   10     4            j  I
            6    8     5            l  Ljava/lang/String;
    MethodParameters:
         Name  Flags
      jarName  final

  public void <init>(java.lang.String, java.lang.Class);
    descriptor: (Ljava/lang/String;Ljava/lang/Class;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // org.jruby.runtime.load.ClassExtensionLibrary this
        start local 1 // java.lang.String name
        start local 2 // java.lang.Class extension
         0: .line 151
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 152
            aload 0 /* this */
            aload 2 /* extension */
            putfield org.jruby.runtime.load.ClassExtensionLibrary.theClass:Ljava/lang/Class;
         2: .line 153
            aload 0 /* this */
            aload 1 /* name */
            putfield org.jruby.runtime.load.ClassExtensionLibrary.name:Ljava/lang/String;
         3: .line 154
            return
        end local 2 // java.lang.Class extension
        end local 1 // java.lang.String name
        end local 0 // org.jruby.runtime.load.ClassExtensionLibrary this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    4     0       this  Lorg/jruby/runtime/load/ClassExtensionLibrary;
            0    4     1       name  Ljava/lang/String;
            0    4     2  extension  Ljava/lang/Class;
    MethodParameters:
           Name  Flags
      name       
      extension  

  public java.lang.String getName();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.runtime.load.ClassExtensionLibrary this
         0: .line 157
            aload 0 /* this */
            getfield org.jruby.runtime.load.ClassExtensionLibrary.name:Ljava/lang/String;
            areturn
        end local 0 // org.jruby.runtime.load.ClassExtensionLibrary this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/runtime/load/ClassExtensionLibrary;

  public void load(org.jruby.Ruby, boolean);
    descriptor: (Lorg/jruby/Ruby;Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // org.jruby.runtime.load.ClassExtensionLibrary this
        start local 1 // org.jruby.Ruby runtime
        start local 2 // boolean wrap
         0: .line 161
            ldc Lorg/jruby/runtime/load/BasicLibraryService;
            aload 0 /* this */
            getfield org.jruby.runtime.load.ClassExtensionLibrary.theClass:Ljava/lang/Class;
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifeq 5
         1: .line 163
            aload 1 /* runtime */
            aload 0 /* this */
            getfield org.jruby.runtime.load.ClassExtensionLibrary.name:Ljava/lang/String;
            aload 0 /* this */
            getfield org.jruby.runtime.load.ClassExtensionLibrary.theClass:Ljava/lang/Class;
            invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
            checkcast org.jruby.runtime.load.BasicLibraryService
            iload 2 /* wrap */
            invokevirtual org.jruby.Ruby.loadExtension:(Ljava/lang/String;Lorg/jruby/runtime/load/BasicLibraryService;Z)V
         2: .line 164
            goto 5
      StackMap locals:
      StackMap stack: java.lang.Exception
         3: astore 3 /* ee */
        start local 3 // java.lang.Exception ee
         4: .line 165
            new java.lang.RuntimeException
            dup
            aload 3 /* ee */
            invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
            aload 3 /* ee */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 3 // java.lang.Exception ee
         5: .line 168
      StackMap locals:
      StackMap stack:
            return
        end local 2 // boolean wrap
        end local 1 // org.jruby.Ruby runtime
        end local 0 // org.jruby.runtime.load.ClassExtensionLibrary this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     0     this  Lorg/jruby/runtime/load/ClassExtensionLibrary;
            0    6     1  runtime  Lorg/jruby/Ruby;
            0    6     2     wrap  Z
            4    5     3       ee  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           1     2       3  Class java.lang.Exception
    MethodParameters:
         Name  Flags
      runtime  
      wrap     
}
SourceFile: "ClassExtensionLibrary.java"