mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remember references on inner classes (IDEA-151996)
This commit is contained in:
+3
-5
@@ -38,11 +38,9 @@ public class JavaCopyPasteReferenceProcessor extends CopyPasteReferenceProcessor
|
||||
if (refElement != null) {
|
||||
|
||||
if (refElement instanceof PsiClass) {
|
||||
if (refElement.getContainingFile() != element.getContainingFile()) {
|
||||
final String qName = ((PsiClass)refElement).getQualifiedName();
|
||||
if (qName != null) {
|
||||
addReferenceData(element, to, startOffset, qName, null);
|
||||
}
|
||||
final String qName = ((PsiClass)refElement).getQualifiedName();
|
||||
if (qName != null) {
|
||||
addReferenceData(element, to, startOffset, qName, null);
|
||||
}
|
||||
}
|
||||
else if (resolveResult.getCurrentFileResolveScope() instanceof PsiImportStaticStatement) {
|
||||
|
||||
Reference in New Issue
Block a user