public abstract class io.dropwizard.Application<T extends io.dropwizard.Configuration>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.dropwizard.Application
super_class: java.lang.Object
{
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokevirtual io.dropwizard.Application.bootstrapLogging:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/dropwizard/Application<TT;>;
protected ch.qos.logback.classic.Level bootstrapLogLevel();
descriptor: ()Lch/qos/logback/classic/Level;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic ch.qos.logback.classic.Level.WARN:Lch/qos/logback/classic/Level;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/Application<TT;>;
protected void bootstrapLogging();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.dropwizard.Application.bootstrapLogLevel:()Lch/qos/logback/classic/Level;
invokestatic io.dropwizard.logging.BootstrapLogging.bootstrap:(Lch/qos/logback/classic/Level;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/Application<TT;>;
public java.lang.Class<T> getConfigurationClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc Lio/dropwizard/Configuration;
invokestatic io.dropwizard.util.Generics.getTypeParameter:(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/Application<TT;>;
Signature: ()Ljava/lang/Class<TT;>;
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
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/Application<TT;>;
public void initialize(io.dropwizard.setup.Bootstrap<T>);
descriptor: (Lio/dropwizard/setup/Bootstrap;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/Application<TT;>;
0 1 1 bootstrap Lio/dropwizard/setup/Bootstrap<TT;>;
Signature: (Lio/dropwizard/setup/Bootstrap<TT;>;)V
MethodParameters:
Name Flags
bootstrap
public abstract void run(T, io.dropwizard.setup.Environment);
descriptor: (Lio/dropwizard/Configuration;Lio/dropwizard/setup/Environment;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.lang.Exception
Signature: (TT;Lio/dropwizard/setup/Environment;)V
MethodParameters:
Name Flags
configuration
environment
public void run(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: new io.dropwizard.setup.Bootstrap
dup
aload 0
invokespecial io.dropwizard.setup.Bootstrap.<init>:(Lio/dropwizard/Application;)V
astore 2
start local 2 1: aload 0
aload 2
invokevirtual io.dropwizard.Application.addDefaultCommands:(Lio/dropwizard/setup/Bootstrap;)V
2: aload 0
aload 2
invokevirtual io.dropwizard.Application.initialize:(Lio/dropwizard/setup/Bootstrap;)V
3: aload 2
invokevirtual io.dropwizard.setup.Bootstrap.registerMetrics:()V
4: new io.dropwizard.cli.Cli
dup
new io.dropwizard.util.JarLocation
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokespecial io.dropwizard.util.JarLocation.<init>:(Ljava/lang/Class;)V
aload 2
getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokespecial io.dropwizard.cli.Cli.<init>:(Lio/dropwizard/util/JarLocation;Lio/dropwizard/setup/Bootstrap;Ljava/io/OutputStream;Ljava/io/OutputStream;)V
astore 3
start local 3 5: aload 3
aload 1
invokevirtual io.dropwizard.cli.Cli.run:([Ljava/lang/String;)Z
ifne 7
6: aload 0
invokevirtual io.dropwizard.Application.onFatalError:()V
7: StackMap locals: io.dropwizard.setup.Bootstrap io.dropwizard.cli.Cli
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/dropwizard/Application<TT;>;
0 8 1 arguments [Ljava/lang/String;
1 8 2 bootstrap Lio/dropwizard/setup/Bootstrap<TT;>;
5 8 3 cli Lio/dropwizard/cli/Cli;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
arguments
protected void addDefaultCommands(io.dropwizard.setup.Bootstrap<T>);
descriptor: (Lio/dropwizard/setup/Bootstrap;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
new io.dropwizard.cli.ServerCommand
dup
aload 0
invokespecial io.dropwizard.cli.ServerCommand.<init>:(Lio/dropwizard/Application;)V
invokevirtual io.dropwizard.setup.Bootstrap.addCommand:(Lio/dropwizard/cli/ConfiguredCommand;)V
1: aload 1
new io.dropwizard.cli.CheckCommand
dup
aload 0
invokespecial io.dropwizard.cli.CheckCommand.<init>:(Lio/dropwizard/Application;)V
invokevirtual io.dropwizard.setup.Bootstrap.addCommand:(Lio/dropwizard/cli/ConfiguredCommand;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/dropwizard/Application<TT;>;
0 3 1 bootstrap Lio/dropwizard/setup/Bootstrap<TT;>;
Signature: (Lio/dropwizard/setup/Bootstrap<TT;>;)V
MethodParameters:
Name Flags
bootstrap
protected void onFatalError();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
invokestatic java.lang.System.exit:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/Application<TT;>;
}
Signature: <T:Lio/dropwizard/Configuration;>Ljava/lang/Object;
SourceFile: "Application.java"