class jdk.tools.jmod.JmodTask$JmodFileWriter$3 extends java.nio.file.SimpleFileVisitor<java.nio.file.Path>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.tools.jmod.JmodTask$JmodFileWriter$3
super_class: java.nio.file.SimpleFileVisitor
{
final jdk.tools.jmod.JmodTask$JmodFileWriter this$1;
descriptor: Ljdk/tools/jmod/JmodTask$JmodFileWriter;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.nio.file.Path val$path;
descriptor: Ljava/nio/file/Path;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final jdk.internal.jmod.JmodFile$Section val$section;
descriptor: Ljdk/internal/jmod/JmodFile$Section;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final jdk.tools.jmod.JmodOutputStream val$out;
descriptor: Ljdk/tools/jmod/JmodOutputStream;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(jdk.tools.jmod.JmodTask$JmodFileWriter, java.nio.file.Path, jdk.internal.jmod.JmodFile$Section, jdk.tools.jmod.JmodOutputStream);
descriptor: (Ljdk/tools/jmod/JmodTask$JmodFileWriter;Ljava/nio/file/Path;Ljdk/internal/jmod/JmodFile$Section;Ljdk/tools/jmod/JmodOutputStream;)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 0: aload 0
aload 1
putfield jdk.tools.jmod.JmodTask$JmodFileWriter$3.this$1:Ljdk/tools/jmod/JmodTask$JmodFileWriter;
aload 0
aload 2
putfield jdk.tools.jmod.JmodTask$JmodFileWriter$3.val$path:Ljava/nio/file/Path;
aload 0
aload 3
putfield jdk.tools.jmod.JmodTask$JmodFileWriter$3.val$section:Ljdk/internal/jmod/JmodFile$Section;
aload 0
aload 4
putfield jdk.tools.jmod.JmodTask$JmodFileWriter$3.val$out:Ljdk/tools/jmod/JmodOutputStream;
aload 0
invokespecial java.nio.file.SimpleFileVisitor.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jmod/JmodTask$JmodFileWriter$3;
MethodParameters:
Name Flags
this$0 final
val$path final
val$section final
val$out final
public java.nio.file.FileVisitResult visitFile(java.nio.file.Path, java.nio.file.attribute.BasicFileAttributes);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter$3.val$path:Ljava/nio/file/Path;
aload 1
invokeinterface java.nio.file.Path.relativize:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
astore 3
start local 3 1: aload 3
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
ldc "module-info.class"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
2: getstatic jdk.internal.jmod.JmodFile$Section.CLASSES:Ljdk/internal/jmod/JmodFile$Section;
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter$3.val$section:Ljdk/internal/jmod/JmodFile$Section;
invokevirtual jdk.internal.jmod.JmodFile$Section.equals:(Ljava/lang/Object;)Z
ifne 4
3: aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter$3.this$1:Ljdk/tools/jmod/JmodTask$JmodFileWriter;
invokestatic jdk.tools.jmod.JmodTask$JmodFileWriter.access$11:(Ljdk/tools/jmod/JmodTask$JmodFileWriter;)Ljdk/tools/jmod/JmodTask;
ldc "warn.ignore.entry"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "module-info.class"
aastore
dup
iconst_1
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter$3.val$section:Ljdk/internal/jmod/JmodFile$Section;
aastore
invokevirtual jdk.tools.jmod.JmodTask.warning:(Ljava/lang/String;[Ljava/lang/Object;)V
4: StackMap locals: java.nio.file.Path
StackMap stack:
aload 3
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
ldc "module-info.class"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 22
5: aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter$3.this$1:Ljdk/tools/jmod/JmodTask$JmodFileWriter;
aload 3
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter$3.this$1:Ljdk/tools/jmod/JmodTask$JmodFileWriter;
getfield jdk.tools.jmod.JmodTask$JmodFileWriter.excludes:Ljava/util/List;
invokevirtual jdk.tools.jmod.JmodTask$JmodFileWriter.matches:(Ljava/nio/file/Path;Ljava/util/List;)Z
ifne 22
6: aconst_null
astore 4
aconst_null
astore 5
7: aload 1
iconst_0
anewarray java.nio.file.OpenOption
invokestatic java.nio.file.Files.newInputStream:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream;
astore 6
start local 6 8: aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter$3.val$out:Ljdk/tools/jmod/JmodOutputStream;
aload 6
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter$3.val$section:Ljdk/internal/jmod/JmodFile$Section;
aload 3
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokevirtual jdk.tools.jmod.JmodOutputStream.writeEntry:(Ljava/io/InputStream;Ljdk/internal/jmod/JmodFile$Section;Ljava/lang/String;)V
9: aload 6
ifnull 22
aload 6
invokevirtual java.io.InputStream.close:()V
goto 22
StackMap locals: jdk.tools.jmod.JmodTask$JmodFileWriter$3 java.nio.file.Path java.nio.file.attribute.BasicFileAttributes java.nio.file.Path java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
10: astore 4
aload 6
ifnull 11
aload 6
invokevirtual java.io.InputStream.close:()V
end local 6 StackMap locals:
StackMap stack:
11: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 5
aload 4
ifnonnull 13
aload 5
astore 4
goto 14
StackMap locals:
StackMap stack:
13: aload 4
aload 5
if_acmpeq 14
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
14: aload 4
athrow
StackMap locals: jdk.tools.jmod.JmodTask$JmodFileWriter$3 java.nio.file.Path java.nio.file.attribute.BasicFileAttributes java.nio.file.Path
StackMap stack: java.io.IOException
15: astore 4
start local 4 16: aload 4
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
ldc "duplicate entry"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 21
17: aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter$3.this$1:Ljdk/tools/jmod/JmodTask$JmodFileWriter;
invokestatic jdk.tools.jmod.JmodTask$JmodFileWriter.access$11:(Ljdk/tools/jmod/JmodTask$JmodFileWriter;)Ljdk/tools/jmod/JmodTask;
ldc "warn.ignore.duplicate.entry"
iconst_2
anewarray java.lang.Object
dup
iconst_0
18: aload 3
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter$3.val$section:Ljdk/internal/jmod/JmodFile$Section;
aastore
19: invokevirtual jdk.tools.jmod.JmodTask.warning:(Ljava/lang/String;[Ljava/lang/Object;)V
20: getstatic java.nio.file.FileVisitResult.CONTINUE:Ljava/nio/file/FileVisitResult;
areturn
21: StackMap locals: java.io.IOException
StackMap stack:
aload 4
athrow
end local 4 22: StackMap locals:
StackMap stack:
getstatic java.nio.file.FileVisitResult.CONTINUE:Ljava/nio/file/FileVisitResult;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljdk/tools/jmod/JmodTask$JmodFileWriter$3;
0 23 1 file Ljava/nio/file/Path;
0 23 2 attrs Ljava/nio/file/attribute/BasicFileAttributes;
1 23 3 relPath Ljava/nio/file/Path;
8 11 6 in Ljava/io/InputStream;
16 22 4 x Ljava/io/IOException;
Exception table:
from to target type
8 9 10 any
7 12 12 any
6 15 15 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
attrs
public java.nio.file.FileVisitResult visitFile(java.lang.Object, java.nio.file.attribute.BasicFileAttributes);
descriptor: (Ljava/lang/Object;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast java.nio.file.Path
aload 2
invokevirtual jdk.tools.jmod.JmodTask$JmodFileWriter$3.visitFile:(Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
}
Signature: Ljava/nio/file/SimpleFileVisitor<Ljava/nio/file/Path;>;
SourceFile: "JmodTask.java"
EnclosingMethod: jdk.tools.jmod.JmodTask$JmodFileWriter.processSection:(Ljdk/tools/jmod/JmodOutputStream;Ljdk/internal/jmod/JmodFile$Section;Ljava/nio/file/Path;)V
NestHost: jdk.tools.jmod.JmodTask
InnerClasses:
public final Section = jdk.internal.jmod.JmodFile$Section of jdk.internal.jmod.JmodFile
private JmodFileWriter = jdk.tools.jmod.JmodTask$JmodFileWriter of jdk.tools.jmod.JmodTask
jdk.tools.jmod.JmodTask$JmodFileWriter$3