class io.dropwizard.testing.DropwizardTestSupport$2 extends io.dropwizard.setup.Bootstrap<C>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.dropwizard.testing.DropwizardTestSupport$2
super_class: io.dropwizard.setup.Bootstrap
{
final io.dropwizard.testing.DropwizardTestSupport this$0;
descriptor: Lio/dropwizard/testing/DropwizardTestSupport;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(io.dropwizard.testing.DropwizardTestSupport, io.dropwizard.Application);
descriptor: (Lio/dropwizard/testing/DropwizardTestSupport;Lio/dropwizard/Application;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield io.dropwizard.testing.DropwizardTestSupport$2.this$0:Lio/dropwizard/testing/DropwizardTestSupport;
aload 0
aload 2
invokespecial io.dropwizard.setup.Bootstrap.<init>:(Lio/dropwizard/Application;)V
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/testing/DropwizardTestSupport$2;
0 1 2 $anonymous0 Lio/dropwizard/Application<TC;>;
MethodParameters:
Name Flags
this$0 final
$anonymous0
public void run(C, io.dropwizard.setup.Environment);
descriptor: (Lio/dropwizard/Configuration;Lio/dropwizard/setup/Environment;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual io.dropwizard.setup.Environment.lifecycle:()Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
aload 0
invokedynamic serverStarted(Lio/dropwizard/testing/DropwizardTestSupport$2;)Lio/dropwizard/lifecycle/ServerLifecycleListener;
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:
(Lorg/eclipse/jetty/server/Server;)V
io/dropwizard/testing/DropwizardTestSupport$2.lambda$0(Lorg/eclipse/jetty/server/Server;)V (7)
(Lorg/eclipse/jetty/server/Server;)V
invokevirtual io.dropwizard.lifecycle.setup.LifecycleEnvironment.addServerLifecycleListener:(Lio/dropwizard/lifecycle/ServerLifecycleListener;)V
1: aload 0
getfield io.dropwizard.testing.DropwizardTestSupport$2.this$0:Lio/dropwizard/testing/DropwizardTestSupport;
aload 1
putfield io.dropwizard.testing.DropwizardTestSupport.configuration:Lio/dropwizard/Configuration;
2: aload 0
getfield io.dropwizard.testing.DropwizardTestSupport$2.this$0:Lio/dropwizard/testing/DropwizardTestSupport;
aload 2
putfield io.dropwizard.testing.DropwizardTestSupport.environment:Lio/dropwizard/setup/Environment;
3: aload 0
aload 1
aload 2
invokespecial io.dropwizard.setup.Bootstrap.run:(Lio/dropwizard/Configuration;Lio/dropwizard/setup/Environment;)V
4: aload 0
getfield io.dropwizard.testing.DropwizardTestSupport$2.this$0:Lio/dropwizard/testing/DropwizardTestSupport;
getfield io.dropwizard.testing.DropwizardTestSupport.listeners:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 10
StackMap locals: io.dropwizard.testing.DropwizardTestSupport$2 io.dropwizard.Configuration io.dropwizard.setup.Environment top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.dropwizard.testing.DropwizardTestSupport$ServiceListener
astore 3
start local 3 6: aload 3
aload 1
aload 2
aload 0
getfield io.dropwizard.testing.DropwizardTestSupport$2.this$0:Lio/dropwizard/testing/DropwizardTestSupport;
invokevirtual io.dropwizard.testing.DropwizardTestSupport$ServiceListener.onRun:(Lio/dropwizard/Configuration;Lio/dropwizard/setup/Environment;Lio/dropwizard/testing/DropwizardTestSupport;)V
7: goto 10
StackMap locals: io.dropwizard.testing.DropwizardTestSupport$2 io.dropwizard.Configuration io.dropwizard.setup.Environment io.dropwizard.testing.DropwizardTestSupport$ServiceListener java.util.Iterator
StackMap stack: java.lang.Exception
8: astore 5
start local 5 9: new java.lang.RuntimeException
dup
ldc "Error running app rule start listener"
aload 5
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 5 end local 3 10: StackMap locals: io.dropwizard.testing.DropwizardTestSupport$2 io.dropwizard.Configuration io.dropwizard.setup.Environment top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/dropwizard/testing/DropwizardTestSupport$2;
0 12 1 configuration TC;
0 12 2 environment Lio/dropwizard/setup/Environment;
6 10 3 listener Lio/dropwizard/testing/DropwizardTestSupport$ServiceListener<TC;>;
9 10 5 ex Ljava/lang/Exception;
Exception table:
from to target type
6 7 8 Class java.lang.Exception
Exceptions:
throws java.lang.Exception
Signature: (TC;Lio/dropwizard/setup/Environment;)V
MethodParameters:
Name Flags
configuration
environment
private void lambda$0(org.eclipse.jetty.server.Server);
descriptor: (Lorg/eclipse/jetty/server/Server;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.dropwizard.testing.DropwizardTestSupport$2.this$0:Lio/dropwizard/testing/DropwizardTestSupport;
aload 1
dup_x1
putfield io.dropwizard.testing.DropwizardTestSupport.jettyServer:Lorg/eclipse/jetty/server/Server;
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/testing/DropwizardTestSupport$2;
0 1 1 server Lorg/eclipse/jetty/server/Server;
}
Signature: Lio/dropwizard/setup/Bootstrap<TC;>;
SourceFile: "DropwizardTestSupport.java"
EnclosingMethod: io.dropwizard.testing.DropwizardTestSupport.startIfRequired:()V
NestHost: io.dropwizard.testing.DropwizardTestSupport
InnerClasses:
io.dropwizard.testing.DropwizardTestSupport$2
public abstract ServiceListener = io.dropwizard.testing.DropwizardTestSupport$ServiceListener of io.dropwizard.testing.DropwizardTestSupport
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles