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 // org.eclipse.jgit.lib.ObjectInserter this
         0: .line 155
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 147
            aload 0 /* this */
            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: .line 156
            return
        end local 0 // org.eclipse.jgit.lib.ObjectInserter this
      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 // org.eclipse.jgit.lib.ObjectInserter this
         0: .line 183
            aload 0 /* this */
            getfield org.eclipse.jgit.lib.ObjectInserter.tempBuffer:[B
            astore 1 /* b */
        start local 1 // byte[] b
         1: .line 184
            aload 1 /* b */
            ifnonnull 3
         2: .line 185
            aload 0 /* this */
            sipush 8192
            newarray 8
            dup
            astore 1 /* b */
            putfield org.eclipse.jgit.lib.ObjectInserter.tempBuffer:[B
         3: .line 186
      StackMap locals: byte[]
      StackMap stack:
            aload 1 /* b */
            areturn
        end local 1 // byte[] b
        end local 0 // org.eclipse.jgit.lib.ObjectInserter this
      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 // org.eclipse.jgit.lib.ObjectInserter this
         0: .line 196
            aload 0 /* this */
            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 // org.eclipse.jgit.lib.ObjectInserter this
      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 // org.eclipse.jgit.lib.ObjectInserter this
        start local 1 // int type
        start local 2 // byte[] data
         0: .line 209
            aload 0 /* this */
            iload 1 /* type */
            aload 2 /* data */
            iconst_0
            aload 2 /* data */
            arraylength
            invokevirtual org.eclipse.jgit.lib.ObjectInserter.idFor:(I[BII)Lorg/eclipse/jgit/lib/ObjectId;
            areturn
        end local 2 // byte[] data
        end local 1 // int type
        end local 0 // org.eclipse.jgit.lib.ObjectInserter this
      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 // org.eclipse.jgit.lib.ObjectInserter this
        start local 1 // int type
        start local 2 // byte[] data
        start local 3 // int off
        start local 4 // int len
         0: .line 226
            invokestatic org.eclipse.jgit.util.sha1.SHA1.newInstance:()Lorg/eclipse/jgit/util/sha1/SHA1;
            astore 5 /* md */
        start local 5 // org.eclipse.jgit.util.sha1.SHA1 md
         1: .line 227
            aload 5 /* md */
            iload 1 /* type */
            invokestatic org.eclipse.jgit.lib.Constants.encodedTypeString:(I)[B
            invokevirtual org.eclipse.jgit.util.sha1.SHA1.update:([B)V
         2: .line 228
            aload 5 /* md */
            bipush 32
            invokevirtual org.eclipse.jgit.util.sha1.SHA1.update:(B)V
         3: .line 229
            aload 5 /* md */
            iload 4 /* len */
            i2l
            invokestatic org.eclipse.jgit.lib.Constants.encodeASCII:(J)[B
            invokevirtual org.eclipse.jgit.util.sha1.SHA1.update:([B)V
         4: .line 230
            aload 5 /* md */
            iconst_0
            invokevirtual org.eclipse.jgit.util.sha1.SHA1.update:(B)V
         5: .line 231
            aload 5 /* md */
            aload 2 /* data */
            iload 3 /* off */
            iload 4 /* len */
            invokevirtual org.eclipse.jgit.util.sha1.SHA1.update:([BII)V
         6: .line 232
            aload 5 /* md */
            invokevirtual org.eclipse.jgit.util.sha1.SHA1.toObjectId:()Lorg/eclipse/jgit/lib/ObjectId;
            areturn
        end local 5 // org.eclipse.jgit.util.sha1.SHA1 md
        end local 4 // int len
        end local 3 // int off
        end local 2 // byte[] data
        end local 1 // int type
        end local 0 // org.eclipse.jgit.lib.ObjectInserter this
      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 // org.eclipse.jgit.lib.ObjectInserter this
        start local 1 // int objectType
        start local 2 // long length
        start local 4 // java.io.InputStream in
         0: .line 251
            invokestatic org.eclipse.jgit.util.sha1.SHA1.newInstance:()Lorg/eclipse/jgit/util/sha1/SHA1;
            astore 5 /* md */
        start local 5 // org.eclipse.jgit.util.sha1.SHA1 md
         1: .line 252
            aload 5 /* md */
            iload 1 /* objectType */
            invokestatic org.eclipse.jgit.lib.Constants.encodedTypeString:(I)[B
            invokevirtual org.eclipse.jgit.util.sha1.SHA1.update:([B)V
         2: .line 253
            aload 5 /* md */
            bipush 32
            invokevirtual org.eclipse.jgit.util.sha1.SHA1.update:(B)V
         3: .line 254
            aload 5 /* md */
            lload 2 /* length */
            invokestatic org.eclipse.jgit.lib.Constants.encodeASCII:(J)[B
            invokevirtual org.eclipse.jgit.util.sha1.SHA1.update:([B)V
         4: .line 255
            aload 5 /* md */
            iconst_0
            invokevirtual org.eclipse.jgit.util.sha1.SHA1.update:(B)V
         5: .line 256
            aload 0 /* this */
            invokevirtual org.eclipse.jgit.lib.ObjectInserter.buffer:()[B
            astore 6 /* buf */
        start local 6 // byte[] buf
         6: .line 257
            goto 12
         7: .line 258
      StackMap locals: org.eclipse.jgit.util.sha1.SHA1 byte[]
      StackMap stack:
            aload 4 /* in */
            aload 6 /* buf */
            iconst_0
            lload 2 /* length */
            aload 6 /* buf */
            arraylength
            i2l
            invokestatic java.lang.Math.min:(JJ)J
            l2i
            invokevirtual java.io.InputStream.read:([BII)I
            istore 7 /* n */
        start local 7 // int n
         8: .line 259
            iload 7 /* n */
            ifge 10
         9: .line 260
            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: .line 261
      StackMap locals: int
      StackMap stack:
            aload 5 /* md */
            aload 6 /* buf */
            iconst_0
            iload 7 /* n */
            invokevirtual org.eclipse.jgit.util.sha1.SHA1.update:([BII)V
        11: .line 262
            lload 2 /* length */
            iload 7 /* n */
            i2l
            lsub
            lstore 2 /* length */
        end local 7 // int n
        12: .line 257
      StackMap locals:
      StackMap stack:
            lload 2 /* length */
            lconst_0
            lcmp
            ifgt 7
        13: .line 264
            aload 5 /* md */
            invokevirtual org.eclipse.jgit.util.sha1.SHA1.toObjectId:()Lorg/eclipse/jgit/lib/ObjectId;
            areturn
        end local 6 // byte[] buf
        end local 5 // org.eclipse.jgit.util.sha1.SHA1 md
        end local 4 // java.io.InputStream in
        end local 2 // long length
        end local 1 // int objectType
        end local 0 // org.eclipse.jgit.lib.ObjectInserter this
      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 // org.eclipse.jgit.lib.ObjectInserter this
        start local 1 // org.eclipse.jgit.lib.TreeFormatter formatter
         0: .line 275
            aload 1 /* formatter */
            aload 0 /* this */
            invokevirtual org.eclipse.jgit.lib.TreeFormatter.computeId:(Lorg/eclipse/jgit/lib/ObjectInserter;)Lorg/eclipse/jgit/lib/ObjectId;
            areturn
        end local 1 // org.eclipse.jgit.lib.TreeFormatter formatter
        end local 0 // org.eclipse.jgit.lib.ObjectInserter this
      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 // org.eclipse.jgit.lib.ObjectInserter this
        start local 1 // org.eclipse.jgit.lib.TreeFormatter formatter
         0: .line 291
            aload 1 /* formatter */
            aload 0 /* this */
            invokevirtual org.eclipse.jgit.lib.TreeFormatter.insertTo:(Lorg/eclipse/jgit/lib/ObjectInserter;)Lorg/eclipse/jgit/lib/ObjectId;
            areturn
        end local 1 // org.eclipse.jgit.lib.TreeFormatter formatter
        end local 0 // org.eclipse.jgit.lib.ObjectInserter this
      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 // org.eclipse.jgit.lib.ObjectInserter this
        start local 1 // org.eclipse.jgit.lib.CommitBuilder builder
         0: .line 304
            aload 0 /* this */
            iconst_1
            aload 1 /* builder */
            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 // org.eclipse.jgit.lib.CommitBuilder builder
        end local 0 // org.eclipse.jgit.lib.ObjectInserter this
      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 // org.eclipse.jgit.lib.ObjectInserter this
        start local 1 // org.eclipse.jgit.lib.TagBuilder builder
         0: .line 317
            aload 0 /* this */
            iconst_4
            aload 1 /* builder */
            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 // org.eclipse.jgit.lib.TagBuilder builder
        end local 0 // org.eclipse.jgit.lib.ObjectInserter this
      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 // org.eclipse.jgit.lib.ObjectInserter this
        start local 1 // int type
        start local 2 // byte[] data
         0: .line 333
            aload 0 /* this */
            iload 1 /* type */
            aload 2 /* data */
            iconst_0
            aload 2 /* data */
            arraylength
            invokevirtual org.eclipse.jgit.lib.ObjectInserter.insert:(I[BII)Lorg/eclipse/jgit/lib/ObjectId;
            areturn
        end local 2 // byte[] data
        end local 1 // int type
        end local 0 // org.eclipse.jgit.lib.ObjectInserter this
      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 // org.eclipse.jgit.lib.ObjectInserter this
        start local 1 // int type
        start local 2 // byte[] data
        start local 3 // int off
        start local 4 // int len
         0: .line 353
            aload 0 /* this */
            iload 1 /* type */
            iload 4 /* len */
            i2l
            new java.io.ByteArrayInputStream
            dup
            aload 2 /* data */
            iload 3 /* off */
            iload 4 /* len */
            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 // int len
        end local 3 // int off
        end local 2 // byte[] data
        end local 1 // int type
        end local 0 // org.eclipse.jgit.lib.ObjectInserter this
      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