public class io.dropwizard.util.DataSize implements java.lang.Comparable<io.dropwizard.util.DataSize>, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.util.DataSize
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8517642678733072800
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 java.util.SortedMap<java.lang.String, io.dropwizard.util.DataSizeUnit> SUFFIXES;
descriptor: Ljava/util/SortedMap;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/SortedMap<Ljava/lang/String;Lio/dropwizard/util/DataSizeUnit;>;
private final long count;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.dropwizard.util.DataSizeUnit unit;
descriptor: Lio/dropwizard/util/DataSizeUnit;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$io$dropwizard$util$DataSizeUnit;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$io$dropwizard$util$SizeUnit;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, 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.DataSize.SIZE_PATTERN:Ljava/util/regex/Pattern;
1: new java.util.TreeMap
dup
getstatic java.lang.String.CASE_INSENSITIVE_ORDER:Ljava/util/Comparator;
invokespecial java.util.TreeMap.<init>:(Ljava/util/Comparator;)V
astore 0
start local 0 2: aload 0
ldc "B"
getstatic io.dropwizard.util.DataSizeUnit.BYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
ldc "byte"
getstatic io.dropwizard.util.DataSizeUnit.BYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
ldc "bytes"
getstatic io.dropwizard.util.DataSizeUnit.BYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 0
ldc "K"
getstatic io.dropwizard.util.DataSizeUnit.KILOBYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 0
ldc "KB"
getstatic io.dropwizard.util.DataSizeUnit.KILOBYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 0
ldc "KiB"
getstatic io.dropwizard.util.DataSizeUnit.KIBIBYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 0
ldc "kilobyte"
getstatic io.dropwizard.util.DataSizeUnit.KILOBYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 0
ldc "kibibyte"
getstatic io.dropwizard.util.DataSizeUnit.KIBIBYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 0
ldc "kilobytes"
getstatic io.dropwizard.util.DataSizeUnit.KILOBYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: aload 0
ldc "kibibytes"
getstatic io.dropwizard.util.DataSizeUnit.KIBIBYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: aload 0
ldc "M"
getstatic io.dropwizard.util.DataSizeUnit.MEGABYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: aload 0
ldc "MB"
getstatic io.dropwizard.util.DataSizeUnit.MEGABYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: aload 0
ldc "MiB"
getstatic io.dropwizard.util.DataSizeUnit.MEBIBYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
15: aload 0
ldc "megabyte"
getstatic io.dropwizard.util.DataSizeUnit.MEGABYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
16: aload 0
ldc "mebibyte"
getstatic io.dropwizard.util.DataSizeUnit.MEBIBYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
17: aload 0
ldc "megabytes"
getstatic io.dropwizard.util.DataSizeUnit.MEGABYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
18: aload 0
ldc "mebibytes"
getstatic io.dropwizard.util.DataSizeUnit.MEBIBYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
19: aload 0
ldc "G"
getstatic io.dropwizard.util.DataSizeUnit.GIGABYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
20: aload 0
ldc "GB"
getstatic io.dropwizard.util.DataSizeUnit.GIGABYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
21: aload 0
ldc "GiB"
getstatic io.dropwizard.util.DataSizeUnit.GIBIBYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
22: aload 0
ldc "gigabyte"
getstatic io.dropwizard.util.DataSizeUnit.GIGABYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
23: aload 0
ldc "gibibyte"
getstatic io.dropwizard.util.DataSizeUnit.GIBIBYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
24: aload 0
ldc "gigabytes"
getstatic io.dropwizard.util.DataSizeUnit.GIGABYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
25: aload 0
ldc "gibibytes"
getstatic io.dropwizard.util.DataSizeUnit.GIBIBYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
26: aload 0
ldc "T"
getstatic io.dropwizard.util.DataSizeUnit.TERABYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
27: aload 0
ldc "TB"
getstatic io.dropwizard.util.DataSizeUnit.TERABYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
28: aload 0
ldc "TiB"
getstatic io.dropwizard.util.DataSizeUnit.TEBIBYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
29: aload 0
ldc "terabyte"
getstatic io.dropwizard.util.DataSizeUnit.TERABYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
30: aload 0
ldc "tebibyte"
getstatic io.dropwizard.util.DataSizeUnit.TEBIBYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
31: aload 0
ldc "terabytes"
getstatic io.dropwizard.util.DataSizeUnit.TERABYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
32: aload 0
ldc "tebibytes"
getstatic io.dropwizard.util.DataSizeUnit.TEBIBYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
33: aload 0
ldc "P"
getstatic io.dropwizard.util.DataSizeUnit.PETABYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
34: aload 0
ldc "PB"
getstatic io.dropwizard.util.DataSizeUnit.PETABYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
35: aload 0
ldc "PiB"
getstatic io.dropwizard.util.DataSizeUnit.PEBIBYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
36: aload 0
ldc "petabyte"
getstatic io.dropwizard.util.DataSizeUnit.PETABYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
37: aload 0
ldc "pebibyte"
getstatic io.dropwizard.util.DataSizeUnit.PEBIBYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
38: aload 0
ldc "petabytes"
getstatic io.dropwizard.util.DataSizeUnit.PETABYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
39: aload 0
ldc "pebibytes"
getstatic io.dropwizard.util.DataSizeUnit.PEBIBYTES:Lio/dropwizard/util/DataSizeUnit;
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
40: aload 0
invokestatic java.util.Collections.unmodifiableSortedMap:(Ljava/util/SortedMap;)Ljava/util/SortedMap;
putstatic io.dropwizard.util.DataSize.SUFFIXES:Ljava/util/SortedMap;
end local 0 41: return
LocalVariableTable:
Start End Slot Name Signature
2 41 0 suffixes Ljava/util/SortedMap<Ljava/lang/String;Lio/dropwizard/util/DataSizeUnit;>;
public static io.dropwizard.util.DataSize bytes(long);
descriptor: (J)Lio/dropwizard/util/DataSize;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new io.dropwizard.util.DataSize
dup
lload 0
getstatic io.dropwizard.util.DataSizeUnit.BYTES:Lio/dropwizard/util/DataSizeUnit;
invokespecial io.dropwizard.util.DataSize.<init>:(JLio/dropwizard/util/DataSizeUnit;)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.DataSize kilobytes(long);
descriptor: (J)Lio/dropwizard/util/DataSize;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new io.dropwizard.util.DataSize
dup
lload 0
getstatic io.dropwizard.util.DataSizeUnit.KILOBYTES:Lio/dropwizard/util/DataSizeUnit;
invokespecial io.dropwizard.util.DataSize.<init>:(JLio/dropwizard/util/DataSizeUnit;)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.DataSize megabytes(long);
descriptor: (J)Lio/dropwizard/util/DataSize;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new io.dropwizard.util.DataSize
dup
lload 0
getstatic io.dropwizard.util.DataSizeUnit.MEGABYTES:Lio/dropwizard/util/DataSizeUnit;
invokespecial io.dropwizard.util.DataSize.<init>:(JLio/dropwizard/util/DataSizeUnit;)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.DataSize gigabytes(long);
descriptor: (J)Lio/dropwizard/util/DataSize;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new io.dropwizard.util.DataSize
dup
lload 0
getstatic io.dropwizard.util.DataSizeUnit.GIGABYTES:Lio/dropwizard/util/DataSizeUnit;
invokespecial io.dropwizard.util.DataSize.<init>:(JLio/dropwizard/util/DataSizeUnit;)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.DataSize terabytes(long);
descriptor: (J)Lio/dropwizard/util/DataSize;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new io.dropwizard.util.DataSize
dup
lload 0
getstatic io.dropwizard.util.DataSizeUnit.TERABYTES:Lio/dropwizard/util/DataSizeUnit;
invokespecial io.dropwizard.util.DataSize.<init>:(JLio/dropwizard/util/DataSizeUnit;)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.DataSize petabytes(long);
descriptor: (J)Lio/dropwizard/util/DataSize;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new io.dropwizard.util.DataSize
dup
lload 0
getstatic io.dropwizard.util.DataSizeUnit.PETABYTES:Lio/dropwizard/util/DataSizeUnit;
invokespecial io.dropwizard.util.DataSize.<init>:(JLio/dropwizard/util/DataSizeUnit;)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.DataSize kibibytes(long);
descriptor: (J)Lio/dropwizard/util/DataSize;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new io.dropwizard.util.DataSize
dup
lload 0
getstatic io.dropwizard.util.DataSizeUnit.KIBIBYTES:Lio/dropwizard/util/DataSizeUnit;
invokespecial io.dropwizard.util.DataSize.<init>:(JLio/dropwizard/util/DataSizeUnit;)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.DataSize mebibytes(long);
descriptor: (J)Lio/dropwizard/util/DataSize;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new io.dropwizard.util.DataSize
dup
lload 0
getstatic io.dropwizard.util.DataSizeUnit.MEBIBYTES:Lio/dropwizard/util/DataSizeUnit;
invokespecial io.dropwizard.util.DataSize.<init>:(JLio/dropwizard/util/DataSizeUnit;)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.DataSize gibibytes(long);
descriptor: (J)Lio/dropwizard/util/DataSize;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new io.dropwizard.util.DataSize
dup
lload 0
getstatic io.dropwizard.util.DataSizeUnit.GIBIBYTES:Lio/dropwizard/util/DataSizeUnit;
invokespecial io.dropwizard.util.DataSize.<init>:(JLio/dropwizard/util/DataSizeUnit;)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.DataSize tebibytes(long);
descriptor: (J)Lio/dropwizard/util/DataSize;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new io.dropwizard.util.DataSize
dup
lload 0
getstatic io.dropwizard.util.DataSizeUnit.TEBIBYTES:Lio/dropwizard/util/DataSizeUnit;
invokespecial io.dropwizard.util.DataSize.<init>:(JLio/dropwizard/util/DataSizeUnit;)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.DataSize pebibytes(long);
descriptor: (J)Lio/dropwizard/util/DataSize;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new io.dropwizard.util.DataSize
dup
lload 0
getstatic io.dropwizard.util.DataSizeUnit.PEBIBYTES:Lio/dropwizard/util/DataSizeUnit;
invokespecial io.dropwizard.util.DataSize.<init>:(JLio/dropwizard/util/DataSizeUnit;)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.DataSize parse(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Lio/dropwizard/util/DataSize;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic io.dropwizard.util.DataSizeUnit.BYTES:Lio/dropwizard/util/DataSizeUnit;
invokestatic io.dropwizard.util.DataSize.parse:(Ljava/lang/CharSequence;Lio/dropwizard/util/DataSizeUnit;)Lio/dropwizard/util/DataSize;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 size Ljava/lang/CharSequence;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonCreator()
MethodParameters:
Name Flags
size
public static io.dropwizard.util.DataSize parse(java.lang.CharSequence, io.dropwizard.util.DataSizeUnit);
descriptor: (Ljava/lang/CharSequence;Lio/dropwizard/util/DataSizeUnit;)Lio/dropwizard/util/DataSize;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: getstatic io.dropwizard.util.DataSize.SIZE_PATTERN:Ljava/util/regex/Pattern;
aload 0
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 2
start local 2 1: aload 2
invokevirtual java.util.regex.Matcher.matches:()Z
ifne 3
2: 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/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.util.regex.Matcher
StackMap stack:
aload 2
iconst_1
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
lstore 3
start local 3 4: aload 2
iconst_2
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
astore 5
start local 5 5: aload 5
invokestatic io.dropwizard.util.Strings.isNullOrEmpty:(Ljava/lang/String;)Z
ifeq 6
aload 1
goto 7
StackMap locals: long java.lang.String
StackMap stack:
6: getstatic io.dropwizard.util.DataSize.SUFFIXES:Ljava/util/SortedMap;
aload 5
invokeinterface java.util.SortedMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.dropwizard.util.DataSizeUnit
StackMap locals:
StackMap stack: io.dropwizard.util.DataSizeUnit
7: astore 6
start local 6 8: aload 6
ifnonnull 10
9: 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/Object;)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
10: StackMap locals: io.dropwizard.util.DataSizeUnit
StackMap stack:
new io.dropwizard.util.DataSize
dup
lload 3
aload 6
invokespecial io.dropwizard.util.DataSize.<init>:(JLio/dropwizard/util/DataSizeUnit;)V
areturn
end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 size Ljava/lang/CharSequence;
0 11 1 defaultUnit Lio/dropwizard/util/DataSizeUnit;
1 11 2 matcher Ljava/util/regex/Matcher;
4 11 3 count J
5 11 5 unit Ljava/lang/String;
8 11 6 dataSizeUnit Lio/dropwizard/util/DataSizeUnit;
MethodParameters:
Name Flags
size
defaultUnit
private void <init>(long, io.dropwizard.util.DataSizeUnit);
descriptor: (JLio/dropwizard/util/DataSizeUnit;)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.DataSize.count:J
2: aload 0
aload 3
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.dropwizard.util.DataSizeUnit
putfield io.dropwizard.util.DataSize.unit:Lio/dropwizard/util/DataSizeUnit;
3: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/dropwizard/util/DataSize;
0 4 1 count J
0 4 3 unit Lio/dropwizard/util/DataSizeUnit;
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.DataSize.count:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/DataSize;
public io.dropwizard.util.DataSizeUnit getUnit();
descriptor: ()Lio/dropwizard/util/DataSizeUnit;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.util.DataSize.unit:Lio/dropwizard/util/DataSizeUnit;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/DataSize;
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.DataSizeUnit.BYTES:Lio/dropwizard/util/DataSizeUnit;
aload 0
getfield io.dropwizard.util.DataSize.count:J
aload 0
getfield io.dropwizard.util.DataSize.unit:Lio/dropwizard/util/DataSizeUnit;
invokevirtual io.dropwizard.util.DataSizeUnit.convert:(JLio/dropwizard/util/DataSizeUnit;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/DataSize;
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.DataSizeUnit.KILOBYTES:Lio/dropwizard/util/DataSizeUnit;
aload 0
getfield io.dropwizard.util.DataSize.count:J
aload 0
getfield io.dropwizard.util.DataSize.unit:Lio/dropwizard/util/DataSizeUnit;
invokevirtual io.dropwizard.util.DataSizeUnit.convert:(JLio/dropwizard/util/DataSizeUnit;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/DataSize;
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.DataSizeUnit.MEGABYTES:Lio/dropwizard/util/DataSizeUnit;
aload 0
getfield io.dropwizard.util.DataSize.count:J
aload 0
getfield io.dropwizard.util.DataSize.unit:Lio/dropwizard/util/DataSizeUnit;
invokevirtual io.dropwizard.util.DataSizeUnit.convert:(JLio/dropwizard/util/DataSizeUnit;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/DataSize;
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.DataSizeUnit.GIGABYTES:Lio/dropwizard/util/DataSizeUnit;
aload 0
getfield io.dropwizard.util.DataSize.count:J
aload 0
getfield io.dropwizard.util.DataSize.unit:Lio/dropwizard/util/DataSizeUnit;
invokevirtual io.dropwizard.util.DataSizeUnit.convert:(JLio/dropwizard/util/DataSizeUnit;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/DataSize;
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.DataSizeUnit.TERABYTES:Lio/dropwizard/util/DataSizeUnit;
aload 0
getfield io.dropwizard.util.DataSize.count:J
aload 0
getfield io.dropwizard.util.DataSize.unit:Lio/dropwizard/util/DataSizeUnit;
invokevirtual io.dropwizard.util.DataSizeUnit.convert:(JLio/dropwizard/util/DataSizeUnit;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/DataSize;
public long toPetabytes();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic io.dropwizard.util.DataSizeUnit.PETABYTES:Lio/dropwizard/util/DataSizeUnit;
aload 0
getfield io.dropwizard.util.DataSize.count:J
aload 0
getfield io.dropwizard.util.DataSize.unit:Lio/dropwizard/util/DataSizeUnit;
invokevirtual io.dropwizard.util.DataSizeUnit.convert:(JLio/dropwizard/util/DataSizeUnit;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/DataSize;
public long toKibibytes();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic io.dropwizard.util.DataSizeUnit.KIBIBYTES:Lio/dropwizard/util/DataSizeUnit;
aload 0
getfield io.dropwizard.util.DataSize.count:J
aload 0
getfield io.dropwizard.util.DataSize.unit:Lio/dropwizard/util/DataSizeUnit;
invokevirtual io.dropwizard.util.DataSizeUnit.convert:(JLio/dropwizard/util/DataSizeUnit;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/DataSize;
public long toMebibytes();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic io.dropwizard.util.DataSizeUnit.MEBIBYTES:Lio/dropwizard/util/DataSizeUnit;
aload 0
getfield io.dropwizard.util.DataSize.count:J
aload 0
getfield io.dropwizard.util.DataSize.unit:Lio/dropwizard/util/DataSizeUnit;
invokevirtual io.dropwizard.util.DataSizeUnit.convert:(JLio/dropwizard/util/DataSizeUnit;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/DataSize;
public long toGibibytes();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic io.dropwizard.util.DataSizeUnit.GIBIBYTES:Lio/dropwizard/util/DataSizeUnit;
aload 0
getfield io.dropwizard.util.DataSize.count:J
aload 0
getfield io.dropwizard.util.DataSize.unit:Lio/dropwizard/util/DataSizeUnit;
invokevirtual io.dropwizard.util.DataSizeUnit.convert:(JLio/dropwizard/util/DataSizeUnit;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/DataSize;
public long toTebibytes();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic io.dropwizard.util.DataSizeUnit.TEBIBYTES:Lio/dropwizard/util/DataSizeUnit;
aload 0
getfield io.dropwizard.util.DataSize.count:J
aload 0
getfield io.dropwizard.util.DataSize.unit:Lio/dropwizard/util/DataSizeUnit;
invokevirtual io.dropwizard.util.DataSizeUnit.convert:(JLio/dropwizard/util/DataSizeUnit;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/DataSize;
public long toPebibytes();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic io.dropwizard.util.DataSizeUnit.PEBIBYTES:Lio/dropwizard/util/DataSizeUnit;
aload 0
getfield io.dropwizard.util.DataSize.count:J
aload 0
getfield io.dropwizard.util.DataSize.unit:Lio/dropwizard/util/DataSizeUnit;
invokevirtual io.dropwizard.util.DataSizeUnit.convert:(JLio/dropwizard/util/DataSizeUnit;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/DataSize;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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.DataSize
astore 2
start local 2 5: aload 0
getfield io.dropwizard.util.DataSize.count:J
aload 2
getfield io.dropwizard.util.DataSize.count:J
lcmp
ifne 6
aload 0
getfield io.dropwizard.util.DataSize.unit:Lio/dropwizard/util/DataSizeUnit;
aload 2
getfield io.dropwizard.util.DataSize.unit:Lio/dropwizard/util/DataSizeUnit;
if_acmpne 6
iconst_1
ireturn
StackMap locals: io.dropwizard.util.DataSize
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/DataSize;
0 7 1 obj Ljava/lang/Object;
5 7 2 size Lio/dropwizard/util/DataSize;
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.DataSize.count:J
aload 0
getfield io.dropwizard.util.DataSize.count:J
bipush 32
lushr
lxor
l2i
imul
aload 0
getfield io.dropwizard.util.DataSize.unit:Lio/dropwizard/util/DataSizeUnit;
invokevirtual io.dropwizard.util.DataSizeUnit.hashCode:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/DataSize;
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.DataSize.unit:Lio/dropwizard/util/DataSizeUnit;
invokevirtual io.dropwizard.util.DataSizeUnit.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.DataSize.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.DataSize.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/DataSize;
1 4 1 units Ljava/lang/String;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonValue()
public int compareTo(io.dropwizard.util.DataSize);
descriptor: (Lio/dropwizard/util/DataSize;)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.DataSize.unit:Lio/dropwizard/util/DataSizeUnit;
aload 1
getfield io.dropwizard.util.DataSize.unit:Lio/dropwizard/util/DataSizeUnit;
if_acmpne 2
1: aload 0
getfield io.dropwizard.util.DataSize.count:J
aload 1
getfield io.dropwizard.util.DataSize.count:J
invokestatic java.lang.Long.compare:(JJ)I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.dropwizard.util.DataSize.toBytes:()J
aload 1
invokevirtual io.dropwizard.util.DataSize.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/DataSize;
0 3 1 other Lio/dropwizard/util/DataSize;
MethodParameters:
Name Flags
other
public io.dropwizard.util.Size toSize();
descriptor: ()Lio/dropwizard/util/Size;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: invokestatic io.dropwizard.util.DataSize.$SWITCH_TABLE$io$dropwizard$util$DataSizeUnit:()[I
aload 0
getfield io.dropwizard.util.DataSize.unit:Lio/dropwizard/util/DataSizeUnit;
invokevirtual io.dropwizard.util.DataSizeUnit.ordinal:()I
iaload
tableswitch { // 1 - 11
1: 1
2: 7
3: 7
4: 7
5: 7
6: 7
7: 2
8: 3
9: 4
10: 5
11: 6
default: 8
}
1: StackMap locals:
StackMap stack:
aload 0
getfield io.dropwizard.util.DataSize.count:J
invokestatic io.dropwizard.util.Size.bytes:(J)Lio/dropwizard/util/Size;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield io.dropwizard.util.DataSize.count:J
invokestatic io.dropwizard.util.Size.kilobytes:(J)Lio/dropwizard/util/Size;
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield io.dropwizard.util.DataSize.count:J
invokestatic io.dropwizard.util.Size.megabytes:(J)Lio/dropwizard/util/Size;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield io.dropwizard.util.DataSize.count:J
invokestatic io.dropwizard.util.Size.gigabytes:(J)Lio/dropwizard/util/Size;
areturn
5: StackMap locals:
StackMap stack:
aload 0
getfield io.dropwizard.util.DataSize.count:J
invokestatic io.dropwizard.util.Size.terabytes:(J)Lio/dropwizard/util/Size;
areturn
6: StackMap locals:
StackMap stack:
aload 0
getfield io.dropwizard.util.DataSize.count:J
ldc 1024
lmul
invokestatic io.dropwizard.util.Size.terabytes:(J)Lio/dropwizard/util/Size;
areturn
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.dropwizard.util.DataSize.toBytes:()J
invokestatic io.dropwizard.util.Size.bytes:(J)Lio/dropwizard/util/Size;
areturn
8: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unknown unit: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual io.dropwizard.util.DataSize.getUnit:()Lio/dropwizard/util/DataSizeUnit;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/dropwizard/util/DataSize;
public static io.dropwizard.util.DataSize fromSize(io.dropwizard.util.Size);
descriptor: (Lio/dropwizard/util/Size;)Lio/dropwizard/util/DataSize;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: invokestatic io.dropwizard.util.DataSize.$SWITCH_TABLE$io$dropwizard$util$SizeUnit:()[I
aload 0
invokevirtual io.dropwizard.util.Size.getUnit:()Lio/dropwizard/util/SizeUnit;
invokevirtual io.dropwizard.util.SizeUnit.ordinal:()I
iaload
tableswitch { // 1 - 5
1: 1
2: 2
3: 3
4: 4
5: 5
default: 6
}
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.dropwizard.util.Size.toBytes:()J
invokestatic io.dropwizard.util.DataSize.bytes:(J)Lio/dropwizard/util/DataSize;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.dropwizard.util.Size.toKilobytes:()J
invokestatic io.dropwizard.util.DataSize.kibibytes:(J)Lio/dropwizard/util/DataSize;
areturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.dropwizard.util.Size.toMegabytes:()J
invokestatic io.dropwizard.util.DataSize.mebibytes:(J)Lio/dropwizard/util/DataSize;
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.dropwizard.util.Size.toGigabytes:()J
invokestatic io.dropwizard.util.DataSize.gibibytes:(J)Lio/dropwizard/util/DataSize;
areturn
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.dropwizard.util.Size.toTerabytes:()J
invokestatic io.dropwizard.util.DataSize.tebibytes:(J)Lio/dropwizard/util/DataSize;
areturn
6: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unknown unit: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual io.dropwizard.util.Size.getUnit:()Lio/dropwizard/util/SizeUnit;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 size Lio/dropwizard/util/Size;
MethodParameters:
Name Flags
size
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.DataSize
invokevirtual io.dropwizard.util.DataSize.compareTo:(Lio/dropwizard/util/DataSize;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
static int[] $SWITCH_TABLE$io$dropwizard$util$DataSizeUnit();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic io.dropwizard.util.DataSize.$SWITCH_TABLE$io$dropwizard$util$DataSizeUnit:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic io.dropwizard.util.DataSizeUnit.values:()[Lio/dropwizard/util/DataSizeUnit;
arraylength
newarray 10
astore 0
2: aload 0
getstatic io.dropwizard.util.DataSizeUnit.BYTES:Lio/dropwizard/util/DataSizeUnit;
invokevirtual io.dropwizard.util.DataSizeUnit.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic io.dropwizard.util.DataSizeUnit.GIBIBYTES:Lio/dropwizard/util/DataSizeUnit;
invokevirtual io.dropwizard.util.DataSizeUnit.ordinal:()I
bipush 9
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic io.dropwizard.util.DataSizeUnit.GIGABYTES:Lio/dropwizard/util/DataSizeUnit;
invokevirtual io.dropwizard.util.DataSizeUnit.ordinal:()I
iconst_4
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic io.dropwizard.util.DataSizeUnit.KIBIBYTES:Lio/dropwizard/util/DataSizeUnit;
invokevirtual io.dropwizard.util.DataSizeUnit.ordinal:()I
bipush 7
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic io.dropwizard.util.DataSizeUnit.KILOBYTES:Lio/dropwizard/util/DataSizeUnit;
invokevirtual io.dropwizard.util.DataSizeUnit.ordinal:()I
iconst_2
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic io.dropwizard.util.DataSizeUnit.MEBIBYTES:Lio/dropwizard/util/DataSizeUnit;
invokevirtual io.dropwizard.util.DataSizeUnit.ordinal:()I
bipush 8
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic io.dropwizard.util.DataSizeUnit.MEGABYTES:Lio/dropwizard/util/DataSizeUnit;
invokevirtual io.dropwizard.util.DataSizeUnit.ordinal:()I
iconst_3
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
getstatic io.dropwizard.util.DataSizeUnit.PEBIBYTES:Lio/dropwizard/util/DataSizeUnit;
invokevirtual io.dropwizard.util.DataSizeUnit.ordinal:()I
bipush 11
iastore
24: goto 26
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
25: pop
StackMap locals:
StackMap stack:
26: aload 0
getstatic io.dropwizard.util.DataSizeUnit.PETABYTES:Lio/dropwizard/util/DataSizeUnit;
invokevirtual io.dropwizard.util.DataSizeUnit.ordinal:()I
bipush 6
iastore
27: goto 29
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
28: pop
StackMap locals:
StackMap stack:
29: aload 0
getstatic io.dropwizard.util.DataSizeUnit.TEBIBYTES:Lio/dropwizard/util/DataSizeUnit;
invokevirtual io.dropwizard.util.DataSizeUnit.ordinal:()I
bipush 10
iastore
30: goto 32
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
31: pop
StackMap locals:
StackMap stack:
32: aload 0
getstatic io.dropwizard.util.DataSizeUnit.TERABYTES:Lio/dropwizard/util/DataSizeUnit;
invokevirtual io.dropwizard.util.DataSizeUnit.ordinal:()I
iconst_5
iastore
33: goto 35
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
34: pop
StackMap locals:
StackMap stack:
35: aload 0
dup
putstatic io.dropwizard.util.DataSize.$SWITCH_TABLE$io$dropwizard$util$DataSizeUnit:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
20 21 22 Class java.lang.NoSuchFieldError
23 24 25 Class java.lang.NoSuchFieldError
26 27 28 Class java.lang.NoSuchFieldError
29 30 31 Class java.lang.NoSuchFieldError
32 33 34 Class java.lang.NoSuchFieldError
static int[] $SWITCH_TABLE$io$dropwizard$util$SizeUnit();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic io.dropwizard.util.DataSize.$SWITCH_TABLE$io$dropwizard$util$SizeUnit:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic io.dropwizard.util.SizeUnit.values:()[Lio/dropwizard/util/SizeUnit;
arraylength
newarray 10
astore 0
2: aload 0
getstatic io.dropwizard.util.SizeUnit.BYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual io.dropwizard.util.SizeUnit.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic io.dropwizard.util.SizeUnit.GIGABYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual io.dropwizard.util.SizeUnit.ordinal:()I
iconst_4
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic io.dropwizard.util.SizeUnit.KILOBYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual io.dropwizard.util.SizeUnit.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic io.dropwizard.util.SizeUnit.MEGABYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual io.dropwizard.util.SizeUnit.ordinal:()I
iconst_3
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic io.dropwizard.util.SizeUnit.TERABYTES:Lio/dropwizard/util/SizeUnit;
invokevirtual io.dropwizard.util.SizeUnit.ordinal:()I
iconst_5
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
dup
putstatic io.dropwizard.util.DataSize.$SWITCH_TABLE$io$dropwizard$util$SizeUnit:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
}
Signature: Ljava/lang/Object;Ljava/lang/Comparable<Lio/dropwizard/util/DataSize;>;Ljava/io/Serializable;
SourceFile: "DataSize.java"