public class io.dropwizard.util.Size implements java.lang.Comparable<io.dropwizard.util.Size>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.util.Size
super_class: java.lang.Object
{
private static final java.util.regex.Pattern SIZE_PATTERN;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final com.google.common.collect.ImmutableSortedMap<java.lang.String, io.dropwizard.util.SizeUnit> SUFFIXES;
descriptor: Lcom/google/common/collect/ImmutableSortedMap;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lcom/google/common/collect/ImmutableSortedMap<Ljava/lang/String;Lio/dropwizard/util/SizeUnit;>;
private final long count;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.dropwizard.util.SizeUnit unit;
descriptor: Lio/dropwizard/util/SizeUnit;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc "(\\d+)\\s*(\\S+)"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic io.dropwizard.util.Size.SIZE_PATTERN:Ljava/util/regex/Pattern;
1: getstatic java.lang.String.CASE_INSENSITIVE_ORDER:Ljava/util/Comparator;
invokestatic com.google.common.collect.ImmutableSortedMap.orderedBy:(Ljava/util/Comparator;)Lcom/google/common/collect/ImmutableSortedMap$Builder;
2: ldc "B"
getstatic io.dropwizard.util.SizeUnit.BYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual com.google.common.collect.ImmutableSortedMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMap$Builder;
3: ldc "byte"
getstatic io.dropwizard.util.SizeUnit.BYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual com.google.common.collect.ImmutableSortedMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMap$Builder;
4: ldc "bytes"
getstatic io.dropwizard.util.SizeUnit.BYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual com.google.common.collect.ImmutableSortedMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMap$Builder;
5: ldc "K"
getstatic io.dropwizard.util.SizeUnit.KILOBYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual com.google.common.collect.ImmutableSortedMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMap$Builder;
6: ldc "KB"
getstatic io.dropwizard.util.SizeUnit.KILOBYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual com.google.common.collect.ImmutableSortedMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMap$Builder;
7: ldc "KiB"
getstatic io.dropwizard.util.SizeUnit.KILOBYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual com.google.common.collect.ImmutableSortedMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMap$Builder;
8: ldc "kilobyte"
getstatic io.dropwizard.util.SizeUnit.KILOBYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual com.google.common.collect.ImmutableSortedMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMap$Builder;
9: ldc "kilobytes"
getstatic io.dropwizard.util.SizeUnit.KILOBYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual com.google.common.collect.ImmutableSortedMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMap$Builder;
10: ldc "M"
getstatic io.dropwizard.util.SizeUnit.MEGABYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual com.google.common.collect.ImmutableSortedMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMap$Builder;
11: ldc "MB"
getstatic io.dropwizard.util.SizeUnit.MEGABYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual com.google.common.collect.ImmutableSortedMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMap$Builder;
12: ldc "MiB"
getstatic io.dropwizard.util.SizeUnit.MEGABYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual com.google.common.collect.ImmutableSortedMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMap$Builder;
13: ldc "megabyte"
getstatic io.dropwizard.util.SizeUnit.MEGABYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual com.google.common.collect.ImmutableSortedMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMap$Builder;
14: ldc "megabytes"
getstatic io.dropwizard.util.SizeUnit.MEGABYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual com.google.common.collect.ImmutableSortedMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMap$Builder;
15: ldc "G"
getstatic io.dropwizard.util.SizeUnit.GIGABYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual com.google.common.collect.ImmutableSortedMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMap$Builder;
16: ldc "GB"
getstatic io.dropwizard.util.SizeUnit.GIGABYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual com.google.common.collect.ImmutableSortedMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMap$Builder;
17: ldc "GiB"
getstatic io.dropwizard.util.SizeUnit.GIGABYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual com.google.common.collect.ImmutableSortedMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMap$Builder;
18: ldc "gigabyte"
getstatic io.dropwizard.util.SizeUnit.GIGABYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual com.google.common.collect.ImmutableSortedMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMap$Builder;
19: ldc "gigabytes"
getstatic io.dropwizard.util.SizeUnit.GIGABYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual com.google.common.collect.ImmutableSortedMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMap$Builder;
20: ldc "T"
getstatic io.dropwizard.util.SizeUnit.TERABYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual com.google.common.collect.ImmutableSortedMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMap$Builder;
21: ldc "TB"
getstatic io.dropwizard.util.SizeUnit.TERABYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual com.google.common.collect.ImmutableSortedMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMap$Builder;
22: ldc "TiB"
getstatic io.dropwizard.util.SizeUnit.TERABYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual com.google.common.collect.ImmutableSortedMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMap$Builder;
23: ldc "terabyte"
getstatic io.dropwizard.util.SizeUnit.TERABYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual com.google.common.collect.ImmutableSortedMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMap$Builder;
24: ldc "terabytes"
getstatic io.dropwizard.util.SizeUnit.TERABYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual com.google.common.collect.ImmutableSortedMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMap$Builder;
25: invokevirtual com.google.common.collect.ImmutableSortedMap$Builder.build:()Lcom/google/common/collect/ImmutableSortedMap;
26: putstatic io.dropwizard.util.Size.SUFFIXES:Lcom/google/common/collect/ImmutableSortedMap;
27: return
LocalVariableTable:
Start End Slot Name Signature
public static io.dropwizard.util.Size bytes(long);
descriptor: (J)Lio/dropwizard/util/Size;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new io.dropwizard.util.Size
dup
lload 0
getstatic io.dropwizard.util.SizeUnit.BYTES:Lio/dropwizard/util/SizeUnit;
invokespecial io.dropwizard.util.Size.<init>:(JLio/dropwizard/util/SizeUnit;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 count J
MethodParameters:
Name Flags
count
public static io.dropwizard.util.Size kilobytes(long);
descriptor: (J)Lio/dropwizard/util/Size;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new io.dropwizard.util.Size
dup
lload 0
getstatic io.dropwizard.util.SizeUnit.KILOBYTES:Lio/dropwizard/util/SizeUnit;
invokespecial io.dropwizard.util.Size.<init>:(JLio/dropwizard/util/SizeUnit;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 count J
MethodParameters:
Name Flags
count
public static io.dropwizard.util.Size megabytes(long);
descriptor: (J)Lio/dropwizard/util/Size;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new io.dropwizard.util.Size
dup
lload 0
getstatic io.dropwizard.util.SizeUnit.MEGABYTES:Lio/dropwizard/util/SizeUnit;
invokespecial io.dropwizard.util.Size.<init>:(JLio/dropwizard/util/SizeUnit;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 count J
MethodParameters:
Name Flags
count
public static io.dropwizard.util.Size gigabytes(long);
descriptor: (J)Lio/dropwizard/util/Size;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new io.dropwizard.util.Size
dup
lload 0
getstatic io.dropwizard.util.SizeUnit.GIGABYTES:Lio/dropwizard/util/SizeUnit;
invokespecial io.dropwizard.util.Size.<init>:(JLio/dropwizard/util/SizeUnit;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 count J
MethodParameters:
Name Flags
count
public static io.dropwizard.util.Size terabytes(long);
descriptor: (J)Lio/dropwizard/util/Size;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new io.dropwizard.util.Size
dup
lload 0
getstatic io.dropwizard.util.SizeUnit.TERABYTES:Lio/dropwizard/util/SizeUnit;
invokespecial io.dropwizard.util.Size.<init>:(JLio/dropwizard/util/SizeUnit;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 count J
MethodParameters:
Name Flags
count
public static io.dropwizard.util.Size parse(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/dropwizard/util/Size;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: getstatic io.dropwizard.util.Size.SIZE_PATTERN:Ljava/util/regex/Pattern;
aload 0
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 1
start local 1 1: aload 1
invokevirtual java.util.regex.Matcher.matches:()Z
new java.lang.StringBuilder
dup
ldc "Invalid size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/Object;)V
2: aload 1
iconst_1
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
lstore 2
start local 2 3: getstatic io.dropwizard.util.Size.SUFFIXES:Lcom/google/common/collect/ImmutableSortedMap;
aload 1
iconst_2
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
invokevirtual com.google.common.collect.ImmutableSortedMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.dropwizard.util.SizeUnit
astore 4
start local 4 4: aload 4
ifnonnull 6
5: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ". Wrong size unit"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: java.util.regex.Matcher long io.dropwizard.util.SizeUnit
StackMap stack:
new io.dropwizard.util.Size
dup
lload 2
aload 4
invokespecial io.dropwizard.util.Size.<init>:(JLio/dropwizard/util/SizeUnit;)V
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 size Ljava/lang/String;
1 7 1 matcher Ljava/util/regex/Matcher;
3 7 2 count J
4 7 4 unit Lio/dropwizard/util/SizeUnit;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonCreator()
MethodParameters:
Name Flags
size
private void <init>(long, io.dropwizard.util.SizeUnit);
descriptor: (JLio/dropwizard/util/SizeUnit;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
lload 1
putfield io.dropwizard.util.Size.count:J
2: aload 0
aload 3
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.dropwizard.util.SizeUnit
putfield io.dropwizard.util.Size.unit:Lio/dropwizard/util/SizeUnit;
3: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/dropwizard/util/Size;
0 4 1 count J
0 4 3 unit Lio/dropwizard/util/SizeUnit;
MethodParameters:
Name Flags
count
unit
public long getQuantity();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.util.Size.count:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/Size;
public io.dropwizard.util.SizeUnit getUnit();
descriptor: ()Lio/dropwizard/util/SizeUnit;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.util.Size.unit:Lio/dropwizard/util/SizeUnit;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/Size;
public long toBytes();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic io.dropwizard.util.SizeUnit.BYTES:Lio/dropwizard/util/SizeUnit;
aload 0
getfield io.dropwizard.util.Size.count:J
aload 0
getfield io.dropwizard.util.Size.unit:Lio/dropwizard/util/SizeUnit;
invokevirtual io.dropwizard.util.SizeUnit.convert:(JLio/dropwizard/util/SizeUnit;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/Size;
public long toKilobytes();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic io.dropwizard.util.SizeUnit.KILOBYTES:Lio/dropwizard/util/SizeUnit;
aload 0
getfield io.dropwizard.util.Size.count:J
aload 0
getfield io.dropwizard.util.Size.unit:Lio/dropwizard/util/SizeUnit;
invokevirtual io.dropwizard.util.SizeUnit.convert:(JLio/dropwizard/util/SizeUnit;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/Size;
public long toMegabytes();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic io.dropwizard.util.SizeUnit.MEGABYTES:Lio/dropwizard/util/SizeUnit;
aload 0
getfield io.dropwizard.util.Size.count:J
aload 0
getfield io.dropwizard.util.Size.unit:Lio/dropwizard/util/SizeUnit;
invokevirtual io.dropwizard.util.SizeUnit.convert:(JLio/dropwizard/util/SizeUnit;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/Size;
public long toGigabytes();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic io.dropwizard.util.SizeUnit.GIGABYTES:Lio/dropwizard/util/SizeUnit;
aload 0
getfield io.dropwizard.util.Size.count:J
aload 0
getfield io.dropwizard.util.Size.unit:Lio/dropwizard/util/SizeUnit;
invokevirtual io.dropwizard.util.SizeUnit.convert:(JLio/dropwizard/util/SizeUnit;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/Size;
public long toTerabytes();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic io.dropwizard.util.SizeUnit.TERABYTES:Lio/dropwizard/util/SizeUnit;
aload 0
getfield io.dropwizard.util.Size.count:J
aload 0
getfield io.dropwizard.util.Size.unit:Lio/dropwizard/util/SizeUnit;
invokevirtual io.dropwizard.util.SizeUnit.convert:(JLio/dropwizard/util/SizeUnit;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/Size;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast io.dropwizard.util.Size
astore 2
start local 2 5: aload 0
aload 2
invokevirtual io.dropwizard.util.Size.compareTo:(Lio/dropwizard/util/Size;)I
ifne 6
iconst_1
ireturn
StackMap locals: io.dropwizard.util.Size
StackMap stack:
6: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/dropwizard/util/Size;
0 7 1 obj Ljava/lang/Object;
5 7 2 size Lio/dropwizard/util/Size;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: bipush 31
aload 0
getfield io.dropwizard.util.Size.count:J
aload 0
getfield io.dropwizard.util.Size.count:J
bipush 32
lushr
lxor
l2i
imul
aload 0
getfield io.dropwizard.util.Size.unit:Lio/dropwizard/util/SizeUnit;
invokevirtual io.dropwizard.util.SizeUnit.hashCode:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/Size;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.util.Size.unit:Lio/dropwizard/util/SizeUnit;
invokevirtual io.dropwizard.util.SizeUnit.toString:()Ljava/lang/String;
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 1
start local 1 1: aload 0
getfield io.dropwizard.util.Size.count:J
lconst_1
lcmp
ifne 3
2: aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
3: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
getfield io.dropwizard.util.Size.count:J
invokestatic java.lang.Long.toString:(J)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/dropwizard/util/Size;
1 4 1 units Ljava/lang/String;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonValue()
public int compareTo(io.dropwizard.util.Size);
descriptor: (Lio/dropwizard/util/Size;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.dropwizard.util.Size.unit:Lio/dropwizard/util/SizeUnit;
aload 1
getfield io.dropwizard.util.Size.unit:Lio/dropwizard/util/SizeUnit;
if_acmpne 2
1: aload 0
getfield io.dropwizard.util.Size.count:J
aload 1
getfield io.dropwizard.util.Size.count:J
invokestatic java.lang.Long.compare:(JJ)I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.dropwizard.util.Size.toBytes:()J
aload 1
invokevirtual io.dropwizard.util.Size.toBytes:()J
invokestatic java.lang.Long.compare:(JJ)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/dropwizard/util/Size;
0 3 1 other Lio/dropwizard/util/Size;
MethodParameters:
Name Flags
other
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.dropwizard.util.Size
invokevirtual io.dropwizard.util.Size.compareTo:(Lio/dropwizard/util/Size;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/lang/Comparable<Lio/dropwizard/util/Size;>;
SourceFile: "Size.java"
InnerClasses:
public Builder = com.google.common.collect.ImmutableSortedMap$Builder of com.google.common.collect.ImmutableSortedMap