public final class java.lang.Byte extends java.lang.Number implements java.lang.Comparable<java.lang.Byte>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: java.lang.Byte
super_class: java.lang.Number
{
public static final byte MIN_VALUE;
descriptor: B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -128
public static final byte MAX_VALUE;
descriptor: B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 127
public static final java.lang.Class<java.lang.Byte> TYPE;
descriptor: Ljava/lang/Class;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/Class<Ljava/lang/Byte;>;
private final byte value;
descriptor: B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static final int SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
public static final int BYTES;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -7183698231559129828
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "byte"
invokestatic java.lang.Class.getPrimitiveClass:(Ljava/lang/String;)Ljava/lang/Class;
putstatic java.lang.Byte.TYPE:Ljava/lang/Class;
1: return
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String toString(byte);
descriptor: (B)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
bipush 10
invokestatic java.lang.Integer.toString:(II)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 b B
MethodParameters:
Name Flags
b
public static java.lang.Byte valueOf(byte);
descriptor: (B)Ljava/lang/Byte;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic java.lang.Byte$ByteCache.cache:[Ljava/lang/Byte;
iload 0
sipush 128
iadd
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 b B
RuntimeVisibleAnnotations:
jdk.internal.HotSpotIntrinsicCandidate()
MethodParameters:
Name Flags
b
public static byte parseByte(java.lang.String, int);
descriptor: (Ljava/lang/String;I)B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;I)I
istore 2
start local 2 1: iload 2
bipush -128
if_icmplt 2
iload 2
bipush 127
if_icmple 5
2: StackMap locals: int
StackMap stack:
new java.lang.NumberFormatException
dup
3: new java.lang.StringBuilder
dup
ldc "Value out of range. Value:\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" Radix:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
iload 2
i2b
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 s Ljava/lang/String;
0 6 1 radix I
1 6 2 i I
Exceptions:
throws java.lang.NumberFormatException
MethodParameters:
Name Flags
s
radix
public static byte parseByte(java.lang.String);
descriptor: (Ljava/lang/String;)B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 10
invokestatic java.lang.Byte.parseByte:(Ljava/lang/String;I)B
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
Exceptions:
throws java.lang.NumberFormatException
MethodParameters:
Name Flags
s
public static java.lang.Byte valueOf(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Ljava/lang/Byte;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic java.lang.Byte.parseByte:(Ljava/lang/String;I)B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
0 1 1 radix I
Exceptions:
throws java.lang.NumberFormatException
MethodParameters:
Name Flags
s
radix
public static java.lang.Byte valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Byte;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 10
invokestatic java.lang.Byte.valueOf:(Ljava/lang/String;I)Ljava/lang/Byte;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
Exceptions:
throws java.lang.NumberFormatException
MethodParameters:
Name Flags
s
public static java.lang.Byte decode(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Byte;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokestatic java.lang.Integer.decode:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
istore 1
start local 1 1: iload 1
bipush -128
if_icmplt 2
iload 1
bipush 127
if_icmple 5
2: StackMap locals: int
StackMap stack:
new java.lang.NumberFormatException
dup
3: new java.lang.StringBuilder
dup
ldc "Value "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " out of range from input "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
iload 1
i2b
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 nm Ljava/lang/String;
1 6 1 i I
Exceptions:
throws java.lang.NumberFormatException
MethodParameters:
Name Flags
nm
public void <init>(byte);
descriptor: (B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Number.<init>:()V
1: aload 0
iload 1
putfield java.lang.Byte.value:B
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/lang/Byte;
0 3 1 value B
RuntimeVisibleAnnotations:
java.lang.Deprecated(since = "9")
MethodParameters:
Name Flags
value
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Number.<init>:()V
1: aload 0
aload 1
bipush 10
invokestatic java.lang.Byte.parseByte:(Ljava/lang/String;I)B
putfield java.lang.Byte.value:B
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/lang/Byte;
0 3 1 s Ljava/lang/String;
Exceptions:
throws java.lang.NumberFormatException
RuntimeVisibleAnnotations:
java.lang.Deprecated(since = "9")
MethodParameters:
Name Flags
s
public byte byteValue();
descriptor: ()B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.Byte.value:B
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Byte;
RuntimeVisibleAnnotations:
jdk.internal.HotSpotIntrinsicCandidate()
public short shortValue();
descriptor: ()S
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.Byte.value:B
i2s
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Byte;
public int intValue();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.Byte.value:B
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Byte;
public long longValue();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.Byte.value:B
i2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Byte;
public float floatValue();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.Byte.value:B
i2f
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Byte;
public double doubleValue();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.Byte.value:B
i2d
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Byte;
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 java.lang.Byte.value:B
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Byte;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.Byte.value:B
invokestatic java.lang.Byte.hashCode:(B)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Byte;
public static int hashCode(byte);
descriptor: (B)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value B
MethodParameters:
Name Flags
value
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.lang.Byte
ifeq 3
1: aload 0
getfield java.lang.Byte.value:B
aload 1
checkcast java.lang.Byte
invokevirtual java.lang.Byte.byteValue:()B
if_icmpne 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/lang/Byte;
0 4 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public int compareTo(java.lang.Byte);
descriptor: (Ljava/lang/Byte;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.lang.Byte.value:B
aload 1
getfield java.lang.Byte.value:B
invokestatic java.lang.Byte.compare:(BB)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Byte;
0 1 1 anotherByte Ljava/lang/Byte;
MethodParameters:
Name Flags
anotherByte
public static int compare(byte, byte);
descriptor: (BB)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 0
iload 1
isub
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 x B
0 1 1 y B
MethodParameters:
Name Flags
x
y
public static int compareUnsigned(byte, byte);
descriptor: (BB)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 0
invokestatic java.lang.Byte.toUnsignedInt:(B)I
iload 1
invokestatic java.lang.Byte.toUnsignedInt:(B)I
isub
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 x B
0 1 1 y B
MethodParameters:
Name Flags
x
y
public static int toUnsignedInt(byte);
descriptor: (B)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
sipush 255
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 x B
MethodParameters:
Name Flags
x
public static long toUnsignedLong(byte);
descriptor: (B)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iload 0
i2l
ldc 255
land
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 x B
MethodParameters:
Name Flags
x
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 java.lang.Byte
invokevirtual java.lang.Byte.compareTo:(Ljava/lang/Byte;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Number;Ljava/lang/Comparable<Ljava/lang/Byte;>;
SourceFile: "Byte.java"
NestMembers:
java.lang.Byte$ByteCache
InnerClasses:
private ByteCache = java.lang.Byte$ByteCache of java.lang.Byte