class org.eclipse.jgit.diff.ContentSource$WorkingTreeSource extends org.eclipse.jgit.diff.ContentSource
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.eclipse.jgit.diff.ContentSource$WorkingTreeSource
super_class: org.eclipse.jgit.diff.ContentSource
{
private final org.eclipse.jgit.treewalk.TreeWalk tw;
descriptor: Lorg/eclipse/jgit/treewalk/TreeWalk;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.eclipse.jgit.treewalk.WorkingTreeIterator iterator;
descriptor: Lorg/eclipse/jgit/treewalk/WorkingTreeIterator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.String current;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
org.eclipse.jgit.treewalk.WorkingTreeIterator ptr;
descriptor: Lorg/eclipse/jgit/treewalk/WorkingTreeIterator;
flags: (0x0000)
void <init>(org.eclipse.jgit.treewalk.WorkingTreeIterator);
descriptor: (Lorg/eclipse/jgit/treewalk/WorkingTreeIterator;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.eclipse.jgit.diff.ContentSource.<init>:()V
1: aload 0
new org.eclipse.jgit.treewalk.TreeWalk
dup
aconst_null
invokespecial org.eclipse.jgit.treewalk.TreeWalk.<init>:(Lorg/eclipse/jgit/lib/ObjectReader;)V
putfield org.eclipse.jgit.diff.ContentSource$WorkingTreeSource.tw:Lorg/eclipse/jgit/treewalk/TreeWalk;
2: aload 0
getfield org.eclipse.jgit.diff.ContentSource$WorkingTreeSource.tw:Lorg/eclipse/jgit/treewalk/TreeWalk;
iconst_1
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.setRecursive:(Z)V
3: aload 0
aload 1
putfield org.eclipse.jgit.diff.ContentSource$WorkingTreeSource.iterator:Lorg/eclipse/jgit/treewalk/WorkingTreeIterator;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jgit/diff/ContentSource$WorkingTreeSource;
0 5 1 iterator Lorg/eclipse/jgit/treewalk/WorkingTreeIterator;
MethodParameters:
Name Flags
iterator
public long size(java.lang.String, org.eclipse.jgit.lib.ObjectId);
descriptor: (Ljava/lang/String;Lorg/eclipse/jgit/lib/ObjectId;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.eclipse.jgit.diff.ContentSource$WorkingTreeSource.seek:(Ljava/lang/String;)V
1: aload 0
getfield org.eclipse.jgit.diff.ContentSource$WorkingTreeSource.ptr:Lorg/eclipse/jgit/treewalk/WorkingTreeIterator;
invokevirtual org.eclipse.jgit.treewalk.WorkingTreeIterator.getEntryLength:()J
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jgit/diff/ContentSource$WorkingTreeSource;
0 2 1 path Ljava/lang/String;
0 2 2 id Lorg/eclipse/jgit/lib/ObjectId;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
id
public org.eclipse.jgit.lib.ObjectLoader open(java.lang.String, org.eclipse.jgit.lib.ObjectId);
descriptor: (Ljava/lang/String;Lorg/eclipse/jgit/lib/ObjectId;)Lorg/eclipse/jgit/lib/ObjectLoader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.eclipse.jgit.diff.ContentSource$WorkingTreeSource.seek:(Ljava/lang/String;)V
1: aload 0
getfield org.eclipse.jgit.diff.ContentSource$WorkingTreeSource.ptr:Lorg/eclipse/jgit/treewalk/WorkingTreeIterator;
invokevirtual org.eclipse.jgit.treewalk.WorkingTreeIterator.getEntryContentLength:()J
lstore 3
start local 3 2: new org.eclipse.jgit.diff.ContentSource$WorkingTreeSource$1
dup
aload 0
lload 3
invokespecial org.eclipse.jgit.diff.ContentSource$WorkingTreeSource$1.<init>:(Lorg/eclipse/jgit/diff/ContentSource$WorkingTreeSource;J)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jgit/diff/ContentSource$WorkingTreeSource;
0 3 1 path Ljava/lang/String;
0 3 2 id Lorg/eclipse/jgit/lib/ObjectId;
2 3 3 entrySize J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
id
private void seek(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.eclipse.jgit.diff.ContentSource$WorkingTreeSource.current:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 11
1: aload 0
getfield org.eclipse.jgit.diff.ContentSource$WorkingTreeSource.iterator:Lorg/eclipse/jgit/treewalk/WorkingTreeIterator;
invokevirtual org.eclipse.jgit.treewalk.WorkingTreeIterator.reset:()V
2: aload 0
getfield org.eclipse.jgit.diff.ContentSource$WorkingTreeSource.tw:Lorg/eclipse/jgit/treewalk/TreeWalk;
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.reset:()V
3: aload 0
getfield org.eclipse.jgit.diff.ContentSource$WorkingTreeSource.tw:Lorg/eclipse/jgit/treewalk/TreeWalk;
aload 0
getfield org.eclipse.jgit.diff.ContentSource$WorkingTreeSource.iterator:Lorg/eclipse/jgit/treewalk/WorkingTreeIterator;
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.addTree:(Lorg/eclipse/jgit/treewalk/AbstractTreeIterator;)I
pop
4: aload 0
getfield org.eclipse.jgit.diff.ContentSource$WorkingTreeSource.tw:Lorg/eclipse/jgit/treewalk/TreeWalk;
aload 1
invokestatic org.eclipse.jgit.treewalk.filter.PathFilter.create:(Ljava/lang/String;)Lorg/eclipse/jgit/treewalk/filter/PathFilter;
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.setFilter:(Lorg/eclipse/jgit/treewalk/filter/TreeFilter;)V
5: aload 0
aload 1
putfield org.eclipse.jgit.diff.ContentSource$WorkingTreeSource.current:Ljava/lang/String;
6: aload 0
getfield org.eclipse.jgit.diff.ContentSource$WorkingTreeSource.tw:Lorg/eclipse/jgit/treewalk/TreeWalk;
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.next:()Z
ifne 8
7: new java.io.FileNotFoundException
dup
aload 1
invokespecial java.io.FileNotFoundException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.eclipse.jgit.diff.ContentSource$WorkingTreeSource.tw:Lorg/eclipse/jgit/treewalk/TreeWalk;
iconst_0
ldc Lorg/eclipse/jgit/treewalk/WorkingTreeIterator;
invokevirtual org.eclipse.jgit.treewalk.TreeWalk.getTree:(ILjava/lang/Class;)Lorg/eclipse/jgit/treewalk/AbstractTreeIterator;
checkcast org.eclipse.jgit.treewalk.WorkingTreeIterator
putfield org.eclipse.jgit.diff.ContentSource$WorkingTreeSource.ptr:Lorg/eclipse/jgit/treewalk/WorkingTreeIterator;
9: aload 0
getfield org.eclipse.jgit.diff.ContentSource$WorkingTreeSource.ptr:Lorg/eclipse/jgit/treewalk/WorkingTreeIterator;
ifnonnull 11
10: new java.io.FileNotFoundException
dup
aload 1
invokespecial java.io.FileNotFoundException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/eclipse/jgit/diff/ContentSource$WorkingTreeSource;
0 12 1 path Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
}
SourceFile: "ContentSource.java"
NestHost: org.eclipse.jgit.diff.ContentSource
InnerClasses:
private WorkingTreeSource = org.eclipse.jgit.diff.ContentSource$WorkingTreeSource of org.eclipse.jgit.diff.ContentSource
org.eclipse.jgit.diff.ContentSource$WorkingTreeSource$1