public final class jdk.tools.jlink.internal.plugins.ExcludeJmodSectionPlugin extends jdk.tools.jlink.internal.plugins.AbstractPlugin
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jlink.internal.plugins.ExcludeJmodSectionPlugin
super_class: jdk.tools.jlink.internal.plugins.AbstractPlugin
{
public static final java.lang.String MAN_PAGES;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "man"
public static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "headers"
private final java.util.Set<jdk.tools.jlink.plugin.ResourcePoolEntry$Type> filters;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "exclude-jmod-section"
invokespecial jdk.tools.jlink.internal.plugins.AbstractPlugin.<init>:(Ljava/lang/String;)V
1: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield jdk.tools.jlink.internal.plugins.ExcludeJmodSectionPlugin.filters:Ljava/util/Set;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/tools/jlink/internal/plugins/ExcludeJmodSectionPlugin;
public void configure(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual jdk.tools.jlink.internal.plugins.ExcludeJmodSectionPlugin.getName:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 1: aload 2
invokevirtual java.lang.String.isEmpty:()Z
ifeq 3
2: new java.lang.IllegalArgumentException
dup
ldc "Section name must be specified"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.String
StackMap stack:
aload 2
dup
astore 3
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 2
107866: 4
795307910: 5
default: 10
}
StackMap locals: java.lang.String
StackMap stack:
4: aload 3
ldc "man"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
goto 10
StackMap locals:
StackMap stack:
5: aload 3
ldc "headers"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
goto 10
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jlink.internal.plugins.ExcludeJmodSectionPlugin.filters:Ljava/util/Set;
getstatic jdk.tools.jlink.plugin.ResourcePoolEntry$Type.MAN_PAGE:Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
7: goto 11
8: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jlink.internal.plugins.ExcludeJmodSectionPlugin.filters:Ljava/util/Set;
getstatic jdk.tools.jlink.plugin.ResourcePoolEntry$Type.HEADER_FILE:Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
9: goto 11
10: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid section name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/tools/jlink/internal/plugins/ExcludeJmodSectionPlugin;
0 12 1 config Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
1 12 2 arg Ljava/lang/String;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
config
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/ExcludeJmodSectionPlugin;)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/ExcludeJmodSectionPlugin.lambda$0(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/ExcludeJmodSectionPlugin;
0 4 1 in Ljdk/tools/jlink/plugin/ResourcePool;
0 4 2 out Ljdk/tools/jlink/plugin/ResourcePoolBuilder;
MethodParameters:
Name Flags
in
out
public jdk.tools.jlink.plugin.Plugin$Category getType();
descriptor: ()Ljdk/tools/jlink/plugin/Plugin$Category;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic jdk.tools.jlink.plugin.Plugin$Category.FILTER:Ljdk/tools/jlink/plugin/Plugin$Category;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/plugins/ExcludeJmodSectionPlugin;
public boolean hasArguments();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/plugins/ExcludeJmodSectionPlugin;
private jdk.tools.jlink.plugin.ResourcePoolEntry lambda$0(jdk.tools.jlink.plugin.ResourcePoolEntry);
descriptor: (Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Ljdk/tools/jlink/plugin/ResourcePoolEntry;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jlink.internal.plugins.ExcludeJmodSectionPlugin.filters:Ljava/util/Set;
aload 1
invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.type:()Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 2
1: aconst_null
astore 1
2: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/tools/jlink/internal/plugins/ExcludeJmodSectionPlugin;
0 3 1 entry Ljdk/tools/jlink/plugin/ResourcePoolEntry;
}
SourceFile: "ExcludeJmodSectionPlugin.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Category = jdk.tools.jlink.plugin.Plugin$Category of jdk.tools.jlink.plugin.Plugin
public final Type = jdk.tools.jlink.plugin.ResourcePoolEntry$Type of jdk.tools.jlink.plugin.ResourcePoolEntry