public class com.sun.tools.example.debug.gui.SearchPath
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.example.debug.gui.SearchPath
super_class: java.lang.Object
{
private java.lang.String pathString;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String[] pathArray;
descriptor: [Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: new java.util.StringTokenizer
dup
aload 1
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 2
start local 2 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 3: goto 5
4: StackMap locals: com.sun.tools.example.debug.gui.SearchPath java.lang.String java.util.StringTokenizer java.util.List
StackMap stack:
aload 3
aload 2
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 4
6: aload 0
aload 1
putfield com.sun.tools.example.debug.gui.SearchPath.pathString:Ljava/lang/String;
7: aload 0
aload 3
aload 3
invokeinterface java.util.List.size:()I
anewarray java.lang.String
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
putfield com.sun.tools.example.debug.gui.SearchPath.pathArray:[Ljava/lang/String;
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/example/debug/gui/SearchPath;
0 9 1 searchPath Ljava/lang/String;
2 9 2 st Ljava/util/StringTokenizer;
3 9 3 dlist Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
searchPath
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.gui.SearchPath.pathArray:[Ljava/lang/String;
arraylength
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/gui/SearchPath;
public java.lang.String asString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.gui.SearchPath.pathString:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/gui/SearchPath;
public java.lang.String[] asArray();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.gui.SearchPath.pathArray:[Ljava/lang/String;
invokevirtual java.lang.String[].clone:()Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/gui/SearchPath;
public java.io.File resolve(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.example.debug.gui.SearchPath.pathArray:[Ljava/lang/String;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: com.sun.tools.example.debug.gui.SearchPath java.lang.String top int int java.lang.String[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: new java.io.File
dup
aload 2
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 6
start local 6 3: aload 6
invokevirtual java.io.File.exists:()Z
ifeq 5
4: aload 6
areturn
end local 6 end local 2 5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 1
7: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/example/debug/gui/SearchPath;
0 8 1 relativeFileName Ljava/lang/String;
2 5 2 element Ljava/lang/String;
3 5 6 path Ljava/io/File;
MethodParameters:
Name Flags
relativeFileName
public java.lang.String[] children(java.lang.String, java.io.FilenameFilter);
descriptor: (Ljava/lang/String;Ljava/io/FilenameFilter;)[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=11, args_size=3
start local 0 start local 1 start local 2 0: new java.util.TreeSet
dup
invokespecial java.util.TreeSet.<init>:()V
astore 3
start local 3 1: aload 0
getfield com.sun.tools.example.debug.gui.SearchPath.pathArray:[Ljava/lang/String;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 14
StackMap locals: com.sun.tools.example.debug.gui.SearchPath java.lang.String java.io.FilenameFilter java.util.SortedSet top int int java.lang.String[]
StackMap stack:
2: aload 7
iload 5
aaload
astore 4
start local 4 3: new java.io.File
dup
aload 4
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 8
start local 8 4: aload 8
invokevirtual java.io.File.exists:()Z
ifeq 13
5: aload 8
aload 2
invokevirtual java.io.File.list:(Ljava/io/FilenameFilter;)[Ljava/lang/String;
astore 9
start local 9 6: aload 9
ifnull 13
7: iconst_0
istore 10
start local 10 8: goto 12
9: StackMap locals: com.sun.tools.example.debug.gui.SearchPath java.lang.String java.io.FilenameFilter java.util.SortedSet java.lang.String int int java.lang.String[] java.io.File java.lang.String[] int
StackMap stack:
aload 3
aload 9
iload 10
aaload
invokeinterface java.util.SortedSet.contains:(Ljava/lang/Object;)Z
ifne 11
10: aload 3
aload 9
iload 10
aaload
invokeinterface java.util.SortedSet.add:(Ljava/lang/Object;)Z
pop
11: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
12: iload 10
aload 9
arraylength
if_icmplt 9
end local 10 end local 9 end local 8 end local 4 13: StackMap locals: com.sun.tools.example.debug.gui.SearchPath java.lang.String java.io.FilenameFilter java.util.SortedSet top int int java.lang.String[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
14: iload 5
iload 6
if_icmplt 2
15: aload 3
aload 3
invokeinterface java.util.SortedSet.size:()I
anewarray java.lang.String
invokeinterface java.util.SortedSet.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/tools/example/debug/gui/SearchPath;
0 16 1 relativeDirName Ljava/lang/String;
0 16 2 filter Ljava/io/FilenameFilter;
1 16 3 s Ljava/util/SortedSet<Ljava/lang/String;>;
3 13 4 element Ljava/lang/String;
4 13 8 path Ljava/io/File;
6 13 9 childArray [Ljava/lang/String;
8 13 10 j I
MethodParameters:
Name Flags
relativeDirName
filter
}
SourceFile: "SearchPath.java"