public class com.sun.tools.jdeps.VersionHelper
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.sun.tools.jdeps.VersionHelper
  super_class: java.lang.Object
{
  private static final java.lang.String META_INF_VERSIONS;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "META-INF/versions/"

  private static final java.util.Map<java.lang.String, java.lang.String> nameToVersion;
    descriptor: Ljava/util/Map;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 37
            ldc Lcom/sun/tools/jdeps/VersionHelper;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic com.sun.tools.jdeps.VersionHelper.$assertionsDisabled:Z
         3: .line 39
            new java.util.concurrent.ConcurrentHashMap
            dup
            invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
            putstatic com.sun.tools.jdeps.VersionHelper.nameToVersion:Ljava/util/Map;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

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

  public static java.lang.String get(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // java.lang.String classname
         0: .line 42
            getstatic com.sun.tools.jdeps.VersionHelper.nameToVersion:Ljava/util/Map;
            aload 0 /* classname */
            invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
            ifeq 2
         1: .line 43
            new java.lang.StringBuilder
            dup
            getstatic com.sun.tools.jdeps.VersionHelper.nameToVersion:Ljava/util/Map;
            aload 0 /* classname */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.String
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "/"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* classname */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
         2: .line 45
      StackMap locals:
      StackMap stack:
            aload 0 /* classname */
            areturn
        end local 0 // java.lang.String classname
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    3     0  classname  Ljava/lang/String;
    MethodParameters:
           Name  Flags
      classname  

  public static void add(java.util.jar.JarFile, java.util.jar.JarEntry, com.sun.tools.classfile.ClassFile);
    descriptor: (Ljava/util/jar/JarFile;Ljava/util/jar/JarEntry;Lcom/sun/tools/classfile/ClassFile;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=8, locals=8, args_size=3
        start local 0 // java.util.jar.JarFile jarfile
        start local 1 // java.util.jar.JarEntry e
        start local 2 // com.sun.tools.classfile.ClassFile cf
         0: .line 51
            invokestatic jdk.internal.misc.SharedSecrets.javaUtilJarAccess:()Ljdk/internal/misc/JavaUtilJarAccess;
            aload 0 /* jarfile */
            aload 1 /* e */
            invokeinterface jdk.internal.misc.JavaUtilJarAccess.getRealName:(Ljava/util/jar/JarFile;Ljava/util/jar/JarEntry;)Ljava/lang/String;
            astore 3 /* realName */
        start local 3 // java.lang.String realName
         1: .line 52
            aload 3 /* realName */
            ldc "META-INF/versions/"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 19
         2: .line 53
            ldc "META-INF/versions/"
            invokevirtual java.lang.String.length:()I
            istore 4 /* len */
        start local 4 // int len
         3: .line 54
            aload 3 /* realName */
            bipush 47
            iload 4 /* len */
            invokevirtual java.lang.String.indexOf:(II)I
            istore 5 /* n */
        start local 5 // int n
         4: .line 55
            iload 5 /* n */
            ifle 16
         5: .line 56
            aload 3 /* realName */
            iload 4 /* len */
            iload 5 /* n */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            astore 6 /* version */
        start local 6 // java.lang.String version
         6: .line 57
            getstatic com.sun.tools.jdeps.VersionHelper.$assertionsDisabled:Z
            ifne 7
            aload 6 /* version */
            invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
            bipush 8
            if_icmpgt 7
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         7: .line 58
      StackMap locals: java.util.jar.JarFile java.util.jar.JarEntry com.sun.tools.classfile.ClassFile java.lang.String int int java.lang.String
      StackMap stack:
            aload 2 /* cf */
            invokevirtual com.sun.tools.classfile.ClassFile.getName:()Ljava/lang/String;
            bipush 47
            bipush 46
            invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
            astore 7 /* name */
        start local 7 // java.lang.String name
         8: .line 59
            getstatic com.sun.tools.jdeps.VersionHelper.nameToVersion:Ljava/util/Map;
            aload 7 /* name */
            invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
            ifeq 14
         9: .line 60
            aload 6 /* version */
            getstatic com.sun.tools.jdeps.VersionHelper.nameToVersion:Ljava/util/Map;
            aload 7 /* name */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 19
        10: .line 61
            new com.sun.tools.jdeps.MultiReleaseException
            dup
        11: .line 62
            ldc "err.multirelease.version.associated"
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
        12: .line 63
            aload 7 /* name */
            aastore
            dup
            iconst_1
            getstatic com.sun.tools.jdeps.VersionHelper.nameToVersion:Ljava/util/Map;
            aload 7 /* name */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            aastore
            dup
            iconst_2
            aload 6 /* version */
        13: .line 61
            aastore
            invokespecial com.sun.tools.jdeps.MultiReleaseException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
            athrow
        14: .line 67
      StackMap locals: java.lang.String
      StackMap stack:
            getstatic com.sun.tools.jdeps.VersionHelper.nameToVersion:Ljava/util/Map;
            aload 7 /* name */
            aload 6 /* version */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        end local 7 // java.lang.String name
        end local 6 // java.lang.String version
        15: .line 69
            goto 19
        16: .line 70
      StackMap locals:
      StackMap stack:
            new com.sun.tools.jdeps.MultiReleaseException
            dup
            ldc "err.multirelease.jar.malformed"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
        17: .line 71
            aload 0 /* jarfile */
            invokevirtual java.util.jar.JarFile.getName:()Ljava/lang/String;
            aastore
            dup
            iconst_1
            aload 3 /* realName */
        18: .line 70
            aastore
            invokespecial com.sun.tools.jdeps.MultiReleaseException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
            athrow
        end local 5 // int n
        end local 4 // int len
        19: .line 74
      StackMap locals:
      StackMap stack:
            return
        end local 3 // java.lang.String realName
        end local 2 // com.sun.tools.classfile.ClassFile cf
        end local 1 // java.util.jar.JarEntry e
        end local 0 // java.util.jar.JarFile jarfile
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   20     0   jarfile  Ljava/util/jar/JarFile;
            0   20     1         e  Ljava/util/jar/JarEntry;
            0   20     2        cf  Lcom/sun/tools/classfile/ClassFile;
            1   20     3  realName  Ljava/lang/String;
            3   19     4       len  I
            4   19     5         n  I
            6   15     6   version  Ljava/lang/String;
            8   15     7      name  Ljava/lang/String;
    Exceptions:
      throws com.sun.tools.classfile.ConstantPoolException
    MethodParameters:
         Name  Flags
      jarfile  
      e        
      cf       
}
SourceFile: "VersionHelper.java"