## Uses of Class
org.eclipse.jgit.errors.IncorrectObjectTypeException

Packages that use IncorrectObjectTypeException
Package | Description
--- | ---
org.eclipse.jgit.api | High-level API commands (the porcelain of JGit).
org.eclipse.jgit.dircache | Reading and editing the directory cache (index).
org.eclipse.jgit.internal.storage.dfs | Distributed file system based repository storage.
org.eclipse.jgit.internal.storage.pack | Reading/writing Git pack files.
org.eclipse.jgit.lib | Core API for repository, config, refs, object database.
org.eclipse.jgit.merge | Content and commit history merge algorithms.
org.eclipse.jgit.notes | Git notes processing (for commits, etc).
org.eclipse.jgit.revplot | Building/rendering revision graphs.
org.eclipse.jgit.revwalk | Walking revision graphs (commit history).
org.eclipse.jgit.revwalk.filter | Filters for use in revision walking.
org.eclipse.jgit.treewalk | Walking and comparing directory/file trees (of commits, file system).
org.eclipse.jgit.treewalk.filter | Filters for use in tree walking.

### Uses of IncorrectObjectTypeException in org.eclipse.jgit.api

Methods in org.eclipse.jgit.api that throw IncorrectObjectTypeException
Modifier and Type | Method and Description
--- | ---
`LogCommand` | LogCommand.`add(AnyObjectId start)` Mark a commit to start graph traversal from.
`LogCommand` | LogCommand.`addRange(AnyObjectId since, AnyObjectId until)` Adds the range `since..until`
`LogCommand` | LogCommand.`not(AnyObjectId start)` Same as `--not start`, or `^start`

### Uses of IncorrectObjectTypeException in org.eclipse.jgit.dircache

Methods in org.eclipse.jgit.dircache that throw IncorrectObjectTypeException
Modifier and Type | Method and Description
--- | ---
`AbstractTreeIterator` | DirCacheIterator.`createSubtreeIterator(ObjectReader reader)`
`AbstractTreeIterator` | DirCacheBuildIterator.`createSubtreeIterator(ObjectReader reader)`
`void` | DirCacheCheckout.`prescanOneTree()` Scan index and merge tree (no HEAD).

### Uses of IncorrectObjectTypeException in org.eclipse.jgit.internal.storage.dfs

Methods in org.eclipse.jgit.internal.storage.dfs that throw IncorrectObjectTypeException
Modifier and Type | Method and Description
--- | ---
`long` | DfsReader.`getObjectSize(AnyObjectId objectId, int typeHint)`
`ObjectLoader` | DfsReader.`open(AnyObjectId objectId, int typeHint)`

### Uses of IncorrectObjectTypeException in org.eclipse.jgit.internal.storage.pack

Methods in org.eclipse.jgit.internal.storage.pack that throw IncorrectObjectTypeException
Modifier and Type | Method and Description
--- | ---
`void` | PackWriter.`addObject(RevObject object)` Include one object to the output file.

### Uses of IncorrectObjectTypeException in org.eclipse.jgit.lib

Methods in org.eclipse.jgit.lib that throw IncorrectObjectTypeException
Modifier and Type | Method and Description
--- | ---
`long` | ObjectReader.`getObjectSize(AnyObjectId objectId, int typeHint)` Get only the size of an object.
`ObjectLoader` | ObjectDatabase.`open(AnyObjectId objectId, int typeHint)` Open an object from this database.
`abstract ObjectLoader` | ObjectReader.`open(AnyObjectId objectId, int typeHint)` Open an object from this database.
`ObjectLoader` | Repository.`open(AnyObjectId objectId, int typeHint)` Open an object from this repository.
`ObjectId` | Repository.`resolve(String revstr)` Parse a git revision string and return an object id.

### Uses of IncorrectObjectTypeException in org.eclipse.jgit.merge

Methods in org.eclipse.jgit.merge that throw IncorrectObjectTypeException
Modifier and Type | Method and Description
--- | ---
`RevCommit` | Merger.`getBaseCommit(int aIdx, int bIdx)` Deprecated. use `Merger.getBaseCommitId()` instead, as that does not require walking the commits again
`protected RevCommit` | RecursiveMerger.`getBaseCommit(RevCommit a, RevCommit b)` Get a single base commit for two given commits.
`protected RevCommit` | Merger.`getBaseCommit(RevCommit a, RevCommit b)` Return the merge base of two commits.
`protected AbstractTreeIterator` | Merger.`openTree(AnyObjectId treeId)` Open an iterator over a tree.
`void` | ThreeWayMerger.`setBase(AnyObjectId id)` Set the common ancestor tree.

### Uses of IncorrectObjectTypeException in org.eclipse.jgit.notes

Methods in org.eclipse.jgit.notes that throw IncorrectObjectTypeException
Modifier and Type | Method and Description
--- | ---
`static NoteMap` | NoteMap.`read(ObjectReader reader, RevCommit commit)` Load a collection of notes from a branch.
`static NoteMap` | NoteMap.`read(ObjectReader reader, RevTree tree)` Load a collection of notes from a tree.
`static NoteMap` | NoteMap.`readTree(ObjectReader reader, ObjectId treeId)` Load a collection of notes from a tree.

### Uses of IncorrectObjectTypeException in org.eclipse.jgit.revplot

Methods in org.eclipse.jgit.revplot that throw IncorrectObjectTypeException
Modifier and Type | Method and Description
--- | ---
`RevCommit` | PlotWalk.`next()`

### Uses of IncorrectObjectTypeException in org.eclipse.jgit.revwalk

Methods in org.eclipse.jgit.revwalk that throw IncorrectObjectTypeException
Modifier and Type | Method and Description
--- | ---
`void` | RevCommitList.`applyFlag(RevFilter matching, RevFlag flag)` Apply a flag to all commits matching the specified filter.
`void` | RevCommitList.`applyFlag(RevFilter matching, RevFlag flag, int rangeBegin, int rangeEnd)` Apply a flag to all commits matching the specified filter.
`void` | ObjectWalk.`checkConnectivity()` Verify all interesting objects are available, and reachable.
`static int` | RevWalkUtils.`count(RevWalk walk, RevCommit start, RevCommit end)` Count the number of commits that are reachable from `start` until a commit that is reachable from `end` is encountered.
`void` | RevCommitList.`fillTo(int highMark)` Ensure this list contains at least a specified number of commits.
`void` | RevCommitList.`fillTo(RevCommit commitToLoad, int highMark)` Ensures all commits until the given commit are loaded.
`static List<RevCommit>` | RevWalkUtils.`find(RevWalk walk, RevCommit start, RevCommit end)` Find commits that are reachable from `start` until a commit that is reachable from `end` is encountered.
`static List<Ref>` | RevWalkUtils.`findBranchesReachableFrom(RevCommit commit, RevWalk revWalk, Collection<Ref> refs)` Find the list of branches a given commit is reachable from when following parent.s
`boolean` | FollowFilter.`include(TreeWalk walker)`
`boolean` | RevWalk.`isMergedInto(RevCommit base, RevCommit tip)` Determine if a commit is reachable from another commit.
`void` | DepthWalk.RevWalk.`markRoot(RevCommit c)` Mark a root commit (i.e., one whose depth should be considered 0.)
`void` | DepthWalk.ObjectWalk.`markRoot(RevObject o)` Mark a root commit (i.e., one whose depth should be considered 0.)
`void` | RevWalk.`markStart(Collection<RevCommit> list)` Mark commits to start graph traversal from.
`void` | RevWalk.`markStart(RevCommit c)` Mark a commit to start graph traversal from.
`void` | ObjectWalk.`markStart(RevObject o)` Mark an object or commit to start graph traversal from.
`void` | RevWalk.`markUninteresting(RevCommit c)` Mark a commit to not produce in the output.
`void` | ObjectWalk.`markUninteresting(RevObject o)` Mark an object to not produce in the output.
`void` | DepthWalk.ObjectWalk.`markUnshallow(RevObject c)` Mark an element which used to be shallow in the client, but which should now be considered a full commit.
`RevCommit` | ObjectWalk.`next()`
`RevCommit` | RevWalk.`next()` Pop the next most recent commit.
`RevObject` | ObjectWalk.`nextObject()` Pop the next most recent object.
`RevCommit` | RevWalk.`parseCommit(AnyObjectId id)` Locate a reference to a commit and immediately parse its content.
`RevTag` | RevWalk.`parseTag(AnyObjectId id)` Locate a reference to an annotated tag and immediately parse its content.
`RevTree` | RevWalk.`parseTree(AnyObjectId id)` Locate a reference to a tree.

### Uses of IncorrectObjectTypeException in org.eclipse.jgit.revwalk.filter

Methods in org.eclipse.jgit.revwalk.filter that throw IncorrectObjectTypeException
Modifier and Type | Method and Description
--- | ---
`boolean` | NotRevFilter.`include(RevWalk walker, RevCommit c)`
`abstract boolean` | RevFilter.`include(RevWalk walker, RevCommit cmit)` Determine if the supplied commit should be included in results.
`boolean` | SubStringRevFilter.`include(RevWalk walker, RevCommit cmit)`
`boolean` | PatternMatchRevFilter.`include(RevWalk walker, RevCommit cmit)`
`boolean` | MaxCountRevFilter.`include(RevWalk walker, RevCommit cmit)`
`boolean` | SkipRevFilter.`include(RevWalk walker, RevCommit cmit)`

### Uses of IncorrectObjectTypeException in org.eclipse.jgit.treewalk

Methods in org.eclipse.jgit.treewalk that throw IncorrectObjectTypeException
Modifier and Type | Method and Description
--- | ---
`int` | TreeWalk.`addTree(AnyObjectId id)` Add an already existing tree object for walking.
`AbstractTreeIterator` | EmptyTreeIterator.`createSubtreeIterator(ObjectReader reader)`
`AbstractTreeIterator` | FileTreeIterator.`createSubtreeIterator(ObjectReader reader)`
`abstract AbstractTreeIterator` | AbstractTreeIterator.`createSubtreeIterator(ObjectReader reader)` Create a new iterator for the current entry's subtree.
`CanonicalTreeParser` | CanonicalTreeParser.`createSubtreeIterator(ObjectReader reader)`
`AbstractTreeIterator` | AbstractTreeIterator.`createSubtreeIterator(ObjectReader reader, MutableObjectId idBuffer)` Create a new iterator for the current entry's subtree.
`CanonicalTreeParser` | CanonicalTreeParser.`createSubtreeIterator(ObjectReader reader, MutableObjectId idBuffer)`
`void` | TreeWalk.`enterSubtree()` Enter into the current subtree.
`static TreeWalk` | TreeWalk.`forPath(ObjectReader reader, String path, AnyObjectId... trees)` Open a tree walk and filter to exactly one path.
`static TreeWalk` | TreeWalk.`forPath(Repository db, String path, AnyObjectId... trees)` Open a tree walk and filter to exactly one path.
`static TreeWalk` | TreeWalk.`forPath(Repository db, String path, RevTree tree)` Open a tree walk and filter to exactly one path.
`boolean` | TreeWalk.`next()` Advance this walker to the next relevant entry.
`void` | TreeWalk.`reset(AnyObjectId... ids)` Reset this walker to run over a set of existing trees.
`void` | TreeWalk.`reset(AnyObjectId id)` Reset this walker to run over a single existing tree.
`void` | CanonicalTreeParser.`reset(ObjectReader reader, AnyObjectId id)` Reset this parser to walk through the given tree.
`CanonicalTreeParser` | CanonicalTreeParser.`resetRoot(ObjectReader reader, AnyObjectId id)` Reset this parser to walk through the given tree.

Constructors in org.eclipse.jgit.treewalk that throw IncorrectObjectTypeException
Constructor and Description
`CanonicalTreeParser(byte[] prefix, ObjectReader reader, AnyObjectId treeId)` Create a new parser for a tree appearing in a subset of a repository.

### Uses of IncorrectObjectTypeException in org.eclipse.jgit.treewalk.filter

Methods in org.eclipse.jgit.treewalk.filter that throw IncorrectObjectTypeException
Modifier and Type | Method and Description
--- | ---
`int` | TreeFilterMarker.`getMarks(TreeWalk walk)` Test the filters against the walk.
`boolean` | IndexDiffFilter.`include(TreeWalk tw)`
`boolean` | PathSuffixFilter.`include(TreeWalk walker)`
`boolean` | NotTreeFilter.`include(TreeWalk walker)`
`boolean` | NotIgnoredFilter.`include(TreeWalk tw)`
`abstract boolean` | TreeFilter.`include(TreeWalk walker)` Determine if the current entry is interesting to report.