public final class org.glassfish.grizzly.websockets.Utils
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.websockets.Utils
super_class: java.lang.Object
{
static final jakarta.servlet.ServletInputStream NULL_SERVLET_INPUT_STREAM;
descriptor: Ljakarta/servlet/ServletInputStream;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.io.Reader NULL_READER;
descriptor: Ljava/io/Reader;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final jakarta.servlet.ServletOutputStream NULL_SERVLET_OUTPUT_STREAM;
descriptor: Ljakarta/servlet/ServletOutputStream;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.io.Writer NULL_WRITER;
descriptor: Ljava/io/Writer;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.glassfish.grizzly.websockets.Utils$1
dup
invokespecial org.glassfish.grizzly.websockets.Utils$1.<init>:()V
putstatic org.glassfish.grizzly.websockets.Utils.NULL_SERVLET_INPUT_STREAM:Ljakarta/servlet/ServletInputStream;
1: new org.glassfish.grizzly.websockets.Utils$2
dup
invokespecial org.glassfish.grizzly.websockets.Utils$2.<init>:()V
putstatic org.glassfish.grizzly.websockets.Utils.NULL_READER:Ljava/io/Reader;
2: new org.glassfish.grizzly.websockets.Utils$3
dup
invokespecial org.glassfish.grizzly.websockets.Utils$3.<init>:()V
putstatic org.glassfish.grizzly.websockets.Utils.NULL_SERVLET_OUTPUT_STREAM:Ljakarta/servlet/ServletOutputStream;
3: new org.glassfish.grizzly.websockets.Utils$4
dup
invokespecial org.glassfish.grizzly.websockets.Utils$4.<init>:()V
putstatic org.glassfish.grizzly.websockets.Utils.NULL_WRITER:Ljava/io/Writer;
4: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/websockets/Utils;
public static byte[] toArray(long);
descriptor: (J)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=1
start local 0 0: lload 0
lstore 2
start local 2 1: bipush 8
newarray 8
astore 4
start local 4 2: bipush 7
istore 5
start local 5 3: goto 7
4: StackMap locals: long byte[] int
StackMap stack:
aload 4
iload 5
lload 2
ldc 255
land
l2i
i2b
bastore
5: lload 2
bipush 8
lshr
lstore 2
6: iinc 5 -1
StackMap locals:
StackMap stack:
7: iload 5
iflt 8
lload 2
lconst_0
lcmp
ifgt 4
end local 5 8: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 length J
1 9 2 value J
2 9 4 b [B
3 8 5 i I
MethodParameters:
Name Flags
length
public static long toLong(byte[], int, int);
descriptor: ([BII)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: lconst_0
lstore 3
start local 3 1: iload 1
istore 5
start local 5 2: goto 6
3: StackMap locals: long int
StackMap stack:
lload 3
bipush 8
lshl
lstore 3
4: lload 3
aload 0
iload 5
baload
i2l
ldc 255
land
lxor
lstore 3
5: iinc 5 1
StackMap locals:
StackMap stack:
6: iload 5
iload 2
if_icmplt 3
end local 5 7: lload 3
lreturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 bytes [B
0 8 1 start I
0 8 2 end I
1 8 3 value J
2 7 5 i I
MethodParameters:
Name Flags
bytes
start
end
public static java.util.List<java.lang.String> toString(byte[]);
descriptor: ([B)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
aload 0
arraylength
invokestatic org.glassfish.grizzly.websockets.Utils.toString:([BII)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 bytes [B
Signature: ([B)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
bytes
public static java.util.List<java.lang.String> toString(byte[], int, int);
descriptor: ([BII)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: iload 1
istore 4
start local 4 2: goto 5
3: StackMap locals: java.util.List int
StackMap stack:
aload 3
aload 0
iload 4
baload
sipush 255
iand
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
iload 2
if_icmplt 3
end local 4 6: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 bytes [B
0 7 1 start I
0 7 2 end I
1 7 3 list Ljava/util/List<Ljava/lang/String;>;
2 6 4 i I
Signature: ([BII)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
bytes
start
end
}
SourceFile: "Utils.java"
NestMembers:
org.glassfish.grizzly.websockets.Utils$1 org.glassfish.grizzly.websockets.Utils$2 org.glassfish.grizzly.websockets.Utils$3 org.glassfish.grizzly.websockets.Utils$4
InnerClasses:
org.glassfish.grizzly.websockets.Utils$1
org.glassfish.grizzly.websockets.Utils$2
org.glassfish.grizzly.websockets.Utils$3
org.glassfish.grizzly.websockets.Utils$4