Skip to content

Commit 3296305

Browse files
committed
Clarify why we remove stubs in populateParentToChildLookup visits
1 parent a6dbf72 commit 3296305

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

recaf-core/src/main/java/software/coley/recaf/services/inheritance/InheritanceGraph.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ private void populateParentToChildLookup(@Nonnull ClassInfo info) {
148148
* Classes already visited in population.
149149
*/
150150
private void populateParentToChildLookup(@Nonnull ClassInfo info, @Nonnull Set<ClassInfo> visited) {
151+
// Since we have observed this class to exist, we will remove the "stub" placeholder for this name.
151152
stubs.remove(info.getName());
152153

153154
// Skip if already visited

0 commit comments

Comments
 (0)