public class com.codahale.metrics.RatioGauge$Ratio
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.codahale.metrics.RatioGauge$Ratio
super_class: java.lang.Object
{
private final double numerator;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double denominator;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static com.codahale.metrics.RatioGauge$Ratio of(double, double);
descriptor: (DD)Lcom/codahale/metrics/RatioGauge$Ratio;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 2 0: new com.codahale.metrics.RatioGauge$Ratio
dup
dload 0
dload 2
invokespecial com.codahale.metrics.RatioGauge$Ratio.<init>:(DD)V
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 numerator D
0 1 2 denominator D
MethodParameters:
Name Flags
numerator
denominator
private void <init>(double, double);
descriptor: (DD)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
dload 1
putfield com.codahale.metrics.RatioGauge$Ratio.numerator:D
2: aload 0
dload 3
putfield com.codahale.metrics.RatioGauge$Ratio.denominator:D
3: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/codahale/metrics/RatioGauge$Ratio;
0 4 1 numerator D
0 4 3 denominator D
MethodParameters:
Name Flags
numerator
denominator
public double getValue();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield com.codahale.metrics.RatioGauge$Ratio.denominator:D
dstore 1
start local 1 1: dload 1
invokestatic java.lang.Double.isNaN:(D)Z
ifne 2
dload 1
invokestatic java.lang.Double.isInfinite:(D)Z
ifne 2
dload 1
dconst_0
dcmpl
ifne 3
2: StackMap locals: double
StackMap stack:
ldc NaN
dreturn
3: StackMap locals:
StackMap stack:
aload 0
getfield com.codahale.metrics.RatioGauge$Ratio.numerator:D
dload 1
ddiv
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/codahale/metrics/RatioGauge$Ratio;
1 4 1 d D
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield com.codahale.metrics.RatioGauge$Ratio.numerator:D
invokestatic java.lang.String.valueOf:(D)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.codahale.metrics.RatioGauge$Ratio.denominator:D
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/codahale/metrics/RatioGauge$Ratio;
}
SourceFile: "RatioGauge.java"
NestHost: com.codahale.metrics.RatioGauge
InnerClasses:
public Ratio = com.codahale.metrics.RatioGauge$Ratio of com.codahale.metrics.RatioGauge