public class io.dropwizard.cli.CheckCommand<T extends io.dropwizard.Configuration> extends io.dropwizard.cli.ConfiguredCommand<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.cli.CheckCommand
super_class: io.dropwizard.cli.ConfiguredCommand
{
private static final org.slf4j.Logger LOGGER;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.Class<T> configurationClass;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<TT;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/dropwizard/cli/CheckCommand;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic io.dropwizard.cli.CheckCommand.LOGGER:Lorg/slf4j/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(io.dropwizard.Application<T>);
descriptor: (Lio/dropwizard/Application;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "check"
ldc "Parses and validates the configuration file"
invokespecial io.dropwizard.cli.ConfiguredCommand.<init>:(Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
aload 1
invokevirtual io.dropwizard.Application.getConfigurationClass:()Ljava/lang/Class;
putfield io.dropwizard.cli.CheckCommand.configurationClass:Ljava/lang/Class;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/dropwizard/cli/CheckCommand<TT;>;
0 3 1 application Lio/dropwizard/Application<TT;>;
Signature: (Lio/dropwizard/Application<TT;>;)V
MethodParameters:
Name Flags
application
protected java.lang.Class<T> getConfigurationClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.cli.CheckCommand.configurationClass:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/cli/CheckCommand<TT;>;
Signature: ()Ljava/lang/Class<TT;>;
protected void run(io.dropwizard.setup.Bootstrap<T>, net.sourceforge.argparse4j.inf.Namespace, );
descriptor: (Lio/dropwizard/setup/Bootstrap;Lnet/sourceforge/argparse4j/inf/Namespace;Lio/dropwizard/Configuration;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic io.dropwizard.cli.CheckCommand.LOGGER:Lorg/slf4j/Logger;
ldc "Configuration is OK"
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/cli/CheckCommand<TT;>;
0 2 1 bootstrap Lio/dropwizard/setup/Bootstrap<TT;>;
0 2 2 namespace Lnet/sourceforge/argparse4j/inf/Namespace;
0 2 3 configuration TT;
Exceptions:
throws java.lang.Exception
Signature: (Lio/dropwizard/setup/Bootstrap<TT;>;Lnet/sourceforge/argparse4j/inf/Namespace;TT;)V
MethodParameters:
Name Flags
bootstrap
namespace
configuration
public void onError(io.dropwizard.cli.Cli, net.sourceforge.argparse4j.inf.Namespace, java.lang.Throwable);
descriptor: (Lio/dropwizard/cli/Cli;Lnet/sourceforge/argparse4j/inf/Namespace;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual io.dropwizard.cli.Cli.getStdErr:()Ljava/io/PrintWriter;
aload 3
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/cli/CheckCommand<TT;>;
0 2 1 cli Lio/dropwizard/cli/Cli;
0 2 2 namespace Lnet/sourceforge/argparse4j/inf/Namespace;
0 2 3 e Ljava/lang/Throwable;
MethodParameters:
Name Flags
cli
namespace
e
}
Signature: <T:Lio/dropwizard/Configuration;>Lio/dropwizard/cli/ConfiguredCommand<TT;>;
SourceFile: "CheckCommand.java"