public class jdk.jpackage.internal.BasicBundlers implements jdk.jpackage.internal.Bundlers
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.jpackage.internal.BasicBundlers
super_class: java.lang.Object
{
boolean defaultsLoaded;
descriptor: Z
flags: (0x0000)
private final java.util.Collection<jdk.jpackage.internal.Bundler> bundlers;
descriptor: Ljava/util/Collection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Collection<Ljdk/jpackage/internal/Bundler;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield jdk.jpackage.internal.BasicBundlers.defaultsLoaded:Z
2: aload 0
new java.util.concurrent.CopyOnWriteArrayList
dup
invokespecial java.util.concurrent.CopyOnWriteArrayList.<init>:()V
putfield jdk.jpackage.internal.BasicBundlers.bundlers:Ljava/util/Collection;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jpackage/internal/BasicBundlers;
public java.util.Collection<jdk.jpackage.internal.Bundler> getBundlers();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jpackage.internal.BasicBundlers.bundlers:Ljava/util/Collection;
invokestatic java.util.Collections.unmodifiableCollection:(Ljava/util/Collection;)Ljava/util/Collection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jpackage/internal/BasicBundlers;
Signature: ()Ljava/util/Collection<Ljdk/jpackage/internal/Bundler;>;
public java.util.Collection<jdk.jpackage.internal.Bundler> getBundlers(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
1: StackMap locals:
StackMap stack:
aload 1
dup
astore 2
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 2
64897: 2
2402104: 3
default: 6
}
StackMap locals: java.lang.String
StackMap stack:
2: aload 2
ldc "ALL"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
goto 6
StackMap locals:
StackMap stack:
3: aload 2
ldc "NONE"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
goto 6
4: StackMap locals:
StackMap stack:
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.jpackage.internal.BasicBundlers.getBundlers:()Ljava/util/Collection;
areturn
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.jpackage.internal.BasicBundlers.getBundlers:()Ljava/util/Collection;
invokeinterface java.util.Collection.stream:()Ljava/util/stream/Stream;
7: aload 1
invokedynamic test(Ljava/lang/String;)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/jpackage/internal/BasicBundlers.lambda$0(Ljava/lang/String;Ljdk/jpackage/internal/Bundler;)Z (6)
(Ljdk/jpackage/internal/Bundler;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
8: invokedynamic apply()Ljava/util/function/IntFunction;
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:
(I)Ljava/lang/Object;
jdk/jpackage/internal/BasicBundlers.lambda$1(I)[Ljdk/jpackage/internal/Bundler; (6)
(I)[Ljdk/jpackage/internal/Bundler;
invokeinterface java.util.stream.Stream.toArray:(Ljava/util/function/IntFunction;)[Ljava/lang/Object;
checkcast jdk.jpackage.internal.Bundler[]
9: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/jpackage/internal/BasicBundlers;
0 10 1 type Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/Collection<Ljdk/jpackage/internal/Bundler;>;
MethodParameters:
Name Flags
type
public void loadBundlersFromServices(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: ldc Ljdk/jpackage/internal/Bundler;
aload 1
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader;
astore 2
start local 2 1: aload 2
invokevirtual java.util.ServiceLoader.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: jdk.jpackage.internal.BasicBundlers java.lang.ClassLoader java.util.ServiceLoader top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jpackage.internal.Bundler
astore 3
start local 3 3: aload 0
getfield jdk.jpackage.internal.BasicBundlers.bundlers:Ljava/util/Collection;
aload 3
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jpackage/internal/BasicBundlers;
0 6 1 cl Ljava/lang/ClassLoader;
1 6 2 loader Ljava/util/ServiceLoader<Ljdk/jpackage/internal/Bundler;>;
3 4 3 aLoader Ljdk/jpackage/internal/Bundler;
MethodParameters:
Name Flags
cl
private static boolean lambda$0(java.lang.String, jdk.jpackage.internal.Bundler);
descriptor: (Ljava/lang/String;Ljdk/jpackage/internal/Bundler;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokeinterface jdk.jpackage.internal.Bundler.getBundleType:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 b Ljdk/jpackage/internal/Bundler;
private static jdk.jpackage.internal.Bundler[] lambda$1(int);
descriptor: (I)[Ljdk/jpackage/internal/Bundler;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: iload 0
anewarray jdk.jpackage.internal.Bundler
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "BasicBundlers.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles