public class com.sun.tools.jdeprscan.scan.ClassFinder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.jdeprscan.scan.ClassFinder
super_class: java.lang.Object
{
final java.util.List<com.sun.tools.jdeprscan.scan.ClassFinder$PathEntry> list;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Lcom/sun/tools/jdeprscan/scan/ClassFinder$PathEntry;>;
final boolean verbose;
descriptor: Z
flags: (0x0010) ACC_FINAL
public void <init>(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.tools.jdeprscan.scan.ClassFinder.list:Ljava/util/List;
2: aload 0
iload 1
putfield com.sun.tools.jdeprscan.scan.ClassFinder.verbose:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/jdeprscan/scan/ClassFinder;
0 4 1 verbose Z
MethodParameters:
Name Flags
verbose
public void addDir(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 2
start local 2 1: aload 2
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 3
2: aload 0
getfield com.sun.tools.jdeprscan.scan.ClassFinder.list:Ljava/util/List;
new com.sun.tools.jdeprscan.scan.ClassFinder$DirPathEntry
dup
aload 0
aload 2
invokespecial com.sun.tools.jdeprscan.scan.ClassFinder$DirPathEntry.<init>:(Lcom/sun/tools/jdeprscan/scan/ClassFinder;Ljava/nio/file/Path;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: StackMap locals: java.nio.file.Path
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/jdeprscan/scan/ClassFinder;
0 4 1 dirName Ljava/lang/String;
1 4 2 dir Ljava/nio/file/Path;
MethodParameters:
Name Flags
dirName
public void addJar(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.jdeprscan.scan.ClassFinder.list:Ljava/util/List;
new com.sun.tools.jdeprscan.scan.ClassFinder$JarPathEntry
dup
aload 0
new java.util.jar.JarFile
dup
aload 1
invokespecial java.util.jar.JarFile.<init>:(Ljava/lang/String;)V
invokespecial com.sun.tools.jdeprscan.scan.ClassFinder$JarPathEntry.<init>:(Lcom/sun/tools/jdeprscan/scan/ClassFinder;Ljava/util/jar/JarFile;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: goto 3
StackMap locals:
StackMap stack: java.io.IOException
2: pop
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/jdeprscan/scan/ClassFinder;
0 4 1 jarName Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.io.IOException
MethodParameters:
Name Flags
jarName
public void addJrt();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeprscan.scan.ClassFinder.list:Ljava/util/List;
new com.sun.tools.jdeprscan.scan.ClassFinder$JrtPathEntry
dup
aload 0
invokespecial com.sun.tools.jdeprscan.scan.ClassFinder$JrtPathEntry.<init>:(Lcom/sun/tools/jdeprscan/scan/ClassFinder;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/jdeprscan/scan/ClassFinder;
public com.sun.tools.classfile.ClassFile find(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/tools/classfile/ClassFile;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.jdeprscan.scan.ClassFinder.list:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: com.sun.tools.jdeprscan.scan.ClassFinder java.lang.String top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.jdeprscan.scan.ClassFinder$PathEntry
astore 2
start local 2 2: aload 2
aload 1
invokeinterface com.sun.tools.jdeprscan.scan.ClassFinder$PathEntry.find:(Ljava/lang/String;)Lcom/sun/tools/classfile/ClassFile;
astore 4
start local 4 3: aload 4
ifnull 5
4: aload 4
areturn
end local 4 end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/jdeprscan/scan/ClassFinder;
0 7 1 className Ljava/lang/String;
2 5 2 pe Lcom/sun/tools/jdeprscan/scan/ClassFinder$PathEntry;
3 5 4 cf Lcom/sun/tools/classfile/ClassFile;
MethodParameters:
Name Flags
className
}
SourceFile: "ClassFinder.java"
NestMembers:
com.sun.tools.jdeprscan.scan.ClassFinder$DirPathEntry com.sun.tools.jdeprscan.scan.ClassFinder$JarPathEntry com.sun.tools.jdeprscan.scan.ClassFinder$JrtPathEntry com.sun.tools.jdeprscan.scan.ClassFinder$PathEntry
InnerClasses:
DirPathEntry = com.sun.tools.jdeprscan.scan.ClassFinder$DirPathEntry of com.sun.tools.jdeprscan.scan.ClassFinder
JarPathEntry = com.sun.tools.jdeprscan.scan.ClassFinder$JarPathEntry of com.sun.tools.jdeprscan.scan.ClassFinder
JrtPathEntry = com.sun.tools.jdeprscan.scan.ClassFinder$JrtPathEntry of com.sun.tools.jdeprscan.scan.ClassFinder
abstract PathEntry = com.sun.tools.jdeprscan.scan.ClassFinder$PathEntry of com.sun.tools.jdeprscan.scan.ClassFinder