public final class java.lang.Short extends java.lang.Number implements java.lang.Comparable<java.lang.Short>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: java.lang.Short
super_class: java.lang.Number
{
public static final short MIN_VALUE;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -32768
public static final short MAX_VALUE;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 32767
public static final java.lang.Class<java.lang.Short> TYPE;
descriptor: Ljava/lang/Class;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/Class<Ljava/lang/Short;>;
private final short value;
descriptor: S
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static final int SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 16
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 7515723908773894738
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "short"
invokestatic java.lang.Class.getPrimitiveClass:(Ljava/lang/String;)Ljava/lang/Class;
putstatic java.lang.Short.TYPE:Ljava/lang/Class;
1: return
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String toString(short);
descriptor: (S)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 s S
MethodParameters:
Name Flags
s
public static short parseShort(java.lang.String, int);
descriptor: (Ljava/lang/String;I)S
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
sipush -32768
if_icmplt 2
iload 2
sipush 32767
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
i2s
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 short parseShort(java.lang.String);
descriptor: (Ljava/lang/String;)S
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.Short.parseShort:(Ljava/lang/String;I)S
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.Short valueOf(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Ljava/lang/Short;
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.Short.parseShort:(Ljava/lang/String;I)S
invokestatic java.lang.Short.valueOf:(S)Ljava/lang/Short;
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.Short valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Short;
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.Short.valueOf:(Ljava/lang/String;I)Ljava/lang/Short;
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.Short valueOf(short);
descriptor: (S)Ljava/lang/Short;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: iload 0
istore 1
start local 1 1: iload 1
bipush -128
if_icmplt 3
iload 1
bipush 127
if_icmpgt 3
2: getstatic java.lang.Short$ShortCache.cache:[Ljava/lang/Short;
iload 1
sipush 128
iadd
aaload
areturn
3: StackMap locals: int
StackMap stack:
new java.lang.Short
dup
iload 0
invokespecial java.lang.Short.<init>:(S)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 s S
1 4 1 sAsInt I
MethodParameters:
Name Flags
s
public static java.lang.Short decode(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Short;
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
sipush -32768
if_icmplt 2
iload 1
sipush 32767
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
i2s
invokestatic java.lang.Short.valueOf:(S)Ljava/lang/Short;
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>(short);
descriptor: (S)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.Short.value:S
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/lang/Short;
0 3 1 value S
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.Short.parseShort:(Ljava/lang/String;I)S
putfield java.lang.Short.value:S
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/lang/Short;
0 3 1 s Ljava/lang/String;
Exceptions:
throws java.lang.NumberFormatException
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.Short.value:S
i2b
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Short;
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.Short.value:S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Short;
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.Short.value:S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Short;
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.Short.value:S
i2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Short;
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.Short.value:S
i2f
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Short;
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.Short.value:S
i2d
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Short;
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.Short.value:S
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/Short;
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.Short.value:S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Short;
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.Short
ifeq 3
1: aload 0
getfield java.lang.Short.value:S
aload 1
checkcast java.lang.Short
invokevirtual java.lang.Short.shortValue:()S
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/Short;
0 4 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public int compareTo(java.lang.Short);
descriptor: (Ljava/lang/Short;)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.Short.value:S
aload 1
getfield java.lang.Short.value:S
invokestatic java.lang.Short.compare:(SS)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/Short;
0 1 1 anotherShort Ljava/lang/Short;
MethodParameters:
Name Flags
anotherShort
public static int compare(short, short);
descriptor: (SS)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 S
0 1 1 y S
MethodParameters:
Name Flags
x
y
public static short reverseBytes(short);
descriptor: (S)S
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
ldc 65280
iand
bipush 8
ishr
iload 0
bipush 8
ishl
ior
i2s
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i S
MethodParameters:
Name Flags
i
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.Short
invokevirtual java.lang.Short.compareTo:(Ljava/lang/Short;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Number;Ljava/lang/Comparable<Ljava/lang/Short;>;
SourceFile: "Short.java"
NestMembers:
java.lang.Short$ShortCache
InnerClasses:
private ShortCache = java.lang.Short$ShortCache of java.lang.Short