Skip to content

Commit 46cde69

Browse files
authored
fix test case call wrong method (#88)
1 parent 2305c4d commit 46cde69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/zhongan/devpilot/util/PsiElementUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ private static Set<PsiClass> getClassRelatedClass(@NotNull PsiElement element) {
5959
var fields = psiClass.getFields();
6060

6161
for (PsiMethod psiMethod : methods) {
62-
result.addAll(getMethodParameterTypeClass(psiMethod));
62+
result.addAll(getMethodRelatedClass(psiMethod));
6363
}
6464

6565
for (PsiField psiField : fields) {

0 commit comments

Comments
 (0)