public class io.dropwizard.setup.Environment
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.setup.Environment
super_class: java.lang.Object
{
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.codahale.metrics.MetricRegistry metricRegistry;
descriptor: Lcom/codahale/metrics/MetricRegistry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.codahale.metrics.health.HealthCheckRegistry healthCheckRegistry;
descriptor: Lcom/codahale/metrics/health/HealthCheckRegistry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.fasterxml.jackson.databind.ObjectMapper objectMapper;
descriptor: Lcom/fasterxml/jackson/databind/ObjectMapper;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private javax.validation.Validator validator;
descriptor: Ljavax/validation/Validator;
flags: (0x0002) ACC_PRIVATE
private final io.dropwizard.jersey.setup.JerseyContainerHolder jerseyServletContainer;
descriptor: Lio/dropwizard/jersey/setup/JerseyContainerHolder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.dropwizard.jersey.setup.JerseyEnvironment jerseyEnvironment;
descriptor: Lio/dropwizard/jersey/setup/JerseyEnvironment;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.dropwizard.jetty.MutableServletContextHandler servletContext;
descriptor: Lio/dropwizard/jetty/MutableServletContextHandler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.dropwizard.jetty.setup.ServletEnvironment servletEnvironment;
descriptor: Lio/dropwizard/jetty/setup/ServletEnvironment;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.dropwizard.lifecycle.setup.LifecycleEnvironment lifecycleEnvironment;
descriptor: Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.dropwizard.jetty.MutableServletContextHandler adminContext;
descriptor: Lio/dropwizard/jetty/MutableServletContextHandler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.dropwizard.setup.AdminEnvironment adminEnvironment;
descriptor: Lio/dropwizard/setup/AdminEnvironment;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.ExecutorService healthCheckExecutorService;
descriptor: Ljava/util/concurrent/ExecutorService;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.String, com.fasterxml.jackson.databind.ObjectMapper, javax.validation.Validator, com.codahale.metrics.MetricRegistry, java.lang.ClassLoader, com.codahale.metrics.health.HealthCheckRegistry);
descriptor: (Ljava/lang/String;Lcom/fasterxml/jackson/databind/ObjectMapper;Ljavax/validation/Validator;Lcom/codahale/metrics/MetricRegistry;Ljava/lang/ClassLoader;Lcom/codahale/metrics/health/HealthCheckRegistry;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.dropwizard.setup.Environment.name:Ljava/lang/String;
2: aload 0
aload 2
putfield io.dropwizard.setup.Environment.objectMapper:Lcom/fasterxml/jackson/databind/ObjectMapper;
3: aload 0
aload 4
putfield io.dropwizard.setup.Environment.metricRegistry:Lcom/codahale/metrics/MetricRegistry;
4: aload 0
aload 6
putfield io.dropwizard.setup.Environment.healthCheckRegistry:Lcom/codahale/metrics/health/HealthCheckRegistry;
5: aload 0
aload 3
putfield io.dropwizard.setup.Environment.validator:Ljavax/validation/Validator;
6: aload 0
new io.dropwizard.jetty.MutableServletContextHandler
dup
invokespecial io.dropwizard.jetty.MutableServletContextHandler.<init>:()V
putfield io.dropwizard.setup.Environment.servletContext:Lio/dropwizard/jetty/MutableServletContextHandler;
7: aload 0
getfield io.dropwizard.setup.Environment.servletContext:Lio/dropwizard/jetty/MutableServletContextHandler;
aload 5
invokevirtual io.dropwizard.jetty.MutableServletContextHandler.setClassLoader:(Ljava/lang/ClassLoader;)V
8: aload 0
new io.dropwizard.jetty.setup.ServletEnvironment
dup
aload 0
getfield io.dropwizard.setup.Environment.servletContext:Lio/dropwizard/jetty/MutableServletContextHandler;
invokespecial io.dropwizard.jetty.setup.ServletEnvironment.<init>:(Lio/dropwizard/jetty/MutableServletContextHandler;)V
putfield io.dropwizard.setup.Environment.servletEnvironment:Lio/dropwizard/jetty/setup/ServletEnvironment;
9: aload 0
new io.dropwizard.jetty.MutableServletContextHandler
dup
invokespecial io.dropwizard.jetty.MutableServletContextHandler.<init>:()V
putfield io.dropwizard.setup.Environment.adminContext:Lio/dropwizard/jetty/MutableServletContextHandler;
10: aload 0
getfield io.dropwizard.setup.Environment.adminContext:Lio/dropwizard/jetty/MutableServletContextHandler;
aload 5
invokevirtual io.dropwizard.jetty.MutableServletContextHandler.setClassLoader:(Ljava/lang/ClassLoader;)V
11: aload 0
new io.dropwizard.setup.AdminEnvironment
dup
aload 0
getfield io.dropwizard.setup.Environment.adminContext:Lio/dropwizard/jetty/MutableServletContextHandler;
aload 6
aload 4
invokespecial io.dropwizard.setup.AdminEnvironment.<init>:(Lio/dropwizard/jetty/MutableServletContextHandler;Lcom/codahale/metrics/health/HealthCheckRegistry;Lcom/codahale/metrics/MetricRegistry;)V
putfield io.dropwizard.setup.Environment.adminEnvironment:Lio/dropwizard/setup/AdminEnvironment;
12: aload 0
new io.dropwizard.lifecycle.setup.LifecycleEnvironment
dup
invokespecial io.dropwizard.lifecycle.setup.LifecycleEnvironment.<init>:()V
putfield io.dropwizard.setup.Environment.lifecycleEnvironment:Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
13: new io.dropwizard.jersey.DropwizardResourceConfig
dup
aload 4
invokespecial io.dropwizard.jersey.DropwizardResourceConfig.<init>:(Lcom/codahale/metrics/MetricRegistry;)V
astore 7
start local 7 14: aload 7
aload 0
getfield io.dropwizard.setup.Environment.servletContext:Lio/dropwizard/jetty/MutableServletContextHandler;
invokevirtual io.dropwizard.jetty.MutableServletContextHandler.getContextPath:()Ljava/lang/String;
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.setContextPath:(Ljava/lang/String;)V
15: aload 0
new io.dropwizard.jersey.setup.JerseyContainerHolder
dup
new io.dropwizard.jersey.setup.JerseyServletContainer
dup
aload 7
invokespecial io.dropwizard.jersey.setup.JerseyServletContainer.<init>:(Lio/dropwizard/jersey/DropwizardResourceConfig;)V
invokespecial io.dropwizard.jersey.setup.JerseyContainerHolder.<init>:(Ljavax/servlet/Servlet;)V
putfield io.dropwizard.setup.Environment.jerseyServletContainer:Lio/dropwizard/jersey/setup/JerseyContainerHolder;
16: aload 0
new io.dropwizard.jersey.setup.JerseyEnvironment
dup
aload 0
getfield io.dropwizard.setup.Environment.jerseyServletContainer:Lio/dropwizard/jersey/setup/JerseyContainerHolder;
aload 7
invokespecial io.dropwizard.jersey.setup.JerseyEnvironment.<init>:(Lio/dropwizard/jersey/setup/JerseyContainerHolder;Lio/dropwizard/jersey/DropwizardResourceConfig;)V
putfield io.dropwizard.setup.Environment.jerseyEnvironment:Lio/dropwizard/jersey/setup/JerseyEnvironment;
17: aload 0
aload 0
invokevirtual io.dropwizard.setup.Environment.lifecycle:()Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
ldc "TimeBoundHealthCheck-pool-%d"
invokevirtual io.dropwizard.lifecycle.setup.LifecycleEnvironment.executorService:(Ljava/lang/String;)Lio/dropwizard/lifecycle/setup/ExecutorServiceBuilder;
18: new java.util.concurrent.ArrayBlockingQueue
dup
iconst_1
invokespecial java.util.concurrent.ArrayBlockingQueue.<init>:(I)V
invokevirtual io.dropwizard.lifecycle.setup.ExecutorServiceBuilder.workQueue:(Ljava/util/concurrent/BlockingQueue;)Lio/dropwizard/lifecycle/setup/ExecutorServiceBuilder;
19: iconst_1
invokevirtual io.dropwizard.lifecycle.setup.ExecutorServiceBuilder.minThreads:(I)Lio/dropwizard/lifecycle/setup/ExecutorServiceBuilder;
20: iconst_4
invokevirtual io.dropwizard.lifecycle.setup.ExecutorServiceBuilder.maxThreads:(I)Lio/dropwizard/lifecycle/setup/ExecutorServiceBuilder;
21: new com.google.common.util.concurrent.ThreadFactoryBuilder
dup
invokespecial com.google.common.util.concurrent.ThreadFactoryBuilder.<init>:()V
iconst_1
invokevirtual com.google.common.util.concurrent.ThreadFactoryBuilder.setDaemon:(Z)Lcom/google/common/util/concurrent/ThreadFactoryBuilder;
invokevirtual com.google.common.util.concurrent.ThreadFactoryBuilder.build:()Ljava/util/concurrent/ThreadFactory;
invokevirtual io.dropwizard.lifecycle.setup.ExecutorServiceBuilder.threadFactory:(Ljava/util/concurrent/ThreadFactory;)Lio/dropwizard/lifecycle/setup/ExecutorServiceBuilder;
22: new java.util.concurrent.ThreadPoolExecutor$CallerRunsPolicy
dup
invokespecial java.util.concurrent.ThreadPoolExecutor$CallerRunsPolicy.<init>:()V
invokevirtual io.dropwizard.lifecycle.setup.ExecutorServiceBuilder.rejectedExecutionHandler:(Ljava/util/concurrent/RejectedExecutionHandler;)Lio/dropwizard/lifecycle/setup/ExecutorServiceBuilder;
23: invokevirtual io.dropwizard.lifecycle.setup.ExecutorServiceBuilder.build:()Ljava/util/concurrent/ExecutorService;
24: putfield io.dropwizard.setup.Environment.healthCheckExecutorService:Ljava/util/concurrent/ExecutorService;
25: invokestatic com.codahale.metrics.SharedMetricRegistries.getDefault:()Lcom/codahale/metrics/MetricRegistry;
pop
26: goto 29
StackMap locals: io.dropwizard.setup.Environment java.lang.String com.fasterxml.jackson.databind.ObjectMapper javax.validation.Validator com.codahale.metrics.MetricRegistry java.lang.ClassLoader com.codahale.metrics.health.HealthCheckRegistry io.dropwizard.jersey.DropwizardResourceConfig
StackMap stack: java.lang.IllegalStateException
27: pop
28: ldc "default"
aload 4
invokestatic com.codahale.metrics.SharedMetricRegistries.setDefault:(Ljava/lang/String;Lcom/codahale/metrics/MetricRegistry;)Lcom/codahale/metrics/MetricRegistry;
pop
29: StackMap locals:
StackMap stack:
invokestatic com.codahale.metrics.health.SharedHealthCheckRegistries.getDefault:()Lcom/codahale/metrics/health/HealthCheckRegistry;
pop
30: goto 33
StackMap locals:
StackMap stack: java.lang.IllegalStateException
31: pop
32: ldc "default"
aload 6
invokestatic com.codahale.metrics.health.SharedHealthCheckRegistries.setDefault:(Ljava/lang/String;Lcom/codahale/metrics/health/HealthCheckRegistry;)Lcom/codahale/metrics/health/HealthCheckRegistry;
pop
33: StackMap locals:
StackMap stack:
return
end local 7 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 34 0 this Lio/dropwizard/setup/Environment;
0 34 1 name Ljava/lang/String;
0 34 2 objectMapper Lcom/fasterxml/jackson/databind/ObjectMapper;
0 34 3 validator Ljavax/validation/Validator;
0 34 4 metricRegistry Lcom/codahale/metrics/MetricRegistry;
0 34 5 classLoader Ljava/lang/ClassLoader;
0 34 6 healthCheckRegistry Lcom/codahale/metrics/health/HealthCheckRegistry;
14 34 7 jerseyConfig Lio/dropwizard/jersey/DropwizardResourceConfig;
Exception table:
from to target type
25 26 27 Class java.lang.IllegalStateException
29 30 31 Class java.lang.IllegalStateException
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
javax.annotation.Nullable()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
3:
4:
javax.annotation.Nullable()
5:
MethodParameters:
Name Flags
name
objectMapper
validator
metricRegistry
classLoader
healthCheckRegistry
public void <init>(java.lang.String, com.fasterxml.jackson.databind.ObjectMapper, javax.validation.Validator, com.codahale.metrics.MetricRegistry, java.lang.ClassLoader);
descriptor: (Ljava/lang/String;Lcom/fasterxml/jackson/databind/ObjectMapper;Ljavax/validation/Validator;Lcom/codahale/metrics/MetricRegistry;Ljava/lang/ClassLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
new com.codahale.metrics.health.HealthCheckRegistry
dup
invokespecial com.codahale.metrics.health.HealthCheckRegistry.<init>:()V
invokespecial io.dropwizard.setup.Environment.<init>:(Ljava/lang/String;Lcom/fasterxml/jackson/databind/ObjectMapper;Ljavax/validation/Validator;Lcom/codahale/metrics/MetricRegistry;Ljava/lang/ClassLoader;Lcom/codahale/metrics/health/HealthCheckRegistry;)V
1: return
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 2 0 this Lio/dropwizard/setup/Environment;
0 2 1 name Ljava/lang/String;
0 2 2 objectMapper Lcom/fasterxml/jackson/databind/ObjectMapper;
0 2 3 validator Ljavax/validation/Validator;
0 2 4 metricRegistry Lcom/codahale/metrics/MetricRegistry;
0 2 5 classLoader Ljava/lang/ClassLoader;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
javax.annotation.Nullable()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
3:
4:
javax.annotation.Nullable()
MethodParameters:
Name Flags
name
objectMapper
validator
metricRegistry
classLoader
public io.dropwizard.jersey.setup.JerseyEnvironment jersey();
descriptor: ()Lio/dropwizard/jersey/setup/JerseyEnvironment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.setup.Environment.jerseyEnvironment:Lio/dropwizard/jersey/setup/JerseyEnvironment;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/setup/Environment;
public java.util.concurrent.ExecutorService getHealthCheckExecutorService();
descriptor: ()Ljava/util/concurrent/ExecutorService;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.setup.Environment.healthCheckExecutorService:Ljava/util/concurrent/ExecutorService;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/setup/Environment;
public io.dropwizard.setup.AdminEnvironment admin();
descriptor: ()Lio/dropwizard/setup/AdminEnvironment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.setup.Environment.adminEnvironment:Lio/dropwizard/setup/AdminEnvironment;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/setup/Environment;
public io.dropwizard.lifecycle.setup.LifecycleEnvironment lifecycle();
descriptor: ()Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.setup.Environment.lifecycleEnvironment:Lio/dropwizard/lifecycle/setup/LifecycleEnvironment;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/setup/Environment;
public io.dropwizard.jetty.setup.ServletEnvironment servlets();
descriptor: ()Lio/dropwizard/jetty/setup/ServletEnvironment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.setup.Environment.servletEnvironment:Lio/dropwizard/jetty/setup/ServletEnvironment;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/setup/Environment;
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper();
descriptor: ()Lcom/fasterxml/jackson/databind/ObjectMapper;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.setup.Environment.objectMapper:Lcom/fasterxml/jackson/databind/ObjectMapper;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/setup/Environment;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.setup.Environment.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/setup/Environment;
public javax.validation.Validator getValidator();
descriptor: ()Ljavax/validation/Validator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.setup.Environment.validator:Ljavax/validation/Validator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/setup/Environment;
public void setValidator(javax.validation.Validator);
descriptor: (Ljavax/validation/Validator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.validation.Validator
putfield io.dropwizard.setup.Environment.validator:Ljavax/validation/Validator;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/setup/Environment;
0 2 1 validator Ljavax/validation/Validator;
MethodParameters:
Name Flags
validator
public com.codahale.metrics.MetricRegistry metrics();
descriptor: ()Lcom/codahale/metrics/MetricRegistry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.setup.Environment.metricRegistry:Lcom/codahale/metrics/MetricRegistry;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/setup/Environment;
public com.codahale.metrics.health.HealthCheckRegistry healthChecks();
descriptor: ()Lcom/codahale/metrics/health/HealthCheckRegistry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.setup.Environment.healthCheckRegistry:Lcom/codahale/metrics/health/HealthCheckRegistry;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/setup/Environment;
public io.dropwizard.jetty.MutableServletContextHandler getApplicationContext();
descriptor: ()Lio/dropwizard/jetty/MutableServletContextHandler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.setup.Environment.servletContext:Lio/dropwizard/jetty/MutableServletContextHandler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/setup/Environment;
public javax.servlet.Servlet getJerseyServletContainer();
descriptor: ()Ljavax/servlet/Servlet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.setup.Environment.jerseyServletContainer:Lio/dropwizard/jersey/setup/JerseyContainerHolder;
invokevirtual io.dropwizard.jersey.setup.JerseyContainerHolder.getContainer:()Ljavax/servlet/Servlet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/setup/Environment;
RuntimeVisibleAnnotations:
javax.annotation.Nullable()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
javax.annotation.Nullable()
public io.dropwizard.jetty.MutableServletContextHandler getAdminContext();
descriptor: ()Lio/dropwizard/jetty/MutableServletContextHandler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.setup.Environment.adminContext:Lio/dropwizard/jetty/MutableServletContextHandler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/setup/Environment;
}
SourceFile: "Environment.java"
InnerClasses:
public CallerRunsPolicy = java.util.concurrent.ThreadPoolExecutor$CallerRunsPolicy of java.util.concurrent.ThreadPoolExecutor