class jdk.incubator.jpackage.internal.RelativeFileSet
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.incubator.jpackage.internal.RelativeFileSet
super_class: java.lang.Object
{
private java.io.File basedir;
descriptor: Ljava/io/File;
flags: (0x0002) ACC_PRIVATE
private java.util.Set<java.lang.String> files;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljava/lang/String;>;
void <init>(java.io.File, java.util.Collection<java.io.File>);
descriptor: (Ljava/io/File;Ljava/util/Collection;)V
flags: (0x0000)
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
putfield jdk.incubator.jpackage.internal.RelativeFileSet.files:Ljava/util/Set;
2: aload 0
aload 1
putfield jdk.incubator.jpackage.internal.RelativeFileSet.basedir:Ljava/io/File;
3: aload 0
getfield jdk.incubator.jpackage.internal.RelativeFileSet.basedir:Ljava/io/File;
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
astore 3
start local 3 4: aload 2
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 13
StackMap locals: jdk.incubator.jpackage.internal.RelativeFileSet java.io.File java.util.Collection java.lang.String top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.io.File
astore 4
start local 4 6: aload 4
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
astore 6
start local 6 7: aload 6
aload 3
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 11
8: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "File "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: ldc " does not belong to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: jdk.incubator.jpackage.internal.RelativeFileSet java.io.File java.util.Collection java.lang.String java.io.File java.util.Iterator java.lang.String
StackMap stack:
aload 6
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 13
12: aload 0
getfield jdk.incubator.jpackage.internal.RelativeFileSet.files:Ljava/util/Set;
aload 6
aload 3
invokevirtual java.lang.String.length:()I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 4 13: StackMap locals: jdk.incubator.jpackage.internal.RelativeFileSet java.io.File java.util.Collection java.lang.String top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
14: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/incubator/jpackage/internal/RelativeFileSet;
0 15 1 base Ljava/io/File;
0 15 2 files Ljava/util/Collection<Ljava/io/File;>;
4 15 3 baseAbsolute Ljava/lang/String;
6 13 4 f Ljava/io/File;
7 13 6 absolute Ljava/lang/String;
Signature: (Ljava/io/File;Ljava/util/Collection<Ljava/io/File;>;)V
MethodParameters:
Name Flags
base
files
void <init>(java.io.File, java.util.Set<java.io.File>);
descriptor: (Ljava/io/File;Ljava/util/Set;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial jdk.incubator.jpackage.internal.RelativeFileSet.<init>:(Ljava/io/File;Ljava/util/Collection;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/jpackage/internal/RelativeFileSet;
0 2 1 base Ljava/io/File;
0 2 2 files Ljava/util/Set<Ljava/io/File;>;
Signature: (Ljava/io/File;Ljava/util/Set<Ljava/io/File;>;)V
MethodParameters:
Name Flags
base
files
java.io.File getBaseDirectory();
descriptor: ()Ljava/io/File;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.jpackage.internal.RelativeFileSet.basedir:Ljava/io/File;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/RelativeFileSet;
java.util.Set<java.lang.String> getIncludedFiles();
descriptor: ()Ljava/util/Set;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.jpackage.internal.RelativeFileSet.files:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/RelativeFileSet;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.jpackage.internal.RelativeFileSet.files:Ljava/util/Set;
invokeinterface java.util.Set.size:()I
iconst_1
if_icmpne 2
1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield jdk.incubator.jpackage.internal.RelativeFileSet.basedir:Ljava/io/File;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.incubator.jpackage.internal.RelativeFileSet.files:Ljava/util/Set;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "RelativeFileSet {basedir:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.incubator.jpackage.internal.RelativeFileSet.basedir:Ljava/io/File;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
3: ldc ", files: {"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.incubator.jpackage.internal.RelativeFileSet.files:Ljava/util/Set;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "}"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/incubator/jpackage/internal/RelativeFileSet;
}
SourceFile: "RelativeFileSet.java"