public class org.graalvm.compiler.core.common.util.FrequencyEncoder<T>
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.graalvm.compiler.core.common.util.FrequencyEncoder
  super_class: java.lang.Object
{
  protected final java.util.Map<T, org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry<T>> map;
    descriptor: Ljava/util/Map;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL
    Signature: Ljava/util/Map<TT;Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry<TT;>;>;

  protected boolean containsNull;
    descriptor: Z
    flags: (0x0004) ACC_PROTECTED

  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=1, locals=0, args_size=0
         0: .line 39
            ldc Lorg/graalvm/compiler/core/common/util/FrequencyEncoder;
            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 org.graalvm.compiler.core.common.util.FrequencyEncoder.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static <T> org.graalvm.compiler.core.common.util.FrequencyEncoder<T> createIdentityEncoder();
    descriptor: ()Lorg/graalvm/compiler/core/common/util/FrequencyEncoder;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=0, args_size=0
         0: .line 59
            new org.graalvm.compiler.core.common.util.FrequencyEncoder
            dup
            new java.util.IdentityHashMap
            dup
            invokespecial java.util.IdentityHashMap.<init>:()V
            invokespecial org.graalvm.compiler.core.common.util.FrequencyEncoder.<init>:(Ljava/util/Map;)V
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Signature: <T:Ljava/lang/Object;>()Lorg/graalvm/compiler/core/common/util/FrequencyEncoder<TT;>;

  public static <T> org.graalvm.compiler.core.common.util.FrequencyEncoder<T> createEqualityEncoder();
    descriptor: ()Lorg/graalvm/compiler/core/common/util/FrequencyEncoder;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=0, args_size=0
         0: .line 66
            new org.graalvm.compiler.core.common.util.FrequencyEncoder
            dup
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            invokespecial org.graalvm.compiler.core.common.util.FrequencyEncoder.<init>:(Ljava/util/Map;)V
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Signature: <T:Ljava/lang/Object;>()Lorg/graalvm/compiler/core/common/util/FrequencyEncoder<TT;>;

  protected void <init>(java.util.Map<T, org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry<T>>);
    descriptor: (Ljava/util/Map;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.core.common.util.FrequencyEncoder this
        start local 1 // java.util.Map map
         0: .line 69
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 70
            aload 0 /* this */
            aload 1 /* map */
            putfield org.graalvm.compiler.core.common.util.FrequencyEncoder.map:Ljava/util/Map;
         2: .line 71
            return
        end local 1 // java.util.Map map
        end local 0 // org.graalvm.compiler.core.common.util.FrequencyEncoder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/graalvm/compiler/core/common/util/FrequencyEncoder<TT;>;
            0    3     1   map  Ljava/util/Map<TT;Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry<TT;>;>;
    Signature: (Ljava/util/Map<TT;Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry<TT;>;>;)V
    MethodParameters:
      Name  Flags
      map   

  public void addObject();
    descriptor: (Ljava/lang/Object;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.graalvm.compiler.core.common.util.FrequencyEncoder this
        start local 1 // java.lang.Object object
         0: .line 77
            aload 1 /* object */
            ifnonnull 3
         1: .line 78
            aload 0 /* this */
            iconst_1
            putfield org.graalvm.compiler.core.common.util.FrequencyEncoder.containsNull:Z
         2: .line 79
            return
         3: .line 82
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder.map:Ljava/util/Map;
            aload 1 /* object */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry
            astore 2 /* entry */
        start local 2 // org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry entry
         4: .line 83
            aload 2 /* entry */
            ifnonnull 7
         5: .line 84
            new org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry
            dup
            aload 1 /* object */
            invokespecial org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry.<init>:(Ljava/lang/Object;)V
            astore 2 /* entry */
         6: .line 85
            aload 0 /* this */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder.map:Ljava/util/Map;
            aload 1 /* object */
            aload 2 /* entry */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         7: .line 87
      StackMap locals: org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry
      StackMap stack:
            aload 2 /* entry */
            dup
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry.frequency:I
            iconst_1
            iadd
            putfield org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry.frequency:I
         8: .line 88
            return
        end local 2 // org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry entry
        end local 1 // java.lang.Object object
        end local 0 // org.graalvm.compiler.core.common.util.FrequencyEncoder this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    9     0    this  Lorg/graalvm/compiler/core/common/util/FrequencyEncoder<TT;>;
            0    9     1  object  TT;
            4    9     2   entry  Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry<TT;>;
    Signature: (TT;)V
    MethodParameters:
        Name  Flags
      object  

  public int getIndex(java.lang.Object);
    descriptor: (Ljava/lang/Object;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // org.graalvm.compiler.core.common.util.FrequencyEncoder this
        start local 1 // java.lang.Object object
         0: .line 95
            aload 1 /* object */
            ifnonnull 3
         1: .line 96
            getstatic org.graalvm.compiler.core.common.util.FrequencyEncoder.$assertionsDisabled:Z
            ifne 2
            aload 0 /* this */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder.containsNull:Z
            ifne 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 97
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
         3: .line 99
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder.map:Ljava/util/Map;
            aload 1 /* object */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry
            astore 2 /* entry */
        start local 2 // org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry entry
         4: .line 100
            getstatic org.graalvm.compiler.core.common.util.FrequencyEncoder.$assertionsDisabled:Z
            ifne 6
            aload 2 /* entry */
            ifnull 5
            aload 2 /* entry */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry.index:I
            ifge 6
      StackMap locals: org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry
      StackMap stack:
         5: new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         6: .line 101
      StackMap locals:
      StackMap stack:
            aload 2 /* entry */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry.index:I
            ireturn
        end local 2 // org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry entry
        end local 1 // java.lang.Object object
        end local 0 // org.graalvm.compiler.core.common.util.FrequencyEncoder this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0    this  Lorg/graalvm/compiler/core/common/util/FrequencyEncoder<TT;>;
            0    7     1  object  Ljava/lang/Object;
            4    7     2   entry  Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry<TT;>;
    MethodParameters:
        Name  Flags
      object  

  public int getLength();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.common.util.FrequencyEncoder this
         0: .line 108
            aload 0 /* this */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder.map:Ljava/util/Map;
            invokeinterface java.util.Map.size:()I
            aload 0 /* this */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder.containsNull:Z
            ifeq 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack: int
         1: iconst_0
      StackMap locals: org.graalvm.compiler.core.common.util.FrequencyEncoder
      StackMap stack: int int
         2: iadd
            ireturn
        end local 0 // org.graalvm.compiler.core.common.util.FrequencyEncoder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/graalvm/compiler/core/common/util/FrequencyEncoder<TT;>;

  public T[] encodeAll();
    descriptor: ([Ljava/lang/Object;)[Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=7, args_size=2
        start local 0 // org.graalvm.compiler.core.common.util.FrequencyEncoder this
        start local 1 // java.lang.Object[] allObjects
         0: .line 116
            getstatic org.graalvm.compiler.core.common.util.FrequencyEncoder.$assertionsDisabled:Z
            ifne 1
            aload 1 /* allObjects */
            arraylength
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.core.common.util.FrequencyEncoder.getLength:()I
            if_icmpeq 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 117
      StackMap locals:
      StackMap stack:
            new java.util.ArrayList
            dup
            aload 0 /* this */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder.map:Ljava/util/Map;
            invokeinterface java.util.Map.values:()Ljava/util/Collection;
            invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
            astore 2 /* sortedEntries */
        start local 2 // java.util.List sortedEntries
         2: .line 118
            aload 2 /* sortedEntries */
            invokedynamic compare()Ljava/util/Comparator;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;Ljava/lang/Object;)I
                  org/graalvm/compiler/core/common/util/FrequencyEncoder.lambda$0(Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry;Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry;)I (6)
                  (Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry;Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry;)I
            invokeinterface java.util.List.sort:(Ljava/util/Comparator;)V
         3: .line 120
            iconst_0
            istore 3 /* offset */
        start local 3 // int offset
         4: .line 121
            aload 0 /* this */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder.containsNull:Z
            ifeq 7
         5: .line 122
            aload 1 /* allObjects */
            iconst_0
            aconst_null
            aastore
         6: .line 123
            iconst_1
            istore 3 /* offset */
         7: .line 125
      StackMap locals: java.util.List int
      StackMap stack:
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         8: goto 15
         9: .line 126
      StackMap locals: int
      StackMap stack:
            aload 2 /* sortedEntries */
            iload 4 /* i */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry
            astore 5 /* entry */
        start local 5 // org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry entry
        10: .line 127
            iload 4 /* i */
            iload 3 /* offset */
            iadd
            istore 6 /* index */
        start local 6 // int index
        11: .line 128
            aload 5 /* entry */
            iload 6 /* index */
            putfield org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry.index:I
        12: .line 129
            aload 1 /* allObjects */
            iload 6 /* index */
            aload 5 /* entry */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry.object:Ljava/lang/Object;
            aastore
        13: .line 130
            getstatic org.graalvm.compiler.core.common.util.FrequencyEncoder.$assertionsDisabled:Z
            ifne 14
            aload 5 /* entry */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry.object:Ljava/lang/Object;
            ifnonnull 14
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        end local 6 // int index
        end local 5 // org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry entry
        14: .line 125
      StackMap locals:
      StackMap stack:
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        15: iload 4 /* i */
            aload 2 /* sortedEntries */
            invokeinterface java.util.List.size:()I
            if_icmplt 9
        end local 4 // int i
        16: .line 132
            aload 1 /* allObjects */
            areturn
        end local 3 // int offset
        end local 2 // java.util.List sortedEntries
        end local 1 // java.lang.Object[] allObjects
        end local 0 // org.graalvm.compiler.core.common.util.FrequencyEncoder this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   17     0           this  Lorg/graalvm/compiler/core/common/util/FrequencyEncoder<TT;>;
            0   17     1     allObjects  [Ljava/lang/Object;
            2   17     2  sortedEntries  Ljava/util/List<Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry<TT;>;>;
            4   17     3         offset  I
            8   16     4              i  I
           10   14     5          entry  Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry<TT;>;
           11   14     6          index  I
    Signature: ([TT;)[TT;
    MethodParameters:
            Name  Flags
      allObjects  

  private static int lambda$0(org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry, org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry);
    descriptor: (Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry;Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry;)I
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry e1
        start local 1 // org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry e2
         0: .line 118
            aload 0 /* e1 */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry.frequency:I
            aload 1 /* e2 */
            getfield org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry.frequency:I
            invokestatic java.lang.Integer.compare:(II)I
            ineg
            ireturn
        end local 1 // org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry e2
        end local 0 // org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry e1
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0    e1  Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry<TT;>;
            0    1     1    e2  Lorg/graalvm/compiler/core/common/util/FrequencyEncoder$Entry<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "FrequencyEncoder.java"
NestMembers:
  org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  Entry = org.graalvm.compiler.core.common.util.FrequencyEncoder$Entry of org.graalvm.compiler.core.common.util.FrequencyEncoder