public class org.apache.catalina.webresources.TomcatURLStreamHandlerFactory implements java.net.URLStreamHandlerFactory
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.catalina.webresources.TomcatURLStreamHandlerFactory
  super_class: java.lang.Object
{
  private static final java.lang.String WAR_PROTOCOL;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "war"

  private static final java.lang.String CLASSPATH_PROTOCOL;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "classpath"

  private static volatile org.apache.catalina.webresources.TomcatURLStreamHandlerFactory instance;
    descriptor: Lorg/apache/catalina/webresources/TomcatURLStreamHandlerFactory;
    flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE

  private final boolean registered;
    descriptor: Z
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.List<java.net.URLStreamHandlerFactory> userFactories;
    descriptor: Ljava/util/List;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/List<Ljava/net/URLStreamHandlerFactory;>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 33
            aconst_null
            putstatic org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.instance:Lorg/apache/catalina/webresources/TomcatURLStreamHandlerFactory;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static org.apache.catalina.webresources.TomcatURLStreamHandlerFactory getInstance();
    descriptor: ()Lorg/apache/catalina/webresources/TomcatURLStreamHandlerFactory;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 43
            iconst_1
            invokestatic org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.getInstanceInternal:(Z)Lorg/apache/catalina/webresources/TomcatURLStreamHandlerFactory;
            pop
         1: .line 44
            getstatic org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.instance:Lorg/apache/catalina/webresources/TomcatURLStreamHandlerFactory;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static org.apache.catalina.webresources.TomcatURLStreamHandlerFactory getInstanceInternal(boolean);
    descriptor: (Z)Lorg/apache/catalina/webresources/TomcatURLStreamHandlerFactory;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // boolean register
         0: .line 50
            getstatic org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.instance:Lorg/apache/catalina/webresources/TomcatURLStreamHandlerFactory;
            ifnonnull 8
         1: .line 51
            ldc Lorg/apache/catalina/webresources/TomcatURLStreamHandlerFactory;
            dup
            astore 1
            monitorenter
         2: .line 52
            getstatic org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.instance:Lorg/apache/catalina/webresources/TomcatURLStreamHandlerFactory;
            ifnonnull 4
         3: .line 53
            new org.apache.catalina.webresources.TomcatURLStreamHandlerFactory
            dup
            iload 0 /* register */
            invokespecial org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.<init>:(Z)V
            putstatic org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.instance:Lorg/apache/catalina/webresources/TomcatURLStreamHandlerFactory;
         4: .line 51
      StackMap locals: java.lang.Class
      StackMap stack:
            aload 1
            monitorexit
         5: goto 8
      StackMap locals:
      StackMap stack: java.lang.Throwable
         6: aload 1
            monitorexit
         7: athrow
         8: .line 57
      StackMap locals:
      StackMap stack:
            getstatic org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.instance:Lorg/apache/catalina/webresources/TomcatURLStreamHandlerFactory;
            areturn
        end local 0 // boolean register
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    9     0  register  Z
      Exception table:
        from    to  target  type
           2     5       6  any
           6     7       6  any
    MethodParameters:
          Name  Flags
      register  

  public static boolean register();
    descriptor: ()Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 77
            iconst_1
            invokestatic org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.getInstanceInternal:(Z)Lorg/apache/catalina/webresources/TomcatURLStreamHandlerFactory;
            invokevirtual org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.isRegistered:()Z
            ireturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static boolean disable();
    descriptor: ()Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 92
            iconst_0
            invokestatic org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.getInstanceInternal:(Z)Lorg/apache/catalina/webresources/TomcatURLStreamHandlerFactory;
            invokevirtual org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.isRegistered:()Z
            ifeq 1
            iconst_0
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_1
      StackMap locals:
      StackMap stack: int
         2: ireturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static void release(java.lang.ClassLoader);
    descriptor: (Ljava/lang/ClassLoader;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=5, args_size=1
        start local 0 // java.lang.ClassLoader classLoader
         0: .line 104
            getstatic org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.instance:Lorg/apache/catalina/webresources/TomcatURLStreamHandlerFactory;
            ifnonnull 2
         1: .line 105
            return
         2: .line 107
      StackMap locals:
      StackMap stack:
            getstatic org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.instance:Lorg/apache/catalina/webresources/TomcatURLStreamHandlerFactory;
            getfield org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.userFactories:Ljava/util/List;
            astore 1 /* factories */
        start local 1 // java.util.List factories
         3: .line 108
            aload 1 /* factories */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 12
      StackMap locals: java.lang.ClassLoader java.util.List top java.util.Iterator
      StackMap stack:
         4: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.net.URLStreamHandlerFactory
            astore 2 /* factory */
        start local 2 // java.net.URLStreamHandlerFactory factory
         5: .line 109
            aload 2 /* factory */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
            astore 4 /* factoryLoader */
        start local 4 // java.lang.ClassLoader factoryLoader
         6: .line 110
            goto 11
         7: .line 111
      StackMap locals: java.lang.ClassLoader java.util.List java.net.URLStreamHandlerFactory java.util.Iterator java.lang.ClassLoader
      StackMap stack:
            aload 0 /* classLoader */
            aload 4 /* factoryLoader */
            invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
            ifeq 10
         8: .line 115
            aload 1 /* factories */
            aload 2 /* factory */
            invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
            pop
         9: .line 116
            goto 12
        10: .line 118
      StackMap locals:
      StackMap stack:
            aload 4 /* factoryLoader */
            invokevirtual java.lang.ClassLoader.getParent:()Ljava/lang/ClassLoader;
            astore 4 /* factoryLoader */
        11: .line 110
      StackMap locals:
      StackMap stack:
            aload 4 /* factoryLoader */
            ifnonnull 7
        end local 4 // java.lang.ClassLoader factoryLoader
        end local 2 // java.net.URLStreamHandlerFactory factory
        12: .line 108
      StackMap locals: java.lang.ClassLoader java.util.List top java.util.Iterator
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
        13: .line 121
            return
        end local 1 // java.util.List factories
        end local 0 // java.lang.ClassLoader classLoader
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   14     0    classLoader  Ljava/lang/ClassLoader;
            3   14     1      factories  Ljava/util/List<Ljava/net/URLStreamHandlerFactory;>;
            5   12     2        factory  Ljava/net/URLStreamHandlerFactory;
            6   12     4  factoryLoader  Ljava/lang/ClassLoader;
    MethodParameters:
             Name  Flags
      classLoader  

  private void <init>(boolean);
    descriptor: (Z)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.apache.catalina.webresources.TomcatURLStreamHandlerFactory this
        start local 1 // boolean register
         0: .line 124
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 64
            aload 0 /* this */
         2: .line 65
            new java.util.concurrent.CopyOnWriteArrayList
            dup
            invokespecial java.util.concurrent.CopyOnWriteArrayList.<init>:()V
            putfield org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.userFactories:Ljava/util/List;
         3: .line 128
            aload 0 /* this */
            iload 1 /* register */
            putfield org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.registered:Z
         4: .line 129
            iload 1 /* register */
            ifeq 6
         5: .line 130
            aload 0 /* this */
            invokestatic java.net.URL.setURLStreamHandlerFactory:(Ljava/net/URLStreamHandlerFactory;)V
         6: .line 132
      StackMap locals: org.apache.catalina.webresources.TomcatURLStreamHandlerFactory int
      StackMap stack:
            return
        end local 1 // boolean register
        end local 0 // org.apache.catalina.webresources.TomcatURLStreamHandlerFactory this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    7     0      this  Lorg/apache/catalina/webresources/TomcatURLStreamHandlerFactory;
            0    7     1  register  Z
    MethodParameters:
          Name  Flags
      register  

  public boolean isRegistered();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.catalina.webresources.TomcatURLStreamHandlerFactory this
         0: .line 136
            aload 0 /* this */
            getfield org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.registered:Z
            ireturn
        end local 0 // org.apache.catalina.webresources.TomcatURLStreamHandlerFactory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/catalina/webresources/TomcatURLStreamHandlerFactory;

  public void addUserFactory(java.net.URLStreamHandlerFactory);
    descriptor: (Ljava/net/URLStreamHandlerFactory;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.catalina.webresources.TomcatURLStreamHandlerFactory this
        start local 1 // java.net.URLStreamHandlerFactory factory
         0: .line 150
            aload 0 /* this */
            getfield org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.userFactories:Ljava/util/List;
            aload 1 /* factory */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         1: .line 151
            return
        end local 1 // java.net.URLStreamHandlerFactory factory
        end local 0 // org.apache.catalina.webresources.TomcatURLStreamHandlerFactory this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lorg/apache/catalina/webresources/TomcatURLStreamHandlerFactory;
            0    2     1  factory  Ljava/net/URLStreamHandlerFactory;
    MethodParameters:
         Name  Flags
      factory  

  public java.net.URLStreamHandler createURLStreamHandler(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/net/URLStreamHandler;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=5, args_size=2
        start local 0 // org.apache.catalina.webresources.TomcatURLStreamHandlerFactory this
        start local 1 // java.lang.String protocol
         0: .line 159
            ldc "war"
            aload 1 /* protocol */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 2
         1: .line 160
            new org.apache.catalina.webresources.war.Handler
            dup
            invokespecial org.apache.catalina.webresources.war.Handler.<init>:()V
            areturn
         2: .line 161
      StackMap locals:
      StackMap stack:
            ldc "classpath"
            aload 1 /* protocol */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 4
         3: .line 162
            new org.apache.catalina.webresources.ClasspathURLStreamHandler
            dup
            invokespecial org.apache.catalina.webresources.ClasspathURLStreamHandler.<init>:()V
            areturn
         4: .line 166
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.userFactories:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 10
      StackMap locals: org.apache.catalina.webresources.TomcatURLStreamHandlerFactory java.lang.String top java.util.Iterator
      StackMap stack:
         5: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.net.URLStreamHandlerFactory
            astore 2 /* factory */
        start local 2 // java.net.URLStreamHandlerFactory factory
         6: .line 168
            aload 2 /* factory */
            aload 1 /* protocol */
            invokeinterface java.net.URLStreamHandlerFactory.createURLStreamHandler:(Ljava/lang/String;)Ljava/net/URLStreamHandler;
         7: .line 167
            astore 4 /* handler */
        start local 4 // java.net.URLStreamHandler handler
         8: .line 169
            aload 4 /* handler */
            ifnull 10
         9: .line 170
            aload 4 /* handler */
            areturn
        end local 4 // java.net.URLStreamHandler handler
        end local 2 // java.net.URLStreamHandlerFactory factory
        10: .line 166
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 5
        11: .line 175
            aconst_null
            areturn
        end local 1 // java.lang.String protocol
        end local 0 // org.apache.catalina.webresources.TomcatURLStreamHandlerFactory this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   12     0      this  Lorg/apache/catalina/webresources/TomcatURLStreamHandlerFactory;
            0   12     1  protocol  Ljava/lang/String;
            6   10     2   factory  Ljava/net/URLStreamHandlerFactory;
            8   10     4   handler  Ljava/net/URLStreamHandler;
    MethodParameters:
          Name  Flags
      protocol  
}
SourceFile: "TomcatURLStreamHandlerFactory.java"