public class com.codahale.metrics.health.HealthCheck$ResultBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.codahale.metrics.health.HealthCheck$ResultBuilder
super_class: java.lang.Object
{
private boolean healthy;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String message;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.Throwable error;
descriptor: Ljava/lang/Throwable;
flags: (0x0002) ACC_PRIVATE
private java.util.Map<java.lang.String, java.lang.Object> details;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
private com.codahale.metrics.Clock clock;
descriptor: Lcom/codahale/metrics/Clock;
flags: (0x0002) ACC_PRIVATE
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield com.codahale.metrics.health.HealthCheck$ResultBuilder.healthy:Z
2: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield com.codahale.metrics.health.HealthCheck$ResultBuilder.details:Ljava/util/Map;
3: aload 0
invokestatic com.codahale.metrics.Clock.defaultClock:()Lcom/codahale/metrics/Clock;
putfield com.codahale.metrics.health.HealthCheck$ResultBuilder.clock:Lcom/codahale/metrics/Clock;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/codahale/metrics/health/HealthCheck$ResultBuilder;
public com.codahale.metrics.health.HealthCheck$ResultBuilder healthy();
descriptor: ()Lcom/codahale/metrics/health/HealthCheck$ResultBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield com.codahale.metrics.health.HealthCheck$ResultBuilder.healthy:Z
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/codahale/metrics/health/HealthCheck$ResultBuilder;
public com.codahale.metrics.health.HealthCheck$ResultBuilder unhealthy();
descriptor: ()Lcom/codahale/metrics/health/HealthCheck$ResultBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield com.codahale.metrics.health.HealthCheck$ResultBuilder.healthy:Z
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/codahale/metrics/health/HealthCheck$ResultBuilder;
public com.codahale.metrics.health.HealthCheck$ResultBuilder unhealthy(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Lcom/codahale/metrics/health/HealthCheck$ResultBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.codahale.metrics.health.HealthCheck$ResultBuilder.error:Ljava/lang/Throwable;
1: aload 0
invokevirtual com.codahale.metrics.health.HealthCheck$ResultBuilder.unhealthy:()Lcom/codahale/metrics/health/HealthCheck$ResultBuilder;
aload 1
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual com.codahale.metrics.health.HealthCheck$ResultBuilder.withMessage:(Ljava/lang/String;)Lcom/codahale/metrics/health/HealthCheck$ResultBuilder;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/codahale/metrics/health/HealthCheck$ResultBuilder;
0 2 1 error Ljava/lang/Throwable;
MethodParameters:
Name Flags
error
public com.codahale.metrics.health.HealthCheck$ResultBuilder withMessage(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/codahale/metrics/health/HealthCheck$ResultBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.codahale.metrics.health.HealthCheck$ResultBuilder.message:Ljava/lang/String;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/codahale/metrics/health/HealthCheck$ResultBuilder;
0 2 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
public com.codahale.metrics.health.HealthCheck$ResultBuilder withMessage(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Lcom/codahale/metrics/health/HealthCheck$ResultBuilder;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.codahale.metrics.health.HealthCheck$ResultBuilder.withMessage:(Ljava/lang/String;)Lcom/codahale/metrics/health/HealthCheck$ResultBuilder;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/codahale/metrics/health/HealthCheck$ResultBuilder;
0 1 1 message Ljava/lang/String;
0 1 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
message
args
public com.codahale.metrics.health.HealthCheck$ResultBuilder withDetail(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Lcom/codahale/metrics/health/HealthCheck$ResultBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.codahale.metrics.health.HealthCheck$ResultBuilder.details:Ljava/util/Map;
ifnonnull 2
1: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield com.codahale.metrics.health.HealthCheck$ResultBuilder.details:Ljava/util/Map;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.codahale.metrics.health.HealthCheck$ResultBuilder.details:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/codahale/metrics/health/HealthCheck$ResultBuilder;
0 4 1 key Ljava/lang/String;
0 4 2 data Ljava/lang/Object;
MethodParameters:
Name Flags
key
data
public com.codahale.metrics.health.HealthCheck$ResultBuilder usingClock(com.codahale.metrics.Clock);
descriptor: (Lcom/codahale/metrics/Clock;)Lcom/codahale/metrics/health/HealthCheck$ResultBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.codahale.metrics.health.HealthCheck$ResultBuilder.clock:Lcom/codahale/metrics/Clock;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/codahale/metrics/health/HealthCheck$ResultBuilder;
0 2 1 clock Lcom/codahale/metrics/Clock;
MethodParameters:
Name Flags
clock
public com.codahale.metrics.health.HealthCheck$Result build();
descriptor: ()Lcom/codahale/metrics/health/HealthCheck$Result;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.codahale.metrics.health.HealthCheck$Result
dup
aload 0
invokespecial com.codahale.metrics.health.HealthCheck$Result.<init>:(Lcom/codahale/metrics/health/HealthCheck$ResultBuilder;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/codahale/metrics/health/HealthCheck$ResultBuilder;
}
SourceFile: "HealthCheck.java"
NestHost: com.codahale.metrics.health.HealthCheck
InnerClasses:
public Result = com.codahale.metrics.health.HealthCheck$Result of com.codahale.metrics.health.HealthCheck
public ResultBuilder = com.codahale.metrics.health.HealthCheck$ResultBuilder of com.codahale.metrics.health.HealthCheck