mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
copy ref: update fqn when constructor is replaced with class
This commit is contained in:
@@ -185,6 +185,7 @@ public class JavaQualifiedNameProvider implements QualifiedNameProvider {
|
||||
}
|
||||
if (((PsiMethod)targetElement).isConstructor()) {
|
||||
targetElement = targetElement.getContainingClass();
|
||||
fqn = StringUtil.getPackageName(fqn);
|
||||
}
|
||||
}
|
||||
else if (targetElement instanceof PsiClass) {
|
||||
|
||||
Reference in New Issue
Block a user