public final class jdk.tools.jlink.internal.plugins.StripDebugPlugin implements jdk.tools.jlink.plugin.Plugin
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jlink.internal.plugins.StripDebugPlugin
super_class: java.lang.Object
{
public static final java.lang.String NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "strip-debug"
private final java.util.function.Predicate<java.lang.String> predicate;
descriptor: Ljava/util/function/Predicate;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/function/Predicate<Ljava/lang/String;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
jdk/tools/jlink/internal/plugins/StripDebugPlugin.lambda$0(Ljava/lang/String;)Z (6)
(Ljava/lang/String;)Z
invokespecial jdk.tools.jlink.internal.plugins.StripDebugPlugin.<init>:(Ljava/util/function/Predicate;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/plugins/StripDebugPlugin;
void <init>(java.util.function.Predicate<java.lang.String>);
descriptor: (Ljava/util/function/Predicate;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.tools.jlink.internal.plugins.StripDebugPlugin.predicate:Ljava/util/function/Predicate;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/tools/jlink/internal/plugins/StripDebugPlugin;
0 3 1 predicate Ljava/util/function/Predicate<Ljava/lang/String;>;
Signature: (Ljava/util/function/Predicate<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
predicate
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "strip-debug"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/plugins/StripDebugPlugin;
public java.lang.String getDescription();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "strip-debug"
invokestatic jdk.tools.jlink.internal.plugins.PluginsResourceBundle.getDescription:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/plugins/StripDebugPlugin;
public jdk.tools.jlink.plugin.ResourcePool transform(jdk.tools.jlink.plugin.ResourcePool, jdk.tools.jlink.plugin.ResourcePoolBuilder);
descriptor: (Ljdk/tools/jlink/plugin/ResourcePool;Ljdk/tools/jlink/plugin/ResourcePoolBuilder;)Ljdk/tools/jlink/plugin/ResourcePool;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
invokedynamic apply(Ljdk/tools/jlink/internal/plugins/StripDebugPlugin;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
jdk/tools/jlink/internal/plugins/StripDebugPlugin.lambda$1(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Ljdk/tools/jlink/plugin/ResourcePoolEntry; (7)
(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Ljdk/tools/jlink/plugin/ResourcePoolEntry;
1: aload 2
2: invokeinterface jdk.tools.jlink.plugin.ResourcePool.transformAndCopy:(Ljava/util/function/Function;Ljdk/tools/jlink/plugin/ResourcePoolBuilder;)V
3: aload 2
invokeinterface jdk.tools.jlink.plugin.ResourcePoolBuilder.build:()Ljdk/tools/jlink/plugin/ResourcePool;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/tools/jlink/internal/plugins/StripDebugPlugin;
0 4 1 in Ljdk/tools/jlink/plugin/ResourcePool;
0 4 2 out Ljdk/tools/jlink/plugin/ResourcePoolBuilder;
MethodParameters:
Name Flags
in
out
private static boolean lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/lang/String;
private jdk.tools.jlink.plugin.ResourcePoolEntry lambda$1(jdk.tools.jlink.plugin.ResourcePoolEntry);
descriptor: (Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Ljdk/tools/jlink/plugin/ResourcePoolEntry;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
astore 2
start local 2 1: aload 1
invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.type:()Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
getstatic jdk.tools.jlink.plugin.ResourcePoolEntry$Type.CLASS_OR_RESOURCE:Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
invokevirtual jdk.tools.jlink.plugin.ResourcePoolEntry$Type.equals:(Ljava/lang/Object;)Z
ifeq 11
2: aload 1
invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.path:()Ljava/lang/String;
astore 3
start local 3 3: aload 3
ldc ".class"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 13
4: aload 3
ldc "module-info.class"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 13
5: new jdk.internal.org.objectweb.asm.ClassReader
dup
aload 1
invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.contentBytes:()[B
invokespecial jdk.internal.org.objectweb.asm.ClassReader.<init>:([B)V
astore 4
start local 4 6: new jdk.internal.org.objectweb.asm.ClassWriter
dup
iconst_1
invokespecial jdk.internal.org.objectweb.asm.ClassWriter.<init>:(I)V
astore 5
start local 5 7: aload 4
aload 5
iconst_2
invokevirtual jdk.internal.org.objectweb.asm.ClassReader.accept:(Ljdk/internal/org/objectweb/asm/ClassVisitor;I)V
8: aload 5
invokevirtual jdk.internal.org.objectweb.asm.ClassWriter.toByteArray:()[B
astore 6
start local 6 9: aload 1
aload 6
invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.copyWithContent:([B)Ljdk/tools/jlink/plugin/ResourcePoolEntry;
astore 2
end local 6 end local 5 end local 4 end local 3 10: goto 13
StackMap locals: jdk.tools.jlink.plugin.ResourcePoolEntry
StackMap stack:
11: aload 0
getfield jdk.tools.jlink.internal.plugins.StripDebugPlugin.predicate:Ljava/util/function/Predicate;
aload 2
invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.path:()Ljava/lang/String;
invokeinterface java.util.function.Predicate.test:(Ljava/lang/Object;)Z
ifeq 13
12: aconst_null
astore 2
13: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/tools/jlink/internal/plugins/StripDebugPlugin;
0 14 1 resource Ljdk/tools/jlink/plugin/ResourcePoolEntry;
1 14 2 res Ljdk/tools/jlink/plugin/ResourcePoolEntry;
3 10 3 path Ljava/lang/String;
6 10 4 reader Ljdk/internal/org/objectweb/asm/ClassReader;
7 10 5 writer Ljdk/internal/org/objectweb/asm/ClassWriter;
9 10 6 content [B
}
SourceFile: "StripDebugPlugin.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Type = jdk.tools.jlink.plugin.ResourcePoolEntry$Type of jdk.tools.jlink.plugin.ResourcePoolEntry