public class io.vertx.core.impl.launcher.ServiceCommandFactoryLoader implements io.vertx.core.spi.launcher.CommandFactoryLookup
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.impl.launcher.ServiceCommandFactoryLoader
super_class: java.lang.Object
{
private java.util.Collection<io.vertx.core.spi.launcher.CommandFactory> commands;
descriptor: Ljava/util/Collection;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Collection<Lio/vertx/core/spi/launcher/CommandFactory;>;
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
ldc Lio/vertx/core/spi/launcher/CommandFactory;
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokestatic io.vertx.core.ServiceHelper.loadFactories:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/Collection;
putfield io.vertx.core.impl.launcher.ServiceCommandFactoryLoader.commands:Ljava/util/Collection;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/impl/launcher/ServiceCommandFactoryLoader;
public void <init>(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)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
ldc Lio/vertx/core/spi/launcher/CommandFactory;
aload 1
invokestatic io.vertx.core.ServiceHelper.loadFactories:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/Collection;
putfield io.vertx.core.impl.launcher.ServiceCommandFactoryLoader.commands:Ljava/util/Collection;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/impl/launcher/ServiceCommandFactoryLoader;
0 3 1 loader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
loader
public java.util.Collection<io.vertx.core.spi.launcher.CommandFactory<?>> lookup();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
getfield io.vertx.core.impl.launcher.ServiceCommandFactoryLoader.commands:Ljava/util/Collection;
invokeinterface java.util.Collection.stream:()Ljava/util/stream/Stream;
aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/util/List;)Ljava/util/function/Consumer;
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;)V
java/util/List.add(Ljava/lang/Object;)Z (9 itf)
(Lio/vertx/core/spi/launcher/CommandFactory;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/impl/launcher/ServiceCommandFactoryLoader;
1 3 1 list Ljava/util/List<Lio/vertx/core/spi/launcher/CommandFactory<*>;>;
Signature: ()Ljava/util/Collection<Lio/vertx/core/spi/launcher/CommandFactory<*>;>;
}
SourceFile: "ServiceCommandFactoryLoader.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles