Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wh1t3p1g committed Feb 22, 2024
1 parent f3e1d92 commit d96073f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/tabby/core/collector/ClassInfoCollector.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package tabby.core.collector;

import com.google.common.collect.ImmutableList;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
Expand Down Expand Up @@ -147,9 +148,11 @@ public static void collectRelationInfo(ClassReference classRef, boolean newAdded
}
}
// 建立函数别名关系

List<Has> hasEdges = classRef.getHasEdge();
if(hasEdges != null && !hasEdges.isEmpty()){
for(Has has:hasEdges){
List<Has> copied = ImmutableList.copyOf(hasEdges);
for(Has has:copied){
generateAliasEdge(has.getMethodRef(), dataContainer);
}
}
Expand Down

0 comments on commit d96073f

Please sign in to comment.