public final class jdk.tools.jaotc.collect.ClassSearch
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jaotc.collect.ClassSearch
super_class: java.lang.Object
{
private final java.util.List<jdk.tools.jaotc.collect.SourceProvider> providers;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljdk/tools/jaotc/collect/SourceProvider;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.tools.jaotc.collect.ClassSearch.providers:Ljava/util/List;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/tools/jaotc/collect/ClassSearch;
public void addProvider(jdk.tools.jaotc.collect.SourceProvider);
descriptor: (Ljdk/tools/jaotc/collect/SourceProvider;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jaotc.collect.ClassSearch.providers:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jaotc/collect/ClassSearch;
0 2 1 provider Ljdk/tools/jaotc/collect/SourceProvider;
MethodParameters:
Name Flags
provider
public java.util.List<jdk.tools.jaotc.LoadedClass> search(java.util.List<jdk.tools.jaotc.collect.SearchFor>, jdk.tools.jaotc.collect.SearchPath);
descriptor: (Ljava/util/List;Ljdk/tools/jaotc/collect/SearchPath;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokedynamic accept()Ljava/util/function/BiConsumer;
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;)V
jdk/tools/jaotc/collect/ClassSearch.lambda$0(Ljava/lang/String;Ljava/lang/Throwable;)V (6)
(Ljava/lang/String;Ljava/lang/Throwable;)V
invokevirtual jdk.tools.jaotc.collect.ClassSearch.search:(Ljava/util/List;Ljdk/tools/jaotc/collect/SearchPath;Ljava/util/function/BiConsumer;)Ljava/util/List;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/collect/ClassSearch;
0 1 1 search Ljava/util/List<Ljdk/tools/jaotc/collect/SearchFor;>;
0 1 2 searchPath Ljdk/tools/jaotc/collect/SearchPath;
Signature: (Ljava/util/List<Ljdk/tools/jaotc/collect/SearchFor;>;Ljdk/tools/jaotc/collect/SearchPath;)Ljava/util/List<Ljdk/tools/jaotc/LoadedClass;>;
MethodParameters:
Name Flags
search
searchPath
public java.util.List<jdk.tools.jaotc.LoadedClass> search(java.util.List<jdk.tools.jaotc.collect.SearchFor>, jdk.tools.jaotc.collect.SearchPath, java.util.function.BiConsumer<java.lang.String, java.lang.Throwable>);
descriptor: (Ljava/util/List;Ljdk/tools/jaotc/collect/SearchPath;Ljava/util/function/BiConsumer;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 2: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 5
StackMap locals: jdk.tools.jaotc.collect.ClassSearch java.util.List jdk.tools.jaotc.collect.SearchPath java.util.function.BiConsumer java.util.List java.util.List top java.util.Iterator
StackMap stack:
3: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.tools.jaotc.collect.SearchFor
astore 6
start local 6 4: aload 5
aload 0
aload 6
aload 2
aload 3
invokevirtual jdk.tools.jaotc.collect.ClassSearch.findSource:(Ljdk/tools/jaotc/collect/SearchFor;Ljdk/tools/jaotc/collect/SearchPath;Ljava/util/function/BiConsumer;)Ljdk/tools/jaotc/collect/ClassSource;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 5: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 10
StackMap locals:
StackMap stack:
7: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.tools.jaotc.collect.ClassSource
astore 6
start local 6 8: aload 6
ifnull 10
9: aload 6
aload 3
aload 4
invokedynamic accept(Ljava/util/function/BiConsumer;Ljava/util/List;)Ljava/util/function/BiConsumer;
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;)V
jdk/tools/jaotc/collect/ClassSearch.lambda$1(Ljava/util/function/BiConsumer;Ljava/util/List;Ljava/lang/String;Ljava/lang/ClassLoader;)V (6)
(Ljava/lang/String;Ljava/lang/ClassLoader;)V
invokeinterface jdk.tools.jaotc.collect.ClassSource.eachClass:(Ljava/util/function/BiConsumer;)V
end local 6 10: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
11: aload 4
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/tools/jaotc/collect/ClassSearch;
0 12 1 search Ljava/util/List<Ljdk/tools/jaotc/collect/SearchFor;>;
0 12 2 searchPath Ljdk/tools/jaotc/collect/SearchPath;
0 12 3 classLoadingErrorsHandler Ljava/util/function/BiConsumer<Ljava/lang/String;Ljava/lang/Throwable;>;
1 12 4 loaded Ljava/util/List<Ljdk/tools/jaotc/LoadedClass;>;
2 12 5 sources Ljava/util/List<Ljdk/tools/jaotc/collect/ClassSource;>;
4 5 6 entry Ljdk/tools/jaotc/collect/SearchFor;
8 10 6 source Ljdk/tools/jaotc/collect/ClassSource;
Signature: (Ljava/util/List<Ljdk/tools/jaotc/collect/SearchFor;>;Ljdk/tools/jaotc/collect/SearchPath;Ljava/util/function/BiConsumer<Ljava/lang/String;Ljava/lang/Throwable;>;)Ljava/util/List<Ljdk/tools/jaotc/LoadedClass;>;
MethodParameters:
Name Flags
search
searchPath
classLoadingErrorsHandler
private static jdk.tools.jaotc.LoadedClass loadClass(java.lang.String, java.lang.ClassLoader, java.util.function.BiConsumer<java.lang.String, java.lang.Throwable>);
descriptor: (Ljava/lang/String;Ljava/lang/ClassLoader;Ljava/util/function/BiConsumer;)Ljdk/tools/jaotc/LoadedClass;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 3
start local 3 1: new jdk.tools.jaotc.LoadedClass
dup
aload 0
aload 3
invokespecial jdk.tools.jaotc.LoadedClass.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
2: areturn
end local 3 3: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
start local 3 4: aload 2
aload 0
aload 3
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
5: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 name Ljava/lang/String;
0 6 1 loader Ljava/lang/ClassLoader;
0 6 2 classLoadingErrorsHandler Ljava/util/function/BiConsumer<Ljava/lang/String;Ljava/lang/Throwable;>;
1 3 3 clzz Ljava/lang/Class<*>;
4 6 3 e Ljava/lang/Throwable;
Exception table:
from to target type
0 2 3 Class java.lang.Throwable
Signature: (Ljava/lang/String;Ljava/lang/ClassLoader;Ljava/util/function/BiConsumer<Ljava/lang/String;Ljava/lang/Throwable;>;)Ljdk/tools/jaotc/LoadedClass;
MethodParameters:
Name Flags
name
loader
classLoadingErrorsHandler
private jdk.tools.jaotc.collect.ClassSource findSource(jdk.tools.jaotc.collect.SearchFor, jdk.tools.jaotc.collect.SearchPath, java.util.function.BiConsumer<java.lang.String, java.lang.Throwable>);
descriptor: (Ljdk/tools/jaotc/collect/SearchFor;Ljdk/tools/jaotc/collect/SearchPath;Ljava/util/function/BiConsumer;)Ljdk/tools/jaotc/collect/ClassSource;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aload 0
getfield jdk.tools.jaotc.collect.ClassSearch.providers:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 14
StackMap locals: jdk.tools.jaotc.collect.ClassSearch jdk.tools.jaotc.collect.SearchFor jdk.tools.jaotc.collect.SearchPath java.util.function.BiConsumer jdk.tools.jaotc.collect.ClassSource top java.util.Iterator
StackMap stack:
2: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.tools.jaotc.collect.SourceProvider
astore 5
start local 5 3: aload 1
invokevirtual jdk.tools.jaotc.collect.SearchFor.isUnknown:()Z
ifne 5
aload 5
aload 1
invokevirtual jdk.tools.jaotc.collect.SearchFor.getType:()Ljava/lang/String;
invokeinterface jdk.tools.jaotc.collect.SourceProvider.supports:(Ljava/lang/String;)Z
ifne 5
4: goto 14
5: StackMap locals: jdk.tools.jaotc.collect.ClassSearch jdk.tools.jaotc.collect.SearchFor jdk.tools.jaotc.collect.SearchPath java.util.function.BiConsumer jdk.tools.jaotc.collect.ClassSource jdk.tools.jaotc.collect.SourceProvider java.util.Iterator
StackMap stack:
aconst_null
astore 7
start local 7 6: aload 5
aload 1
invokevirtual jdk.tools.jaotc.collect.SearchFor.getName:()Ljava/lang/String;
aload 2
invokeinterface jdk.tools.jaotc.collect.SourceProvider.findSource:(Ljava/lang/String;Ljdk/tools/jaotc/collect/SearchPath;)Ljdk/tools/jaotc/collect/ClassSource;
astore 7
7: goto 10
StackMap locals: jdk.tools.jaotc.collect.ClassSearch jdk.tools.jaotc.collect.SearchFor jdk.tools.jaotc.collect.SearchPath java.util.function.BiConsumer jdk.tools.jaotc.collect.ClassSource jdk.tools.jaotc.collect.SourceProvider java.util.Iterator jdk.tools.jaotc.collect.ClassSource
StackMap stack: java.lang.Throwable
8: astore 8
start local 8 9: aload 3
aload 1
invokevirtual jdk.tools.jaotc.collect.SearchFor.getName:()Ljava/lang/String;
aload 8
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 8 10: StackMap locals:
StackMap stack:
aload 7
ifnull 14
11: aload 4
ifnull 13
12: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Multiple possible sources: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " and: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
aload 7
astore 4
end local 7 end local 5 14: StackMap locals: jdk.tools.jaotc.collect.ClassSearch jdk.tools.jaotc.collect.SearchFor jdk.tools.jaotc.collect.SearchPath java.util.function.BiConsumer jdk.tools.jaotc.collect.ClassSource top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
15: aload 4
ifnonnull 17
16: aload 3
aload 1
invokevirtual jdk.tools.jaotc.collect.SearchFor.getName:()Ljava/lang/String;
new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Failed to find "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual jdk.tools.jaotc.collect.SearchFor.getType:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " file: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual jdk.tools.jaotc.collect.SearchFor.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
17: StackMap locals: jdk.tools.jaotc.collect.ClassSearch jdk.tools.jaotc.collect.SearchFor jdk.tools.jaotc.collect.SearchPath java.util.function.BiConsumer jdk.tools.jaotc.collect.ClassSource
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljdk/tools/jaotc/collect/ClassSearch;
0 18 1 searchFor Ljdk/tools/jaotc/collect/SearchFor;
0 18 2 searchPath Ljdk/tools/jaotc/collect/SearchPath;
0 18 3 classLoadingErrorsHandler Ljava/util/function/BiConsumer<Ljava/lang/String;Ljava/lang/Throwable;>;
1 18 4 found Ljdk/tools/jaotc/collect/ClassSource;
3 14 5 provider Ljdk/tools/jaotc/collect/SourceProvider;
6 14 7 source Ljdk/tools/jaotc/collect/ClassSource;
9 10 8 e Ljava/lang/Throwable;
Exception table:
from to target type
6 7 8 Class java.lang.Throwable
Signature: (Ljdk/tools/jaotc/collect/SearchFor;Ljdk/tools/jaotc/collect/SearchPath;Ljava/util/function/BiConsumer<Ljava/lang/String;Ljava/lang/Throwable;>;)Ljdk/tools/jaotc/collect/ClassSource;
MethodParameters:
Name Flags
searchFor
searchPath
classLoadingErrorsHandler
public static java.util.List<jdk.tools.jaotc.collect.SearchFor> makeList(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 1
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 3
start local 3 2: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 6
StackMap locals: java.lang.String java.lang.String java.util.List java.lang.String[] top int int java.lang.String[]
StackMap stack:
3: aload 7
iload 5
aaload
astore 4
start local 4 4: aload 2
new jdk.tools.jaotc.collect.SearchFor
dup
aload 4
aload 0
invokespecial jdk.tools.jaotc.collect.SearchFor.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 5: iinc 5 1
StackMap locals:
StackMap stack:
6: iload 5
iload 6
if_icmplt 3
7: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 type Ljava/lang/String;
0 8 1 argument Ljava/lang/String;
1 8 2 list Ljava/util/List<Ljdk/tools/jaotc/collect/SearchFor;>;
2 8 3 elements [Ljava/lang/String;
4 5 4 element Ljava/lang/String;
Signature: (Ljava/lang/String;Ljava/lang/String;)Ljava/util/List<Ljdk/tools/jaotc/collect/SearchFor;>;
MethodParameters:
Name Flags
type
argument
private static void lambda$0(java.lang.String, java.lang.Throwable);
descriptor: (Ljava/lang/String;Ljava/lang/Throwable;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
aload 0
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 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
0 1 1 t Ljava/lang/Throwable;
private static void lambda$1(java.util.function.BiConsumer, java.util.List, java.lang.String, java.lang.ClassLoader);
descriptor: (Ljava/util/function/BiConsumer;Ljava/util/List;Ljava/lang/String;Ljava/lang/ClassLoader;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=5, args_size=4
start local 2 start local 3 0: aload 2
aload 3
aload 0
invokestatic jdk.tools.jaotc.collect.ClassSearch.loadClass:(Ljava/lang/String;Ljava/lang/ClassLoader;Ljava/util/function/BiConsumer;)Ljdk/tools/jaotc/LoadedClass;
astore 4
start local 4 1: aload 4
ifnull 3
2: aload 1
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 3: StackMap locals:
StackMap stack:
return
end local 3 end local 2 LocalVariableTable:
Start End Slot Name Signature
0 4 2 name Ljava/lang/String;
0 4 3 loader Ljava/lang/ClassLoader;
1 3 4 x Ljdk/tools/jaotc/LoadedClass;
}
SourceFile: "ClassSearch.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles