public final class io.dropwizard.util.SizeUnit extends java.lang.Enum<io.dropwizard.util.SizeUnit>
minor version: 0
major version: 59
flags: flags: (0x4031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER, ACC_ANNOTATION
this_class: io.dropwizard.util.SizeUnit
super_class: java.lang.Enum
{
public static final io.dropwizard.util.SizeUnit BYTES;
descriptor: Lio/dropwizard/util/SizeUnit;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final io.dropwizard.util.SizeUnit KILOBYTES;
descriptor: Lio/dropwizard/util/SizeUnit;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final io.dropwizard.util.SizeUnit MEGABYTES;
descriptor: Lio/dropwizard/util/SizeUnit;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final io.dropwizard.util.SizeUnit GIGABYTES;
descriptor: Lio/dropwizard/util/SizeUnit;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final io.dropwizard.util.SizeUnit TERABYTES;
descriptor: Lio/dropwizard/util/SizeUnit;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
private final long bits;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final io.dropwizard.util.SizeUnit[] ENUM$VALUES;
descriptor: [Lio/dropwizard/util/SizeUnit;
flags: (0x101a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new io.dropwizard.util.SizeUnit
dup
ldc "BYTES"
iconst_0
1: ldc 8
invokespecial io.dropwizard.util.SizeUnit.<init>:(Ljava/lang/String;IJ)V
putstatic io.dropwizard.util.SizeUnit.BYTES:Lio/dropwizard/util/SizeUnit;
2: new io.dropwizard.util.SizeUnit
dup
ldc "KILOBYTES"
iconst_1
3: ldc 8192
invokespecial io.dropwizard.util.SizeUnit.<init>:(Ljava/lang/String;IJ)V
putstatic io.dropwizard.util.SizeUnit.KILOBYTES:Lio/dropwizard/util/SizeUnit;
4: new io.dropwizard.util.SizeUnit
dup
ldc "MEGABYTES"
iconst_2
5: ldc 8388608
invokespecial io.dropwizard.util.SizeUnit.<init>:(Ljava/lang/String;IJ)V
putstatic io.dropwizard.util.SizeUnit.MEGABYTES:Lio/dropwizard/util/SizeUnit;
6: new io.dropwizard.util.SizeUnit
dup
ldc "GIGABYTES"
iconst_3
7: ldc 8589934592
invokespecial io.dropwizard.util.SizeUnit.<init>:(Ljava/lang/String;IJ)V
putstatic io.dropwizard.util.SizeUnit.GIGABYTES:Lio/dropwizard/util/SizeUnit;
8: new io.dropwizard.util.SizeUnit
dup
ldc "TERABYTES"
iconst_4
9: ldc 8796093022208
invokespecial io.dropwizard.util.SizeUnit.<init>:(Ljava/lang/String;IJ)V
putstatic io.dropwizard.util.SizeUnit.TERABYTES:Lio/dropwizard/util/SizeUnit;
10: iconst_5
anewarray io.dropwizard.util.SizeUnit
dup
iconst_0
getstatic io.dropwizard.util.SizeUnit.BYTES:Lio/dropwizard/util/SizeUnit;
aastore
dup
iconst_1
getstatic io.dropwizard.util.SizeUnit.KILOBYTES:Lio/dropwizard/util/SizeUnit;
aastore
dup
iconst_2
getstatic io.dropwizard.util.SizeUnit.MEGABYTES:Lio/dropwizard/util/SizeUnit;
aastore
dup
iconst_3
getstatic io.dropwizard.util.SizeUnit.GIGABYTES:Lio/dropwizard/util/SizeUnit;
aastore
dup
iconst_4
getstatic io.dropwizard.util.SizeUnit.TERABYTES:Lio/dropwizard/util/SizeUnit;
aastore
putstatic io.dropwizard.util.SizeUnit.ENUM$VALUES:[Lio/dropwizard/util/SizeUnit;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String, int, long);
descriptor: (Ljava/lang/String;IJ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=4
start local 0 start local 3 0: aload 0
aload 1
iload 2
invokespecial java.lang.Enum.<init>:(Ljava/lang/String;I)V
1: aload 0
lload 3
putfield io.dropwizard.util.SizeUnit.bits:J
2: return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/dropwizard/util/SizeUnit;
0 3 3 bits J
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
bits
public long convert(long, io.dropwizard.util.SizeUnit);
descriptor: (JLio/dropwizard/util/SizeUnit;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 3 0: lload 1
aload 3
getfield io.dropwizard.util.SizeUnit.bits:J
lmul
aload 0
getfield io.dropwizard.util.SizeUnit.bits:J
ldiv
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/SizeUnit;
0 1 1 size J
0 1 3 unit Lio/dropwizard/util/SizeUnit;
MethodParameters:
Name Flags
size
unit
public long toBytes(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: getstatic io.dropwizard.util.SizeUnit.BYTES:Lio/dropwizard/util/SizeUnit;
lload 1
aload 0
invokevirtual io.dropwizard.util.SizeUnit.convert:(JLio/dropwizard/util/SizeUnit;)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/SizeUnit;
0 1 1 l J
MethodParameters:
Name Flags
l
public long toKilobytes(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: getstatic io.dropwizard.util.SizeUnit.KILOBYTES:Lio/dropwizard/util/SizeUnit;
lload 1
aload 0
invokevirtual io.dropwizard.util.SizeUnit.convert:(JLio/dropwizard/util/SizeUnit;)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/SizeUnit;
0 1 1 l J
MethodParameters:
Name Flags
l
public long toMegabytes(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: getstatic io.dropwizard.util.SizeUnit.MEGABYTES:Lio/dropwizard/util/SizeUnit;
lload 1
aload 0
invokevirtual io.dropwizard.util.SizeUnit.convert:(JLio/dropwizard/util/SizeUnit;)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/SizeUnit;
0 1 1 l J
MethodParameters:
Name Flags
l
public long toGigabytes(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: getstatic io.dropwizard.util.SizeUnit.GIGABYTES:Lio/dropwizard/util/SizeUnit;
lload 1
aload 0
invokevirtual io.dropwizard.util.SizeUnit.convert:(JLio/dropwizard/util/SizeUnit;)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/SizeUnit;
0 1 1 l J
MethodParameters:
Name Flags
l
public long toTerabytes(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: getstatic io.dropwizard.util.SizeUnit.TERABYTES:Lio/dropwizard/util/SizeUnit;
lload 1
aload 0
invokevirtual io.dropwizard.util.SizeUnit.convert:(JLio/dropwizard/util/SizeUnit;)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/util/SizeUnit;
0 1 1 l J
MethodParameters:
Name Flags
l
public static io.dropwizard.util.SizeUnit[] values();
descriptor: ()[Lio/dropwizard/util/SizeUnit;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic io.dropwizard.util.SizeUnit.ENUM$VALUES:[Lio/dropwizard/util/SizeUnit;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray io.dropwizard.util.SizeUnit
dup
astore 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
aload 2
areturn
LocalVariableTable:
Start End Slot Name Signature
public static io.dropwizard.util.SizeUnit valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/dropwizard/util/SizeUnit;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Lio/dropwizard/util/SizeUnit;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast io.dropwizard.util.SizeUnit
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
}
Signature: Ljava/lang/Enum<Lio/dropwizard/util/SizeUnit;>;
SourceFile: "SizeUnit.java"