public abstract class org.eclipse.jgit.lib.ObjectLoader
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.eclipse.jgit.lib.ObjectLoader
super_class: java.lang.Object
{
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/eclipse/jgit/lib/ObjectLoader;
public abstract int getType();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract long getSize();
descriptor: ()J
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public boolean isLarge();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jgit.lib.ObjectLoader.getCachedBytes:()[B
pop
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack: org.eclipse.jgit.errors.LargeObjectException
pop
3: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jgit/lib/ObjectLoader;
Exception table:
from to target type
0 1 2 Class org.eclipse.jgit.errors.LargeObjectException
public final byte[] getBytes();
descriptor: ()[B
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jgit.lib.ObjectLoader.getCachedBytes:()[B
invokestatic org.eclipse.jgit.lib.ObjectLoader.cloneArray:([B)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/lib/ObjectLoader;
Exceptions:
throws org.eclipse.jgit.errors.LargeObjectException
public final byte[] getBytes(int);
descriptor: (I)[B
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual org.eclipse.jgit.lib.ObjectLoader.getCachedBytes:(I)[B
astore 2
start local 2 1: aload 2
invokestatic org.eclipse.jgit.lib.ObjectLoader.cloneArray:([B)[B
2: areturn
3: StackMap locals: org.eclipse.jgit.lib.ObjectLoader int byte[]
StackMap stack: java.lang.OutOfMemoryError
astore 3
start local 3 4: new org.eclipse.jgit.errors.LargeObjectException$OutOfMemory
dup
aload 3
invokespecial org.eclipse.jgit.errors.LargeObjectException$OutOfMemory.<init>:(Ljava/lang/OutOfMemoryError;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jgit/lib/ObjectLoader;
0 5 1 sizeLimit I
1 5 2 cached [B
4 5 3 tooBig Ljava/lang/OutOfMemoryError;
Exception table:
from to target type
1 2 3 Class java.lang.OutOfMemoryError
Exceptions:
throws org.eclipse.jgit.errors.LargeObjectException, org.eclipse.jgit.errors.MissingObjectException, java.io.IOException
MethodParameters:
Name Flags
sizeLimit
public abstract byte[] getCachedBytes();
descriptor: ()[B
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws org.eclipse.jgit.errors.LargeObjectException
public byte[] getCachedBytes(int);
descriptor: (I)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.eclipse.jgit.lib.ObjectLoader.isLarge:()Z
ifne 2
1: aload 0
invokevirtual org.eclipse.jgit.lib.ObjectLoader.getCachedBytes:()[B
areturn
2: StackMap locals:
StackMap stack:
aconst_null
astore 2
aconst_null
astore 3
3: aload 0
invokevirtual org.eclipse.jgit.lib.ObjectLoader.openStream:()Lorg/eclipse/jgit/lib/ObjectStream;
astore 4
start local 4 4: aload 4
invokevirtual org.eclipse.jgit.lib.ObjectStream.getSize:()J
lstore 5
start local 5 5: iload 1
i2l
lload 5
lcmp
ifge 7
6: new org.eclipse.jgit.errors.LargeObjectException$ExceedsLimit
dup
iload 1
i2l
lload 5
invokespecial org.eclipse.jgit.errors.LargeObjectException$ExceedsLimit.<init>:(JJ)V
athrow
7: StackMap locals: org.eclipse.jgit.lib.ObjectLoader int java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectStream long
StackMap stack:
ldc 2147483647
lload 5
lcmp
ifge 9
8: new org.eclipse.jgit.errors.LargeObjectException$ExceedsByteArrayLimit
dup
invokespecial org.eclipse.jgit.errors.LargeObjectException$ExceedsByteArrayLimit.<init>:()V
athrow
9: StackMap locals:
StackMap stack:
lload 5
l2i
newarray 8
astore 7
start local 7 10: goto 13
end local 7 StackMap locals:
StackMap stack: java.lang.OutOfMemoryError
11: astore 8
start local 8 12: new org.eclipse.jgit.errors.LargeObjectException$OutOfMemory
dup
aload 8
invokespecial org.eclipse.jgit.errors.LargeObjectException$OutOfMemory.<init>:(Ljava/lang/OutOfMemoryError;)V
athrow
end local 8 start local 7 13: StackMap locals: byte[]
StackMap stack:
aload 4
aload 7
iconst_0
aload 7
arraylength
invokestatic org.eclipse.jgit.util.IO.readFully:(Ljava/io/InputStream;[BII)V
14: aload 7
15: aload 4
ifnull 16
aload 4
invokevirtual org.eclipse.jgit.lib.ObjectStream.close:()V
16: StackMap locals:
StackMap stack: byte[]
areturn
end local 7 end local 5 StackMap locals: org.eclipse.jgit.lib.ObjectLoader int java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectStream
StackMap stack: java.lang.Throwable
17: astore 2
18: aload 4
ifnull 19
aload 4
invokevirtual org.eclipse.jgit.lib.ObjectStream.close:()V
end local 4 StackMap locals:
StackMap stack:
19: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
20: astore 3
aload 2
ifnonnull 21
aload 3
astore 2
goto 22
StackMap locals:
StackMap stack:
21: aload 2
aload 3
if_acmpeq 22
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
22: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/eclipse/jgit/lib/ObjectLoader;
0 23 1 sizeLimit I
4 19 4 in Lorg/eclipse/jgit/lib/ObjectStream;
5 17 5 sz J
10 11 7 buf [B
13 17 7 buf [B
12 13 8 notEnoughHeap Ljava/lang/OutOfMemoryError;
Exception table:
from to target type
9 10 11 Class java.lang.OutOfMemoryError
4 15 17 any
3 16 20 any
17 20 20 any
Exceptions:
throws org.eclipse.jgit.errors.LargeObjectException, org.eclipse.jgit.errors.MissingObjectException, java.io.IOException
MethodParameters:
Name Flags
sizeLimit
public abstract org.eclipse.jgit.lib.ObjectStream openStream();
descriptor: ()Lorg/eclipse/jgit/lib/ObjectStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws org.eclipse.jgit.errors.MissingObjectException, java.io.IOException
public void copyTo(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=11, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.eclipse.jgit.lib.ObjectLoader.isLarge:()Z
ifeq 21
1: aconst_null
astore 2
aconst_null
astore 3
2: aload 0
invokevirtual org.eclipse.jgit.lib.ObjectLoader.openStream:()Lorg/eclipse/jgit/lib/ObjectStream;
astore 4
start local 4 3: aload 4
invokevirtual org.eclipse.jgit.lib.ObjectStream.getSize:()J
lstore 5
start local 5 4: sipush 8192
newarray 8
astore 7
start local 7 5: lconst_0
lstore 8
start local 8 6: goto 12
7: StackMap locals: org.eclipse.jgit.lib.ObjectLoader java.io.OutputStream java.lang.Throwable java.lang.Throwable org.eclipse.jgit.lib.ObjectStream long byte[] long
StackMap stack:
aload 4
aload 7
invokevirtual org.eclipse.jgit.lib.ObjectStream.read:([B)I
istore 10
start local 10 8: iload 10
ifge 10
9: new java.io.EOFException
dup
invokespecial java.io.EOFException.<init>:()V
athrow
10: StackMap locals: int
StackMap stack:
aload 1
aload 7
iconst_0
iload 10
invokevirtual java.io.OutputStream.write:([BII)V
11: lload 8
iload 10
i2l
ladd
lstore 8
end local 10 12: StackMap locals:
StackMap stack:
lload 8
lload 5
lcmp
iflt 7
13: aload 4
invokevirtual org.eclipse.jgit.lib.ObjectStream.read:()I
iflt 15
14: new java.io.EOFException
dup
invokespecial java.io.EOFException.<init>:()V
athrow
end local 8 end local 7 end local 5 15: StackMap locals:
StackMap stack:
aload 4
ifnull 22
aload 4
invokevirtual org.eclipse.jgit.lib.ObjectStream.close:()V
goto 22
StackMap locals:
StackMap stack: java.lang.Throwable
16: astore 2
aload 4
ifnull 17
aload 4
invokevirtual org.eclipse.jgit.lib.ObjectStream.close:()V
end local 4 StackMap locals:
StackMap stack:
17: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
18: astore 3
aload 2
ifnonnull 19
aload 3
astore 2
goto 20
StackMap locals:
StackMap stack:
19: aload 2
aload 3
if_acmpeq 20
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
20: aload 2
athrow
21: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.eclipse.jgit.lib.ObjectLoader.getCachedBytes:()[B
invokevirtual java.io.OutputStream.write:([B)V
22: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/eclipse/jgit/lib/ObjectLoader;
0 23 1 out Ljava/io/OutputStream;
3 17 4 in Lorg/eclipse/jgit/lib/ObjectStream;
4 15 5 sz J
5 15 7 tmp [B
6 15 8 copied J
8 12 10 n I
Exception table:
from to target type
3 15 16 any
2 18 18 any
Exceptions:
throws org.eclipse.jgit.errors.MissingObjectException, java.io.IOException
MethodParameters:
Name Flags
out
private static byte[] cloneArray(byte[]);
descriptor: ([B)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
arraylength
newarray 8
astore 1
start local 1 1: aload 0
iconst_0
aload 1
iconst_0
aload 0
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 data [B
1 3 1 copy [B
MethodParameters:
Name Flags
data
}
SourceFile: "ObjectLoader.java"
NestMembers:
org.eclipse.jgit.lib.ObjectLoader$Filter org.eclipse.jgit.lib.ObjectLoader$SmallObject
InnerClasses:
public ExceedsByteArrayLimit = org.eclipse.jgit.errors.LargeObjectException$ExceedsByteArrayLimit of org.eclipse.jgit.errors.LargeObjectException
public ExceedsLimit = org.eclipse.jgit.errors.LargeObjectException$ExceedsLimit of org.eclipse.jgit.errors.LargeObjectException
public OutOfMemory = org.eclipse.jgit.errors.LargeObjectException$OutOfMemory of org.eclipse.jgit.errors.LargeObjectException
public abstract Filter = org.eclipse.jgit.lib.ObjectLoader$Filter of org.eclipse.jgit.lib.ObjectLoader
public SmallObject = org.eclipse.jgit.lib.ObjectLoader$SmallObject of org.eclipse.jgit.lib.ObjectLoader