public class org.eclipse.jgit.patch.BinaryHunk
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jgit.patch.BinaryHunk
super_class: java.lang.Object
{
private static final byte[] LITERAL;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] DELTA;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.eclipse.jgit.patch.FileHeader ;
descriptor: Lorg/eclipse/jgit/patch/FileHeader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final int startOffset;
descriptor: I
flags: (0x0010) ACC_FINAL
int endOffset;
descriptor: I
flags: (0x0000)
private org.eclipse.jgit.patch.BinaryHunk$Type type;
descriptor: Lorg/eclipse/jgit/patch/BinaryHunk$Type;
flags: (0x0002) ACC_PRIVATE
private int length;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "literal "
invokestatic org.eclipse.jgit.lib.Constants.encodeASCII:(Ljava/lang/String;)[B
putstatic org.eclipse.jgit.patch.BinaryHunk.LITERAL:[B
1: ldc "delta "
invokestatic org.eclipse.jgit.lib.Constants.encodeASCII:(Ljava/lang/String;)[B
putstatic org.eclipse.jgit.patch.BinaryHunk.DELTA:[B
return
LocalVariableTable:
Start End Slot Name Signature
void (org.eclipse.jgit.patch.FileHeader, int);
descriptor: (Lorg/eclipse/jgit/patch/FileHeader;I)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.eclipse.jgit.patch.BinaryHunk.file:Lorg/eclipse/jgit/patch/FileHeader;
2: aload 0
iload 2
putfield org.eclipse.jgit.patch.BinaryHunk.startOffset:I
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jgit/patch/BinaryHunk;
0 4 1 fh Lorg/eclipse/jgit/patch/FileHeader;
0 4 2 offset I
MethodParameters:
Name Flags
fh
offset
public org.eclipse.jgit.patch.FileHeader ();
descriptor: ()Lorg/eclipse/jgit/patch/FileHeader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.patch.BinaryHunk.file:Lorg/eclipse/jgit/patch/FileHeader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/patch/BinaryHunk;
public byte[] getBuffer();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.patch.BinaryHunk.file:Lorg/eclipse/jgit/patch/FileHeader;
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/patch/BinaryHunk;
public int getStartOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.patch.BinaryHunk.startOffset:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/patch/BinaryHunk;
public int getEndOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.patch.BinaryHunk.endOffset:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/patch/BinaryHunk;
public org.eclipse.jgit.patch.BinaryHunk$Type getType();
descriptor: ()Lorg/eclipse/jgit/patch/BinaryHunk$Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.patch.BinaryHunk.type:Lorg/eclipse/jgit/patch/BinaryHunk$Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/patch/BinaryHunk;
public int getSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.patch.BinaryHunk.length:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/patch/BinaryHunk;
int parseHunk(int, int);
descriptor: (II)I
flags: (0x0000)
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.eclipse.jgit.patch.BinaryHunk.file:Lorg/eclipse/jgit/patch/FileHeader;
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
astore 3
start local 3 1: aload 3
iload 1
getstatic org.eclipse.jgit.patch.BinaryHunk.LITERAL:[B
invokestatic org.eclipse.jgit.util.RawParseUtils.match:([BI[B)I
iflt 5
2: aload 0
getstatic org.eclipse.jgit.patch.BinaryHunk$Type.LITERAL_DEFLATED:Lorg/eclipse/jgit/patch/BinaryHunk$Type;
putfield org.eclipse.jgit.patch.BinaryHunk.type:Lorg/eclipse/jgit/patch/BinaryHunk$Type;
3: aload 0
aload 3
iload 1
getstatic org.eclipse.jgit.patch.BinaryHunk.LITERAL:[B
arraylength
iadd
aconst_null
invokestatic org.eclipse.jgit.util.RawParseUtils.parseBase10:([BILorg/eclipse/jgit/util/MutableInteger;)I
putfield org.eclipse.jgit.patch.BinaryHunk.length:I
4: goto 10
StackMap locals: byte[]
StackMap stack:
5: aload 3
iload 1
getstatic org.eclipse.jgit.patch.BinaryHunk.DELTA:[B
invokestatic org.eclipse.jgit.util.RawParseUtils.match:([BI[B)I
iflt 9
6: aload 0
getstatic org.eclipse.jgit.patch.BinaryHunk$Type.DELTA_DEFLATED:Lorg/eclipse/jgit/patch/BinaryHunk$Type;
putfield org.eclipse.jgit.patch.BinaryHunk.type:Lorg/eclipse/jgit/patch/BinaryHunk$Type;
7: aload 0
aload 3
iload 1
getstatic org.eclipse.jgit.patch.BinaryHunk.DELTA:[B
arraylength
iadd
aconst_null
invokestatic org.eclipse.jgit.util.RawParseUtils.parseBase10:([BILorg/eclipse/jgit/util/MutableInteger;)I
putfield org.eclipse.jgit.patch.BinaryHunk.length:I
8: goto 10
9: StackMap locals:
StackMap stack:
iconst_m1
ireturn
10: StackMap locals:
StackMap stack:
aload 3
iload 1
invokestatic org.eclipse.jgit.util.RawParseUtils.nextLF:([BI)I
istore 1
11: goto 18
12: StackMap locals:
StackMap stack:
aload 3
iload 1
baload
bipush 10
if_icmpne 13
iconst_1
goto 14
StackMap locals:
StackMap stack:
13: iconst_0
StackMap locals:
StackMap stack: int
14: istore 4
start local 4 15: aload 3
iload 1
invokestatic org.eclipse.jgit.util.RawParseUtils.nextLF:([BI)I
istore 1
16: iload 4
ifeq 18
17: goto 19
end local 4 18: StackMap locals:
StackMap stack:
iload 1
iload 2
if_icmplt 12
19: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/eclipse/jgit/patch/BinaryHunk;
0 20 1 ptr I
0 20 2 end I
1 20 3 buf [B
15 18 4 empty Z
MethodParameters:
Name Flags
ptr
end
}
SourceFile: "BinaryHunk.java"
NestMembers:
org.eclipse.jgit.patch.BinaryHunk$Type
InnerClasses:
public final Type = org.eclipse.jgit.patch.BinaryHunk$Type of org.eclipse.jgit.patch.BinaryHunk