Skip to content

Commit

Permalink
ASTDiff : Fix the issue with MemberRef and MethodRefs in javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
pouryafard75 committed Sep 12, 2024
1 parent 7fc7619 commit 42e10ca
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ public boolean isDstMapped(Tree dst) {
return hasDst(dst) && getSrcs(dst) != null && getSrcs(dst).size() > 0;
}
public void addMappingRecursively(Tree src, Tree dst) {
if (!src.getType().equals(dst.getType()) && !src.isLeaf() && !dst.isLeaf())
return;
addMapping(src, dst);
if (src.getChildren() != null)
for (int i = 0; i < src.getChildren().size(); i++)
Expand Down

0 comments on commit 42e10ca

Please sign in to comment.