public class extends org.eclipse.jgit.diff.DiffEntry
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jgit.patch.FileHeader
super_class: org.eclipse.jgit.diff.DiffEntry
{
private static final byte[] ;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] ;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final byte[] ;
descriptor: [B
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final byte[] ;
descriptor: [B
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static final byte[] ;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] ;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] ;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] ;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] ;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] ;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] ;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] ;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final byte[] ;
descriptor: [B
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final byte[] ;
descriptor: [B
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final byte[] ;
descriptor: [B
flags: (0x0018) ACC_STATIC, ACC_FINAL
final byte[] ;
descriptor: [B
flags: (0x0010) ACC_FINAL
final int ;
descriptor: I
flags: (0x0010) ACC_FINAL
int ;
descriptor: I
flags: (0x0000)
org.eclipse.jgit.patch.FileHeader$PatchType ;
descriptor: Lorg/eclipse/jgit/patch/FileHeader$PatchType;
flags: (0x0000)
private java.util.List<org.eclipse.jgit.patch.HunkHeader> ;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lorg/eclipse/jgit/patch/HunkHeader;>;
org.eclipse.jgit.patch.BinaryHunk ;
descriptor: Lorg/eclipse/jgit/patch/BinaryHunk;
flags: (0x0000)
org.eclipse.jgit.patch.BinaryHunk ;
descriptor: Lorg/eclipse/jgit/patch/BinaryHunk;
flags: (0x0000)
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "old mode "
invokestatic org.eclipse.jgit.lib.Constants.encodeASCII:(Ljava/lang/String;)[B
putstatic org.eclipse.jgit.patch.FileHeader.OLD_MODE:[B
1: ldc "new mode "
invokestatic org.eclipse.jgit.lib.Constants.encodeASCII:(Ljava/lang/String;)[B
putstatic org.eclipse.jgit.patch.FileHeader.NEW_MODE:[B
2: ldc "deleted file mode "
invokestatic org.eclipse.jgit.lib.Constants.encodeASCII:(Ljava/lang/String;)[B
putstatic org.eclipse.jgit.patch.FileHeader.DELETED_FILE_MODE:[B
3: ldc "new file mode "
invokestatic org.eclipse.jgit.lib.Constants.encodeASCII:(Ljava/lang/String;)[B
putstatic org.eclipse.jgit.patch.FileHeader.NEW_FILE_MODE:[B
4: ldc "copy from "
invokestatic org.eclipse.jgit.lib.Constants.encodeASCII:(Ljava/lang/String;)[B
putstatic org.eclipse.jgit.patch.FileHeader.COPY_FROM:[B
5: ldc "copy to "
invokestatic org.eclipse.jgit.lib.Constants.encodeASCII:(Ljava/lang/String;)[B
putstatic org.eclipse.jgit.patch.FileHeader.COPY_TO:[B
6: ldc "rename old "
invokestatic org.eclipse.jgit.lib.Constants.encodeASCII:(Ljava/lang/String;)[B
putstatic org.eclipse.jgit.patch.FileHeader.RENAME_OLD:[B
7: ldc "rename new "
invokestatic org.eclipse.jgit.lib.Constants.encodeASCII:(Ljava/lang/String;)[B
putstatic org.eclipse.jgit.patch.FileHeader.RENAME_NEW:[B
8: ldc "rename from "
invokestatic org.eclipse.jgit.lib.Constants.encodeASCII:(Ljava/lang/String;)[B
putstatic org.eclipse.jgit.patch.FileHeader.RENAME_FROM:[B
9: ldc "rename to "
invokestatic org.eclipse.jgit.lib.Constants.encodeASCII:(Ljava/lang/String;)[B
putstatic org.eclipse.jgit.patch.FileHeader.RENAME_TO:[B
10: ldc "similarity index "
invokestatic org.eclipse.jgit.lib.Constants.encodeASCII:(Ljava/lang/String;)[B
putstatic org.eclipse.jgit.patch.FileHeader.SIMILARITY_INDEX:[B
11: ldc "dissimilarity index "
invokestatic org.eclipse.jgit.lib.Constants.encodeASCII:(Ljava/lang/String;)[B
putstatic org.eclipse.jgit.patch.FileHeader.DISSIMILARITY_INDEX:[B
12: ldc "index "
invokestatic org.eclipse.jgit.lib.Constants.encodeASCII:(Ljava/lang/String;)[B
putstatic org.eclipse.jgit.patch.FileHeader.INDEX:[B
13: ldc "--- "
invokestatic org.eclipse.jgit.lib.Constants.encodeASCII:(Ljava/lang/String;)[B
putstatic org.eclipse.jgit.patch.FileHeader.OLD_NAME:[B
14: ldc "+++ "
invokestatic org.eclipse.jgit.lib.Constants.encodeASCII:(Ljava/lang/String;)[B
putstatic org.eclipse.jgit.patch.FileHeader.NEW_NAME:[B
return
LocalVariableTable:
Start End Slot Name Signature
public void (byte[], org.eclipse.jgit.diff.EditList, org.eclipse.jgit.patch.FileHeader$PatchType);
descriptor: ([BLorg/eclipse/jgit/diff/EditList;Lorg/eclipse/jgit/patch/FileHeader$PatchType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iconst_0
invokespecial org.eclipse.jgit.patch.FileHeader.<init>:([BI)V
1: aload 0
aload 1
arraylength
putfield org.eclipse.jgit.patch.FileHeader.endOffset:I
2: aload 0
getstatic org.eclipse.jgit.patch.Patch.DIFF_GIT:[B
arraylength
aload 1
arraylength
invokevirtual org.eclipse.jgit.patch.FileHeader.parseGitFileName:(II)I
istore 4
start local 4 3: aload 0
iload 4
aload 1
arraylength
invokevirtual org.eclipse.jgit.patch.FileHeader.parseGitHeaders:(II)I
pop
4: aload 0
aload 3
putfield org.eclipse.jgit.patch.FileHeader.patchType:Lorg/eclipse/jgit/patch/FileHeader$PatchType;
5: aload 0
new org.eclipse.jgit.patch.HunkHeader
dup
aload 0
aload 2
invokespecial org.eclipse.jgit.patch.HunkHeader.<init>:(Lorg/eclipse/jgit/patch/FileHeader;Lorg/eclipse/jgit/diff/EditList;)V
invokevirtual org.eclipse.jgit.patch.FileHeader.addHunk:(Lorg/eclipse/jgit/patch/HunkHeader;)V
6: return
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/patch/FileHeader;
0 7 1 headerLines [B
0 7 2 edits Lorg/eclipse/jgit/diff/EditList;
0 7 3 type Lorg/eclipse/jgit/patch/FileHeader$PatchType;
3 7 4 ptr I
MethodParameters:
Name Flags
headerLines
edits
type
void (byte[], int);
descriptor: ([BI)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.eclipse.jgit.diff.DiffEntry.<init>:()V
1: aload 0
aload 1
putfield org.eclipse.jgit.patch.FileHeader.buf:[B
2: aload 0
iload 2
putfield org.eclipse.jgit.patch.FileHeader.startOffset:I
3: aload 0
getstatic org.eclipse.jgit.diff.DiffEntry$ChangeType.MODIFY:Lorg/eclipse/jgit/diff/DiffEntry$ChangeType;
putfield org.eclipse.jgit.patch.FileHeader.changeType:Lorg/eclipse/jgit/diff/DiffEntry$ChangeType;
4: aload 0
getstatic org.eclipse.jgit.patch.FileHeader$PatchType.UNIFIED:Lorg/eclipse/jgit/patch/FileHeader$PatchType;
putfield org.eclipse.jgit.patch.FileHeader.patchType:Lorg/eclipse/jgit/patch/FileHeader$PatchType;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jgit/patch/FileHeader;
0 6 1 b [B
0 6 2 offset I
MethodParameters:
Name Flags
b
offset
int ();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/patch/FileHeader;
public byte[] ();
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.FileHeader.buf:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/patch/FileHeader;
public int ();
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.FileHeader.startOffset:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/patch/FileHeader;
public int ();
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.FileHeader.endOffset:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/patch/FileHeader;
public java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
aconst_null
invokevirtual org.eclipse.jgit.patch.FileHeader.getScriptText:(Ljava/nio/charset/Charset;Ljava/nio/charset/Charset;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/patch/FileHeader;
public java.lang.String (java.nio.charset.Charset, java.nio.charset.Charset);
descriptor: (Ljava/nio/charset/Charset;Ljava/nio/charset/Charset;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_2
anewarray java.nio.charset.Charset
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
invokevirtual org.eclipse.jgit.patch.FileHeader.getScriptText:([Ljava/nio/charset/Charset;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/patch/FileHeader;
0 1 1 oldCharset Ljava/nio/charset/Charset;
0 1 2 newCharset Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
oldCharset
newCharset
java.lang.String (java.nio.charset.Charset[]);
descriptor: ([Ljava/nio/charset/Charset;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=8, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.eclipse.jgit.patch.FileHeader.getHunks:()Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 2
1: aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
aload 0
getfield org.eclipse.jgit.patch.FileHeader.startOffset:I
aload 0
getfield org.eclipse.jgit.patch.FileHeader.endOffset:I
invokestatic org.eclipse.jgit.util.RawParseUtils.extractBinaryString:([BII)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 7
aload 1
arraylength
aload 0
invokevirtual org.eclipse.jgit.patch.FileHeader.getParentCount:()I
iconst_1
iadd
if_icmpeq 7
3: new java.lang.IllegalArgumentException
dup
4: invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.expectedCharacterEncodingGuesses:Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
5: aload 0
invokevirtual org.eclipse.jgit.patch.FileHeader.getParentCount:()I
iconst_1
iadd
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
6: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 1
invokestatic org.eclipse.jgit.patch.FileHeader.trySimpleConversion:([Ljava/nio/charset/Charset;)Z
ifeq 16
8: aload 1
ifnull 9
aload 1
iconst_0
aaload
goto 10
StackMap locals:
StackMap stack:
9: aconst_null
StackMap locals:
StackMap stack: java.nio.charset.Charset
10: astore 2
start local 2 11: aload 2
ifnonnull 13
12: getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
astore 2
13: StackMap locals: java.nio.charset.Charset
StackMap stack:
aload 2
aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
aload 0
getfield org.eclipse.jgit.patch.FileHeader.startOffset:I
aload 0
getfield org.eclipse.jgit.patch.FileHeader.endOffset:I
invokestatic org.eclipse.jgit.util.RawParseUtils.decodeNoFallback:(Ljava/nio/charset/Charset;[BII)Ljava/lang/String;
14: areturn
15: StackMap locals:
StackMap stack: java.nio.charset.CharacterCodingException
pop
end local 2 16: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
getfield org.eclipse.jgit.patch.FileHeader.endOffset:I
aload 0
getfield org.eclipse.jgit.patch.FileHeader.startOffset:I
isub
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
start local 2 17: aload 0
invokevirtual org.eclipse.jgit.patch.FileHeader.getHunks:()Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.eclipse.jgit.patch.HunkHeader
invokevirtual org.eclipse.jgit.patch.HunkHeader.getStartOffset:()I
istore 3
start local 3 18: aload 0
getfield org.eclipse.jgit.patch.FileHeader.startOffset:I
istore 4
start local 4 19: goto 23
20: StackMap locals: java.lang.StringBuilder int int
StackMap stack:
iload 3
aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 4
invokestatic org.eclipse.jgit.util.RawParseUtils.nextLF:([BI)I
invokestatic java.lang.Math.min:(II)I
istore 5
start local 5 21: aload 2
aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 4
iload 5
invokestatic org.eclipse.jgit.util.RawParseUtils.extractBinaryString:([BII)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
22: iload 5
istore 4
end local 5 23: StackMap locals:
StackMap stack:
iload 4
iload 3
if_icmplt 20
end local 4 24: aload 0
aload 1
invokevirtual org.eclipse.jgit.patch.FileHeader.extractFileLines:([Ljava/nio/charset/Charset;)[Ljava/lang/String;
astore 4
start local 4 25: aload 4
arraylength
newarray 10
astore 5
start local 5 26: aload 0
invokevirtual org.eclipse.jgit.patch.FileHeader.getHunks:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 29
StackMap locals: org.eclipse.jgit.patch.FileHeader java.nio.charset.Charset[] java.lang.StringBuilder int java.lang.String[] int[] top java.util.Iterator
StackMap stack:
27: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jgit.patch.HunkHeader
astore 6
start local 6 28: aload 6
aload 2
aload 4
aload 5
invokevirtual org.eclipse.jgit.patch.HunkHeader.extractFileLines:(Ljava/lang/StringBuilder;[Ljava/lang/String;[I)V
end local 6 29: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 27
30: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
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 31 0 this Lorg/eclipse/jgit/patch/FileHeader;
0 31 1 charsetGuess [Ljava/nio/charset/Charset;
11 16 2 cs Ljava/nio/charset/Charset;
17 31 2 r Ljava/lang/StringBuilder;
18 31 3 hdrEnd I
19 24 4 ptr I
21 23 5 eol I
25 31 4 files [Ljava/lang/String;
26 31 5 offsets [I
28 29 6 h Lorg/eclipse/jgit/patch/HunkHeader;
Exception table:
from to target type
13 14 15 Class java.nio.charset.CharacterCodingException
MethodParameters:
Name Flags
charsetGuess
private static boolean (java.nio.charset.Charset[]);
descriptor: ([Ljava/nio/charset/Charset;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iconst_1
istore 1
start local 1 3: goto 7
4: StackMap locals: int
StackMap stack:
aload 0
iload 1
aaload
aload 0
iconst_0
aaload
if_acmpeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
7: iload 1
aload 0
arraylength
if_icmplt 4
end local 1 8: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 charsetGuess [Ljava/nio/charset/Charset;
3 8 1 i I
MethodParameters:
Name Flags
charsetGuess
private java.lang.String[] (java.nio.charset.Charset[]);
descriptor: ([Ljava/nio/charset/Charset;)[Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.eclipse.jgit.patch.FileHeader.getParentCount:()I
iconst_1
iadd
anewarray org.eclipse.jgit.util.TemporaryBuffer
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: org.eclipse.jgit.util.TemporaryBuffer[] int
StackMap stack:
aload 2
iload 3
new org.eclipse.jgit.util.TemporaryBuffer$Heap
dup
ldc 2147483647
invokespecial org.eclipse.jgit.util.TemporaryBuffer$Heap.<init>:(I)V
aastore
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
aload 2
arraylength
if_icmplt 3
end local 3 6: aload 0
invokevirtual org.eclipse.jgit.patch.FileHeader.getHunks:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 9
StackMap locals: org.eclipse.jgit.patch.FileHeader java.nio.charset.Charset[] org.eclipse.jgit.util.TemporaryBuffer[] top java.util.Iterator
StackMap stack:
7: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jgit.patch.HunkHeader
astore 3
start local 3 8: aload 3
aload 2
invokevirtual org.eclipse.jgit.patch.HunkHeader.extractFileLines:([Ljava/io/OutputStream;)V
end local 3 9: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
10: aload 2
arraylength
anewarray java.lang.String
astore 3
start local 3 11: iconst_0
istore 4
start local 4 12: goto 20
13: StackMap locals: org.eclipse.jgit.patch.FileHeader java.nio.charset.Charset[] org.eclipse.jgit.util.TemporaryBuffer[] java.lang.String[] int
StackMap stack:
aload 1
ifnull 14
aload 1
iload 4
aaload
goto 15
StackMap locals:
StackMap stack:
14: aconst_null
StackMap locals:
StackMap stack: java.nio.charset.Charset
15: astore 5
start local 5 16: aload 5
ifnonnull 18
17: getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
astore 5
18: StackMap locals: java.nio.charset.Charset
StackMap stack:
aload 3
iload 4
aload 5
aload 2
iload 4
aaload
invokevirtual org.eclipse.jgit.util.TemporaryBuffer.toByteArray:()[B
invokestatic org.eclipse.jgit.util.RawParseUtils.decode:(Ljava/nio/charset/Charset;[B)Ljava/lang/String;
aastore
end local 5 19: iinc 4 1
StackMap locals:
StackMap stack:
20: iload 4
aload 2
arraylength
if_icmplt 13
end local 4 21: aload 3
22: areturn
end local 3 23: StackMap locals: org.eclipse.jgit.patch.FileHeader java.nio.charset.Charset[] org.eclipse.jgit.util.TemporaryBuffer[]
StackMap stack: java.io.IOException
astore 3
start local 3 24: new java.lang.RuntimeException
dup
invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.cannotConvertScriptToText:Ljava/lang/String;
aload 3
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/eclipse/jgit/patch/FileHeader;
0 25 1 csGuess [Ljava/nio/charset/Charset;
1 25 2 tmp [Lorg/eclipse/jgit/util/TemporaryBuffer;
2 6 3 i I
8 9 3 h Lorg/eclipse/jgit/patch/HunkHeader;
11 23 3 r [Ljava/lang/String;
12 21 4 i I
16 19 5 cs Ljava/nio/charset/Charset;
24 25 3 ioe Ljava/io/IOException;
Exception table:
from to target type
1 22 23 Class java.io.IOException
MethodParameters:
Name Flags
csGuess
public org.eclipse.jgit.patch.FileHeader$PatchType ();
descriptor: ()Lorg/eclipse/jgit/patch/FileHeader$PatchType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.patch.FileHeader.patchType:Lorg/eclipse/jgit/patch/FileHeader$PatchType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/patch/FileHeader;
public boolean ();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.patch.FileHeader.changeType:Lorg/eclipse/jgit/diff/DiffEntry$ChangeType;
getstatic org.eclipse.jgit.diff.DiffEntry$ChangeType.MODIFY:Lorg/eclipse/jgit/diff/DiffEntry$ChangeType;
if_acmpne 1
aload 0
getfield org.eclipse.jgit.patch.FileHeader.newMode:Lorg/eclipse/jgit/lib/FileMode;
aload 0
getfield org.eclipse.jgit.patch.FileHeader.oldMode:Lorg/eclipse/jgit/lib/FileMode;
if_acmpne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jgit/patch/FileHeader;
public java.util.List<? extends org.eclipse.jgit.patch.HunkHeader> getHunks();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.patch.FileHeader.hunks:Ljava/util/List;
ifnonnull 2
1: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.patch.FileHeader.hunks:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/patch/FileHeader;
Signature: ()Ljava/util/List<+Lorg/eclipse/jgit/patch/HunkHeader;>;
void (org.eclipse.jgit.patch.HunkHeader);
descriptor: (Lorg/eclipse/jgit/patch/HunkHeader;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.eclipse.jgit.patch.HunkHeader.getFileHeader:()Lorg/eclipse/jgit/patch/FileHeader;
aload 0
if_acmpeq 2
1: new java.lang.IllegalArgumentException
dup
invokestatic org.eclipse.jgit.internal.JGitText.get:()Lorg/eclipse/jgit/internal/JGitText;
getfield org.eclipse.jgit.internal.JGitText.hunkBelongsToAnotherFile:Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.patch.FileHeader.hunks:Ljava/util/List;
ifnonnull 4
3: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.eclipse.jgit.patch.FileHeader.hunks:Ljava/util/List;
4: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.patch.FileHeader.hunks:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jgit/patch/FileHeader;
0 6 1 h Lorg/eclipse/jgit/patch/HunkHeader;
MethodParameters:
Name Flags
h
org.eclipse.jgit.patch.HunkHeader (int);
descriptor: (I)Lorg/eclipse/jgit/patch/HunkHeader;
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.eclipse.jgit.patch.HunkHeader
dup
aload 0
iload 1
invokespecial org.eclipse.jgit.patch.HunkHeader.<init>:(Lorg/eclipse/jgit/patch/FileHeader;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/patch/FileHeader;
0 1 1 offset I
MethodParameters:
Name Flags
offset
public org.eclipse.jgit.patch.BinaryHunk ();
descriptor: ()Lorg/eclipse/jgit/patch/BinaryHunk;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.patch.FileHeader.forwardBinaryHunk:Lorg/eclipse/jgit/patch/BinaryHunk;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/patch/FileHeader;
public org.eclipse.jgit.patch.BinaryHunk ();
descriptor: ()Lorg/eclipse/jgit/patch/BinaryHunk;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jgit.patch.FileHeader.reverseBinaryHunk:Lorg/eclipse/jgit/patch/BinaryHunk;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jgit/patch/FileHeader;
public org.eclipse.jgit.diff.EditList ();
descriptor: ()Lorg/eclipse/jgit/diff/EditList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: new org.eclipse.jgit.diff.EditList
dup
invokespecial org.eclipse.jgit.diff.EditList.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.eclipse.jgit.patch.FileHeader.hunks:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.eclipse.jgit.patch.FileHeader org.eclipse.jgit.diff.EditList top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jgit.patch.HunkHeader
astore 2
start local 2 3: aload 1
aload 2
invokevirtual org.eclipse.jgit.patch.HunkHeader.toEditList:()Lorg/eclipse/jgit/diff/EditList;
invokevirtual org.eclipse.jgit.diff.EditList.addAll:(Ljava/util/Collection;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jgit/patch/FileHeader;
1 6 1 r Lorg/eclipse/jgit/diff/EditList;
3 4 2 hunk Lorg/eclipse/jgit/patch/HunkHeader;
int (int, int);
descriptor: (II)I
flags: (0x0000)
Code:
stack=6, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
invokestatic org.eclipse.jgit.util.RawParseUtils.nextLF:([BI)I
istore 3
start local 3 1: iload 1
istore 4
start local 4 2: iload 3
iload 2
if_icmplt 4
3: iconst_m1
ireturn
4: StackMap locals: int int
StackMap stack:
aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
bipush 47
invokestatic org.eclipse.jgit.util.RawParseUtils.nextLF:([BIC)I
istore 5
start local 5 5: iload 5
iload 3
if_icmplt 24
6: iload 3
ireturn
7: StackMap locals: int
StackMap stack:
aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
bipush 32
invokestatic org.eclipse.jgit.util.RawParseUtils.nextLF:([BIC)I
istore 6
start local 6 8: iload 6
iload 3
if_icmplt 10
9: iload 3
ireturn
10: StackMap locals: int
StackMap stack:
aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 6
bipush 47
invokestatic org.eclipse.jgit.util.RawParseUtils.nextLF:([BIC)I
istore 7
start local 7 11: iload 7
iload 3
if_icmplt 13
12: iload 3
ireturn
13: StackMap locals: int
StackMap stack:
aload 0
iload 5
iload 6
iconst_1
isub
iload 7
iload 3
iconst_1
isub
invokevirtual org.eclipse.jgit.patch.FileHeader.eq:(IIII)Z
ifeq 23
14: aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 4
baload
bipush 34
if_icmpne 20
15: aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 6
iconst_2
isub
baload
bipush 34
if_icmpeq 17
16: iload 3
ireturn
17: StackMap locals:
StackMap stack:
aload 0
getstatic org.eclipse.jgit.util.QuotedString.GIT_PATH:Lorg/eclipse/jgit/util/QuotedString$GitPathStyle;
aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 4
iload 6
iconst_1
isub
invokevirtual org.eclipse.jgit.util.QuotedString$GitPathStyle.dequote:([BII)Ljava/lang/String;
putfield org.eclipse.jgit.patch.FileHeader.oldPath:Ljava/lang/String;
18: aload 0
aload 0
getfield org.eclipse.jgit.patch.FileHeader.oldPath:Ljava/lang/String;
invokestatic org.eclipse.jgit.patch.FileHeader.p1:(Ljava/lang/String;)Ljava/lang/String;
putfield org.eclipse.jgit.patch.FileHeader.oldPath:Ljava/lang/String;
19: goto 21
20: StackMap locals:
StackMap stack:
aload 0
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 5
iload 6
iconst_1
isub
invokestatic org.eclipse.jgit.util.RawParseUtils.decode:(Ljava/nio/charset/Charset;[BII)Ljava/lang/String;
putfield org.eclipse.jgit.patch.FileHeader.oldPath:Ljava/lang/String;
21: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.eclipse.jgit.patch.FileHeader.oldPath:Ljava/lang/String;
putfield org.eclipse.jgit.patch.FileHeader.newPath:Ljava/lang/String;
22: iload 3
ireturn
23: StackMap locals:
StackMap stack:
iload 6
istore 1
end local 7 end local 6 24: StackMap locals:
StackMap stack:
iload 1
iload 3
if_icmplt 7
25: iload 3
ireturn
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 26 0 this Lorg/eclipse/jgit/patch/FileHeader;
0 26 1 ptr I
0 26 2 end I
1 26 3 eol I
2 26 4 bol I
5 26 5 aStart I
8 24 6 sp I
11 24 7 bStart I
MethodParameters:
Name Flags
ptr
end
int (int, int);
descriptor: (II)I
flags: (0x0000)
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: goto 57
1: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
invokestatic org.eclipse.jgit.util.RawParseUtils.nextLF:([BI)I
istore 3
start local 3 2: aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
iload 3
invokestatic org.eclipse.jgit.patch.FileHeader.isHunkHdr:([BII)I
iconst_1
if_icmplt 4
3: goto 58
4: StackMap locals: int
StackMap stack:
aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.OLD_NAME:[B
invokestatic org.eclipse.jgit.util.RawParseUtils.match:([BI[B)I
iflt 7
5: aload 0
iload 1
iload 3
invokevirtual org.eclipse.jgit.patch.FileHeader.parseOldName:(II)V
6: goto 56
StackMap locals:
StackMap stack:
7: aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.NEW_NAME:[B
invokestatic org.eclipse.jgit.util.RawParseUtils.match:([BI[B)I
iflt 10
8: aload 0
iload 1
iload 3
invokevirtual org.eclipse.jgit.patch.FileHeader.parseNewName:(II)V
9: goto 56
StackMap locals:
StackMap stack:
10: aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.OLD_MODE:[B
invokestatic org.eclipse.jgit.util.RawParseUtils.match:([BI[B)I
iflt 13
11: aload 0
aload 0
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.OLD_MODE:[B
arraylength
iadd
iload 3
invokevirtual org.eclipse.jgit.patch.FileHeader.parseFileMode:(II)Lorg/eclipse/jgit/lib/FileMode;
putfield org.eclipse.jgit.patch.FileHeader.oldMode:Lorg/eclipse/jgit/lib/FileMode;
12: goto 56
StackMap locals:
StackMap stack:
13: aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.NEW_MODE:[B
invokestatic org.eclipse.jgit.util.RawParseUtils.match:([BI[B)I
iflt 16
14: aload 0
aload 0
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.NEW_MODE:[B
arraylength
iadd
iload 3
invokevirtual org.eclipse.jgit.patch.FileHeader.parseFileMode:(II)Lorg/eclipse/jgit/lib/FileMode;
putfield org.eclipse.jgit.patch.FileHeader.newMode:Lorg/eclipse/jgit/lib/FileMode;
15: goto 56
StackMap locals:
StackMap stack:
16: aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.DELETED_FILE_MODE:[B
invokestatic org.eclipse.jgit.util.RawParseUtils.match:([BI[B)I
iflt 21
17: aload 0
aload 0
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.DELETED_FILE_MODE:[B
arraylength
iadd
iload 3
invokevirtual org.eclipse.jgit.patch.FileHeader.parseFileMode:(II)Lorg/eclipse/jgit/lib/FileMode;
putfield org.eclipse.jgit.patch.FileHeader.oldMode:Lorg/eclipse/jgit/lib/FileMode;
18: aload 0
getstatic org.eclipse.jgit.lib.FileMode.MISSING:Lorg/eclipse/jgit/lib/FileMode;
putfield org.eclipse.jgit.patch.FileHeader.newMode:Lorg/eclipse/jgit/lib/FileMode;
19: aload 0
getstatic org.eclipse.jgit.diff.DiffEntry$ChangeType.DELETE:Lorg/eclipse/jgit/diff/DiffEntry$ChangeType;
putfield org.eclipse.jgit.patch.FileHeader.changeType:Lorg/eclipse/jgit/diff/DiffEntry$ChangeType;
20: goto 56
StackMap locals:
StackMap stack:
21: aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.NEW_FILE_MODE:[B
invokestatic org.eclipse.jgit.util.RawParseUtils.match:([BI[B)I
iflt 24
22: aload 0
iload 1
iload 3
invokevirtual org.eclipse.jgit.patch.FileHeader.parseNewFileMode:(II)V
23: goto 56
StackMap locals:
StackMap stack:
24: aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.COPY_FROM:[B
invokestatic org.eclipse.jgit.util.RawParseUtils.match:([BI[B)I
iflt 28
25: aload 0
aload 0
aload 0
getfield org.eclipse.jgit.patch.FileHeader.oldPath:Ljava/lang/String;
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.COPY_FROM:[B
arraylength
iadd
iload 3
invokevirtual org.eclipse.jgit.patch.FileHeader.parseName:(Ljava/lang/String;II)Ljava/lang/String;
putfield org.eclipse.jgit.patch.FileHeader.oldPath:Ljava/lang/String;
26: aload 0
getstatic org.eclipse.jgit.diff.DiffEntry$ChangeType.COPY:Lorg/eclipse/jgit/diff/DiffEntry$ChangeType;
putfield org.eclipse.jgit.patch.FileHeader.changeType:Lorg/eclipse/jgit/diff/DiffEntry$ChangeType;
27: goto 56
StackMap locals:
StackMap stack:
28: aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.COPY_TO:[B
invokestatic org.eclipse.jgit.util.RawParseUtils.match:([BI[B)I
iflt 32
29: aload 0
aload 0
aload 0
getfield org.eclipse.jgit.patch.FileHeader.newPath:Ljava/lang/String;
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.COPY_TO:[B
arraylength
iadd
iload 3
invokevirtual org.eclipse.jgit.patch.FileHeader.parseName:(Ljava/lang/String;II)Ljava/lang/String;
putfield org.eclipse.jgit.patch.FileHeader.newPath:Ljava/lang/String;
30: aload 0
getstatic org.eclipse.jgit.diff.DiffEntry$ChangeType.COPY:Lorg/eclipse/jgit/diff/DiffEntry$ChangeType;
putfield org.eclipse.jgit.patch.FileHeader.changeType:Lorg/eclipse/jgit/diff/DiffEntry$ChangeType;
31: goto 56
StackMap locals:
StackMap stack:
32: aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.RENAME_OLD:[B
invokestatic org.eclipse.jgit.util.RawParseUtils.match:([BI[B)I
iflt 36
33: aload 0
aload 0
aload 0
getfield org.eclipse.jgit.patch.FileHeader.oldPath:Ljava/lang/String;
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.RENAME_OLD:[B
arraylength
iadd
iload 3
invokevirtual org.eclipse.jgit.patch.FileHeader.parseName:(Ljava/lang/String;II)Ljava/lang/String;
putfield org.eclipse.jgit.patch.FileHeader.oldPath:Ljava/lang/String;
34: aload 0
getstatic org.eclipse.jgit.diff.DiffEntry$ChangeType.RENAME:Lorg/eclipse/jgit/diff/DiffEntry$ChangeType;
putfield org.eclipse.jgit.patch.FileHeader.changeType:Lorg/eclipse/jgit/diff/DiffEntry$ChangeType;
35: goto 56
StackMap locals:
StackMap stack:
36: aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.RENAME_NEW:[B
invokestatic org.eclipse.jgit.util.RawParseUtils.match:([BI[B)I
iflt 40
37: aload 0
aload 0
aload 0
getfield org.eclipse.jgit.patch.FileHeader.newPath:Ljava/lang/String;
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.RENAME_NEW:[B
arraylength
iadd
iload 3
invokevirtual org.eclipse.jgit.patch.FileHeader.parseName:(Ljava/lang/String;II)Ljava/lang/String;
putfield org.eclipse.jgit.patch.FileHeader.newPath:Ljava/lang/String;
38: aload 0
getstatic org.eclipse.jgit.diff.DiffEntry$ChangeType.RENAME:Lorg/eclipse/jgit/diff/DiffEntry$ChangeType;
putfield org.eclipse.jgit.patch.FileHeader.changeType:Lorg/eclipse/jgit/diff/DiffEntry$ChangeType;
39: goto 56
StackMap locals:
StackMap stack:
40: aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.RENAME_FROM:[B
invokestatic org.eclipse.jgit.util.RawParseUtils.match:([BI[B)I
iflt 44
41: aload 0
aload 0
aload 0
getfield org.eclipse.jgit.patch.FileHeader.oldPath:Ljava/lang/String;
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.RENAME_FROM:[B
arraylength
iadd
iload 3
invokevirtual org.eclipse.jgit.patch.FileHeader.parseName:(Ljava/lang/String;II)Ljava/lang/String;
putfield org.eclipse.jgit.patch.FileHeader.oldPath:Ljava/lang/String;
42: aload 0
getstatic org.eclipse.jgit.diff.DiffEntry$ChangeType.RENAME:Lorg/eclipse/jgit/diff/DiffEntry$ChangeType;
putfield org.eclipse.jgit.patch.FileHeader.changeType:Lorg/eclipse/jgit/diff/DiffEntry$ChangeType;
43: goto 56
StackMap locals:
StackMap stack:
44: aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.RENAME_TO:[B
invokestatic org.eclipse.jgit.util.RawParseUtils.match:([BI[B)I
iflt 48
45: aload 0
aload 0
aload 0
getfield org.eclipse.jgit.patch.FileHeader.newPath:Ljava/lang/String;
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.RENAME_TO:[B
arraylength
iadd
iload 3
invokevirtual org.eclipse.jgit.patch.FileHeader.parseName:(Ljava/lang/String;II)Ljava/lang/String;
putfield org.eclipse.jgit.patch.FileHeader.newPath:Ljava/lang/String;
46: aload 0
getstatic org.eclipse.jgit.diff.DiffEntry$ChangeType.RENAME:Lorg/eclipse/jgit/diff/DiffEntry$ChangeType;
putfield org.eclipse.jgit.patch.FileHeader.changeType:Lorg/eclipse/jgit/diff/DiffEntry$ChangeType;
47: goto 56
StackMap locals:
StackMap stack:
48: aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.SIMILARITY_INDEX:[B
invokestatic org.eclipse.jgit.util.RawParseUtils.match:([BI[B)I
iflt 51
49: aload 0
aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.SIMILARITY_INDEX:[B
arraylength
iadd
aconst_null
invokestatic org.eclipse.jgit.util.RawParseUtils.parseBase10:([BILorg/eclipse/jgit/util/MutableInteger;)I
putfield org.eclipse.jgit.patch.FileHeader.score:I
50: goto 56
StackMap locals:
StackMap stack:
51: aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.DISSIMILARITY_INDEX:[B
invokestatic org.eclipse.jgit.util.RawParseUtils.match:([BI[B)I
iflt 54
52: aload 0
aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.DISSIMILARITY_INDEX:[B
arraylength
iadd
aconst_null
invokestatic org.eclipse.jgit.util.RawParseUtils.parseBase10:([BILorg/eclipse/jgit/util/MutableInteger;)I
putfield org.eclipse.jgit.patch.FileHeader.score:I
53: goto 56
StackMap locals:
StackMap stack:
54: aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.INDEX:[B
invokestatic org.eclipse.jgit.util.RawParseUtils.match:([BI[B)I
iflt 58
55: aload 0
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.INDEX:[B
arraylength
iadd
iload 3
invokevirtual org.eclipse.jgit.patch.FileHeader.parseIndexLine:(II)V
56: StackMap locals:
StackMap stack:
iload 3
istore 1
end local 3 57: StackMap locals:
StackMap stack:
iload 1
iload 2
if_icmplt 1
58: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 59 0 this Lorg/eclipse/jgit/patch/FileHeader;
0 59 1 ptr I
0 59 2 end I
2 57 3 eol I
MethodParameters:
Name Flags
ptr
end
void (int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
aload 0
getfield org.eclipse.jgit.patch.FileHeader.oldPath:Ljava/lang/String;
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.OLD_NAME:[B
arraylength
iadd
iload 2
invokevirtual org.eclipse.jgit.patch.FileHeader.parseName:(Ljava/lang/String;II)Ljava/lang/String;
invokestatic org.eclipse.jgit.patch.FileHeader.p1:(Ljava/lang/String;)Ljava/lang/String;
putfield org.eclipse.jgit.patch.FileHeader.oldPath:Ljava/lang/String;
1: aload 0
getfield org.eclipse.jgit.patch.FileHeader.oldPath:Ljava/lang/String;
ldc "/dev/null"
if_acmpne 3
2: aload 0
getstatic org.eclipse.jgit.diff.DiffEntry$ChangeType.ADD:Lorg/eclipse/jgit/diff/DiffEntry$ChangeType;
putfield org.eclipse.jgit.patch.FileHeader.changeType:Lorg/eclipse/jgit/diff/DiffEntry$ChangeType;
3: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jgit/patch/FileHeader;
0 4 1 ptr I
0 4 2 eol I
MethodParameters:
Name Flags
ptr
eol
void (int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
aload 0
getfield org.eclipse.jgit.patch.FileHeader.newPath:Ljava/lang/String;
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.NEW_NAME:[B
arraylength
iadd
iload 2
invokevirtual org.eclipse.jgit.patch.FileHeader.parseName:(Ljava/lang/String;II)Ljava/lang/String;
invokestatic org.eclipse.jgit.patch.FileHeader.p1:(Ljava/lang/String;)Ljava/lang/String;
putfield org.eclipse.jgit.patch.FileHeader.newPath:Ljava/lang/String;
1: aload 0
getfield org.eclipse.jgit.patch.FileHeader.newPath:Ljava/lang/String;
ldc "/dev/null"
if_acmpne 3
2: aload 0
getstatic org.eclipse.jgit.diff.DiffEntry$ChangeType.DELETE:Lorg/eclipse/jgit/diff/DiffEntry$ChangeType;
putfield org.eclipse.jgit.patch.FileHeader.changeType:Lorg/eclipse/jgit/diff/DiffEntry$ChangeType;
3: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jgit/patch/FileHeader;
0 4 1 ptr I
0 4 2 eol I
MethodParameters:
Name Flags
ptr
eol
void (int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getstatic org.eclipse.jgit.lib.FileMode.MISSING:Lorg/eclipse/jgit/lib/FileMode;
putfield org.eclipse.jgit.patch.FileHeader.oldMode:Lorg/eclipse/jgit/lib/FileMode;
1: aload 0
aload 0
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.NEW_FILE_MODE:[B
arraylength
iadd
iload 2
invokevirtual org.eclipse.jgit.patch.FileHeader.parseFileMode:(II)Lorg/eclipse/jgit/lib/FileMode;
putfield org.eclipse.jgit.patch.FileHeader.newMode:Lorg/eclipse/jgit/lib/FileMode;
2: aload 0
getstatic org.eclipse.jgit.diff.DiffEntry$ChangeType.ADD:Lorg/eclipse/jgit/diff/DiffEntry$ChangeType;
putfield org.eclipse.jgit.patch.FileHeader.changeType:Lorg/eclipse/jgit/diff/DiffEntry$ChangeType;
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/FileHeader;
0 4 1 ptr I
0 4 2 eol I
MethodParameters:
Name Flags
ptr
eol
int (int, int);
descriptor: (II)I
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: goto 10
1: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
invokestatic org.eclipse.jgit.util.RawParseUtils.nextLF:([BI)I
istore 3
start local 3 2: aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
iload 3
invokestatic org.eclipse.jgit.patch.FileHeader.isHunkHdr:([BII)I
iconst_1
if_icmplt 4
3: goto 11
4: StackMap locals: int
StackMap stack:
aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.OLD_NAME:[B
invokestatic org.eclipse.jgit.util.RawParseUtils.match:([BI[B)I
iflt 7
5: aload 0
iload 1
iload 3
invokevirtual org.eclipse.jgit.patch.FileHeader.parseOldName:(II)V
6: goto 9
StackMap locals:
StackMap stack:
7: aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
getstatic org.eclipse.jgit.patch.FileHeader.NEW_NAME:[B
invokestatic org.eclipse.jgit.util.RawParseUtils.match:([BI[B)I
iflt 11
8: aload 0
iload 1
iload 3
invokevirtual org.eclipse.jgit.patch.FileHeader.parseNewName:(II)V
9: StackMap locals:
StackMap stack:
iload 3
istore 1
end local 3 10: StackMap locals:
StackMap stack:
iload 1
iload 2
if_icmplt 1
11: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/eclipse/jgit/patch/FileHeader;
0 12 1 ptr I
0 12 2 end I
2 10 3 eol I
MethodParameters:
Name Flags
ptr
end
private java.lang.String (java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
iload 3
if_icmpne 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 2
baload
bipush 34
if_icmpne 5
3: getstatic org.eclipse.jgit.util.QuotedString.GIT_PATH:Lorg/eclipse/jgit/util/QuotedString$GitPathStyle;
aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 2
iload 3
iconst_1
isub
invokevirtual org.eclipse.jgit.util.QuotedString$GitPathStyle.dequote:([BII)Ljava/lang/String;
astore 4
start local 4 4: goto 12
end local 4 5: StackMap locals:
StackMap stack:
iload 3
istore 5
start local 5 6: goto 8
7: StackMap locals: org.eclipse.jgit.patch.FileHeader java.lang.String int int top int
StackMap stack:
iinc 5 -1
8: StackMap locals:
StackMap stack:
iload 2
iload 5
if_icmpge 9
aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 5
iconst_1
isub
baload
bipush 9
if_icmpne 7
9: StackMap locals:
StackMap stack:
iload 2
iload 5
if_icmpne 11
10: iload 3
istore 5
11: StackMap locals:
StackMap stack:
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 2
iload 5
iconst_1
isub
invokestatic org.eclipse.jgit.util.RawParseUtils.decode:(Ljava/nio/charset/Charset;[BII)Ljava/lang/String;
astore 4
end local 5 start local 4 12: StackMap locals: org.eclipse.jgit.patch.FileHeader java.lang.String int int java.lang.String
StackMap stack:
aload 4
ldc "/dev/null"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
13: ldc "/dev/null"
astore 4
14: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/eclipse/jgit/patch/FileHeader;
0 15 1 expect Ljava/lang/String;
0 15 2 ptr I
0 15 3 end I
4 5 4 r Ljava/lang/String;
12 15 4 r Ljava/lang/String;
6 12 5 tab I
MethodParameters:
Name Flags
expect
ptr
end
private static java.lang.String (java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
istore 1
start local 1 1: iload 1
ifle 2
aload 0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
goto 3
StackMap locals: int
StackMap stack:
2: aload 0
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 r Ljava/lang/String;
1 4 1 s I
MethodParameters:
Name Flags
r final
org.eclipse.jgit.lib.FileMode (int, int);
descriptor: (II)Lorg/eclipse/jgit/lib/FileMode;
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: goto 4
2: StackMap locals: int
StackMap stack:
iload 3
iconst_3
ishl
istore 3
3: iload 3
aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
iinc 1 1
baload
bipush 48
isub
iadd
istore 3
4: StackMap locals:
StackMap stack:
iload 1
iload 2
iconst_1
isub
if_icmplt 2
5: iload 3
invokestatic org.eclipse.jgit.lib.FileMode.fromBits:(I)Lorg/eclipse/jgit/lib/FileMode;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jgit/patch/FileHeader;
0 6 1 ptr I
0 6 2 end I
1 6 3 tmp I
MethodParameters:
Name Flags
ptr
end
void (int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
bipush 46
invokestatic org.eclipse.jgit.util.RawParseUtils.nextLF:([BIC)I
istore 3
start local 3 1: aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 3
bipush 32
invokestatic org.eclipse.jgit.util.RawParseUtils.nextLF:([BIC)I
istore 4
start local 4 2: aload 0
aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
iload 3
iconst_1
isub
invokestatic org.eclipse.jgit.lib.AbbreviatedObjectId.fromString:([BII)Lorg/eclipse/jgit/lib/AbbreviatedObjectId;
putfield org.eclipse.jgit.patch.FileHeader.oldId:Lorg/eclipse/jgit/lib/AbbreviatedObjectId;
3: aload 0
aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 3
iconst_1
iadd
iload 4
iconst_1
isub
invokestatic org.eclipse.jgit.lib.AbbreviatedObjectId.fromString:([BII)Lorg/eclipse/jgit/lib/AbbreviatedObjectId;
putfield org.eclipse.jgit.patch.FileHeader.newId:Lorg/eclipse/jgit/lib/AbbreviatedObjectId;
4: iload 4
iload 2
if_icmpge 6
5: aload 0
aload 0
aload 0
iload 4
iload 2
invokevirtual org.eclipse.jgit.patch.FileHeader.parseFileMode:(II)Lorg/eclipse/jgit/lib/FileMode;
dup_x1
putfield org.eclipse.jgit.patch.FileHeader.oldMode:Lorg/eclipse/jgit/lib/FileMode;
putfield org.eclipse.jgit.patch.FileHeader.newMode:Lorg/eclipse/jgit/lib/FileMode;
6: StackMap locals: int int
StackMap stack:
return
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/patch/FileHeader;
0 7 1 ptr I
0 7 2 end I
1 7 3 dot2 I
2 7 4 mode I
MethodParameters:
Name Flags
ptr
end
private boolean (int, int, int, int);
descriptor: (IIII)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 2
iload 1
isub
iload 4
iload 3
isub
if_icmpeq 4
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 1
iinc 1 1
baload
aload 0
getfield org.eclipse.jgit.patch.FileHeader.buf:[B
iload 3
iinc 3 1
baload
if_icmpeq 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iload 1
iload 2
if_icmplt 2
5: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jgit/patch/FileHeader;
0 6 1 aPtr I
0 6 2 aEnd I
0 6 3 bPtr I
0 6 4 bEnd I
MethodParameters:
Name Flags
aPtr
aEnd
bPtr
bEnd
static int (byte[], int, int);
descriptor: ([BII)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
istore 3
start local 3 1: goto 3
2: StackMap locals: int
StackMap stack:
iinc 3 1
3: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmpge 4
aload 0
iload 3
baload
bipush 64
if_icmpeq 2
4: StackMap locals:
StackMap stack:
iload 3
iload 1
isub
iconst_2
if_icmpge 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmpeq 7
aload 0
iload 3
iinc 3 1
baload
bipush 32
if_icmpeq 8
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmpeq 9
aload 0
iload 3
iinc 3 1
baload
bipush 45
if_icmpeq 10
9: StackMap locals:
StackMap stack:
iconst_0
ireturn
10: StackMap locals:
StackMap stack:
iload 3
iconst_3
isub
iload 1
isub
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 buf [B
0 11 1 start I
0 11 2 end I
1 11 3 ptr I
MethodParameters:
Name Flags
buf
start
end
}
SourceFile: "FileHeader.java"
NestMembers:
org.eclipse.jgit.patch.FileHeader$PatchType
InnerClasses:
public final ChangeType = org.eclipse.jgit.diff.DiffEntry$ChangeType of org.eclipse.jgit.diff.DiffEntry
public final PatchType = org.eclipse.jgit.patch.FileHeader$PatchType of org.eclipse.jgit.patch.FileHeader
public final GitPathStyle = org.eclipse.jgit.util.QuotedString$GitPathStyle of org.eclipse.jgit.util.QuotedString
public Heap = org.eclipse.jgit.util.TemporaryBuffer$Heap of org.eclipse.jgit.util.TemporaryBuffer