package com.l7tech.server.globalresources;

import com.l7tech.gateway.common.resources.ResourceEntry;
import com.l7tech.server.communityschemas.SchemaManager;
import com.l7tech.server.event.EntityClassEvent;
import com.l7tech.server.util.PostStartupApplicationListener;
import com.l7tech.util.Config;
import com.l7tech.util.Triple;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.io.StringReader;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.Timer;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.atomic.AtomicLong;
import java.util.logging.Logger;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.context.ApplicationEvent;
import org.xml.sax.InputSource;

public class SchemaResourceManager implements PostStartupApplicationListener, InitializingBean, PropertyChangeListener {
   private static final Logger a;
   private final Config b;
   private final Timer c;
   private final ResourceEntryManager d;
   private final SchemaManager e;
   private final Map<String, q> f = new ConcurrentHashMap<>();
   private final Map<r, Collection<q>> g = new ConcurrentHashMap<>();
   private final AtomicLong h = new AtomicLong();
   private final Object i = new Object();
   private Set<String> j = Collections.emptySet();
   private long k;
   private static final String[] l;

   public SchemaResourceManager(Config var1, Timer var2, ResourceEntryManager var3, SchemaManager var4) {
      this.b = var1;
      this.c = var2;
      this.d = var3;
      this.e = var4;
   }

   public boolean isSchemaRequired(String var1) {
      boolean var2 = false;
      Set var3 = this.e.getRequiredSchemaUris();
      if (var3.contains(var1)) {
         var2 = true;
      } else {
         for (String var5 : var3) {
            if (this.a(var1, var5, new HashSet<>())) {
               var2 = true;
               break;
            }
         }

         if (!var2) {
            q var11 = this.f.get(var1);
            if (var11 != null) {
               Set var12 = this.e.getRequiredSchemaTargetNamespaces();
               if (var12.contains(var11.d)) {
                  var2 = true;
               } else {
                  for (String var7 : var12) {
                     Collection var8 = this.g.get(a(var7));
                     if (var8 != null) {
                        for (q var10 : var8) {
                           if (this.a(var1, var10.c, new HashSet<>())) {
                              var2 = true;
                              return var2;
                           }
                        }
                     }
                  }
               }
            }
         }
      }

      return var2;
   }

   @Override
   public void propertyChange(PropertyChangeEvent var1) {
      this.h.set(System.currentTimeMillis());
   }

   public void afterPropertiesSet() throws Exception {
      synchronized (this.i) {
         this.b();
      }

      this.c.schedule(new v(this), 15731L, 5331L);
   }

   @Override
   public void onApplicationEvent(ApplicationEvent var1) {
      if (var1 instanceof EntityClassEvent var2) {
         try {
            if (ResourceEntry.class.isAssignableFrom(var2.getEntityClass())) {
               this.h.set(System.currentTimeMillis());
            }
         } catch (IllegalArgumentException var3) {
            throw a(var3);
         }
      }
   }

   private void a() {
      long var1 = this.h.get();
      long var3;
      synchronized (this.i) {
         var3 = this.k;
      }

      if (var3 < var1) {
         synchronized (this.i) {
            this.b();
         }
      }
   }

   private void b() {
      this.c();
      this.d();
   }

   private void c() {
      // $VF: Couldn't be decompiled
      // Please report this to the Vineflower issue tracker, at https://github.com/Vineflower/vineflower/issues with a copy of the class file (if you have the rights to distribute it!)
      // java.lang.RuntimeException: parsing failure!
      //   at org.jetbrains.java.decompiler.modules.decompiler.decompose.DomHelper.parseGraph(DomHelper.java:211)
      //   at org.jetbrains.java.decompiler.main.rels.MethodProcessor.codeToJava(MethodProcessor.java:174)
      //
      // Bytecode:
      // 000: aload 0
      // 001: getfield com/l7tech/server/globalresources/SchemaResourceManager.d Lcom/l7tech/server/globalresources/ResourceEntryManager;
      // 004: invokeinterface com/l7tech/server/globalresources/ResourceEntryManager.findAll ()Ljava/util/Collection; 1
      // 009: astore 1
      // 00a: new java/util/HashSet
      // 00d: dup
      // 00e: invokespecial java/util/HashSet.<init> ()V
      // 011: astore 2
      // 012: new java/util/HashSet
      // 015: dup
      // 016: invokespecial java/util/HashSet.<init> ()V
      // 019: astore 3
      // 01a: aload 1
      // 01b: invokeinterface java/util/Collection.iterator ()Ljava/util/Iterator; 1
      // 020: astore 4
      // 022: aload 4
      // 024: invokeinterface java/util/Iterator.hasNext ()Z 1
      // 029: ifeq 1c0
      // 02c: aload 4
      // 02e: invokeinterface java/util/Iterator.next ()Ljava/lang/Object; 1
      // 033: checkcast com/l7tech/gateway/common/resources/ResourceEntry
      // 036: astore 5
      // 038: aload 5
      // 03a: invokevirtual com/l7tech/gateway/common/resources/ResourceEntry.getType ()Lcom/l7tech/gateway/common/resources/ResourceType;
      // 03d: getstatic com/l7tech/gateway/common/resources/ResourceType.XML_SCHEMA Lcom/l7tech/gateway/common/resources/ResourceType;
      // 040: if_acmpeq 04a
      // 043: goto 022
      // 046: invokestatic com/l7tech/server/globalresources/SchemaResourceManager.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 049: athrow
      // 04a: aload 2
      // 04b: aload 5
      // 04d: invokevirtual com/l7tech/gateway/common/resources/ResourceEntry.getUri ()Ljava/lang/String;
      // 050: invokeinterface java/util/Set.add (Ljava/lang/Object;)Z 2
      // 055: pop
      // 056: aload 3
      // 057: aload 5
      // 059: invokevirtual com/l7tech/gateway/common/resources/ResourceEntry.getResourceKey1 ()Ljava/lang/String;
      // 05c: invokeinterface java/util/Set.add (Ljava/lang/Object;)Z 2
      // 061: pop
      // 062: aload 0
      // 063: getfield com/l7tech/server/globalresources/SchemaResourceManager.f Ljava/util/Map;
      // 066: aload 5
      // 068: invokevirtual com/l7tech/gateway/common/resources/ResourceEntry.getUri ()Ljava/lang/String;
      // 06b: invokeinterface java/util/Map.get (Ljava/lang/Object;)Ljava/lang/Object; 2
      // 070: checkcast com/l7tech/server/globalresources/q
      // 073: astore 6
      // 075: aload 6
      // 077: ifnull 0a5
      // 07a: aload 6
      // 07c: getfield com/l7tech/server/globalresources/q.a Lcom/l7tech/objectmodel/Goid;
      // 07f: aload 5
      // 081: invokevirtual com/l7tech/gateway/common/resources/ResourceEntry.getGoid ()Lcom/l7tech/objectmodel/Goid;
      // 084: invokestatic com/l7tech/objectmodel/Goid.equals (Lcom/l7tech/objectmodel/Goid;Lcom/l7tech/objectmodel/Goid;)Z
      // 087: ifeq 0a5
      // 08a: goto 091
      // 08d: invokestatic com/l7tech/server/globalresources/SchemaResourceManager.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 090: athrow
      // 091: aload 6
      // 093: getfield com/l7tech/server/globalresources/q.b I
      // 096: aload 5
      // 098: invokevirtual com/l7tech/gateway/common/resources/ResourceEntry.getVersion ()I
      // 09b: if_icmpeq 1bd
      // 09e: goto 0a5
      // 0a1: invokestatic com/l7tech/server/globalresources/SchemaResourceManager.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 0a4: athrow
      // 0a5: invokestatic java/util/Collections.emptyList ()Ljava/util/List;
      // 0a8: astore 7
      // 0aa: aload 0
      // 0ab: aload 5
      // 0ad: invokevirtual com/l7tech/server/globalresources/SchemaResourceManager.a (Lcom/l7tech/gateway/common/resources/ResourceEntry;)Lorg/xml/sax/InputSource;
      // 0b0: new com/l7tech/server/globalresources/ResourceEntrySchemaSourceResolver
      // 0b3: dup
      // 0b4: aload 0
      // 0b5: getfield com/l7tech/server/globalresources/SchemaResourceManager.d Lcom/l7tech/server/globalresources/ResourceEntryManager;
      // 0b8: invokespecial com/l7tech/server/globalresources/ResourceEntrySchemaSourceResolver.<init> (Lcom/l7tech/server/globalresources/ResourceEntryManager;)V
      // 0bb: invokestatic com/l7tech/common/io/SchemaUtil.getDependencies (Lorg/xml/sax/InputSource;Lorg/xml/sax/EntityResolver;)Ljava/util/Collection;
      // 0be: astore 7
      // 0c0: goto 128
      // 0c3: astore 8
      // 0c5: getstatic com/l7tech/server/globalresources/SchemaResourceManager.a Ljava/util/logging/Logger;
      // 0c8: getstatic java/util/logging/Level.WARNING Ljava/util/logging/Level;
      // 0cb: aload 5
      // 0cd: invokevirtual com/l7tech/gateway/common/resources/ResourceEntry.getUri ()Ljava/lang/String;
      // 0d0: aload 8
      // 0d2: invokestatic com/l7tech/util/ExceptionUtils.getMessage (Ljava/lang/Throwable;)Ljava/lang/String;
      // 0d5: getstatic com/l7tech/server/globalresources/SchemaResourceManager.l [Ljava/lang/String;
      // 0d8: astore 10
      // 0da: aload 10
      // 0dc: bipush 6
      // 0de: aaload
      // 0df: dup_x2
      // 0e0: pop
      // 0e1: aload 10
      // 0e3: bipush 11
      // 0e5: aaload
      // 0e6: swap
      // 0e7: invokedynamic makeConcatWithConstants (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; bsm=java/lang/invoke/StringConcatFactory.makeConcatWithConstants (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; args=[ "\u0001\u0001\u0001\u0001" ]
      // 0ec: aload 8
      // 0ee: invokestatic com/l7tech/util/ExceptionUtils.getDebugException (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 0f1: invokevirtual java/util/logging/Logger.log (Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
      // 0f4: goto 128
      // 0f7: astore 8
      // 0f9: getstatic com/l7tech/server/globalresources/SchemaResourceManager.a Ljava/util/logging/Logger;
      // 0fc: getstatic java/util/logging/Level.WARNING Ljava/util/logging/Level;
      // 0ff: aload 5
      // 101: invokevirtual com/l7tech/gateway/common/resources/ResourceEntry.getUri ()Ljava/lang/String;
      // 104: aload 8
      // 106: invokestatic com/l7tech/util/ExceptionUtils.getMessage (Ljava/lang/Throwable;)Ljava/lang/String;
      // 109: getstatic com/l7tech/server/globalresources/SchemaResourceManager.l [Ljava/lang/String;
      // 10c: astore 10
      // 10e: aload 10
      // 110: bipush 9
      // 112: aaload
      // 113: dup_x2
      // 114: pop
      // 115: aload 10
      // 117: bipush 21
      // 119: aaload
      // 11a: swap
      // 11b: invokedynamic makeConcatWithConstants (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; bsm=java/lang/invoke/StringConcatFactory.makeConcatWithConstants (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; args=[ "\u0001\u0001\u0001\u0001" ]
      // 120: aload 8
      // 122: invokestatic com/l7tech/util/ExceptionUtils.getDebugException (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 125: invokevirtual java/util/logging/Logger.log (Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
      // 128: new com/l7tech/server/globalresources/q
      // 12b: dup
      // 12c: aload 5
      // 12e: invokevirtual com/l7tech/gateway/common/resources/ResourceEntry.getGoid ()Lcom/l7tech/objectmodel/Goid;
      // 131: aload 5
      // 133: invokevirtual com/l7tech/gateway/common/resources/ResourceEntry.getVersion ()I
      // 136: aload 5
      // 138: invokevirtual com/l7tech/gateway/common/resources/ResourceEntry.getUri ()Ljava/lang/String;
      // 13b: aload 5
      // 13d: invokevirtual com/l7tech/gateway/common/resources/ResourceEntry.getResourceKey1 ()Ljava/lang/String;
      // 140: aload 7
      // 142: invokespecial com/l7tech/server/globalresources/q.<init> (Lcom/l7tech/objectmodel/Goid;ILjava/lang/String;Ljava/lang/String;Ljava/util/Collection;)V
      // 145: astore 6
      // 147: aload 0
      // 148: getfield com/l7tech/server/globalresources/SchemaResourceManager.f Ljava/util/Map;
      // 14b: aload 5
      // 14d: invokevirtual com/l7tech/gateway/common/resources/ResourceEntry.getUri ()Ljava/lang/String;
      // 150: aload 6
      // 152: invokeinterface java/util/Map.put (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; 3
      // 157: pop
      // 158: aload 0
      // 159: getfield com/l7tech/server/globalresources/SchemaResourceManager.g Ljava/util/Map;
      // 15c: aload 5
      // 15e: invokevirtual com/l7tech/gateway/common/resources/ResourceEntry.getResourceKey1 ()Ljava/lang/String;
      // 161: invokestatic com/l7tech/server/globalresources/SchemaResourceManager.a (Ljava/lang/String;)Lcom/l7tech/server/globalresources/r;
      // 164: invokeinterface java/util/Map.get (Ljava/lang/Object;)Ljava/lang/Object; 2
      // 169: checkcast java/util/Collection
      // 16c: astore 8
      // 16e: aload 8
      // 170: ifnonnull 191
      // 173: aload 0
      // 174: getfield com/l7tech/server/globalresources/SchemaResourceManager.g Ljava/util/Map;
      // 177: aload 5
      // 179: invokevirtual com/l7tech/gateway/common/resources/ResourceEntry.getResourceKey1 ()Ljava/lang/String;
      // 17c: invokestatic com/l7tech/server/globalresources/SchemaResourceManager.a (Ljava/lang/String;)Lcom/l7tech/server/globalresources/r;
      // 17f: aload 6
      // 181: invokestatic java/util/Collections.singleton (Ljava/lang/Object;)Ljava/util/Set;
      // 184: invokeinterface java/util/Map.put (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; 3
      // 189: pop
      // 18a: goto 1bd
      // 18d: invokestatic com/l7tech/server/globalresources/SchemaResourceManager.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 190: athrow
      // 191: new java/util/ArrayList
      // 194: dup
      // 195: aload 8
      // 197: invokespecial java/util/ArrayList.<init> (Ljava/util/Collection;)V
      // 19a: astore 9
      // 19c: aload 9
      // 19e: aload 6
      // 1a0: invokeinterface java/util/Collection.add (Ljava/lang/Object;)Z 2
      // 1a5: pop
      // 1a6: aload 0
      // 1a7: getfield com/l7tech/server/globalresources/SchemaResourceManager.g Ljava/util/Map;
      // 1aa: aload 5
      // 1ac: invokevirtual com/l7tech/gateway/common/resources/ResourceEntry.getResourceKey1 ()Ljava/lang/String;
      // 1af: invokestatic com/l7tech/server/globalresources/SchemaResourceManager.a (Ljava/lang/String;)Lcom/l7tech/server/globalresources/r;
      // 1b2: aload 9
      // 1b4: invokestatic java/util/Collections.unmodifiableCollection (Ljava/util/Collection;)Ljava/util/Collection;
      // 1b7: invokeinterface java/util/Map.put (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; 3
      // 1bc: pop
      // 1bd: goto 022
      // 1c0: aload 0
      // 1c1: getfield com/l7tech/server/globalresources/SchemaResourceManager.f Ljava/util/Map;
      // 1c4: invokeinterface java/util/Map.keySet ()Ljava/util/Set; 1
      // 1c9: aload 2
      // 1ca: invokeinterface java/util/Set.retainAll (Ljava/util/Collection;)Z 2
      // 1cf: pop
      // 1d0: aload 0
      // 1d1: getfield com/l7tech/server/globalresources/SchemaResourceManager.g Ljava/util/Map;
      // 1d4: invokeinterface java/util/Map.keySet ()Ljava/util/Set; 1
      // 1d9: aload 3
      // 1da: invokeinterface java/util/Set.retainAll (Ljava/util/Collection;)Z 2
      // 1df: pop
      // 1e0: goto 1f4
      // 1e3: astore 1
      // 1e4: getstatic com/l7tech/server/globalresources/SchemaResourceManager.a Ljava/util/logging/Logger;
      // 1e7: getstatic java/util/logging/Level.WARNING Ljava/util/logging/Level;
      // 1ea: getstatic com/l7tech/server/globalresources/SchemaResourceManager.l [Ljava/lang/String;
      // 1ed: bipush 14
      // 1ef: aaload
      // 1f0: aload 1
      // 1f1: invokevirtual java/util/logging/Logger.log (Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
      // 1f4: return
      // try (48 -> 62): 63 org/xml/sax/SAXException
      // try (46 -> 54): 55 org/xml/sax/SAXException
      // try (22 -> 27): 27 org/xml/sax/SAXException
      // try (67 -> 77): 78 org/xml/sax/SAXException
      // try (67 -> 77): 101 java/io/IOException
      // try (151 -> 163): 163 org/xml/sax/SAXException
      // try (0 -> 196): 197 com/l7tech/objectmodel/FindException
   }

   private InputSource a(ResourceEntry var1) {
      InputSource var2 = new InputSource();
      var2.setSystemId(var1.getUri());
      var2.setCharacterStream(new StringReader(var1.getContent()));
      return var2;
   }

   private void d() {
      // $VF: Couldn't be decompiled
      // Please report this to the Vineflower issue tracker, at https://github.com/Vineflower/vineflower/issues with a copy of the class file (if you have the rights to distribute it!)
      // java.lang.RuntimeException: parsing failure!
      //   at org.jetbrains.java.decompiler.modules.decompiler.decompose.DomHelper.parseGraph(DomHelper.java:211)
      //   at org.jetbrains.java.decompiler.main.rels.MethodProcessor.codeToJava(MethodProcessor.java:174)
      //
      // Bytecode:
      // 000: aload 0
      // 001: invokestatic java/lang/System.currentTimeMillis ()J
      // 004: putfield com/l7tech/server/globalresources/SchemaResourceManager.k J
      // 007: new java/util/HashSet
      // 00a: dup
      // 00b: invokespecial java/util/HashSet.<init> ()V
      // 00e: astore 1
      // 00f: new java/util/HashSet
      // 012: dup
      // 013: invokespecial java/util/HashSet.<init> ()V
      // 016: astore 2
      // 017: bipush 0
      // 018: istore 3
      // 019: aload 0
      // 01a: getfield com/l7tech/server/globalresources/SchemaResourceManager.j Ljava/util/Set;
      // 01d: astore 4
      // 01f: new java/util/HashSet
      // 022: dup
      // 023: invokespecial java/util/HashSet.<init> ()V
      // 026: astore 5
      // 028: aload 0
      // 029: getfield com/l7tech/server/globalresources/SchemaResourceManager.b Lcom/l7tech/util/Config;
      // 02c: getstatic com/l7tech/server/globalresources/SchemaResourceManager.l [Ljava/lang/String;
      // 02f: astore 15
      // 031: aload 15
      // 033: bipush 16
      // 035: aaload
      // 036: ldc ""
      // 038: invokeinterface com/l7tech/util/Config.getProperty (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; 3
      // 03d: aload 15
      // 03f: bipush 18
      // 041: aaload
      // 042: invokevirtual java/lang/String.split (Ljava/lang/String;)[Ljava/lang/String;
      // 045: astore 6
      // 047: new java/util/HashMap
      // 04a: dup
      // 04b: invokespecial java/util/HashMap.<init> ()V
      // 04e: astore 7
      // 050: aload 6
      // 052: astore 8
      // 054: aload 8
      // 056: arraylength
      // 057: istore 9
      // 059: bipush 0
      // 05a: istore 10
      // 05c: iload 10
      // 05e: iload 9
      // 060: if_icmpge 10c
      // 063: aload 8
      // 065: iload 10
      // 067: aaload
      // 068: astore 11
      // 06a: aload 0
      // 06b: getfield com/l7tech/server/globalresources/SchemaResourceManager.d Lcom/l7tech/server/globalresources/ResourceEntryManager;
      // 06e: aload 11
      // 070: invokeinterface com/l7tech/server/globalresources/ResourceEntryManager.findHeadersByTNS (Ljava/lang/String;)Ljava/util/Collection; 2
      // 075: astore 12
      // 077: aload 12
      // 079: invokeinterface java/util/Collection.size ()I 1
      // 07e: bipush 1
      // 07f: if_icmpne 0b2
      // 082: aload 12
      // 084: invokeinterface java/util/Collection.iterator ()Ljava/util/Iterator; 1
      // 089: invokeinterface java/util/Iterator.next ()Ljava/lang/Object; 1
      // 08e: checkcast com/l7tech/gateway/common/resources/ResourceEntryHeader
      // 091: astore 13
      // 093: aload 7
      // 095: aload 13
      // 097: invokevirtual com/l7tech/gateway/common/resources/ResourceEntryHeader.getUri ()Ljava/lang/String;
      // 09a: aload 13
      // 09c: invokeinterface java/util/Map.put (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; 3
      // 0a1: pop
      // 0a2: aload 5
      // 0a4: aload 13
      // 0a6: invokevirtual com/l7tech/gateway/common/resources/ResourceEntryHeader.getUri ()Ljava/lang/String;
      // 0a9: invokeinterface java/util/Set.add (Ljava/lang/Object;)Z 2
      // 0ae: pop
      // 0af: goto 106
      // 0b2: aload 12
      // 0b4: invokeinterface java/util/Collection.isEmpty ()Z 1
      // 0b9: ifeq 0dc
      // 0bc: getstatic com/l7tech/server/globalresources/SchemaResourceManager.a Ljava/util/logging/Logger;
      // 0bf: aload 11
      // 0c1: getstatic com/l7tech/server/globalresources/SchemaResourceManager.l [Ljava/lang/String;
      // 0c4: bipush 23
      // 0c6: aaload
      // 0c7: swap
      // 0c8: getstatic com/l7tech/server/globalresources/SchemaResourceManager.l [Ljava/lang/String;
      // 0cb: bipush 3
      // 0cc: aaload
      // 0cd: invokedynamic makeConcatWithConstants (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; bsm=java/lang/invoke/StringConcatFactory.makeConcatWithConstants (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; args=[ "\u0001\u0001\u0001" ]
      // 0d2: invokevirtual java/util/logging/Logger.warning (Ljava/lang/String;)V
      // 0d5: goto 106
      // 0d8: invokestatic com/l7tech/server/globalresources/SchemaResourceManager.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 0db: athrow
      // 0dc: getstatic com/l7tech/server/globalresources/SchemaResourceManager.a Ljava/util/logging/Logger;
      // 0df: aload 12
      // 0e1: invokeinterface java/util/Collection.size ()I 1
      // 0e6: aload 11
      // 0e8: getstatic com/l7tech/server/globalresources/SchemaResourceManager.l [Ljava/lang/String;
      // 0eb: astore 15
      // 0ed: aload 15
      // 0ef: bipush 22
      // 0f1: aaload
      // 0f2: dup_x2
      // 0f3: pop
      // 0f4: aload 15
      // 0f6: bipush 5
      // 0f7: aaload
      // 0f8: swap
      // 0f9: aload 15
      // 0fb: bipush 13
      // 0fd: aaload
      // 0fe: invokedynamic makeConcatWithConstants (Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; bsm=java/lang/invoke/StringConcatFactory.makeConcatWithConstants (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; args=[ "\u0001\u0001\u0001\u0001\u0001" ]
      // 103: invokevirtual java/util/logging/Logger.warning (Ljava/lang/String;)V
      // 106: iinc 10 1
      // 109: goto 05c
      // 10c: aload 1
      // 10d: aload 4
      // 10f: invokeinterface java/util/Set.addAll (Ljava/util/Collection;)Z 2
      // 114: pop
      // 115: aload 1
      // 116: aload 5
      // 118: invokeinterface java/util/Set.removeAll (Ljava/util/Collection;)Z 2
      // 11d: pop
      // 11e: aload 5
      // 120: invokeinterface java/util/Set.iterator ()Ljava/util/Iterator; 1
      // 125: astore 8
      // 127: aload 8
      // 129: invokeinterface java/util/Iterator.hasNext ()Z 1
      // 12e: ifeq 195
      // 131: aload 8
      // 133: invokeinterface java/util/Iterator.next ()Ljava/lang/Object; 1
      // 138: checkcast java/lang/String
      // 13b: astore 9
      // 13d: aload 0
      // 13e: getfield com/l7tech/server/globalresources/SchemaResourceManager.d Lcom/l7tech/server/globalresources/ResourceEntryManager;
      // 141: aload 7
      // 143: aload 9
      // 145: invokeinterface java/util/Map.get (Ljava/lang/Object;)Ljava/lang/Object; 2
      // 14a: checkcast com/l7tech/objectmodel/EntityHeader
      // 14d: invokeinterface com/l7tech/server/globalresources/ResourceEntryManager.findByHeader (Lcom/l7tech/objectmodel/EntityHeader;)Lcom/l7tech/objectmodel/PersistentEntity; 2
      // 152: checkcast com/l7tech/gateway/common/resources/ResourceEntry
      // 155: astore 10
      // 157: aload 10
      // 159: ifnull 192
      // 15c: aload 10
      // 15e: invokevirtual com/l7tech/gateway/common/resources/ResourceEntry.getType ()Lcom/l7tech/gateway/common/resources/ResourceType;
      // 161: getstatic com/l7tech/gateway/common/resources/ResourceType.XML_SCHEMA Lcom/l7tech/gateway/common/resources/ResourceType;
      // 164: if_acmpne 192
      // 167: goto 16e
      // 16a: invokestatic com/l7tech/server/globalresources/SchemaResourceManager.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 16d: athrow
      // 16e: aload 2
      // 16f: new com/l7tech/server/globalresources/SchemaResourceManager$SchemaResource
      // 172: dup
      // 173: aload 10
      // 175: invokevirtual com/l7tech/gateway/common/resources/ResourceEntry.getUri ()Ljava/lang/String;
      // 178: aload 10
      // 17a: invokevirtual com/l7tech/gateway/common/resources/ResourceEntry.getResourceKey1 ()Ljava/lang/String;
      // 17d: aload 10
      // 17f: invokevirtual com/l7tech/gateway/common/resources/ResourceEntry.getContent ()Ljava/lang/String;
      // 182: invokespecial com/l7tech/server/globalresources/SchemaResourceManager$SchemaResource.<init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
      // 185: invokeinterface java/util/Set.add (Ljava/lang/Object;)Z 2
      // 18a: pop
      // 18b: goto 192
      // 18e: invokestatic com/l7tech/server/globalresources/SchemaResourceManager.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 191: athrow
      // 192: goto 127
      // 195: bipush 1
      // 196: istore 3
      // 197: goto 1b1
      // 19a: astore 4
      // 19c: getstatic com/l7tech/server/globalresources/SchemaResourceManager.a Ljava/util/logging/Logger;
      // 19f: getstatic java/util/logging/Level.WARNING Ljava/util/logging/Level;
      // 1a2: getstatic com/l7tech/server/globalresources/SchemaResourceManager.l [Ljava/lang/String;
      // 1a5: astore 15
      // 1a7: aload 15
      // 1a9: bipush 7
      // 1ab: aaload
      // 1ac: aload 4
      // 1ae: invokevirtual java/util/logging/Logger.log (Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
      // 1b1: iload 3
      // 1b2: ifeq 331
      // 1b5: aload 1
      // 1b6: invokeinterface java/util/Set.isEmpty ()Z 1
      // 1bb: ifeq 1d5
      // 1be: goto 1c5
      // 1c1: invokestatic com/l7tech/server/globalresources/SchemaResourceManager.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 1c4: athrow
      // 1c5: aload 2
      // 1c6: invokeinterface java/util/Set.isEmpty ()Z 1
      // 1cb: ifne 331
      // 1ce: goto 1d5
      // 1d1: invokestatic com/l7tech/server/globalresources/SchemaResourceManager.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 1d4: athrow
      // 1d5: getstatic com/l7tech/server/globalresources/SchemaResourceManager.a Ljava/util/logging/Logger;
      // 1d8: getstatic com/l7tech/server/globalresources/SchemaResourceManager.l [Ljava/lang/String;
      // 1db: astore 15
      // 1dd: aload 15
      // 1df: bipush 20
      // 1e1: aaload
      // 1e2: invokevirtual java/util/logging/Logger.info (Ljava/lang/String;)V
      // 1e5: new java/util/HashSet
      // 1e8: dup
      // 1e9: aload 0
      // 1ea: getfield com/l7tech/server/globalresources/SchemaResourceManager.j Ljava/util/Set;
      // 1ed: invokespecial java/util/HashSet.<init> (Ljava/util/Collection;)V
      // 1f0: astore 4
      // 1f2: aload 1
      // 1f3: invokeinterface java/util/Set.iterator ()Ljava/util/Iterator; 1
      // 1f8: astore 5
      // 1fa: aload 5
      // 1fc: invokeinterface java/util/Iterator.hasNext ()Z 1
      // 201: ifeq 228
      // 204: aload 5
      // 206: invokeinterface java/util/Iterator.next ()Ljava/lang/Object; 1
      // 20b: checkcast java/lang/String
      // 20e: astore 6
      // 210: aload 4
      // 212: aload 6
      // 214: invokeinterface java/util/Set.remove (Ljava/lang/Object;)Z 2
      // 219: pop
      // 21a: aload 0
      // 21b: getfield com/l7tech/server/globalresources/SchemaResourceManager.e Lcom/l7tech/server/communityschemas/SchemaManager;
      // 21e: aload 6
      // 220: invokeinterface com/l7tech/server/communityschemas/SchemaManager.unregisterSchema (Ljava/lang/String;)V 2
      // 225: goto 1fa
      // 228: aload 2
      // 229: invokeinterface java/util/Set.iterator ()Ljava/util/Iterator; 1
      // 22e: astore 5
      // 230: aload 5
      // 232: invokeinterface java/util/Iterator.hasNext ()Z 1
      // 237: ifeq 26e
      // 23a: aload 5
      // 23c: invokeinterface java/util/Iterator.next ()Ljava/lang/Object; 1
      // 241: checkcast com/l7tech/server/globalresources/SchemaResourceManager$SchemaResource
      // 244: astore 6
      // 246: aload 4
      // 248: aload 6
      // 24a: invokevirtual com/l7tech/server/globalresources/SchemaResourceManager$SchemaResource.getUri ()Ljava/lang/String;
      // 24d: invokeinterface java/util/Set.add (Ljava/lang/Object;)Z 2
      // 252: pop
      // 253: aload 0
      // 254: getfield com/l7tech/server/globalresources/SchemaResourceManager.e Lcom/l7tech/server/communityschemas/SchemaManager;
      // 257: aload 6
      // 259: invokevirtual com/l7tech/server/globalresources/SchemaResourceManager$SchemaResource.getUri ()Ljava/lang/String;
      // 25c: aload 6
      // 25e: invokevirtual com/l7tech/server/globalresources/SchemaResourceManager$SchemaResource.getTargetNamespaceForRegistration ()Ljava/lang/String;
      // 261: aload 6
      // 263: invokevirtual com/l7tech/server/globalresources/SchemaResourceManager$SchemaResource.getContent ()Ljava/lang/String;
      // 266: invokeinterface com/l7tech/server/communityschemas/SchemaManager.registerSchema (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V 4
      // 26b: goto 230
      // 26e: aload 0
      // 26f: aload 4
      // 271: invokestatic java/util/Collections.unmodifiableSet (Ljava/util/Set;)Ljava/util/Set;
      // 274: putfield com/l7tech/server/globalresources/SchemaResourceManager.j Ljava/util/Set;
      // 277: aload 0
      // 278: getfield com/l7tech/server/globalresources/SchemaResourceManager.j Ljava/util/Set;
      // 27b: invokeinterface java/util/Set.iterator ()Ljava/util/Iterator; 1
      // 280: astore 5
      // 282: aload 5
      // 284: invokeinterface java/util/Iterator.hasNext ()Z 1
      // 289: ifeq 331
      // 28c: aload 5
      // 28e: invokeinterface java/util/Iterator.next ()Ljava/lang/Object; 1
      // 293: checkcast java/lang/String
      // 296: astore 6
      // 298: aconst_null
      // 299: astore 7
      // 29b: aload 0
      // 29c: getfield com/l7tech/server/globalresources/SchemaResourceManager.e Lcom/l7tech/server/communityschemas/SchemaManager;
      // 29f: new com/l7tech/gateway/common/audit/LoggingAudit
      // 2a2: dup
      // 2a3: getstatic com/l7tech/server/globalresources/SchemaResourceManager.a Ljava/util/logging/Logger;
      // 2a6: invokespecial com/l7tech/gateway/common/audit/LoggingAudit.<init> (Ljava/util/logging/Logger;)V
      // 2a9: aload 6
      // 2ab: invokeinterface com/l7tech/server/communityschemas/SchemaManager.getSchemaByUri (Lcom/l7tech/gateway/common/audit/Audit;Ljava/lang/String;)Lcom/l7tech/server/communityschemas/SchemaHandle; 3
      // 2b0: astore 7
      // 2b2: aload 7
      // 2b4: invokestatic com/l7tech/util/ResourceUtils.closeQuietly (Ljava/io/Closeable;)V
      // 2b7: goto 32e
      // 2ba: astore 8
      // 2bc: getstatic com/l7tech/server/globalresources/SchemaResourceManager.a Ljava/util/logging/Logger;
      // 2bf: getstatic java/util/logging/Level.WARNING Ljava/util/logging/Level;
      // 2c2: aload 6
      // 2c4: aload 8
      // 2c6: invokestatic com/l7tech/util/ExceptionUtils.getMessage (Ljava/lang/Throwable;)Ljava/lang/String;
      // 2c9: getstatic com/l7tech/server/globalresources/SchemaResourceManager.l [Ljava/lang/String;
      // 2cc: astore 15
      // 2ce: aload 15
      // 2d0: bipush 4
      // 2d1: aaload
      // 2d2: dup_x2
      // 2d3: pop
      // 2d4: aload 15
      // 2d6: bipush 1
      // 2d7: aaload
      // 2d8: swap
      // 2d9: invokedynamic makeConcatWithConstants (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; bsm=java/lang/invoke/StringConcatFactory.makeConcatWithConstants (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; args=[ "\u0001\u0001\u0001\u0001" ]
      // 2de: aload 8
      // 2e0: invokestatic com/l7tech/util/ExceptionUtils.getDebugException (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 2e3: invokevirtual java/util/logging/Logger.log (Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
      // 2e6: aload 7
      // 2e8: invokestatic com/l7tech/util/ResourceUtils.closeQuietly (Ljava/io/Closeable;)V
      // 2eb: goto 32e
      // 2ee: astore 8
      // 2f0: getstatic com/l7tech/server/globalresources/SchemaResourceManager.a Ljava/util/logging/Logger;
      // 2f3: getstatic java/util/logging/Level.WARNING Ljava/util/logging/Level;
      // 2f6: aload 6
      // 2f8: aload 8
      // 2fa: invokestatic com/l7tech/util/ExceptionUtils.getMessage (Ljava/lang/Throwable;)Ljava/lang/String;
      // 2fd: getstatic com/l7tech/server/globalresources/SchemaResourceManager.l [Ljava/lang/String;
      // 300: astore 15
      // 302: aload 15
      // 304: bipush 19
      // 306: aaload
      // 307: dup_x2
      // 308: pop
      // 309: aload 15
      // 30b: bipush 8
      // 30d: aaload
      // 30e: swap
      // 30f: invokedynamic makeConcatWithConstants (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; bsm=java/lang/invoke/StringConcatFactory.makeConcatWithConstants (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; args=[ "\u0001\u0001\u0001\u0001" ]
      // 314: aload 8
      // 316: invokestatic com/l7tech/util/ExceptionUtils.getDebugException (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 319: invokevirtual java/util/logging/Logger.log (Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
      // 31c: aload 7
      // 31e: invokestatic com/l7tech/util/ResourceUtils.closeQuietly (Ljava/io/Closeable;)V
      // 321: goto 32e
      // 324: astore 14
      // 326: aload 7
      // 328: invokestatic com/l7tech/util/ResourceUtils.closeQuietly (Ljava/io/Closeable;)V
      // 32b: aload 14
      // 32d: athrow
      // 32e: goto 282
      // 331: return
      // try (146 -> 165): 166 com/l7tech/objectmodel/FindException
      // try (144 -> 150): 151 com/l7tech/objectmodel/FindException
      // try (78 -> 93): 93 com/l7tech/objectmodel/FindException
      // try (13 -> 171): 172 com/l7tech/objectmodel/FindException
      // try (184 -> 193): 194 com/l7tech/objectmodel/FindException
      // try (182 -> 187): 188 com/l7tech/objectmodel/FindException
      // try (270 -> 279): 282 org/xml/sax/SAXException
      // try (270 -> 279): 306 java/io/IOException
      // try (270 -> 279): 330 null
      // try (282 -> 303): 330 null
      // try (306 -> 327): 330 null
      // try (330 -> 331): 330 null
   }

   private boolean a(String param1, String param2, Set<String> param3) {
      // $VF: Couldn't be decompiled
      // Please report this to the Vineflower issue tracker, at https://github.com/Vineflower/vineflower/issues with a copy of the class file (if you have the rights to distribute it!)
      // java.lang.RuntimeException: parsing failure!
      //   at org.jetbrains.java.decompiler.modules.decompiler.decompose.DomHelper.parseGraph(DomHelper.java:211)
      //   at org.jetbrains.java.decompiler.main.rels.MethodProcessor.codeToJava(MethodProcessor.java:174)
      //
      // Bytecode:
      // 000: bipush 0
      // 001: istore 4
      // 003: aload 3
      // 004: aload 2
      // 005: invokeinterface java/util/Set.contains (Ljava/lang/Object;)Z 2
      // 00a: ifne 1f2
      // 00d: aload 3
      // 00e: aload 2
      // 00f: invokeinterface java/util/Set.add (Ljava/lang/Object;)Z 2
      // 014: pop
      // 015: aload 0
      // 016: getfield com/l7tech/server/globalresources/SchemaResourceManager.f Ljava/util/Map;
      // 019: aload 1
      // 01a: invokeinterface java/util/Map.get (Ljava/lang/Object;)Ljava/lang/Object; 2
      // 01f: checkcast com/l7tech/server/globalresources/q
      // 022: astore 5
      // 024: aload 0
      // 025: getfield com/l7tech/server/globalresources/SchemaResourceManager.f Ljava/util/Map;
      // 028: aload 2
      // 029: invokeinterface java/util/Map.get (Ljava/lang/Object;)Ljava/lang/Object; 2
      // 02e: checkcast com/l7tech/server/globalresources/q
      // 031: astore 6
      // 033: aload 6
      // 035: ifnull 1f2
      // 038: new java/util/HashSet
      // 03b: dup
      // 03c: invokespecial java/util/HashSet.<init> ()V
      // 03f: astore 7
      // 041: aload 6
      // 043: getfield com/l7tech/server/globalresources/q.e Ljava/util/Collection;
      // 046: invokeinterface java/util/Collection.iterator ()Ljava/util/Iterator; 1
      // 04b: astore 8
      // 04d: aload 8
      // 04f: invokeinterface java/util/Iterator.hasNext ()Z 1
      // 054: ifeq 1ba
      // 057: aload 8
      // 059: invokeinterface java/util/Iterator.next ()Ljava/lang/Object; 1
      // 05e: checkcast com/l7tech/common/io/ResourceReference
      // 061: astore 9
      // 063: aload 9
      // 065: invokevirtual com/l7tech/common/io/ResourceReference.getUri ()Ljava/lang/String;
      // 068: ifnull 084
      // 06b: aload 9
      // 06d: invokevirtual com/l7tech/common/io/ResourceReference.getUri ()Ljava/lang/String;
      // 070: aload 1
      // 071: invokevirtual java/lang/String.equals (Ljava/lang/Object;)Z
      // 074: ifeq 084
      // 077: goto 07e
      // 07a: invokestatic com/l7tech/server/globalresources/SchemaResourceManager.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 07d: athrow
      // 07e: bipush 1
      // 07f: istore 4
      // 081: goto 1ba
      // 084: aload 9
      // 086: invokevirtual com/l7tech/common/io/ResourceReference.getUri ()Ljava/lang/String;
      // 089: ifnull 159
      // 08c: aload 9
      // 08e: invokevirtual com/l7tech/common/io/ResourceReference.getBaseUri ()Ljava/lang/String;
      // 091: ifnull 159
      // 094: goto 09b
      // 097: invokestatic com/l7tech/server/globalresources/SchemaResourceManager.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 09a: athrow
      // 09b: new java/net/URI
      // 09e: dup
      // 09f: aload 9
      // 0a1: invokevirtual com/l7tech/common/io/ResourceReference.getBaseUri ()Ljava/lang/String;
      // 0a4: invokespecial java/net/URI.<init> (Ljava/lang/String;)V
      // 0a7: aload 9
      // 0a9: invokevirtual com/l7tech/common/io/ResourceReference.getUri ()Ljava/lang/String;
      // 0ac: invokevirtual java/net/URI.resolve (Ljava/lang/String;)Ljava/net/URI;
      // 0af: invokevirtual java/net/URI.toString ()Ljava/lang/String;
      // 0b2: astore 10
      // 0b4: aload 7
      // 0b6: aload 10
      // 0b8: invokeinterface java/util/Set.add (Ljava/lang/Object;)Z 2
      // 0bd: pop
      // 0be: aload 10
      // 0c0: aload 1
      // 0c1: invokevirtual java/lang/String.equals (Ljava/lang/Object;)Z
      // 0c4: ifeq 0cd
      // 0c7: bipush 1
      // 0c8: istore 4
      // 0ca: goto 1ba
      // 0cd: goto 159
      // 0d0: astore 10
      // 0d2: getstatic com/l7tech/server/globalresources/SchemaResourceManager.a Ljava/util/logging/Logger;
      // 0d5: getstatic java/util/logging/Level.FINE Ljava/util/logging/Level;
      // 0d8: aload 9
      // 0da: invokevirtual com/l7tech/common/io/ResourceReference.getUri ()Ljava/lang/String;
      // 0dd: aload 9
      // 0df: invokevirtual com/l7tech/common/io/ResourceReference.getBaseUri ()Ljava/lang/String;
      // 0e2: aload 10
      // 0e4: invokestatic com/l7tech/util/ExceptionUtils.getMessage (Ljava/lang/Throwable;)Ljava/lang/String;
      // 0e7: astore 11
      // 0e9: astore 12
      // 0eb: astore 13
      // 0ed: getstatic com/l7tech/server/globalresources/SchemaResourceManager.l [Ljava/lang/String;
      // 0f0: astore 17
      // 0f2: aload 17
      // 0f4: bipush 15
      // 0f6: aaload
      // 0f7: aload 13
      // 0f9: aload 17
      // 0fb: bipush 17
      // 0fd: aaload
      // 0fe: aload 12
      // 100: aload 17
      // 102: bipush 12
      // 104: aaload
      // 105: aload 11
      // 107: invokedynamic makeConcatWithConstants (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; bsm=java/lang/invoke/StringConcatFactory.makeConcatWithConstants (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; args=[ "\u0001\u0001\u0001\u0001\u0001\u0001" ]
      // 10c: aload 10
      // 10e: invokestatic com/l7tech/util/ExceptionUtils.getDebugException (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 111: invokevirtual java/util/logging/Logger.log (Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
      // 114: goto 159
      // 117: astore 10
      // 119: getstatic com/l7tech/server/globalresources/SchemaResourceManager.a Ljava/util/logging/Logger;
      // 11c: getstatic java/util/logging/Level.FINE Ljava/util/logging/Level;
      // 11f: aload 9
      // 121: invokevirtual com/l7tech/common/io/ResourceReference.getUri ()Ljava/lang/String;
      // 124: aload 9
      // 126: invokevirtual com/l7tech/common/io/ResourceReference.getBaseUri ()Ljava/lang/String;
      // 129: aload 10
      // 12b: invokestatic com/l7tech/util/ExceptionUtils.getMessage (Ljava/lang/Throwable;)Ljava/lang/String;
      // 12e: astore 14
      // 130: astore 15
      // 132: astore 16
      // 134: getstatic com/l7tech/server/globalresources/SchemaResourceManager.l [Ljava/lang/String;
      // 137: astore 17
      // 139: aload 17
      // 13b: bipush 0
      // 13c: aaload
      // 13d: aload 16
      // 13f: aload 17
      // 141: bipush 10
      // 143: aaload
      // 144: aload 15
      // 146: aload 17
      // 148: bipush 2
      // 149: aaload
      // 14a: aload 14
      // 14c: invokedynamic makeConcatWithConstants (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; bsm=java/lang/invoke/StringConcatFactory.makeConcatWithConstants (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; args=[ "\u0001\u0001\u0001\u0001\u0001\u0001" ]
      // 151: aload 10
      // 153: invokestatic com/l7tech/util/ExceptionUtils.getDebugException (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 156: invokevirtual java/util/logging/Logger.log (Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
      // 159: aload 5
      // 15b: ifnull 1b7
      // 15e: aload 9
      // 160: invokevirtual com/l7tech/common/io/ResourceReference.hasTargetNamespace ()Z
      // 163: ifeq 1b7
      // 166: goto 16d
      // 169: invokestatic com/l7tech/server/globalresources/SchemaResourceManager.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 16c: athrow
      // 16d: aload 9
      // 16f: invokevirtual com/l7tech/common/io/ResourceReference.getTargetNamespace ()Ljava/lang/String;
      // 172: ifnonnull 18b
      // 175: goto 17c
      // 178: invokestatic com/l7tech/server/globalresources/SchemaResourceManager.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 17b: athrow
      // 17c: aload 5
      // 17e: getfield com/l7tech/server/globalresources/q.d Ljava/lang/String;
      // 181: ifnull 1b1
      // 184: goto 18b
      // 187: invokestatic com/l7tech/server/globalresources/SchemaResourceManager.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 18a: athrow
      // 18b: aload 9
      // 18d: invokevirtual com/l7tech/common/io/ResourceReference.getTargetNamespace ()Ljava/lang/String;
      // 190: ifnull 1b7
      // 193: goto 19a
      // 196: invokestatic com/l7tech/server/globalresources/SchemaResourceManager.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 199: athrow
      // 19a: aload 9
      // 19c: invokevirtual com/l7tech/common/io/ResourceReference.getTargetNamespace ()Ljava/lang/String;
      // 19f: aload 5
      // 1a1: getfield com/l7tech/server/globalresources/q.d Ljava/lang/String;
      // 1a4: invokevirtual java/lang/String.equals (Ljava/lang/Object;)Z
      // 1a7: ifeq 1b7
      // 1aa: goto 1b1
      // 1ad: invokestatic com/l7tech/server/globalresources/SchemaResourceManager.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 1b0: athrow
      // 1b1: bipush 1
      // 1b2: istore 4
      // 1b4: goto 1ba
      // 1b7: goto 04d
      // 1ba: iload 4
      // 1bc: ifne 1f2
      // 1bf: aload 7
      // 1c1: invokeinterface java/util/Set.iterator ()Ljava/util/Iterator; 1
      // 1c6: astore 8
      // 1c8: aload 8
      // 1ca: invokeinterface java/util/Iterator.hasNext ()Z 1
      // 1cf: ifeq 1f2
      // 1d2: aload 8
      // 1d4: invokeinterface java/util/Iterator.next ()Ljava/lang/Object; 1
      // 1d9: checkcast java/lang/String
      // 1dc: astore 9
      // 1de: aload 0
      // 1df: aload 1
      // 1e0: aload 9
      // 1e2: aload 3
      // 1e3: invokevirtual com/l7tech/server/globalresources/SchemaResourceManager.a (Ljava/lang/String;Ljava/lang/String;Ljava/util/Set;)Z
      // 1e6: ifeq 1ef
      // 1e9: bipush 1
      // 1ea: istore 4
      // 1ec: goto 1f2
      // 1ef: goto 1c8
      // 1f2: iload 4
      // 1f4: ireturn
      // try (53 -> 59): 60 java/net/URISyntaxException
      // try (39 -> 47): 48 java/net/URISyntaxException
      // try (62 -> 82): 84 java/net/URISyntaxException
      // try (62 -> 82): 115 java/lang/IllegalArgumentException
      // try (145 -> 150): 151 java/net/URISyntaxException
      // try (147 -> 156): 157 java/net/URISyntaxException
      // try (153 -> 162): 163 java/net/URISyntaxException
      // try (159 -> 168): 169 java/net/URISyntaxException
      // try (165 -> 177): 178 java/net/URISyntaxException
   }

   private static r a(String var0) {
      return new r(var0);
   }

   static {
      String[] var5 = new String[24];
      int var3 = 0;
      String var2 = "\t\u0017\u0005<\u0006X\u001a)\u0016\u0018?\u0002\u0011\u0006+E\u00136\u0004\u001d\u0006(\u0000\u00190\rX=\u001e,Wt#kE_$\u001c\u001d\u0006l\u0017\u00124\u001d\u000b\u001c)\u0017\u001e=\u0013X\u000e#\u0017W;\u0015\n\f;\u0004\u00056]BH\u0003k_W#kIW&\u001a\u0019\n \u0000W'\u001bX\u001a)\u0002\u001e \u0000\u001d\u001al\u0003\u0018!T\u0010\t>\u0001\u00002\u0006\u001dF\u0014\u0005\u000b\u00012\u0018\u0011\fl=:\u001fT+\u000b$\u0000\u001a2T_+eE/\u001e8X;/\r\u0012>\u0015\u000bH*\n\u0002=\u0010X\u001f%\u0011\u001fs\u0000\u0019\u001a+\u0000\u0003s\u001a\u0019\u0005)\u0016\u00072\u0017\u001dHk\u0016\t\u0017\u0005<\u0006X\u0004#\u0004\u0013:\u001a\u001fH?\u0006\u001f6\u0019\u0019Hk'\t\u0017\u0005<\u0006X\u001a)\u0002\u001e \u0000\u001d\u001a%\u000b\u0010s\u0007\u001b\u0000)\b\u0016 T\u001e\u0007>E\u001f2\u0006\u001c\u001f-\u0017\u0012}#kE_$\u001c\u001d\u0006l\u0017\u00124\u001d\u000b\u001c)\u0017\u001e=\u0013X\u000e#\u0017W;\u0015\n\f;\u0004\u00056]BH\u0016\t\u0017\u0005<\u0006X\u0004#\u0004\u0013:\u001a\u001fH?\u0006\u001f6\u0019\u0019Hk\u000bkE\u00164\u0015\u0011\u0006?\u0011Wt\u001ekE\u0003<T\r\u0018(\u0004\u00036T\u001c\r<\u0000\u00197\u0011\u0016\u000b5E\u00142\u0017\u0010\rvE\u0003k_W#kIW&\u001a\u0019\n \u0000W'\u001bX\u001a)\u0002\u001e \u0000\u001d\u001al\u0003\u0018!T\u0010\t>\u0001\u00002\u0006\u001dF1\t\u0017\u0005<\u0006X\u0004#\u0004\u0013:\u001a\u001fH?\u0006\u001f6\u0019\u0019\u001bl\u0011\u0018s\u0001\b\f-\u0011\u0012s\u0010\u001d\u0018)\u000b\u00136\u001a\u001b\u0011l\u0006\u00160\u001c\u001dF \t\u0017\u0005<\u0006X\u001a)\u0016\u0018?\u0002\u0011\u0006+E\u00136\u0004\u001d\u0006(\u0000\u00190\rX=\u001e,Wt\u001f?\u0006\u001f6\u0019\u0019F$\u0004\u00057\u0003\u0019\u001a)1\u0016!\u0013\u001d\u001c\u0002\u0004\u001a6\u0007\b\t/\u0000\u0004\u000bkE\u00164\u0015\u0011\u0006?\u0011Wt\ndZ\u001az(\u000b\u0013}I\n\u0014\u0005\u000b\u00012\u0018\u0011\fl=:\u001fT+\u000b$\u0000\u001a2T_)d7\u0012z\u0006\u001d\u000f%\u0016\u00036\u0006\u0011\u0006+E/\u001e8X;/\r\u0012>\u0015\u000bH*\n\u0005s\u001c\u0019\u001a(\u0012\u0016!\u0011V\u001ekE\u0003<T\r\u0018(\u0004\u00036T\u001c\r<\u0000\u00197\u0011\u0016\u000b5E\u00142\u0017\u0010\rvE";
      int var4 = "\t\u0017\u0005<\u0006X\u001a)\u0016\u0018?\u0002\u0011\u0006+E\u00136\u0004\u001d\u0006(\u0000\u00190\rX=\u001e,Wt#kE_$\u001c\u001d\u0006l\u0017\u00124\u001d\u000b\u001c)\u0017\u001e=\u0013X\u000e#\u0017W;\u0015\n\f;\u0004\u00056]BH\u0003k_W#kIW&\u001a\u0019\n \u0000W'\u001bX\u001a)\u0002\u001e \u0000\u001d\u001al\u0003\u0018!T\u0010\t>\u0001\u00002\u0006\u001dF\u0014\u0005\u000b\u00012\u0018\u0011\fl=:\u001fT+\u000b$\u0000\u001a2T_+eE/\u001e8X;/\r\u0012>\u0015\u000bH*\n\u0002=\u0010X\u001f%\u0011\u001fs\u0000\u0019\u001a+\u0000\u0003s\u001a\u0019\u0005)\u0016\u00072\u0017\u001dHk\u0016\t\u0017\u0005<\u0006X\u0004#\u0004\u0013:\u001a\u001fH?\u0006\u001f6\u0019\u0019Hk'\t\u0017\u0005<\u0006X\u001a)\u0002\u001e \u0000\u001d\u001a%\u000b\u0010s\u0007\u001b\u0000)\b\u0016 T\u001e\u0007>E\u001f2\u0006\u001c\u001f-\u0017\u0012}#kE_$\u001c\u001d\u0006l\u0017\u00124\u001d\u000b\u001c)\u0017\u001e=\u0013X\u000e#\u0017W;\u0015\n\f;\u0004\u00056]BH\u0016\t\u0017\u0005<\u0006X\u0004#\u0004\u0013:\u001a\u001fH?\u0006\u001f6\u0019\u0019Hk\u000bkE\u00164\u0015\u0011\u0006?\u0011Wt\u001ekE\u0003<T\r\u0018(\u0004\u00036T\u001c\r<\u0000\u00197\u0011\u0016\u000b5E\u00142\u0017\u0010\rvE\u0003k_W#kIW&\u001a\u0019\n \u0000W'\u001bX\u001a)\u0002\u001e \u0000\u001d\u001al\u0003\u0018!T\u0010\t>\u0001\u00002\u0006\u001dF1\t\u0017\u0005<\u0006X\u0004#\u0004\u0013:\u001a\u001fH?\u0006\u001f6\u0019\u0019\u001bl\u0011\u0018s\u0001\b\f-\u0011\u0012s\u0010\u001d\u0018)\u000b\u00136\u001a\u001b\u0011l\u0006\u00160\u001c\u001dF \t\u0017\u0005<\u0006X\u001a)\u0016\u0018?\u0002\u0011\u0006+E\u00136\u0004\u001d\u0006(\u0000\u00190\rX=\u001e,Wt\u001f?\u0006\u001f6\u0019\u0019F$\u0004\u00057\u0003\u0019\u001a)1\u0016!\u0013\u001d\u001c\u0002\u0004\u001a6\u0007\b\t/\u0000\u0004\u000bkE\u00164\u0015\u0011\u0006?\u0011Wt\ndZ\u001az(\u000b\u0013}I\n\u0014\u0005\u000b\u00012\u0018\u0011\fl=:\u001fT+\u000b$\u0000\u001a2T_)d7\u0012z\u0006\u001d\u000f%\u0016\u00036\u0006\u0011\u0006+E/\u001e8X;/\r\u0012>\u0015\u000bH*\n\u0005s\u001c\u0019\u001a(\u0012\u0016!\u0011V\u001ekE\u0003<T\r\u0018(\u0004\u00036T\u001c\r<\u0000\u00197\u0011\u0016\u000b5E\u00142\u0017\u0010\rvE"
         .length();
      char var1 = ' ';
      int var7 = -1;

      label24:
      while (true) {
         byte var10000 = 63;
         String var10001 = var2.substring(++var7, var7 + var1);
         byte var10002 = -1;

         while (true) {
            String var8 = a(var10000, b(var10001));
            switch (var10002) {
               case 0:
                  var5[var3++] = var8;
                  if ((var7 += var1) >= var4) {
                     l = var5;
                     a = Logger.getLogger(SchemaResourceManager.class.getName());
                     return;
                  }

                  var1 = var2.charAt(var7);
                  break;
               default:
                  var5[var3++] = var8;
                  if ((var7 += var1) < var4) {
                     var1 = var2.charAt(var7);
                     continue label24;
                  }

                  var2 = "5$/\u0013)<0\u001dqk, \u001c\u000fG\u0013/4\u001d<\"G.#(X7,\u0012.(|\u000f87\u000f`8=\n6&\u0013`\"=\u001540\u0017!/9Xv";
                  var4 = "5$/\u0013)<0\u001dqk, \u001c\u000fG\u0013/4\u001d<\"G.#(X7,\u0012.(|\u000f87\u000f`8=\n6&\u0013`\"=\u001540\u0017!/9Xv".length();
                  var1 = '\n';
                  var7 = -1;
            }

            var10000 = 11;
            var10001 = var2.substring(++var7, var7 + var1);
            var10002 = 0;
         }
      }
   }

   private static Exception a(Exception var0) {
      return var0;
   }

   private static char[] b(String var0) {
      char[] var10000 = var0.toCharArray();
      if (var10000.length < 2) {
         var10000[0] = (char)(var10000[0] ^ 87);
      }

      return var10000;
   }

   private static String a(int var0, char[] var1) {
      int var10003 = var1.length;
      int var10002 = var0;
      char[] var10001 = var1;
      int var10000 = var10003;

      for (int var2 = 0; var10000 > var2; var2++) {
         var10001[var2] = (char)(var10001[var2] ^ var10002 ^ switch (var2 % 7) {
            case 0 -> 115;
            case 1 -> 90;
            case 2 -> 72;
            case 3 -> 108;
            case 4 -> 75;
            case 5 -> 71;
            default -> 87;
         });
      }

      return new String(var10001).intern();
   }

   private static final class SchemaResource extends Triple<String, String, String> {
      static final long serialVersionUID = 7523781160212339989L;

      private SchemaResource(String var1, String var2, String var3) {
         super(var1, var2, var3);
      }

      public String getUri() {
         return (String)this.left;
      }

      public String getTargetNamespaceForRegistration() {
         return this.middle == null ? "" : (String)this.middle;
      }

      public String getContent() {
         return (String)this.right;
      }
   }
}
