mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 10:48:09 +07:00
JavaPsiFacade.getInstance(project).getElementFactory() -> JavaPsiFacade.getElementFactory(project)
This commit is contained in:
@@ -428,7 +428,7 @@ public class RefJavaUtilImpl extends RefJavaUtil {
|
||||
if (containingClass != null) {
|
||||
fqName = containingClass.getQualifiedName();
|
||||
if (fqName != null) {
|
||||
final PsiClassType methodOwnerType = JavaPsiFacade.getInstance(psiResolved.getProject()).getElementFactory()
|
||||
final PsiClassType methodOwnerType = JavaPsiFacade.getElementFactory(psiResolved.getProject())
|
||||
.createTypeByFQClassName(fqName, GlobalSearchScope.allScope(psiResolved.getProject()));
|
||||
if (!usedType.equals(methodOwnerType)) {
|
||||
refMethod.setCalledOnSubClass(true);
|
||||
|
||||
Reference in New Issue
Block a user