public class jdk.tools.jaotc.test.collect.ClassSearchTest
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.tools.jaotc.test.collect.ClassSearchTest
  super_class: java.lang.Object
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.tools.jaotc.test.collect.ClassSearchTest this
         0: .line 53
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // jdk.tools.jaotc.test.collect.ClassSearchTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/tools/jaotc/test/collect/ClassSearchTest;

  public void itShouldThrowExceptionIfNoProvidersAvailable();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.tools.jaotc.test.collect.ClassSearchTest this
         0: .line 54
            new java.lang.Error
            dup
            ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // jdk.tools.jaotc.test.collect.ClassSearchTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/tools/jaotc/test/collect/ClassSearchTest;
    RuntimeInvisibleAnnotations: 
      Test()

  public void itShouldFindAProviderForEachEntry();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.tools.jaotc.test.collect.ClassSearchTest this
         0: .line 61
            new java.lang.Error
            dup
            ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // jdk.tools.jaotc.test.collect.ClassSearchTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/tools/jaotc/test/collect/ClassSearchTest;
    RuntimeInvisibleAnnotations: 
      Test()

  private static jdk.tools.jaotc.collect.SourceProvider provider(java.lang.String, java.util.function.BiFunction<java.lang.String, jdk.tools.jaotc.collect.SearchPath, jdk.tools.jaotc.collect.ClassSource>);
    descriptor: (Ljava/lang/String;Ljava/util/function/BiFunction;)Ljdk/tools/jaotc/collect/SourceProvider;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // java.lang.String supports
        start local 1 // java.util.function.BiFunction fn
         0: .line 74
            new jdk.tools.jaotc.test.collect.ClassSearchTest$1
            dup
            aload 1 /* fn */
            aload 0 /* supports */
            invokespecial jdk.tools.jaotc.test.collect.ClassSearchTest$1.<init>:(Ljava/util/function/BiFunction;Ljava/lang/String;)V
            areturn
        end local 1 // java.util.function.BiFunction fn
        end local 0 // java.lang.String supports
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0  supports  Ljava/lang/String;
            0    1     1        fn  Ljava/util/function/BiFunction<Ljava/lang/String;Ljdk/tools/jaotc/collect/SearchPath;Ljdk/tools/jaotc/collect/ClassSource;>;
    Signature: (Ljava/lang/String;Ljava/util/function/BiFunction<Ljava/lang/String;Ljdk/tools/jaotc/collect/SearchPath;Ljdk/tools/jaotc/collect/ClassSource;>;)Ljdk/tools/jaotc/collect/SourceProvider;
    MethodParameters:
          Name  Flags
      supports  
      fn        

  public void itShouldOnlySearchSupportedProvidersForKnownType();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.tools.jaotc.test.collect.ClassSearchTest this
         0: .line 87
            new java.lang.Error
            dup
            ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // jdk.tools.jaotc.test.collect.ClassSearchTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/tools/jaotc/test/collect/ClassSearchTest;
    RuntimeInvisibleAnnotations: 
      Test()

  public void itShouldThrowErrorIfMultipleSourcesAreAvailable();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.tools.jaotc.test.collect.ClassSearchTest this
         0: .line 111
            new java.lang.Error
            dup
            ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n\tAssert cannot be resolved\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // jdk.tools.jaotc.test.collect.ClassSearchTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/tools/jaotc/test/collect/ClassSearchTest;
    RuntimeInvisibleAnnotations: 
      Test()

  public void itShouldSearchAllProvidersForUnknownType();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.tools.jaotc.test.collect.ClassSearchTest this
         0: .line 120
            new java.lang.Error
            dup
            ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // jdk.tools.jaotc.test.collect.ClassSearchTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/tools/jaotc/test/collect/ClassSearchTest;
    RuntimeInvisibleAnnotations: 
      Test()

  public void itShouldTryToLoadSaidClassFromClassLoader();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.tools.jaotc.test.collect.ClassSearchTest this
         0: .line 142
            new java.lang.Error
            dup
            ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // jdk.tools.jaotc.test.collect.ClassSearchTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/tools/jaotc/test/collect/ClassSearchTest;
    RuntimeInvisibleAnnotations: 
      Test()

  public void itShouldThrowInternalErrorWhenClassLoaderFails();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.tools.jaotc.test.collect.ClassSearchTest this
         0: .line 174
            new java.lang.Error
            dup
            ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // jdk.tools.jaotc.test.collect.ClassSearchTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/tools/jaotc/test/collect/ClassSearchTest;
    RuntimeInvisibleAnnotations: 
      Test()

  private static java.util.List<jdk.tools.jaotc.collect.SearchFor> searchForList(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)Ljava/util/List;
    flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
    Code:
      stack=4, locals=6, args_size=1
        start local 0 // java.lang.String[] entries
         0: .line 189
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 1 /* list */
        start local 1 // java.util.List list
         1: .line 190
            aload 0 /* entries */
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 5
      StackMap locals: java.lang.String[] java.util.List top int int java.lang.String[]
      StackMap stack:
         2: aload 5
            iload 3
            aaload
            astore 2 /* entry */
        start local 2 // java.lang.String entry
         3: .line 191
            aload 1 /* list */
            new jdk.tools.jaotc.collect.SearchFor
            dup
            aload 2 /* entry */
            invokespecial jdk.tools.jaotc.collect.SearchFor.<init>:(Ljava/lang/String;)V
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 2 // java.lang.String entry
         4: .line 190
            iinc 3 1
      StackMap locals:
      StackMap stack:
         5: iload 3
            iload 4
            if_icmplt 2
         6: .line 193
            aload 1 /* list */
            areturn
        end local 1 // java.util.List list
        end local 0 // java.lang.String[] entries
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    7     0  entries  [Ljava/lang/String;
            1    7     1     list  Ljava/util/List<Ljdk/tools/jaotc/collect/SearchFor;>;
            3    4     2    entry  Ljava/lang/String;
    Signature: ([Ljava/lang/String;)Ljava/util/List<Ljdk/tools/jaotc/collect/SearchFor;>;
    MethodParameters:
         Name  Flags
      entries  

  private static <T> java.util.List<T> list(T[]);
    descriptor: ([Ljava/lang/Object;)Ljava/util/List;
    flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
    Code:
      stack=2, locals=6, args_size=1
        start local 0 // java.lang.Object[] entries
         0: .line 198
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 1 /* list */
        start local 1 // java.util.List list
         1: .line 199
            aload 0 /* entries */
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 5
      StackMap locals: java.lang.Object[] java.util.List top int int java.lang.Object[]
      StackMap stack:
         2: aload 5
            iload 3
            aaload
            astore 2 /* entry */
        start local 2 // java.lang.Object entry
         3: .line 200
            aload 1 /* list */
            aload 2 /* entry */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 2 // java.lang.Object entry
         4: .line 199
            iinc 3 1
      StackMap locals:
      StackMap stack:
         5: iload 3
            iload 4
            if_icmplt 2
         6: .line 202
            aload 1 /* list */
            areturn
        end local 1 // java.util.List list
        end local 0 // java.lang.Object[] entries
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    7     0  entries  [Ljava/lang/Object;
            1    7     1     list  Ljava/util/List<TT;>;
            3    4     2    entry  TT;
    Signature: <T:Ljava/lang/Object;>([TT;)Ljava/util/List<TT;>;
    RuntimeVisibleAnnotations: 
      java.lang.SafeVarargs()
    MethodParameters:
         Name  Flags
      entries  

  private static <T> java.util.Set<T> hashset(T[]);
    descriptor: ([Ljava/lang/Object;)Ljava/util/Set;
    flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
    Code:
      stack=2, locals=6, args_size=1
        start local 0 // java.lang.Object[] entries
         0: .line 207
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            astore 1 /* set */
        start local 1 // java.util.Set set
         1: .line 208
            aload 0 /* entries */
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 5
      StackMap locals: java.lang.Object[] java.util.Set top int int java.lang.Object[]
      StackMap stack:
         2: aload 5
            iload 3
            aaload
            astore 2 /* entry */
        start local 2 // java.lang.Object entry
         3: .line 209
            aload 1 /* set */
            aload 2 /* entry */
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
        end local 2 // java.lang.Object entry
         4: .line 208
            iinc 3 1
      StackMap locals:
      StackMap stack:
         5: iload 3
            iload 4
            if_icmplt 2
         6: .line 211
            aload 1 /* set */
            areturn
        end local 1 // java.util.Set set
        end local 0 // java.lang.Object[] entries
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    7     0  entries  [Ljava/lang/Object;
            1    7     1      set  Ljava/util/Set<TT;>;
            3    4     2    entry  TT;
    Signature: <T:Ljava/lang/Object;>([TT;)Ljava/util/Set<TT;>;
    RuntimeVisibleAnnotations: 
      java.lang.SafeVarargs()
    MethodParameters:
         Name  Flags
      entries  
}
SourceFile: "ClassSearchTest.java"
NestMembers:
  jdk.tools.jaotc.test.collect.ClassSearchTest$1  jdk.tools.jaotc.test.collect.ClassSearchTest$2  jdk.tools.jaotc.test.collect.ClassSearchTest$2$1  jdk.tools.jaotc.test.collect.ClassSearchTest$2$1$1  jdk.tools.jaotc.test.collect.ClassSearchTest$3  jdk.tools.jaotc.test.collect.ClassSearchTest$NoopSource
InnerClasses:
  jdk.tools.jaotc.test.collect.ClassSearchTest$1
  private NoopSource = jdk.tools.jaotc.test.collect.ClassSearchTest$NoopSource of jdk.tools.jaotc.test.collect.ClassSearchTest