public class jdk.tools.jaotc.collect.ClassSearch
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.tools.jaotc.collect.ClassSearch
super_class: java.lang.Object
{
private java.util.List<jdk.tools.jaotc.collect.SourceProvider> providers;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
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=7, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 2: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 5
StackMap locals: jdk.tools.jaotc.collect.ClassSearch java.util.List jdk.tools.jaotc.collect.SearchPath java.util.List java.util.List top java.util.Iterator
StackMap stack:
3: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.tools.jaotc.collect.SearchFor
astore 5
start local 5 4: aload 4
aload 0
aload 5
aload 2
invokevirtual jdk.tools.jaotc.collect.ClassSearch.findSource:(Ljdk/tools/jaotc/collect/SearchFor;Ljdk/tools/jaotc/collect/SearchPath;)Ljdk/tools/jaotc/collect/ClassSource;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 5: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 9
StackMap locals:
StackMap stack:
7: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.tools.jaotc.collect.ClassSource
astore 5
start local 5 8: aload 5
aload 0
aload 3
invokedynamic accept(Ljdk/tools/jaotc/collect/ClassSearch;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$0(Ljava/util/List;Ljava/lang/String;Ljava/lang/ClassLoader;)V (7)
(Ljava/lang/String;Ljava/lang/ClassLoader;)V
invokeinterface jdk.tools.jaotc.collect.ClassSource.eachClass:(Ljava/util/function/BiConsumer;)V
end local 5 9: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
10: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/tools/jaotc/collect/ClassSearch;
0 11 1 search Ljava/util/List<Ljdk/tools/jaotc/collect/SearchFor;>;
0 11 2 searchPath Ljdk/tools/jaotc/collect/SearchPath;
1 11 3 loaded Ljava/util/List<Ljdk/tools/jaotc/LoadedClass;>;
2 11 4 sources Ljava/util/List<Ljdk/tools/jaotc/collect/ClassSource;>;
4 5 5 entry Ljdk/tools/jaotc/collect/SearchFor;
8 9 5 source Ljdk/tools/jaotc/collect/ClassSource;
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
private jdk.tools.jaotc.LoadedClass loadClass(java.lang.String, java.lang.ClassLoader);
descriptor: (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljdk/tools/jaotc/LoadedClass;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 3
start local 3 1: new jdk.tools.jaotc.LoadedClass
dup
aload 1
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.ClassNotFoundException
astore 3
start local 3 4: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Failed to load with: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/tools/jaotc/collect/ClassSearch;
0 5 1 name Ljava/lang/String;
0 5 2 loader Ljava/lang/ClassLoader;
1 3 3 clzz Ljava/lang/Class<*>;
4 5 3 e Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
0 2 3 Class java.lang.ClassNotFoundException
MethodParameters:
Name Flags
name
loader
private jdk.tools.jaotc.collect.ClassSource findSource(jdk.tools.jaotc.collect.SearchFor, jdk.tools.jaotc.collect.SearchPath);
descriptor: (Ljdk/tools/jaotc/collect/SearchFor;Ljdk/tools/jaotc/collect/SearchPath;)Ljdk/tools/jaotc/collect/ClassSource;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 0
getfield jdk.tools.jaotc.collect.ClassSearch.providers:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 10
StackMap locals: jdk.tools.jaotc.collect.ClassSearch jdk.tools.jaotc.collect.SearchFor jdk.tools.jaotc.collect.SearchPath jdk.tools.jaotc.collect.ClassSource top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.tools.jaotc.collect.SourceProvider
astore 4
start local 4 3: aload 1
invokevirtual jdk.tools.jaotc.collect.SearchFor.isUnknown:()Z
ifne 5
aload 4
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 10
5: StackMap locals: jdk.tools.jaotc.collect.ClassSearch jdk.tools.jaotc.collect.SearchFor jdk.tools.jaotc.collect.SearchPath jdk.tools.jaotc.collect.ClassSource jdk.tools.jaotc.collect.SourceProvider java.util.Iterator
StackMap stack:
aload 4
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 6
start local 6 6: aload 6
ifnull 10
7: aload 3
ifnull 9
8: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Multiple possible sources: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
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 3
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
9: StackMap locals: jdk.tools.jaotc.collect.ClassSource
StackMap stack:
aload 6
astore 3
end local 6 end local 4 10: StackMap locals: jdk.tools.jaotc.collect.ClassSearch jdk.tools.jaotc.collect.SearchFor jdk.tools.jaotc.collect.SearchPath jdk.tools.jaotc.collect.ClassSource top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
11: aload 3
ifnonnull 13
12: 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
athrow
13: StackMap locals: jdk.tools.jaotc.collect.ClassSearch jdk.tools.jaotc.collect.SearchFor jdk.tools.jaotc.collect.SearchPath jdk.tools.jaotc.collect.ClassSource
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/tools/jaotc/collect/ClassSearch;
0 14 1 searchFor Ljdk/tools/jaotc/collect/SearchFor;
0 14 2 searchPath Ljdk/tools/jaotc/collect/SearchPath;
1 14 3 found Ljdk/tools/jaotc/collect/ClassSource;
3 10 4 provider Ljdk/tools/jaotc/collect/SourceProvider;
6 10 6 source Ljdk/tools/jaotc/collect/ClassSource;
MethodParameters:
Name Flags
searchFor
searchPath
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
ldc ":"
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 void lambda$0(java.util.List, java.lang.String, java.lang.ClassLoader);
descriptor: (Ljava/util/List;Ljava/lang/String;Ljava/lang/ClassLoader;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 1
aload 0
aload 2
aload 3
invokevirtual jdk.tools.jaotc.collect.ClassSearch.loadClass:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljdk/tools/jaotc/LoadedClass;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/collect/ClassSearch;
0 1 2 name Ljava/lang/String;
0 1 3 loader Ljava/lang/ClassLoader;
}
SourceFile: "ClassSearch.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles