public interface jdk.tools.jaotc.collect.ClassSource
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: jdk.tools.jaotc.collect.ClassSource
super_class: java.lang.Object
{
public static boolean pathIsClassFile(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ldc ".class"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 2
aload 1
ldc "module-info.class"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 2
iconst_1
ireturn
StackMap locals: java.lang.String
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 entry Ljava/nio/file/Path;
1 3 1 fileName Ljava/lang/String;
MethodParameters:
Name Flags
entry
public static java.lang.String makeClassName(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ldc ".class"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 3
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "File doesn't end with .class: '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.String
StackMap stack:
iconst_0
istore 2
start local 2 4: aload 1
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 6
5: iconst_1
istore 2
6: StackMap locals: int
StackMap stack:
aload 1
iload 2
aload 1
invokevirtual java.lang.String.length:()I
ldc ".class"
invokevirtual java.lang.String.length:()I
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
start local 3 7: aload 3
bipush 47
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 3
8: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 path Ljava/nio/file/Path;
1 9 1 fileName Ljava/lang/String;
4 9 2 start I
7 9 3 className Ljava/lang/String;
MethodParameters:
Name Flags
path
public abstract void eachClass(java.util.function.BiConsumer<java.lang.String, java.lang.ClassLoader>);
descriptor: (Ljava/util/function/BiConsumer;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/util/function/BiConsumer<Ljava/lang/String;Ljava/lang/ClassLoader;>;)V
MethodParameters:
Name Flags
consumer
}
SourceFile: "ClassSource.java"