public final class java.math.RoundingMode extends java.lang.Enum<java.math.RoundingMode>
minor version: 0
major version: 59
flags: flags: (0x4031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER, ACC_ANNOTATION
this_class: java.math.RoundingMode
super_class: java.lang.Enum
{
public static final java.math.RoundingMode UP;
descriptor: Ljava/math/RoundingMode;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final java.math.RoundingMode DOWN;
descriptor: Ljava/math/RoundingMode;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final java.math.RoundingMode CEILING;
descriptor: Ljava/math/RoundingMode;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final java.math.RoundingMode FLOOR;
descriptor: Ljava/math/RoundingMode;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final java.math.RoundingMode HALF_UP;
descriptor: Ljava/math/RoundingMode;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final java.math.RoundingMode HALF_DOWN;
descriptor: Ljava/math/RoundingMode;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final java.math.RoundingMode HALF_EVEN;
descriptor: Ljava/math/RoundingMode;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final java.math.RoundingMode UNNECESSARY;
descriptor: Ljava/math/RoundingMode;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
final int oldMode;
descriptor: I
flags: (0x0010) ACC_FINAL
private static final java.math.RoundingMode[] ENUM$VALUES;
descriptor: [Ljava/math/RoundingMode;
flags: (0x101a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: new java.math.RoundingMode
dup
ldc "UP"
iconst_0
1: iconst_0
invokespecial java.math.RoundingMode.<init>:(Ljava/lang/String;II)V
putstatic java.math.RoundingMode.UP:Ljava/math/RoundingMode;
2: new java.math.RoundingMode
dup
ldc "DOWN"
iconst_1
3: iconst_1
invokespecial java.math.RoundingMode.<init>:(Ljava/lang/String;II)V
putstatic java.math.RoundingMode.DOWN:Ljava/math/RoundingMode;
4: new java.math.RoundingMode
dup
ldc "CEILING"
iconst_2
5: iconst_2
invokespecial java.math.RoundingMode.<init>:(Ljava/lang/String;II)V
putstatic java.math.RoundingMode.CEILING:Ljava/math/RoundingMode;
6: new java.math.RoundingMode
dup
ldc "FLOOR"
iconst_3
7: iconst_3
invokespecial java.math.RoundingMode.<init>:(Ljava/lang/String;II)V
putstatic java.math.RoundingMode.FLOOR:Ljava/math/RoundingMode;
8: new java.math.RoundingMode
dup
ldc "HALF_UP"
iconst_4
9: iconst_4
invokespecial java.math.RoundingMode.<init>:(Ljava/lang/String;II)V
putstatic java.math.RoundingMode.HALF_UP:Ljava/math/RoundingMode;
10: new java.math.RoundingMode
dup
ldc "HALF_DOWN"
iconst_5
11: iconst_5
invokespecial java.math.RoundingMode.<init>:(Ljava/lang/String;II)V
putstatic java.math.RoundingMode.HALF_DOWN:Ljava/math/RoundingMode;
12: new java.math.RoundingMode
dup
ldc "HALF_EVEN"
bipush 6
13: bipush 6
invokespecial java.math.RoundingMode.<init>:(Ljava/lang/String;II)V
putstatic java.math.RoundingMode.HALF_EVEN:Ljava/math/RoundingMode;
14: new java.math.RoundingMode
dup
ldc "UNNECESSARY"
bipush 7
15: bipush 7
invokespecial java.math.RoundingMode.<init>:(Ljava/lang/String;II)V
putstatic java.math.RoundingMode.UNNECESSARY:Ljava/math/RoundingMode;
16: bipush 8
anewarray java.math.RoundingMode
dup
iconst_0
getstatic java.math.RoundingMode.UP:Ljava/math/RoundingMode;
aastore
dup
iconst_1
getstatic java.math.RoundingMode.DOWN:Ljava/math/RoundingMode;
aastore
dup
iconst_2
getstatic java.math.RoundingMode.CEILING:Ljava/math/RoundingMode;
aastore
dup
iconst_3
getstatic java.math.RoundingMode.FLOOR:Ljava/math/RoundingMode;
aastore
dup
iconst_4
getstatic java.math.RoundingMode.HALF_UP:Ljava/math/RoundingMode;
aastore
dup
iconst_5
getstatic java.math.RoundingMode.HALF_DOWN:Ljava/math/RoundingMode;
aastore
dup
bipush 6
getstatic java.math.RoundingMode.HALF_EVEN:Ljava/math/RoundingMode;
aastore
dup
bipush 7
getstatic java.math.RoundingMode.UNNECESSARY:Ljava/math/RoundingMode;
aastore
putstatic java.math.RoundingMode.ENUM$VALUES:[Ljava/math/RoundingMode;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, 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
iload 3
putfield java.math.RoundingMode.oldMode:I
2: return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/math/RoundingMode;
0 3 3 oldMode I
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
oldMode
public static java.math.RoundingMode valueOf(int);
descriptor: (I)Ljava/math/RoundingMode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // 0 - 7
0: 1
1: 2
2: 3
3: 4
4: 5
5: 6
6: 7
7: 8
default: 9
}
1: StackMap locals:
StackMap stack:
getstatic java.math.RoundingMode.UP:Ljava/math/RoundingMode;
areturn
2: StackMap locals:
StackMap stack:
getstatic java.math.RoundingMode.DOWN:Ljava/math/RoundingMode;
areturn
3: StackMap locals:
StackMap stack:
getstatic java.math.RoundingMode.CEILING:Ljava/math/RoundingMode;
areturn
4: StackMap locals:
StackMap stack:
getstatic java.math.RoundingMode.FLOOR:Ljava/math/RoundingMode;
areturn
5: StackMap locals:
StackMap stack:
getstatic java.math.RoundingMode.HALF_UP:Ljava/math/RoundingMode;
areturn
6: StackMap locals:
StackMap stack:
getstatic java.math.RoundingMode.HALF_DOWN:Ljava/math/RoundingMode;
areturn
7: StackMap locals:
StackMap stack:
getstatic java.math.RoundingMode.HALF_EVEN:Ljava/math/RoundingMode;
areturn
8: StackMap locals:
StackMap stack:
getstatic java.math.RoundingMode.UNNECESSARY:Ljava/math/RoundingMode;
areturn
9: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "argument out of range"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 rm I
MethodParameters:
Name Flags
rm
public static java.math.RoundingMode[] values();
descriptor: ()[Ljava/math/RoundingMode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic java.math.RoundingMode.ENUM$VALUES:[Ljava/math/RoundingMode;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray java.math.RoundingMode
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 java.math.RoundingMode valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/math/RoundingMode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Ljava/math/RoundingMode;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast java.math.RoundingMode
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
}
Signature: Ljava/lang/Enum<Ljava/math/RoundingMode;>;
SourceFile: "RoundingMode.java"