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 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 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 0: 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 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 0: 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 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 start local 1 0: new jdk.tools.jaotc.test.collect.ClassSearchTest$1
dup
aload 1
aload 0
invokespecial jdk.tools.jaotc.test.collect.ClassSearchTest$1.<init>:(Ljava/util/function/BiFunction;Ljava/lang/String;)V
areturn
end local 1 end local 0 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 0: 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 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 0: 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 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 0: 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 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 0: 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 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 0: 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 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 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
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
start local 2 3: aload 1
new jdk.tools.jaotc.collect.SearchFor
dup
aload 2
invokespecial jdk.tools.jaotc.collect.SearchFor.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 2
6: aload 1
areturn
end local 1 end local 0 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 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
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
start local 2 3: aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 2
6: aload 1
areturn
end local 1 end local 0 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 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
start local 1 1: aload 0
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
start local 2 3: aload 1
aload 2
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 2 4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 2
6: aload 1
areturn
end local 1 end local 0 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