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=8, 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;
astore 4
start local 4 2: aload 4
ldc "module-info.class"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
3: 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 19
4: aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter$3.this$1:Ljdk/tools/jmod/JmodTask$JmodFileWriter;
invokestatic jdk.tools.jmod.JmodTask$JmodFileWriter.access$0:(Ljdk/tools/jmod/JmodTask$JmodFileWriter;)Ljdk/tools/jmod/JmodTask;
ldc "warn.ignore.entry"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 4
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
5: goto 19
StackMap locals: java.nio.file.Path java.lang.String
StackMap stack:
6: 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 19
7: aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter$3.val$out:Ljdk/tools/jmod/JmodOutputStream;
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter$3.val$section:Ljdk/internal/jmod/JmodFile$Section;
aload 4
invokevirtual jdk.tools.jmod.JmodOutputStream.contains:(Ljdk/internal/jmod/JmodFile$Section;Ljava/lang/String;)Z
ifeq 10
8: aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter$3.this$1:Ljdk/tools/jmod/JmodTask$JmodFileWriter;
invokestatic jdk.tools.jmod.JmodTask$JmodFileWriter.access$0:(Ljdk/tools/jmod/JmodTask$JmodFileWriter;)Ljdk/tools/jmod/JmodTask;
ldc "warn.ignore.duplicate.entry"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 4
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
9: goto 19
10: StackMap locals:
StackMap stack:
aconst_null
astore 5
aconst_null
astore 6
11: 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 7
start local 7 12: aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter$3.val$out:Ljdk/tools/jmod/JmodOutputStream;
aload 7
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter$3.val$section:Ljdk/internal/jmod/JmodFile$Section;
aload 4
invokevirtual jdk.tools.jmod.JmodOutputStream.writeEntry:(Ljava/io/InputStream;Ljdk/internal/jmod/JmodFile$Section;Ljava/lang/String;)V
13: aload 7
ifnull 19
aload 7
invokevirtual java.io.InputStream.close:()V
goto 19
StackMap locals: jdk.tools.jmod.JmodTask$JmodFileWriter$3 java.nio.file.Path java.nio.file.attribute.BasicFileAttributes java.nio.file.Path java.lang.String java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
14: astore 5
aload 7
ifnull 15
aload 7
invokevirtual java.io.InputStream.close:()V
end local 7 StackMap locals:
StackMap stack:
15: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
16: astore 6
aload 5
ifnonnull 17
aload 6
astore 5
goto 18
StackMap locals:
StackMap stack:
17: aload 5
aload 6
if_acmpeq 18
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
18: aload 5
athrow
19: StackMap locals:
StackMap stack:
getstatic java.nio.file.FileVisitResult.CONTINUE:Ljava/nio/file/FileVisitResult;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljdk/tools/jmod/JmodTask$JmodFileWriter$3;
0 20 1 file Ljava/nio/file/Path;
0 20 2 attrs Ljava/nio/file/attribute/BasicFileAttributes;
1 20 3 relPath Ljava/nio/file/Path;
2 20 4 name Ljava/lang/String;
12 15 7 in Ljava/io/InputStream;
Exception table:
from to target type
12 13 14 any
11 16 16 any
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