public class com.sun.jndi.rmi.registry.RegistryContextFactory implements javax.naming.spi.ObjectFactory, javax.naming.spi.InitialContextFactory
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.sun.jndi.rmi.registry.RegistryContextFactory
  super_class: java.lang.Object
{
  public static final java.lang.String ADDRESS_TYPE;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: "URL"

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.jndi.rmi.registry.RegistryContextFactory this
         0: .line 56
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // com.sun.jndi.rmi.registry.RegistryContextFactory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/jndi/rmi/registry/RegistryContextFactory;

  public javax.naming.Context getInitialContext(java.util.Hashtable<?, ?>);
    descriptor: (Ljava/util/Hashtable;)Ljavax/naming/Context;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.sun.jndi.rmi.registry.RegistryContextFactory this
        start local 1 // java.util.Hashtable env
         0: .line 66
            aload 1 /* env */
            ifnull 2
         1: .line 67
            aload 1 /* env */
            invokevirtual java.util.Hashtable.clone:()Ljava/lang/Object;
            checkcast java.util.Hashtable
            astore 1 /* env */
         2: .line 69
      StackMap locals:
      StackMap stack:
            aload 1 /* env */
            invokestatic com.sun.jndi.rmi.registry.RegistryContextFactory.getInitCtxURL:(Ljava/util/Hashtable;)Ljava/lang/String;
            aload 1 /* env */
            invokestatic com.sun.jndi.rmi.registry.RegistryContextFactory.URLToContext:(Ljava/lang/String;Ljava/util/Hashtable;)Ljavax/naming/Context;
            areturn
        end local 1 // java.util.Hashtable env
        end local 0 // com.sun.jndi.rmi.registry.RegistryContextFactory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/sun/jndi/rmi/registry/RegistryContextFactory;
            0    3     1   env  Ljava/util/Hashtable<**>;
    Exceptions:
      throws javax.naming.NamingException
    Signature: (Ljava/util/Hashtable<**>;)Ljavax/naming/Context;
    MethodParameters:
      Name  Flags
      env   

  public  getObjectInstance(, javax.naming.Name, javax.naming.Context, java.util.Hashtable<?, ?>);
    descriptor: (Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable;)Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=7, args_size=5
        start local 0 // com.sun.jndi.rmi.registry.RegistryContextFactory this
        start local 1 // java.lang.Object ref
        start local 2 // javax.naming.Name name
        start local 3 // javax.naming.Context nameCtx
        start local 4 // java.util.Hashtable env
         0: .line 76
            aload 1 /* ref */
            invokestatic com.sun.jndi.rmi.registry.RegistryContextFactory.isRegistryRef:(Ljava/lang/Object;)Z
            ifne 2
         1: .line 77
            aconst_null
            areturn
         2: .line 90
      StackMap locals:
      StackMap stack:
            aload 1 /* ref */
            checkcast javax.naming.Reference
            invokestatic com.sun.jndi.rmi.registry.RegistryContextFactory.getURLs:(Ljavax/naming/Reference;)[Ljava/lang/String;
            aload 4 /* env */
            invokestatic com.sun.jndi.rmi.registry.RegistryContextFactory.URLsToObject:([Ljava/lang/String;Ljava/util/Hashtable;)Ljava/lang/Object;
            astore 5 /* obj */
        start local 5 // java.lang.Object obj
         3: .line 91
            aload 5 /* obj */
            instanceof com.sun.jndi.rmi.registry.RegistryContext
            ifeq 6
         4: .line 92
            aload 5 /* obj */
            checkcast com.sun.jndi.rmi.registry.RegistryContext
            astore 6 /* ctx */
        start local 6 // com.sun.jndi.rmi.registry.RegistryContext ctx
         5: .line 93
            aload 6 /* ctx */
            aload 1 /* ref */
            checkcast javax.naming.Reference
            putfield com.sun.jndi.rmi.registry.RegistryContext.reference:Ljavax/naming/Reference;
        end local 6 // com.sun.jndi.rmi.registry.RegistryContext ctx
         6: .line 95
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 5 /* obj */
            areturn
        end local 5 // java.lang.Object obj
        end local 4 // java.util.Hashtable env
        end local 3 // javax.naming.Context nameCtx
        end local 2 // javax.naming.Name name
        end local 1 // java.lang.Object ref
        end local 0 // com.sun.jndi.rmi.registry.RegistryContextFactory this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    7     0     this  Lcom/sun/jndi/rmi/registry/RegistryContextFactory;
            0    7     1      ref  Ljava/lang/Object;
            0    7     2     name  Ljavax/naming/Name;
            0    7     3  nameCtx  Ljavax/naming/Context;
            0    7     4      env  Ljava/util/Hashtable<**>;
            3    7     5      obj  Ljava/lang/Object;
            5    6     6      ctx  Lcom/sun/jndi/rmi/registry/RegistryContext;
    Exceptions:
      throws javax.naming.NamingException
    Signature: (Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable<**>;)Ljava/lang/Object;
    MethodParameters:
         Name  Flags
      ref      
      name     
      nameCtx  
      env      

  private static javax.naming.Context URLToContext(java.lang.String, java.util.Hashtable);
    descriptor: (Ljava/lang/String;Ljava/util/Hashtable;)Ljavax/naming/Context;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // java.lang.String url
        start local 1 // java.util.Hashtable env
         0: .line 101
            new com.sun.jndi.url.rmi.rmiURLContextFactory
            dup
            invokespecial com.sun.jndi.url.rmi.rmiURLContextFactory.<init>:()V
            astore 2 /* factory */
        start local 2 // com.sun.jndi.url.rmi.rmiURLContextFactory factory
         1: .line 102
            aload 2 /* factory */
            aload 0 /* url */
            aconst_null
            aconst_null
            aload 1 /* env */
            invokevirtual com.sun.jndi.url.rmi.rmiURLContextFactory.getObjectInstance:(Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable;)Ljava/lang/Object;
            astore 3 /* obj */
        start local 3 // java.lang.Object obj
         2: .line 104
            aload 3 /* obj */
            instanceof javax.naming.Context
            ifeq 4
         3: .line 105
            aload 3 /* obj */
            checkcast javax.naming.Context
            areturn
         4: .line 107
      StackMap locals: com.sun.jndi.url.rmi.rmiURLContextFactory java.lang.Object
      StackMap stack:
            new javax.naming.NotContextException
            dup
            aload 0 /* url */
            invokespecial javax.naming.NotContextException.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // java.lang.Object obj
        end local 2 // com.sun.jndi.url.rmi.rmiURLContextFactory factory
        end local 1 // java.util.Hashtable env
        end local 0 // java.lang.String url
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0      url  Ljava/lang/String;
            0    5     1      env  Ljava/util/Hashtable;
            1    5     2  factory  Lcom/sun/jndi/url/rmi/rmiURLContextFactory;
            2    5     3      obj  Ljava/lang/Object;
    Exceptions:
      throws javax.naming.NamingException
    MethodParameters:
      Name  Flags
      url   
      env   

  private static java.lang.Object URLsToObject(java.lang.String[], java.util.Hashtable);
    descriptor: ([Ljava/lang/String;Ljava/util/Hashtable;)Ljava/lang/Object;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // java.lang.String[] urls
        start local 1 // java.util.Hashtable env
         0: .line 114
            new com.sun.jndi.url.rmi.rmiURLContextFactory
            dup
            invokespecial com.sun.jndi.url.rmi.rmiURLContextFactory.<init>:()V
            astore 2 /* factory */
        start local 2 // com.sun.jndi.url.rmi.rmiURLContextFactory factory
         1: .line 115
            aload 2 /* factory */
            aload 0 /* urls */
            aconst_null
            aconst_null
            aload 1 /* env */
            invokevirtual com.sun.jndi.url.rmi.rmiURLContextFactory.getObjectInstance:(Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable;)Ljava/lang/Object;
            areturn
        end local 2 // com.sun.jndi.url.rmi.rmiURLContextFactory factory
        end local 1 // java.util.Hashtable env
        end local 0 // java.lang.String[] urls
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     urls  [Ljava/lang/String;
            0    2     1      env  Ljava/util/Hashtable;
            1    2     2  factory  Lcom/sun/jndi/url/rmi/rmiURLContextFactory;
    Exceptions:
      throws javax.naming.NamingException
    MethodParameters:
      Name  Flags
      urls  
      env   

  private static java.lang.String getInitCtxURL(java.util.Hashtable);
    descriptor: (Ljava/util/Hashtable;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // java.util.Hashtable env
         0: .line 126
            aconst_null
            astore 1 /* url */
        start local 1 // java.lang.String url
         1: .line 127
            aload 0 /* env */
            ifnull 3
         2: .line 128
            aload 0 /* env */
            ldc "java.naming.provider.url"
            invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 1 /* url */
         3: .line 130
      StackMap locals: java.lang.String
      StackMap stack:
            aload 1 /* url */
            ifnull 4
            aload 1 /* url */
            goto 5
      StackMap locals:
      StackMap stack:
         4: ldc "rmi:"
      StackMap locals:
      StackMap stack: java.lang.String
         5: areturn
        end local 1 // java.lang.String url
        end local 0 // java.util.Hashtable env
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0   env  Ljava/util/Hashtable;
            1    6     1   url  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      env   

  private static boolean isRegistryRef(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // java.lang.Object obj
         0: .line 138
            aload 0 /* obj */
            instanceof javax.naming.Reference
            ifne 2
         1: .line 139
            iconst_0
            ireturn
         2: .line 141
      StackMap locals:
      StackMap stack:
            ldc Lcom/sun/jndi/rmi/registry/RegistryContextFactory;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            astore 1 /* thisClassName */
        start local 1 // java.lang.String thisClassName
         3: .line 142
            aload 0 /* obj */
            checkcast javax.naming.Reference
            astore 2 /* ref */
        start local 2 // javax.naming.Reference ref
         4: .line 144
            aload 1 /* thisClassName */
            aload 2 /* ref */
            invokevirtual javax.naming.Reference.getFactoryClassName:()Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ireturn
        end local 2 // javax.naming.Reference ref
        end local 1 // java.lang.String thisClassName
        end local 0 // java.lang.Object obj
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    5     0            obj  Ljava/lang/Object;
            3    5     1  thisClassName  Ljava/lang/String;
            4    5     2            ref  Ljavax/naming/Reference;
    MethodParameters:
      Name  Flags
      obj   

  private static java.lang.String[] getURLs(javax.naming.Reference);
    descriptor: (Ljavax/naming/Reference;)[Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=5, args_size=1
        start local 0 // javax.naming.Reference ref
         0: .line 152
            iconst_0
            istore 1 /* size */
        start local 1 // int size
         1: .line 153
            aload 0 /* ref */
            invokevirtual javax.naming.Reference.size:()I
            anewarray java.lang.String
            astore 2 /* urls */
        start local 2 // java.lang.String[] urls
         2: .line 155
            aload 0 /* ref */
            invokevirtual javax.naming.Reference.getAll:()Ljava/util/Enumeration;
            astore 3 /* addrs */
        start local 3 // java.util.Enumeration addrs
         3: .line 156
            goto 8
         4: .line 157
      StackMap locals: int java.lang.String[] java.util.Enumeration
      StackMap stack:
            aload 3 /* addrs */
            invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
            checkcast javax.naming.RefAddr
            astore 4 /* addr */
        start local 4 // javax.naming.RefAddr addr
         5: .line 159
            aload 4 /* addr */
            instanceof javax.naming.StringRefAddr
            ifeq 8
         6: .line 160
            aload 4 /* addr */
            invokevirtual javax.naming.RefAddr.getType:()Ljava/lang/String;
            ldc "URL"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 8
         7: .line 162
            aload 2 /* urls */
            iload 1 /* size */
            iinc 1 /* size */ 1
            aload 4 /* addr */
            invokevirtual javax.naming.RefAddr.getContent:()Ljava/lang/Object;
            checkcast java.lang.String
            aastore
        end local 4 // javax.naming.RefAddr addr
         8: .line 156
      StackMap locals:
      StackMap stack:
            aload 3 /* addrs */
            invokeinterface java.util.Enumeration.hasMoreElements:()Z
            ifne 4
         9: .line 165
            iload 1 /* size */
            ifne 13
        10: .line 166
            new javax.naming.ConfigurationException
            dup
        11: .line 167
            ldc "Reference contains no valid addresses"
        12: .line 166
            invokespecial javax.naming.ConfigurationException.<init>:(Ljava/lang/String;)V
            athrow
        13: .line 171
      StackMap locals:
      StackMap stack:
            iload 1 /* size */
            aload 0 /* ref */
            invokevirtual javax.naming.Reference.size:()I
            if_icmpne 15
        14: .line 172
            aload 2 /* urls */
            areturn
        15: .line 174
      StackMap locals:
      StackMap stack:
            iload 1 /* size */
            anewarray java.lang.String
            astore 4 /* urls2 */
        start local 4 // java.lang.String[] urls2
        16: .line 175
            aload 2 /* urls */
            iconst_0
            aload 4 /* urls2 */
            iconst_0
            iload 1 /* size */
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
        17: .line 176
            aload 4 /* urls2 */
            areturn
        end local 4 // java.lang.String[] urls2
        end local 3 // java.util.Enumeration addrs
        end local 2 // java.lang.String[] urls
        end local 1 // int size
        end local 0 // javax.naming.Reference ref
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   18     0    ref  Ljavax/naming/Reference;
            1   18     1   size  I
            2   18     2   urls  [Ljava/lang/String;
            3   18     3  addrs  Ljava/util/Enumeration;
            5    8     4   addr  Ljavax/naming/RefAddr;
           16   18     4  urls2  [Ljava/lang/String;
    Exceptions:
      throws javax.naming.NamingException
    MethodParameters:
      Name  Flags
      ref   
}
SourceFile: "RegistryContextFactory.java"