class jdk.jpackage.internal.LinuxPackageBundler$1 implements jdk.jpackage.internal.PlatformPackage
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.jpackage.internal.LinuxPackageBundler$1
super_class: java.lang.Object
{
final jdk.jpackage.internal.LinuxPackageBundler this$0;
descriptor: Ljdk/jpackage/internal/LinuxPackageBundler;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.util.Map val$params;
descriptor: Ljava/util/Map;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.util.function.Supplier val$packageLayout;
descriptor: Ljava/util/function/Supplier;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(jdk.jpackage.internal.LinuxPackageBundler, java.util.Map, java.util.function.Supplier);
descriptor: (Ljdk/jpackage/internal/LinuxPackageBundler;Ljava/util/Map;Ljava/util/function/Supplier;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield jdk.jpackage.internal.LinuxPackageBundler$1.this$0:Ljdk/jpackage/internal/LinuxPackageBundler;
aload 0
aload 2
putfield jdk.jpackage.internal.LinuxPackageBundler$1.val$params:Ljava/util/Map;
aload 0
aload 3
putfield jdk.jpackage.internal.LinuxPackageBundler$1.val$packageLayout:Ljava/util/function/Supplier;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jpackage/internal/LinuxPackageBundler$1;
MethodParameters:
Name Flags
this$0 final
val$params final
val$packageLayout final
public java.lang.String name();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jpackage.internal.LinuxPackageBundler$1.this$0:Ljdk/jpackage/internal/LinuxPackageBundler;
getfield jdk.jpackage.internal.LinuxPackageBundler.packageName:Ljdk/jpackage/internal/BundlerParamInfo;
aload 0
getfield jdk.jpackage.internal.LinuxPackageBundler$1.val$params:Ljava/util/Map;
invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jpackage/internal/LinuxPackageBundler$1;
public java.nio.file.Path sourceRoot();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.jpackage.internal.LinuxPackageBundler.IMAGES_ROOT:Ljdk/jpackage/internal/BundlerParamInfo;
aload 0
getfield jdk.jpackage.internal.LinuxPackageBundler$1.val$params:Ljava/util/Map;
invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.nio.file.Path
invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jpackage/internal/LinuxPackageBundler$1;
public jdk.jpackage.internal.ApplicationLayout sourceApplicationLayout();
descriptor: ()Ljdk/jpackage/internal/ApplicationLayout;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jpackage.internal.LinuxPackageBundler$1.val$packageLayout:Ljava/util/function/Supplier;
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast jdk.jpackage.internal.ApplicationLayout
1: aload 0
aload 0
invokevirtual jdk.jpackage.internal.LinuxPackageBundler$1.sourceRoot:()Ljava/nio/file/Path;
invokevirtual jdk.jpackage.internal.LinuxPackageBundler$1.applicationInstallDir:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
2: invokevirtual jdk.jpackage.internal.ApplicationLayout.resolveAt:(Ljava/nio/file/Path;)Ljdk/jpackage/internal/ApplicationLayout;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jpackage/internal/LinuxPackageBundler$1;
public jdk.jpackage.internal.ApplicationLayout installedApplicationLayout();
descriptor: ()Ljdk/jpackage/internal/ApplicationLayout;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jpackage.internal.LinuxPackageBundler$1.val$packageLayout:Ljava/util/function/Supplier;
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast jdk.jpackage.internal.ApplicationLayout
1: aload 0
ldc "/"
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokevirtual jdk.jpackage.internal.LinuxPackageBundler$1.applicationInstallDir:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
2: invokevirtual jdk.jpackage.internal.ApplicationLayout.resolveAt:(Ljava/nio/file/Path;)Ljdk/jpackage/internal/ApplicationLayout;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jpackage/internal/LinuxPackageBundler$1;
private java.nio.file.Path applicationInstallDir(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/nio/file/Path;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: getstatic jdk.jpackage.internal.LinuxPackageBundler.LINUX_INSTALL_DIR:Ljdk/jpackage/internal/BundlerParamInfo;
aload 0
getfield jdk.jpackage.internal.LinuxPackageBundler$1.val$params:Ljava/util/Map;
invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 1: aload 2
invokestatic jdk.jpackage.internal.LinuxPackageBundler.isInstallDirInUsrTree:(Ljava/lang/String;)Z
ifeq 3
2: aload 1
areturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 2
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
invokevirtual jdk.jpackage.internal.LinuxPackageBundler$1.name:()Ljava/lang/String;
aastore
invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 3
start local 3 4: aload 3
invokeinterface java.nio.file.Path.isAbsolute:()Z
ifeq 6
5: new java.lang.StringBuilder
dup
ldc "."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.normalize:()Ljava/nio/file/Path;
astore 3
6: StackMap locals: java.nio.file.Path
StackMap stack:
aload 1
aload 3
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/jpackage/internal/LinuxPackageBundler$1;
0 7 1 root Ljava/nio/file/Path;
1 7 2 installRoot Ljava/lang/String;
4 7 3 installDir Ljava/nio/file/Path;
MethodParameters:
Name Flags
root
}
SourceFile: "LinuxPackageBundler.java"
EnclosingMethod: jdk.jpackage.internal.LinuxPackageBundler.createMetaPackage:(Ljava/util/Map;)Ljdk/jpackage/internal/PlatformPackage;
NestHost: jdk.jpackage.internal.LinuxPackageBundler
InnerClasses:
jdk.jpackage.internal.LinuxPackageBundler$1