class org.bson.util.ClassAncestry
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.bson.util.ClassAncestry
  super_class: java.lang.Object
{
  private static final java.util.concurrent.ConcurrentMap<java.lang.Class<?>, java.util.List<java.lang.Class<?>>> _ancestryCache;
    descriptor: Ljava/util/concurrent/ConcurrentMap;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/Class<*>;Ljava/util/List<Ljava/lang/Class<*>;>;>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 84
            invokestatic org.bson.util.CopyOnWriteMap.newHashMap:()Lorg/bson/util/CopyOnWriteMap;
            putstatic org.bson.util.ClassAncestry._ancestryCache:Ljava/util/concurrent/ConcurrentMap;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.bson.util.ClassAncestry this
         0: .line 27
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.bson.util.ClassAncestry this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/bson/util/ClassAncestry;

  public static <T> java.util.List<java.lang.Class<?>> getAncestry(java.lang.Class<T>);
    descriptor: (Ljava/lang/Class;)Ljava/util/List;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // java.lang.Class c
         0: .line 37
            invokestatic org.bson.util.ClassAncestry.getClassAncestryCache:()Ljava/util/concurrent/ConcurrentMap;
            astore 1 /* cache */
        start local 1 // java.util.concurrent.ConcurrentMap cache
         1: .line 39
      StackMap locals: java.util.concurrent.ConcurrentMap
      StackMap stack:
            aload 1 /* cache */
            aload 0 /* c */
            invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.List
            astore 2 /* cachedResult */
        start local 2 // java.util.List cachedResult
         2: .line 40
            aload 2 /* cachedResult */
            ifnull 4
         3: .line 41
            aload 2 /* cachedResult */
            areturn
         4: .line 43
      StackMap locals: java.util.List
      StackMap stack:
            aload 1 /* cache */
            aload 0 /* c */
            aload 0 /* c */
            invokestatic org.bson.util.ClassAncestry.computeAncestry:(Ljava/lang/Class;)Ljava/util/List;
            invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        end local 2 // java.util.List cachedResult
         5: .line 38
            goto 1
        end local 1 // java.util.concurrent.ConcurrentMap cache
        end local 0 // java.lang.Class c
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    6     0             c  Ljava/lang/Class<TT;>;
            1    6     1         cache  Ljava/util/concurrent/ConcurrentMap<Ljava/lang/Class<*>;Ljava/util/List<Ljava/lang/Class<*>;>;>;
            2    5     2  cachedResult  Ljava/util/List<Ljava/lang/Class<*>;>;
    Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)Ljava/util/List<Ljava/lang/Class<*>;>;
    MethodParameters:
      Name  Flags
      c     final

  private static java.util.List<java.lang.Class<?>> computeAncestry(java.lang.Class<?>);
    descriptor: (Ljava/lang/Class;)Ljava/util/List;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // java.lang.Class c
         0: .line 51
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 1 /* result */
        start local 1 // java.util.List result
         1: .line 52
            aload 1 /* result */
            ldc Ljava/lang/Object;
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         2: .line 53
            aload 0 /* c */
            aload 1 /* result */
            invokestatic org.bson.util.ClassAncestry.computeAncestry:(Ljava/lang/Class;Ljava/util/List;)V
         3: .line 54
            aload 1 /* result */
            invokestatic java.util.Collections.reverse:(Ljava/util/List;)V
         4: .line 55
            new java.util.ArrayList
            dup
            aload 1 /* result */
            invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
            invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
            areturn
        end local 1 // java.util.List result
        end local 0 // java.lang.Class c
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0       c  Ljava/lang/Class<*>;
            1    5     1  result  Ljava/util/List<Ljava/lang/Class<*>;>;
    Signature: (Ljava/lang/Class<*>;)Ljava/util/List<Ljava/lang/Class<*>;>;
    MethodParameters:
      Name  Flags
      c     final

  private static <T> void computeAncestry(java.lang.Class<T>, java.util.List<java.lang.Class<?>>);
    descriptor: (Ljava/lang/Class;Ljava/util/List;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // java.lang.Class c
        start local 1 // java.util.List result
         0: .line 59
            aload 0 /* c */
            ifnull 1
            aload 0 /* c */
            ldc Ljava/lang/Object;
            if_acmpne 2
         1: .line 60
      StackMap locals:
      StackMap stack:
            return
         2: .line 64
      StackMap locals:
      StackMap stack:
            aload 0 /* c */
            invokevirtual java.lang.Class.getInterfaces:()[Ljava/lang/Class;
            astore 2 /* interfaces */
        start local 2 // java.lang.Class[] interfaces
         3: .line 65
            aload 2 /* interfaces */
            arraylength
            iconst_1
            isub
            istore 3 /* i */
        start local 3 // int i
         4: goto 7
         5: .line 66
      StackMap locals: java.lang.Class[] int
      StackMap stack:
            aload 2 /* interfaces */
            iload 3 /* i */
            aaload
            aload 1 /* result */
            invokestatic org.bson.util.ClassAncestry.computeAncestry:(Ljava/lang/Class;Ljava/util/List;)V
         6: .line 65
            iinc 3 /* i */ -1
      StackMap locals:
      StackMap stack:
         7: iload 3 /* i */
            ifge 5
        end local 3 // int i
         8: .line 70
            aload 0 /* c */
            invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
            aload 1 /* result */
            invokestatic org.bson.util.ClassAncestry.computeAncestry:(Ljava/lang/Class;Ljava/util/List;)V
         9: .line 72
            aload 1 /* result */
            aload 0 /* c */
            invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
            ifne 11
        10: .line 73
            aload 1 /* result */
            aload 0 /* c */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        11: .line 75
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.lang.Class[] interfaces
        end local 1 // java.util.List result
        end local 0 // java.lang.Class c
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   12     0           c  Ljava/lang/Class<TT;>;
            0   12     1      result  Ljava/util/List<Ljava/lang/Class<*>;>;
            3   12     2  interfaces  [Ljava/lang/Class;
            4    8     3           i  I
    Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljava/util/List<Ljava/lang/Class<*>;>;)V
    MethodParameters:
        Name  Flags
      c       final
      result  final

  private static java.util.concurrent.ConcurrentMap<java.lang.Class<?>, java.util.List<java.lang.Class<?>>> getClassAncestryCache();
    descriptor: ()Ljava/util/concurrent/ConcurrentMap;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 81
            getstatic org.bson.util.ClassAncestry._ancestryCache:Ljava/util/concurrent/ConcurrentMap;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Signature: ()Ljava/util/concurrent/ConcurrentMap<Ljava/lang/Class<*>;Ljava/util/List<Ljava/lang/Class<*>;>;>;
}
SourceFile: "ClassAncestry.java"