public abstract class jdk.jpackage.internal.AbstractAppImageBuilder
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: jdk.jpackage.internal.AbstractAppImageBuilder
super_class: java.lang.Object
{
private final java.nio.file.Path root;
descriptor: Ljava/nio/file/Path;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected final jdk.jpackage.internal.ApplicationLayout appLayout;
descriptor: Ljdk/jpackage/internal/ApplicationLayout;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
public void <init>(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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.jpackage.internal.AbstractAppImageBuilder.root:Ljava/nio/file/Path;
2: aload 0
invokestatic jdk.jpackage.internal.ApplicationLayout.platformAppImage:()Ljdk/jpackage/internal/ApplicationLayout;
aload 1
invokevirtual jdk.jpackage.internal.ApplicationLayout.resolveAt:(Ljava/nio/file/Path;)Ljdk/jpackage/internal/ApplicationLayout;
putfield jdk.jpackage.internal.AbstractAppImageBuilder.appLayout:Ljdk/jpackage/internal/ApplicationLayout;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jpackage/internal/AbstractAppImageBuilder;
0 4 1 root Ljava/nio/file/Path;
MethodParameters:
Name Flags
root
public java.io.InputStream getResourceAsStream(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: ldc Ljdk/jpackage/internal/resources/ResourceLocator;
aload 1
invokevirtual java.lang.Class.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jpackage/internal/AbstractAppImageBuilder;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public abstract void prepareApplicationFiles(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
params
protected void writeCfgFile(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new jdk.jpackage.internal.CfgFile
dup
invokespecial jdk.jpackage.internal.CfgFile.<init>:()V
aload 1
invokevirtual jdk.jpackage.internal.CfgFile.initFromParams:(Ljava/util/Map;)Ljdk/jpackage/internal/CfgFile;
aload 0
getfield jdk.jpackage.internal.AbstractAppImageBuilder.root:Ljava/nio/file/Path;
invokevirtual jdk.jpackage.internal.CfgFile.create:(Ljava/nio/file/Path;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jpackage/internal/AbstractAppImageBuilder;
0 2 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
params
jdk.jpackage.internal.ApplicationLayout getAppLayout();
descriptor: ()Ljdk/jpackage/internal/ApplicationLayout;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jpackage.internal.AbstractAppImageBuilder.appLayout:Ljdk/jpackage/internal/ApplicationLayout;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jpackage/internal/AbstractAppImageBuilder;
protected void copyApplication(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.jpackage.internal.StandardBundlerParam.SOURCE_DIR:Ljdk/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.nio.file.Path
astore 2
start local 2 1: aload 2
ifnull 5
2: getstatic jdk.jpackage.internal.StandardBundlerParam.SOURCE_DIR:Ljdk/jpackage/internal/StandardBundlerParam;
aload 1
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.nio.file.Path
3: aload 0
getfield jdk.jpackage.internal.AbstractAppImageBuilder.appLayout:Ljdk/jpackage/internal/ApplicationLayout;
invokevirtual jdk.jpackage.internal.ApplicationLayout.appDirectory:()Ljava/nio/file/Path;
4: invokestatic jdk.jpackage.internal.IOUtils.copyRecursive:(Ljava/nio/file/Path;Ljava/nio/file/Path;)V
5: StackMap locals: java.nio.file.Path
StackMap stack:
aload 0
getfield jdk.jpackage.internal.AbstractAppImageBuilder.root:Ljava/nio/file/Path;
aload 1
invokestatic jdk.jpackage.internal.AppImageFile.save:(Ljava/nio/file/Path;Ljava/util/Map;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/jpackage/internal/AbstractAppImageBuilder;
0 7 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
1 7 2 inputPath Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
params
public static jdk.jpackage.internal.OverridableResource createIconResource(java.lang.String, jdk.jpackage.internal.BundlerParamInfo<java.nio.file.Path>, java.util.Map<java.lang.String, ? super java.lang.Object>, java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/lang/String;Ljdk/jpackage/internal/BundlerParamInfo;Ljava/util/Map;Ljava/util/Map;)Ljdk/jpackage/internal/OverridableResource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnull 4
1: aload 3
aload 2
iconst_2
anewarray java.lang.String
dup
iconst_0
getstatic jdk.jpackage.internal.StandardBundlerParam.ICON:Ljdk/jpackage/internal/StandardBundlerParam;
invokevirtual jdk.jpackage.internal.StandardBundlerParam.getID:()Ljava/lang/String;
aastore
dup
iconst_1
2: aload 1
invokevirtual jdk.jpackage.internal.BundlerParamInfo.getID:()Ljava/lang/String;
aastore
3: invokestatic jdk.jpackage.internal.AddLauncherArguments.merge:(Ljava/util/Map;Ljava/util/Map;[Ljava/lang/String;)Ljava/util/Map;
astore 2
4: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
getstatic jdk.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/jpackage/internal/StandardBundlerParam;
aload 2
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
5: aload 0
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Path.of:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokestatic jdk.jpackage.internal.IOUtils.getSuffix:(Ljava/nio/file/Path;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 7: aload 2
invokestatic jdk.jpackage.internal.AbstractAppImageBuilder.getLauncherIconType:(Ljava/util/Map;)Ljdk/jpackage/internal/AbstractAppImageBuilder$IconType;
astore 5
start local 5 8: aload 5
getstatic jdk.jpackage.internal.AbstractAppImageBuilder$IconType.NoIcon:Ljdk/jpackage/internal/AbstractAppImageBuilder$IconType;
if_acmpne 10
9: aconst_null
areturn
10: StackMap locals: java.lang.String jdk.jpackage.internal.AbstractAppImageBuilder$IconType
StackMap stack:
aload 0
aload 2
invokestatic jdk.jpackage.internal.OverridableResource.createResource:(Ljava/lang/String;Ljava/util/Map;)Ljdk/jpackage/internal/OverridableResource;
11: ldc "icon"
invokevirtual jdk.jpackage.internal.OverridableResource.setCategory:(Ljava/lang/String;)Ljdk/jpackage/internal/OverridableResource;
12: aload 1
aload 2
invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.nio.file.Path
invokevirtual jdk.jpackage.internal.OverridableResource.setExternal:(Ljava/nio/file/Path;)Ljdk/jpackage/internal/OverridableResource;
13: aload 4
invokevirtual jdk.jpackage.internal.OverridableResource.setPublicName:(Ljava/lang/String;)Ljdk/jpackage/internal/OverridableResource;
14: astore 6
start local 6 15: aload 5
getstatic jdk.jpackage.internal.AbstractAppImageBuilder$IconType.DefaultOrResourceDirIcon:Ljdk/jpackage/internal/AbstractAppImageBuilder$IconType;
if_acmpne 25
aload 3
ifnull 25
16: aconst_null
astore 7
start local 7 17: aload 6
aload 7
invokevirtual jdk.jpackage.internal.OverridableResource.saveToFile:(Ljava/nio/file/Path;)Ljdk/jpackage/internal/OverridableResource$Source;
18: getstatic jdk.jpackage.internal.OverridableResource$Source.ResourceDir:Ljdk/jpackage/internal/OverridableResource$Source;
19: if_acmpeq 25
20: aload 0
aload 1
21: aload 3
aconst_null
22: invokestatic jdk.jpackage.internal.AbstractAppImageBuilder.createIconResource:(Ljava/lang/String;Ljdk/jpackage/internal/BundlerParamInfo;Ljava/util/Map;Ljava/util/Map;)Ljdk/jpackage/internal/OverridableResource;
23: aload 4
invokevirtual jdk.jpackage.internal.OverridableResource.setLogPublicName:(Ljava/lang/String;)Ljdk/jpackage/internal/OverridableResource;
24: astore 6
end local 7 25: StackMap locals: jdk.jpackage.internal.OverridableResource
StackMap stack:
aload 6
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 defaultIconName Ljava/lang/String;
0 26 1 iconParam Ljdk/jpackage/internal/BundlerParamInfo<Ljava/nio/file/Path;>;
0 26 2 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
0 26 3 mainParams Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
7 26 4 resourcePublicName Ljava/lang/String;
8 26 5 iconType Ljdk/jpackage/internal/AbstractAppImageBuilder$IconType;
15 26 6 resource Ljdk/jpackage/internal/OverridableResource;
17 25 7 nullPath Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;Ljdk/jpackage/internal/BundlerParamInfo<Ljava/nio/file/Path;>;Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Ljdk/jpackage/internal/OverridableResource;
MethodParameters:
Name Flags
defaultIconName
iconParam
params
mainParams
private static jdk.jpackage.internal.AbstractAppImageBuilder$IconType getLauncherIconType(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)Ljdk/jpackage/internal/AbstractAppImageBuilder$IconType;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic jdk.jpackage.internal.StandardBundlerParam.ICON:Ljdk/jpackage/internal/StandardBundlerParam;
aload 0
invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
checkcast java.nio.file.Path
astore 1
start local 1 1: aload 1
ifnonnull 3
2: getstatic jdk.jpackage.internal.AbstractAppImageBuilder$IconType.DefaultOrResourceDirIcon:Ljdk/jpackage/internal/AbstractAppImageBuilder$IconType;
areturn
3: StackMap locals: java.nio.file.Path
StackMap stack:
aload 1
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
invokevirtual java.io.File.getName:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 5
4: getstatic jdk.jpackage.internal.AbstractAppImageBuilder$IconType.NoIcon:Ljdk/jpackage/internal/AbstractAppImageBuilder$IconType;
areturn
5: StackMap locals:
StackMap stack:
getstatic jdk.jpackage.internal.AbstractAppImageBuilder$IconType.CustomIcon:Ljdk/jpackage/internal/AbstractAppImageBuilder$IconType;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
1 6 1 launcherIcon Ljava/nio/file/Path;
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Ljdk/jpackage/internal/AbstractAppImageBuilder$IconType;
MethodParameters:
Name Flags
params
}
SourceFile: "AbstractAppImageBuilder.java"
NestMembers:
jdk.jpackage.internal.AbstractAppImageBuilder$IconType
InnerClasses:
private final IconType = jdk.jpackage.internal.AbstractAppImageBuilder$IconType of jdk.jpackage.internal.AbstractAppImageBuilder
final Source = jdk.jpackage.internal.OverridableResource$Source of jdk.jpackage.internal.OverridableResource