public abstract class org.eclipse.jgit.lib.ObjectInserter implements java.lang.AutoCloseable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.eclipse.jgit.lib.ObjectInserter
super_class: java.lang.Object
{
private final org.eclipse.jgit.util.sha1.SHA1 hasher;
descriptor: Lorg/eclipse/jgit/util/sha1/SHA1;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private byte[] tempBuffer;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic org.eclipse.jgit.util.sha1.SHA1.newInstance:()Lorg/eclipse/jgit/util/sha1/SHA1;
putfield org.eclipse.jgit.lib.ObjectInserter.hasher:Lorg/eclipse/jgit/util/sha1/SHA1;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/lib/ObjectInserter;
protected byte[] buffer();
descriptor: ()[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.lib.ObjectInserter.tempBuffer:[B
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
sipush 8192
newarray 8
dup
astore 1
putfield org.eclipse.jgit.lib.ObjectInserter.tempBuffer:[B
3: StackMap locals: byte[]
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jgit/lib/ObjectInserter;
1 4 1 b [B
protected org.eclipse.jgit.util.sha1.SHA1 digest();
descriptor: ()Lorg/eclipse/jgit/util/sha1/SHA1;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.lib.ObjectInserter.hasher:Lorg/eclipse/jgit/util/sha1/SHA1;
invokevirtual org.eclipse.jgit.util.sha1.SHA1.reset:()Lorg/eclipse/jgit/util/sha1/SHA1;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/lib/ObjectInserter;
public org.eclipse.jgit.lib.ObjectId idFor(int, byte[]);
descriptor: (I[B)Lorg/eclipse/jgit/lib/ObjectId;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
iconst_0
aload 2
arraylength
invokevirtual org.eclipse.jgit.lib.ObjectInserter.idFor:(I[BII)Lorg/eclipse/jgit/lib/ObjectId;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/lib/ObjectInserter;
0 1 1 type I
0 1 2 data [B
MethodParameters:
Name Flags
type
data
public org.eclipse.jgit.lib.ObjectId idFor(int, byte[], int, int);
descriptor: (I[BII)Lorg/eclipse/jgit/lib/ObjectId;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: invokestatic org.eclipse.jgit.util.sha1.SHA1.newInstance:()Lorg/eclipse/jgit/util/sha1/SHA1;
astore 5
start local 5 1: aload 5
iload 1
invokestatic org.eclipse.jgit.lib.Constants.encodedTypeString:(I)[B
invokevirtual org.eclipse.jgit.util.sha1.SHA1.update:([B)V
2: aload 5
bipush 32
invokevirtual org.eclipse.jgit.util.sha1.SHA1.update:(B)V
3: aload 5
iload 4
i2l
invokestatic org.eclipse.jgit.lib.Constants.encodeASCII:(J)[B
invokevirtual org.eclipse.jgit.util.sha1.SHA1.update:([B)V
4: aload 5
iconst_0
invokevirtual org.eclipse.jgit.util.sha1.SHA1.update:(B)V
5: aload 5
aload 2
iload 3
iload 4
invokevirtual org.eclipse.jgit.util.sha1.SHA1.update:([BII)V
6: aload 5
invokevirtual org.eclipse.jgit.util.sha1.SHA1.toObjectId:()Lorg/eclipse/jgit/lib/ObjectId;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jgit/lib/ObjectInserter;
0 7 1 type I
0 7 2 data [B
0 7 3 off I
0 7 4 len I
1 7 5 md Lorg/eclipse/jgit/util/sha1/SHA1;
MethodParameters:
Name Flags
type
data
off
len
public org.eclipse.jgit.lib.ObjectId idFor(int, long, java.io.InputStream);
descriptor: (IJLjava/io/InputStream;)Lorg/eclipse/jgit/lib/ObjectId;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 4 0: invokestatic org.eclipse.jgit.util.sha1.SHA1.newInstance:()Lorg/eclipse/jgit/util/sha1/SHA1;
astore 5
start local 5 1: aload 5
iload 1
invokestatic org.eclipse.jgit.lib.Constants.encodedTypeString:(I)[B
invokevirtual org.eclipse.jgit.util.sha1.SHA1.update:([B)V
2: aload 5
bipush 32
invokevirtual org.eclipse.jgit.util.sha1.SHA1.update:(B)V
3: aload 5
lload 2
invokestatic org.eclipse.jgit.lib.Constants.encodeASCII:(J)[B
invokevirtual org.eclipse.jgit.util.sha1.SHA1.update:([B)V
4: aload 5
iconst_0
invokevirtual org.eclipse.jgit.util.sha1.SHA1.update:(B)V
5: aload 0
invokevirtual org.eclipse.jgit.lib.ObjectInserter.buffer:()[B
astore 6
start local 6 6: goto 12
7: StackMap locals: org.eclipse.jgit.util.sha1.SHA1 byte[]
StackMap stack:
aload 4
aload 6
iconst_0
lload 2
aload 6
arraylength
i2l
invokestatic java.lang.Math.min:(JJ)J
l2i
invokevirtual java.io.InputStream.read:([BII)I
istore 7
start local 7 8: iload 7
ifge 10
9: new java.io.EOFException
dup
invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.unexpectedEndOfInput:Ljava/lang/String;
invokespecial java.io.EOFException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: int
StackMap stack:
aload 5
aload 6
iconst_0
iload 7
invokevirtual org.eclipse.jgit.util.sha1.SHA1.update:([BII)V
11: lload 2
iload 7
i2l
lsub
lstore 2
end local 7 12: StackMap locals:
StackMap stack:
lload 2
lconst_0
lcmp
ifgt 7
13: aload 5
invokevirtual org.eclipse.jgit.util.sha1.SHA1.toObjectId:()Lorg/eclipse/jgit/lib/ObjectId;
areturn
end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/eclipse/jgit/lib/ObjectInserter;
0 14 1 objectType I
0 14 2 length J
0 14 4 in Ljava/io/InputStream;
1 14 5 md Lorg/eclipse/jgit/util/sha1/SHA1;
6 14 6 buf [B
8 12 7 n I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
objectType
length
in
public org.eclipse.jgit.lib.ObjectId idFor(org.eclipse.jgit.lib.TreeFormatter);
descriptor: (Lorg/eclipse/jgit/lib/TreeFormatter;)Lorg/eclipse/jgit/lib/ObjectId;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.eclipse.jgit.lib.TreeFormatter.computeId:(Lorg/eclipse/jgit/lib/ObjectInserter;)Lorg/eclipse/jgit/lib/ObjectId;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/lib/ObjectInserter;
0 1 1 formatter Lorg/eclipse/jgit/lib/TreeFormatter;
MethodParameters:
Name Flags
formatter
public final org.eclipse.jgit.lib.ObjectId insert(org.eclipse.jgit.lib.TreeFormatter);
descriptor: (Lorg/eclipse/jgit/lib/TreeFormatter;)Lorg/eclipse/jgit/lib/ObjectId;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.eclipse.jgit.lib.TreeFormatter.insertTo:(Lorg/eclipse/jgit/lib/ObjectInserter;)Lorg/eclipse/jgit/lib/ObjectId;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/lib/ObjectInserter;
0 1 1 formatter Lorg/eclipse/jgit/lib/TreeFormatter;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
formatter
public final org.eclipse.jgit.lib.ObjectId insert(org.eclipse.jgit.lib.CommitBuilder);
descriptor: (Lorg/eclipse/jgit/lib/CommitBuilder;)Lorg/eclipse/jgit/lib/ObjectId;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
aload 1
invokevirtual org.eclipse.jgit.lib.CommitBuilder.build:()[B
invokevirtual org.eclipse.jgit.lib.ObjectInserter.insert:(I[B)Lorg/eclipse/jgit/lib/ObjectId;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/lib/ObjectInserter;
0 1 1 builder Lorg/eclipse/jgit/lib/CommitBuilder;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
builder
public final org.eclipse.jgit.lib.ObjectId insert(org.eclipse.jgit.lib.TagBuilder);
descriptor: (Lorg/eclipse/jgit/lib/TagBuilder;)Lorg/eclipse/jgit/lib/ObjectId;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_4
aload 1
invokevirtual org.eclipse.jgit.lib.TagBuilder.build:()[B
invokevirtual org.eclipse.jgit.lib.ObjectInserter.insert:(I[B)Lorg/eclipse/jgit/lib/ObjectId;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/lib/ObjectInserter;
0 1 1 builder Lorg/eclipse/jgit/lib/TagBuilder;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
builder
public org.eclipse.jgit.lib.ObjectId insert(int, byte[]);
descriptor: (I[B)Lorg/eclipse/jgit/lib/ObjectId;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
iconst_0
aload 2
arraylength
invokevirtual org.eclipse.jgit.lib.ObjectInserter.insert:(I[BII)Lorg/eclipse/jgit/lib/ObjectId;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/lib/ObjectInserter;
0 1 1 type I
0 1 2 data [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
type
data
public org.eclipse.jgit.lib.ObjectId insert(int, byte[], int, int);
descriptor: (I[BII)Lorg/eclipse/jgit/lib/ObjectId;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
iload 4
i2l
new java.io.ByteArrayInputStream
dup
aload 2
iload 3
iload 4
invokespecial java.io.ByteArrayInputStream.<init>:([BII)V
invokevirtual org.eclipse.jgit.lib.ObjectInserter.insert:(IJLjava/io/InputStream;)Lorg/eclipse/jgit/lib/ObjectId;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/lib/ObjectInserter;
0 1 1 type I
0 1 2 data [B
0 1 3 off I
0 1 4 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
type
data
off
len
public abstract org.eclipse.jgit.lib.ObjectId insert(int, long, java.io.InputStream);
descriptor: (IJLjava/io/InputStream;)Lorg/eclipse/jgit/lib/ObjectId;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
objectType
length
in
public abstract org.eclipse.jgit.transport.PackParser newPackParser(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Lorg/eclipse/jgit/transport/PackParser;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
public abstract org.eclipse.jgit.lib.ObjectReader newReader();
descriptor: ()Lorg/eclipse/jgit/lib/ObjectReader;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void flush();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract void close();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
}
SourceFile: "ObjectInserter.java"
NestMembers:
org.eclipse.jgit.lib.ObjectInserter$Filter org.eclipse.jgit.lib.ObjectInserter$Filter$1 org.eclipse.jgit.lib.ObjectInserter$Formatter
InnerClasses:
public abstract Filter = org.eclipse.jgit.lib.ObjectInserter$Filter of org.eclipse.jgit.lib.ObjectInserter
public Formatter = org.eclipse.jgit.lib.ObjectInserter$Formatter of org.eclipse.jgit.lib.ObjectInserter