public class org.hibernate.bytecode.spi.ByteCodeHelper
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.bytecode.spi.ByteCodeHelper
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/bytecode/spi/ByteCodeHelper;
public static byte[] readByteCode(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.io.IOException
dup
ldc "null input stream"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
ldc 409600
newarray 8
astore 1
start local 1 3: iconst_0
newarray 8
astore 2
start local 2 4: aload 0
aload 1
invokevirtual java.io.InputStream.read:([B)I
istore 3
start local 3 5: goto 11
6: StackMap locals: byte[] byte[] int
StackMap stack:
aload 2
arraylength
aload 1
arraylength
iadd
newarray 8
astore 4
start local 4 7: aload 2
iconst_0
aload 4
iconst_0
aload 2
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: aload 1
iconst_0
aload 4
aload 2
arraylength
aload 1
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
9: aload 4
astore 2
10: aload 0
aload 1
invokevirtual java.io.InputStream.read:([B)I
istore 3
end local 4 11: StackMap locals:
StackMap stack:
iload 3
aload 1
arraylength
if_icmpge 6
12: iload 3
iconst_m1
if_icmpeq 23
13: aload 2
arraylength
iload 3
iadd
newarray 8
astore 4
start local 4 14: aload 2
iconst_0
aload 4
iconst_0
aload 2
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
15: aload 1
iconst_0
aload 4
aload 2
arraylength
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
16: aload 4
astore 2
end local 4 end local 3 17: goto 23
18: StackMap locals: java.io.InputStream byte[] byte[]
StackMap stack: java.lang.Throwable
astore 5
19: aload 0
invokevirtual java.io.InputStream.close:()V
20: goto 22
21: StackMap locals: java.io.InputStream byte[] byte[] top top java.lang.Throwable
StackMap stack: java.io.IOException
pop
22: StackMap locals:
StackMap stack:
aload 5
athrow
23: StackMap locals: java.io.InputStream byte[] byte[]
StackMap stack:
aload 0
invokevirtual java.io.InputStream.close:()V
24: goto 26
25: StackMap locals:
StackMap stack: java.io.IOException
pop
26: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 inputStream Ljava/io/InputStream;
3 27 1 buffer [B
4 27 2 classBytes [B
5 17 3 r I
7 11 4 temp [B
14 17 4 temp [B
Exception table:
from to target type
4 18 18 any
19 20 21 Class java.io.IOException
23 24 25 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
inputStream
public static byte[] readByteCode(java.io.File);
descriptor: (Ljava/io/File;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.io.FileInputStream
dup
aload 0
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
invokestatic org.hibernate.bytecode.spi.ByteCodeHelper.readByteCode:(Ljava/io/InputStream;)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 file Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
public static byte[] readByteCode(java.util.zip.ZipInputStream);
descriptor: (Ljava/util/zip/ZipInputStream;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 1
start local 1 1: new java.io.BufferedInputStream
dup
aload 0
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
astore 2
start local 2 2: goto 4
start local 3 3: StackMap locals: java.io.ByteArrayOutputStream java.io.InputStream int
StackMap stack:
aload 1
iload 3
invokevirtual java.io.ByteArrayOutputStream.write:(I)V
end local 3 4: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.InputStream.read:()I
dup
istore 3
start local 3 5: iconst_m1
if_icmpne 3
6: aload 1
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 zip Ljava/util/zip/ZipInputStream;
1 7 1 bout Ljava/io/ByteArrayOutputStream;
2 7 2 in Ljava/io/InputStream;
3 4 3 b I
5 7 3 b I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
zip
}
SourceFile: "ByteCodeHelper.java"