public class sun.management.counter.Units implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.management.counter.Units
super_class: java.lang.Object
{
private static final int NUNITS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private static sun.management.counter.Units[] map;
descriptor: [Lsun/management/counter/Units;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int value;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static final sun.management.counter.Units INVALID;
descriptor: Lsun/management/counter/Units;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final sun.management.counter.Units NONE;
descriptor: Lsun/management/counter/Units;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final sun.management.counter.Units BYTES;
descriptor: Lsun/management/counter/Units;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final sun.management.counter.Units TICKS;
descriptor: Lsun/management/counter/Units;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final sun.management.counter.Units EVENTS;
descriptor: Lsun/management/counter/Units;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final sun.management.counter.Units STRING;
descriptor: Lsun/management/counter/Units;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final sun.management.counter.Units HERTZ;
descriptor: Lsun/management/counter/Units;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 6992337162326171013
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: bipush 8
anewarray sun.management.counter.Units
putstatic sun.management.counter.Units.map:[Lsun/management/counter/Units;
1: new sun.management.counter.Units
dup
ldc "Invalid"
iconst_0
invokespecial sun.management.counter.Units.<init>:(Ljava/lang/String;I)V
putstatic sun.management.counter.Units.INVALID:Lsun/management/counter/Units;
2: new sun.management.counter.Units
dup
ldc "None"
iconst_1
invokespecial sun.management.counter.Units.<init>:(Ljava/lang/String;I)V
putstatic sun.management.counter.Units.NONE:Lsun/management/counter/Units;
3: new sun.management.counter.Units
dup
ldc "Bytes"
iconst_2
invokespecial sun.management.counter.Units.<init>:(Ljava/lang/String;I)V
putstatic sun.management.counter.Units.BYTES:Lsun/management/counter/Units;
4: new sun.management.counter.Units
dup
ldc "Ticks"
iconst_3
invokespecial sun.management.counter.Units.<init>:(Ljava/lang/String;I)V
putstatic sun.management.counter.Units.TICKS:Lsun/management/counter/Units;
5: new sun.management.counter.Units
dup
ldc "Events"
iconst_4
invokespecial sun.management.counter.Units.<init>:(Ljava/lang/String;I)V
putstatic sun.management.counter.Units.EVENTS:Lsun/management/counter/Units;
6: new sun.management.counter.Units
dup
ldc "String"
iconst_5
invokespecial sun.management.counter.Units.<init>:(Ljava/lang/String;I)V
putstatic sun.management.counter.Units.STRING:Lsun/management/counter/Units;
7: new sun.management.counter.Units
dup
ldc "Hertz"
bipush 6
invokespecial sun.management.counter.Units.<init>:(Ljava/lang/String;I)V
putstatic sun.management.counter.Units.HERTZ:Lsun/management/counter/Units;
8: return
LocalVariableTable:
Start End Slot Name Signature
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.management.counter.Units.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/management/counter/Units;
public int intValue();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.management.counter.Units.value:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/management/counter/Units;
public static sun.management.counter.Units toUnits(int);
descriptor: (I)Lsun/management/counter/Units;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
iflt 1
iload 0
getstatic sun.management.counter.Units.map:[Lsun/management/counter/Units;
arraylength
if_icmpge 1
getstatic sun.management.counter.Units.map:[Lsun/management/counter/Units;
iload 0
aaload
ifnonnull 2
1: StackMap locals:
StackMap stack:
getstatic sun.management.counter.Units.INVALID:Lsun/management/counter/Units;
areturn
2: StackMap locals:
StackMap stack:
getstatic sun.management.counter.Units.map:[Lsun/management/counter/Units;
iload 0
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value I
MethodParameters:
Name Flags
value
private void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.management.counter.Units.name:Ljava/lang/String;
2: aload 0
iload 2
putfield sun.management.counter.Units.value:I
3: getstatic sun.management.counter.Units.map:[Lsun/management/counter/Units;
iload 2
aload 0
aastore
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/management/counter/Units;
0 5 1 name Ljava/lang/String;
0 5 2 value I
MethodParameters:
Name Flags
name
value
}
SourceFile: "Units.java"